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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
    • clear

      public ProcessingMapping.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProcessingMapping.Builder>
    • getDefaultInstanceForType

      public ProcessingMapping getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProcessingMapping build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProcessingMapping buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProcessingMapping.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessingMapping.Builder>
    • mergeFrom

      public ProcessingMapping.Builder mergeFrom(ProcessingMapping other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessingMapping.Builder>
      Throws:
      IOException
    • getMappingConfigCase

      public ProcessingMapping.MappingConfigCase getMappingConfigCase()
      Specified by:
      getMappingConfigCase in interface ProcessingMappingOrBuilder
    • clearMappingConfig

      public ProcessingMapping.Builder clearMappingConfig()
    • getMappingId

      public String getMappingId()
       Unique identifier for this mapping.
       
      string mapping_id = 1 [json_name = "mappingId"];
      Specified by:
      getMappingId in interface ProcessingMappingOrBuilder
      Returns:
      The mappingId.
    • getMappingIdBytes

      public com.google.protobuf.ByteString getMappingIdBytes()
       Unique identifier for this mapping.
       
      string mapping_id = 1 [json_name = "mappingId"];
      Specified by:
      getMappingIdBytes in interface ProcessingMappingOrBuilder
      Returns:
      The bytes for mappingId.
    • setMappingId

      public ProcessingMapping.Builder setMappingId(String value)
       Unique identifier for this mapping.
       
      string mapping_id = 1 [json_name = "mappingId"];
      Parameters:
      value - The mappingId to set.
      Returns:
      This builder for chaining.
    • clearMappingId

      public ProcessingMapping.Builder clearMappingId()
       Unique identifier for this mapping.
       
      string mapping_id = 1 [json_name = "mappingId"];
      Returns:
      This builder for chaining.
    • setMappingIdBytes

      public ProcessingMapping.Builder setMappingIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for this mapping.
       
      string mapping_id = 1 [json_name = "mappingId"];
      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 [json_name = "sourceFieldPaths"];
      Specified by:
      getSourceFieldPathsList in interface ProcessingMappingOrBuilder
      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:
      getSourceFieldPathsCount in interface ProcessingMappingOrBuilder
      Returns:
      The count of sourceFieldPaths.
    • getSourceFieldPaths

      public String getSourceFieldPaths(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:
      getSourceFieldPaths in interface ProcessingMappingOrBuilder
      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:
      getSourceFieldPathsBytes in interface ProcessingMappingOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceFieldPaths at the given index.
    • setSourceFieldPaths

      public ProcessingMapping.Builder setSourceFieldPaths(int index, String value)
       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"];
      Parameters:
      index - The index to set the value at.
      value - The sourceFieldPaths to set.
      Returns:
      This builder for chaining.
    • addSourceFieldPaths

      public ProcessingMapping.Builder addSourceFieldPaths(String value)
       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"];
      Parameters:
      value - The sourceFieldPaths to add.
      Returns:
      This builder for chaining.
    • addAllSourceFieldPaths

      public ProcessingMapping.Builder addAllSourceFieldPaths(Iterable<String> values)
       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"];
      Parameters:
      values - The sourceFieldPaths to add.
      Returns:
      This builder for chaining.
    • clearSourceFieldPaths

      public ProcessingMapping.Builder 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 [json_name = "sourceFieldPaths"];
      Returns:
      This builder for chaining.
    • addSourceFieldPathsBytes

      public ProcessingMapping.Builder addSourceFieldPathsBytes(com.google.protobuf.ByteString value)
       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"];
      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 [json_name = "targetFieldPaths"];
      Specified by:
      getTargetFieldPathsList in interface ProcessingMappingOrBuilder
      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:
      getTargetFieldPathsCount in interface ProcessingMappingOrBuilder
      Returns:
      The count of targetFieldPaths.
    • getTargetFieldPaths

      public String getTargetFieldPaths(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:
      getTargetFieldPaths in interface ProcessingMappingOrBuilder
      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:
      getTargetFieldPathsBytes in interface ProcessingMappingOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetFieldPaths at the given index.
    • setTargetFieldPaths

      public ProcessingMapping.Builder setTargetFieldPaths(int index, String value)
       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"];
      Parameters:
      index - The index to set the value at.
      value - The targetFieldPaths to set.
      Returns:
      This builder for chaining.
    • addTargetFieldPaths

      public ProcessingMapping.Builder addTargetFieldPaths(String value)
       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"];
      Parameters:
      value - The targetFieldPaths to add.
      Returns:
      This builder for chaining.
    • addAllTargetFieldPaths

      public ProcessingMapping.Builder addAllTargetFieldPaths(Iterable<String> values)
       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"];
      Parameters:
      values - The targetFieldPaths to add.
      Returns:
      This builder for chaining.
    • clearTargetFieldPaths

      public ProcessingMapping.Builder 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 [json_name = "targetFieldPaths"];
      Returns:
      This builder for chaining.
    • addTargetFieldPathsBytes

      public ProcessingMapping.Builder addTargetFieldPathsBytes(com.google.protobuf.ByteString value)
       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"];
      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 [json_name = "mappingType"];
      Specified by:
      getMappingTypeValue in interface ProcessingMappingOrBuilder
      Returns:
      The enum numeric value on the wire for mappingType.
    • setMappingTypeValue

      public ProcessingMapping.Builder setMappingTypeValue(int value)
       Type of mapping operation to perform.
       
      .ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];
      Parameters:
      value - The enum numeric value on the wire for mappingType to set.
      Returns:
      This builder for chaining.
    • getMappingType

      public MappingType getMappingType()
       Type of mapping operation to perform.
       
      .ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];
      Specified by:
      getMappingType in interface ProcessingMappingOrBuilder
      Returns:
      The mappingType.
    • setMappingType

      public ProcessingMapping.Builder setMappingType(MappingType value)
       Type of mapping operation to perform.
       
      .ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];
      Parameters:
      value - The mappingType to set.
      Returns:
      This builder for chaining.
    • clearMappingType

      public ProcessingMapping.Builder clearMappingType()
       Type of mapping operation to perform.
       
      .ai.pipestream.data.v1.MappingType mapping_type = 4 [json_name = "mappingType"];
      Returns:
      This builder for chaining.
    • hasTransformConfig

      public boolean hasTransformConfig()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
      Specified by:
      hasTransformConfig in interface ProcessingMappingOrBuilder
      Returns:
      Whether the transformConfig field is set.
    • getTransformConfig

      public TransformConfig getTransformConfig()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
      Specified by:
      getTransformConfig in interface ProcessingMappingOrBuilder
      Returns:
      The transformConfig.
    • setTransformConfig

      public ProcessingMapping.Builder setTransformConfig(TransformConfig value)
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
    • setTransformConfig

      public ProcessingMapping.Builder setTransformConfig(TransformConfig.Builder builderForValue)
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
    • mergeTransformConfig

      public ProcessingMapping.Builder mergeTransformConfig(TransformConfig value)
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
    • clearTransformConfig

      public ProcessingMapping.Builder clearTransformConfig()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
    • getTransformConfigBuilder

      public TransformConfig.Builder getTransformConfigBuilder()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
    • getTransformConfigOrBuilder

      public TransformConfigOrBuilder getTransformConfigOrBuilder()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5 [json_name = "transformConfig"];
      Specified by:
      getTransformConfigOrBuilder in interface ProcessingMappingOrBuilder
    • hasAggregateConfig

      public boolean hasAggregateConfig()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
      Specified by:
      hasAggregateConfig in interface ProcessingMappingOrBuilder
      Returns:
      Whether the aggregateConfig field is set.
    • getAggregateConfig

      public AggregateConfig getAggregateConfig()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
      Specified by:
      getAggregateConfig in interface ProcessingMappingOrBuilder
      Returns:
      The aggregateConfig.
    • setAggregateConfig

      public ProcessingMapping.Builder setAggregateConfig(AggregateConfig value)
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
    • setAggregateConfig

      public ProcessingMapping.Builder setAggregateConfig(AggregateConfig.Builder builderForValue)
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
    • mergeAggregateConfig

      public ProcessingMapping.Builder mergeAggregateConfig(AggregateConfig value)
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
    • clearAggregateConfig

      public ProcessingMapping.Builder clearAggregateConfig()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
    • getAggregateConfigBuilder

      public AggregateConfig.Builder getAggregateConfigBuilder()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
    • getAggregateConfigOrBuilder

      public AggregateConfigOrBuilder getAggregateConfigOrBuilder()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6 [json_name = "aggregateConfig"];
      Specified by:
      getAggregateConfigOrBuilder in interface ProcessingMappingOrBuilder
    • hasSplitConfig

      public boolean hasSplitConfig()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
      Specified by:
      hasSplitConfig in interface ProcessingMappingOrBuilder
      Returns:
      Whether the splitConfig field is set.
    • getSplitConfig

      public SplitConfig getSplitConfig()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
      Specified by:
      getSplitConfig in interface ProcessingMappingOrBuilder
      Returns:
      The splitConfig.
    • setSplitConfig

      public ProcessingMapping.Builder setSplitConfig(SplitConfig value)
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
    • setSplitConfig

      public ProcessingMapping.Builder setSplitConfig(SplitConfig.Builder builderForValue)
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
    • mergeSplitConfig

      public ProcessingMapping.Builder mergeSplitConfig(SplitConfig value)
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
    • clearSplitConfig

      public ProcessingMapping.Builder clearSplitConfig()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
    • getSplitConfigBuilder

      public SplitConfig.Builder getSplitConfigBuilder()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
    • getSplitConfigOrBuilder

      public SplitConfigOrBuilder getSplitConfigOrBuilder()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7 [json_name = "splitConfig"];
      Specified by:
      getSplitConfigOrBuilder in interface ProcessingMappingOrBuilder