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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMappingConfigCase

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

      public String getMappingId()
       Unique identifier for this mapping.
       
      string mapping_id = 1;
      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;
      Specified by:
      getMappingIdBytes in interface ProcessingMappingOrBuilder
      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;
      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;
      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;
      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;
      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.
    • 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:
      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;
      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;
      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;
      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.
    • getMappingTypeValue

      public int getMappingTypeValue()
       Type of mapping operation to perform.
       
      .ai.pipestream.data.v1.MappingType mapping_type = 4;
      Specified by:
      getMappingTypeValue in interface ProcessingMappingOrBuilder
      Returns:
      The enum numeric value on the wire for mappingType.
    • getMappingType

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

      public boolean hasTransformConfig()
       Configuration for TRANSFORM mappings.
       
      .ai.pipestream.data.v1.TransformConfig transform_config = 5;
      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;
      Specified by:
      getTransformConfig in interface ProcessingMappingOrBuilder
      Returns:
      The transformConfig.
    • getTransformConfigOrBuilder

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

      public boolean hasAggregateConfig()
       Configuration for AGGREGATE mappings.
       
      .ai.pipestream.data.v1.AggregateConfig aggregate_config = 6;
      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;
      Specified by:
      getAggregateConfig in interface ProcessingMappingOrBuilder
      Returns:
      The aggregateConfig.
    • getAggregateConfigOrBuilder

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

      public boolean hasSplitConfig()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7;
      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;
      Specified by:
      getSplitConfig in interface ProcessingMappingOrBuilder
      Returns:
      The splitConfig.
    • getSplitConfigOrBuilder

      public SplitConfigOrBuilder getSplitConfigOrBuilder()
       Configuration for SPLIT mappings.
       
      .ai.pipestream.data.v1.SplitConfig split_config = 7;
      Specified by:
      getSplitConfigOrBuilder in interface ProcessingMappingOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ProcessingMapping parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProcessingMapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProcessingMapping parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static ProcessingMapping.Builder newBuilder()
    • newBuilder

      public static ProcessingMapping.Builder newBuilder(ProcessingMapping prototype)
    • toBuilder

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

      protected ProcessingMapping.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProcessingMapping getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProcessingMapping> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProcessingMapping> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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