Package ai.pipestream.data.v1
Class ProcessingMapping
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.ProcessingMapping
- All Implemented Interfaces:
ProcessingMappingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ProcessingMapping
extends com.google.protobuf.GeneratedMessage
implements ProcessingMappingOrBuilder
Field mapping configuration for protobuf transformation. Defines how to transform data between processing steps using various mapping strategies.Protobuf type
ai.pipestream.data.v1.ProcessingMapping- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classField mapping configuration for protobuf transformation.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfiguration for AGGREGATE mappings.Configuration for AGGREGATE mappings.static ProcessingMappingstatic final com.google.protobuf.Descriptors.DescriptorUnique identifier for this mapping.com.google.protobuf.ByteStringUnique identifier for this mapping.Type of mapping operation to perform.intType of mapping operation to perform.com.google.protobuf.Parser<ProcessingMapping> intgetSourceFieldPaths(int index) Source field paths to map from.com.google.protobuf.ByteStringgetSourceFieldPathsBytes(int index) Source field paths to map from.intSource field paths to map from.com.google.protobuf.ProtocolStringListSource field paths to map from.Configuration for SPLIT mappings.Configuration for SPLIT mappings.getTargetFieldPaths(int index) Target field paths to map to.com.google.protobuf.ByteStringgetTargetFieldPathsBytes(int index) Target field paths to map to.intTarget field paths to map to.com.google.protobuf.ProtocolStringListTarget field paths to map to.Configuration for TRANSFORM mappings.Configuration for TRANSFORM mappings.booleanConfiguration for AGGREGATE mappings.inthashCode()booleanConfiguration for SPLIT mappings.booleanConfiguration for TRANSFORM mappings.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ProcessingMapping.Builderstatic ProcessingMapping.BuildernewBuilder(ProcessingMapping prototype) protected ProcessingMapping.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ProcessingMappingparseDelimitedFrom(InputStream input) static ProcessingMappingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProcessingMappingparseFrom(byte[] data) static ProcessingMappingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProcessingMappingparseFrom(com.google.protobuf.ByteString data) static ProcessingMappingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProcessingMappingparseFrom(com.google.protobuf.CodedInputStream input) static ProcessingMappingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProcessingMappingparseFrom(InputStream input) static ProcessingMappingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ProcessingMappingparseFrom(ByteBuffer data) static ProcessingMappingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ProcessingMapping> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAPPING_ID_FIELD_NUMBER
public static final int MAPPING_ID_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_PATHS_FIELD_NUMBER
public static final int SOURCE_FIELD_PATHS_FIELD_NUMBER- See Also:
-
TARGET_FIELD_PATHS_FIELD_NUMBER
public static final int TARGET_FIELD_PATHS_FIELD_NUMBER- See Also:
-
MAPPING_TYPE_FIELD_NUMBER
public static final int MAPPING_TYPE_FIELD_NUMBER- See Also:
-
TRANSFORM_CONFIG_FIELD_NUMBER
public static final int TRANSFORM_CONFIG_FIELD_NUMBER- See Also:
-
AGGREGATE_CONFIG_FIELD_NUMBER
public static final int AGGREGATE_CONFIG_FIELD_NUMBER- See Also:
-
SPLIT_CONFIG_FIELD_NUMBER
public static final int SPLIT_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMappingConfigCase
- Specified by:
getMappingConfigCasein interfaceProcessingMappingOrBuilder
-
getMappingId
Unique identifier for this mapping.
string mapping_id = 1 [json_name = "mappingId"];- Specified by:
getMappingIdin interfaceProcessingMappingOrBuilder- Returns:
- The mappingId.
-
getMappingIdBytes
public com.google.protobuf.ByteString getMappingIdBytes()Unique identifier for this mapping.
string mapping_id = 1 [json_name = "mappingId"];- Specified by:
getMappingIdBytesin interfaceProcessingMappingOrBuilder- Returns:
- The bytes for mappingId.
-
getSourceFieldPathsList
public com.google.protobuf.ProtocolStringList getSourceFieldPathsList()Source field paths to map from. For AGGREGATE, multiple paths are used. For other types, only the first is used.
repeated string source_field_paths = 2 [json_name = "sourceFieldPaths"];- Specified by:
getSourceFieldPathsListin interfaceProcessingMappingOrBuilder- Returns:
- A list containing the sourceFieldPaths.
-
getSourceFieldPathsCount
public int getSourceFieldPathsCount()Source field paths to map from. For AGGREGATE, multiple paths are used. For other types, only the first is used.
repeated string source_field_paths = 2 [json_name = "sourceFieldPaths"];- Specified by:
getSourceFieldPathsCountin interfaceProcessingMappingOrBuilder- Returns:
- The count of sourceFieldPaths.
-
getSourceFieldPaths
Source field paths to map from. For AGGREGATE, multiple paths are used. For other types, only the first is used.
repeated string source_field_paths = 2 [json_name = "sourceFieldPaths"];- Specified by:
getSourceFieldPathsin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sourceFieldPaths at the given index.
-
getSourceFieldPathsBytes
public com.google.protobuf.ByteString getSourceFieldPathsBytes(int index) Source field paths to map from. For AGGREGATE, multiple paths are used. For other types, only the first is used.
repeated string source_field_paths = 2 [json_name = "sourceFieldPaths"];- Specified by:
getSourceFieldPathsBytesin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourceFieldPaths at the given index.
-
getTargetFieldPathsList
public com.google.protobuf.ProtocolStringList getTargetFieldPathsList()Target field paths to map to. For SPLIT, multiple paths are used. For other types, only the first is used.
repeated string target_field_paths = 3 [json_name = "targetFieldPaths"];- Specified by:
getTargetFieldPathsListin interfaceProcessingMappingOrBuilder- Returns:
- A list containing the targetFieldPaths.
-
getTargetFieldPathsCount
public int getTargetFieldPathsCount()Target field paths to map to. For SPLIT, multiple paths are used. For other types, only the first is used.
repeated string target_field_paths = 3 [json_name = "targetFieldPaths"];- Specified by:
getTargetFieldPathsCountin interfaceProcessingMappingOrBuilder- Returns:
- The count of targetFieldPaths.
-
getTargetFieldPaths
Target field paths to map to. For SPLIT, multiple paths are used. For other types, only the first is used.
repeated string target_field_paths = 3 [json_name = "targetFieldPaths"];- Specified by:
getTargetFieldPathsin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetFieldPaths at the given index.
-
getTargetFieldPathsBytes
public com.google.protobuf.ByteString getTargetFieldPathsBytes(int index) Target field paths to map to. For SPLIT, multiple paths are used. For other types, only the first is used.
repeated string target_field_paths = 3 [json_name = "targetFieldPaths"];- Specified by:
getTargetFieldPathsBytesin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetFieldPaths at the given index.
-
getMappingTypeValue
public int getMappingTypeValue()Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];- Specified by:
getMappingTypeValuein interfaceProcessingMappingOrBuilder- Returns:
- The enum numeric value on the wire for mappingType.
-
getMappingType
Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];- Specified by:
getMappingTypein interfaceProcessingMappingOrBuilder- Returns:
- The mappingType.
-
hasTransformConfig
public boolean hasTransformConfig()Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];- Specified by:
hasTransformConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the transformConfig field is set.
-
getTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];- Specified by:
getTransformConfigin interfaceProcessingMappingOrBuilder- Returns:
- The transformConfig.
-
getTransformConfigOrBuilder
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];- Specified by:
getTransformConfigOrBuilderin interfaceProcessingMappingOrBuilder
-
hasAggregateConfig
public boolean hasAggregateConfig()Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];- Specified by:
hasAggregateConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the aggregateConfig field is set.
-
getAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];- Specified by:
getAggregateConfigin interfaceProcessingMappingOrBuilder- Returns:
- The aggregateConfig.
-
getAggregateConfigOrBuilder
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];- Specified by:
getAggregateConfigOrBuilderin interfaceProcessingMappingOrBuilder
-
hasSplitConfig
public boolean hasSplitConfig()Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];- Specified by:
hasSplitConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the splitConfig field is set.
-
getSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];- Specified by:
getSplitConfigin interfaceProcessingMappingOrBuilder- Returns:
- The splitConfig.
-
getSplitConfigOrBuilder
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];- Specified by:
getSplitConfigOrBuilderin interfaceProcessingMappingOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ProcessingMapping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProcessingMapping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProcessingMapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProcessingMapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProcessingMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProcessingMapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ProcessingMapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ProcessingMapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ProcessingMapping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ProcessingMapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProcessingMapping.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-