Package ai.pipestream.data.v1
Class ProcessingMapping.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ProcessingMapping.Builder>
com.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
ai.pipestream.data.v1.ProcessingMapping.Builder
- All Implemented Interfaces:
ProcessingMappingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ProcessingMapping
public static final class ProcessingMapping.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllSourceFieldPaths(Iterable<String> values) Source field paths to map from.addAllTargetFieldPaths(Iterable<String> values) Target field paths to map to.addSourceFieldPaths(String value) Source field paths to map from.addSourceFieldPathsBytes(com.google.protobuf.ByteString value) Source field paths to map from.addTargetFieldPaths(String value) Target field paths to map to.addTargetFieldPathsBytes(com.google.protobuf.ByteString value) Target field paths to map to.build()clear()Configuration for AGGREGATE mappings.Unique identifier for this mapping.Type of mapping operation to perform.Source field paths to map from.Configuration for SPLIT mappings.Target field paths to map to.Configuration for TRANSFORM mappings.Configuration for AGGREGATE mappings.Configuration for AGGREGATE mappings.Configuration for AGGREGATE mappings.static final com.google.protobuf.Descriptors.Descriptorcom.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.getSourceFieldPaths(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.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.Configuration for TRANSFORM mappings.booleanConfiguration for AGGREGATE mappings.booleanConfiguration for SPLIT mappings.booleanConfiguration for TRANSFORM mappings.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConfiguration for AGGREGATE mappings.mergeFrom(ProcessingMapping other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSplitConfig(SplitConfig value) Configuration for SPLIT mappings.Configuration for TRANSFORM mappings.Configuration for AGGREGATE mappings.setAggregateConfig(AggregateConfig.Builder builderForValue) Configuration for AGGREGATE mappings.setMappingId(String value) Unique identifier for this mapping.setMappingIdBytes(com.google.protobuf.ByteString value) Unique identifier for this mapping.setMappingType(MappingType value) Type of mapping operation to perform.setMappingTypeValue(int value) Type of mapping operation to perform.setSourceFieldPaths(int index, String value) Source field paths to map from.setSplitConfig(SplitConfig value) Configuration for SPLIT mappings.setSplitConfig(SplitConfig.Builder builderForValue) Configuration for SPLIT mappings.setTargetFieldPaths(int index, String value) Target field paths to map to.Configuration for TRANSFORM mappings.setTransformConfig(TransformConfig.Builder builderForValue) Configuration for TRANSFORM mappings.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<ProcessingMapping.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingMapping.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
-
mergeFrom
public ProcessingMapping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingMapping.Builder>- Throws:
IOException
-
getMappingConfigCase
- Specified by:
getMappingConfigCasein interfaceProcessingMappingOrBuilder
-
clearMappingConfig
-
getMappingId
Unique identifier for this mapping.
string mapping_id = 1;- Specified by:
getMappingIdin interfaceProcessingMappingOrBuilder- Returns:
- The mappingId.
-
getMappingIdBytes
public com.google.protobuf.ByteString getMappingIdBytes()Unique identifier for this mapping.
string mapping_id = 1;- Specified by:
getMappingIdBytesin interfaceProcessingMappingOrBuilder- Returns:
- The bytes for mappingId.
-
setMappingId
Unique identifier for this mapping.
string mapping_id = 1;- Parameters:
value- The mappingId to set.- Returns:
- This builder for chaining.
-
clearMappingId
Unique identifier for this mapping.
string mapping_id = 1;- Returns:
- This builder for chaining.
-
setMappingIdBytes
Unique identifier for this mapping.
string mapping_id = 1;- Parameters:
value- The bytes for mappingId to set.- Returns:
- This builder for chaining.
-
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;- 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;- 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;- 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;- Specified by:
getSourceFieldPathsBytesin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourceFieldPaths at the given index.
-
setSourceFieldPaths
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;- Parameters:
index- The index to set the value at.value- The sourceFieldPaths to set.- Returns:
- This builder for chaining.
-
addSourceFieldPaths
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;- Parameters:
value- The sourceFieldPaths to add.- Returns:
- This builder for chaining.
-
addAllSourceFieldPaths
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;- Parameters:
values- The sourceFieldPaths to add.- Returns:
- This builder for chaining.
-
clearSourceFieldPaths
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;- Returns:
- This builder for chaining.
-
addSourceFieldPathsBytes
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;- Parameters:
value- The bytes of the sourceFieldPaths to add.- Returns:
- This builder for chaining.
-
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;- 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;- 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;- 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;- Specified by:
getTargetFieldPathsBytesin interfaceProcessingMappingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetFieldPaths at the given index.
-
setTargetFieldPaths
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;- Parameters:
index- The index to set the value at.value- The targetFieldPaths to set.- Returns:
- This builder for chaining.
-
addTargetFieldPaths
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;- Parameters:
value- The targetFieldPaths to add.- Returns:
- This builder for chaining.
-
addAllTargetFieldPaths
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;- Parameters:
values- The targetFieldPaths to add.- Returns:
- This builder for chaining.
-
clearTargetFieldPaths
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;- Returns:
- This builder for chaining.
-
addTargetFieldPathsBytes
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;- Parameters:
value- The bytes of the targetFieldPaths to add.- Returns:
- This builder for chaining.
-
getMappingTypeValue
public int getMappingTypeValue()Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4;- Specified by:
getMappingTypeValuein interfaceProcessingMappingOrBuilder- Returns:
- The enum numeric value on the wire for mappingType.
-
setMappingTypeValue
Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4;- Parameters:
value- The enum numeric value on the wire for mappingType to set.- Returns:
- This builder for chaining.
-
getMappingType
Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4;- Specified by:
getMappingTypein interfaceProcessingMappingOrBuilder- Returns:
- The mappingType.
-
setMappingType
Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4;- Parameters:
value- The mappingType to set.- Returns:
- This builder for chaining.
-
clearMappingType
Type of mapping operation to perform.
.ai.pipestream.data.v1.MappingType mapping_type = 4;- Returns:
- This builder for chaining.
-
hasTransformConfig
public boolean hasTransformConfig()Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5;- Specified by:
hasTransformConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the transformConfig field is set.
-
getTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5;- Specified by:
getTransformConfigin interfaceProcessingMappingOrBuilder- Returns:
- The transformConfig.
-
setTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5; -
setTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5; -
mergeTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5; -
clearTransformConfig
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5; -
getTransformConfigBuilder
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5; -
getTransformConfigOrBuilder
Configuration for TRANSFORM mappings.
.ai.pipestream.data.v1.TransformConfig transform_config = 5;- Specified by:
getTransformConfigOrBuilderin interfaceProcessingMappingOrBuilder
-
hasAggregateConfig
public boolean hasAggregateConfig()Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6;- Specified by:
hasAggregateConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the aggregateConfig field is set.
-
getAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6;- Specified by:
getAggregateConfigin interfaceProcessingMappingOrBuilder- Returns:
- The aggregateConfig.
-
setAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6; -
setAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6; -
mergeAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6; -
clearAggregateConfig
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6; -
getAggregateConfigBuilder
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6; -
getAggregateConfigOrBuilder
Configuration for AGGREGATE mappings.
.ai.pipestream.data.v1.AggregateConfig aggregate_config = 6;- Specified by:
getAggregateConfigOrBuilderin interfaceProcessingMappingOrBuilder
-
hasSplitConfig
public boolean hasSplitConfig()Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7;- Specified by:
hasSplitConfigin interfaceProcessingMappingOrBuilder- Returns:
- Whether the splitConfig field is set.
-
getSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7;- Specified by:
getSplitConfigin interfaceProcessingMappingOrBuilder- Returns:
- The splitConfig.
-
setSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7; -
setSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7; -
mergeSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7; -
clearSplitConfig
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7; -
getSplitConfigBuilder
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7; -
getSplitConfigOrBuilder
Configuration for SPLIT mappings.
.ai.pipestream.data.v1.SplitConfig split_config = 7;- Specified by:
getSplitConfigOrBuilderin interfaceProcessingMappingOrBuilder
-