Class Common.CoprocessorV2.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
io.dingodb.common.Common.CoprocessorV2.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.CoprocessorV2OrBuilder, Cloneable
Enclosing class:
Common.CoprocessorV2

public static final class Common.CoprocessorV2.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder> implements Common.CoprocessorV2OrBuilder
Protobuf type dingodb.pb.common.CoprocessorV2
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.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.GeneratedMessageV3.Builder<Common.CoprocessorV2.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.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • getDefaultInstanceForType

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

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

      public Common.CoprocessorV2 buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • setField

      public Common.CoprocessorV2.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • clearField

      public Common.CoprocessorV2.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • clearOneof

      public Common.CoprocessorV2.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • setRepeatedField

      public Common.CoprocessorV2.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • addRepeatedField

      public Common.CoprocessorV2.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • mergeFrom

      public Common.CoprocessorV2.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<Common.CoprocessorV2.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • mergeFrom

      public Common.CoprocessorV2.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<Common.CoprocessorV2.Builder>
      Throws:
      IOException
    • getSchemaVersion

      public int getSchemaVersion()
       The version of the serialized data.
       
      int32 schema_version = 1;
      Specified by:
      getSchemaVersion in interface Common.CoprocessorV2OrBuilder
      Returns:
      The schemaVersion.
    • setSchemaVersion

      public Common.CoprocessorV2.Builder setSchemaVersion(int value)
       The version of the serialized data.
       
      int32 schema_version = 1;
      Parameters:
      value - The schemaVersion to set.
      Returns:
      This builder for chaining.
    • clearSchemaVersion

      public Common.CoprocessorV2.Builder clearSchemaVersion()
       The version of the serialized data.
       
      int32 schema_version = 1;
      Returns:
      This builder for chaining.
    • hasOriginalSchema

      public boolean hasOriginalSchema()
       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
      Specified by:
      hasOriginalSchema in interface Common.CoprocessorV2OrBuilder
      Returns:
      Whether the originalSchema field is set.
    • getOriginalSchema

      public Common.CoprocessorV2.SchemaWrapper getOriginalSchema()
       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
      Specified by:
      getOriginalSchema in interface Common.CoprocessorV2OrBuilder
      Returns:
      The originalSchema.
    • setOriginalSchema

       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
    • setOriginalSchema

       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
    • mergeOriginalSchema

       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
    • clearOriginalSchema

      public Common.CoprocessorV2.Builder clearOriginalSchema()
       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
    • getOriginalSchemaBuilder

      public Common.CoprocessorV2.SchemaWrapper.Builder getOriginalSchemaBuilder()
       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
    • getOriginalSchemaOrBuilder

      public Common.CoprocessorV2.SchemaWrapperOrBuilder getOriginalSchemaOrBuilder()
       Original schema.
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper original_schema = 2;
      Specified by:
      getOriginalSchemaOrBuilder in interface Common.CoprocessorV2OrBuilder
    • hasResultSchema

      public boolean hasResultSchema()
       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
      Specified by:
      hasResultSchema in interface Common.CoprocessorV2OrBuilder
      Returns:
      Whether the resultSchema field is set.
    • getResultSchema

      public Common.CoprocessorV2.SchemaWrapper getResultSchema()
       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
      Specified by:
      getResultSchema in interface Common.CoprocessorV2OrBuilder
      Returns:
      The resultSchema.
    • setResultSchema

       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
    • setResultSchema

       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
    • mergeResultSchema

       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
    • clearResultSchema

      public Common.CoprocessorV2.Builder clearResultSchema()
       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
    • getResultSchemaBuilder

      public Common.CoprocessorV2.SchemaWrapper.Builder getResultSchemaBuilder()
       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
    • getResultSchemaOrBuilder

      public Common.CoprocessorV2.SchemaWrapperOrBuilder getResultSchemaOrBuilder()
       Result schema
       
      .dingodb.pb.common.CoprocessorV2.SchemaWrapper result_schema = 3;
      Specified by:
      getResultSchemaOrBuilder in interface Common.CoprocessorV2OrBuilder
    • getSelectionColumnsList

      public List<Integer> getSelectionColumnsList()
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumnsList in interface Common.CoprocessorV2OrBuilder
      Returns:
      A list containing the selectionColumns.
    • getSelectionColumnsCount

      public int getSelectionColumnsCount()
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumnsCount in interface Common.CoprocessorV2OrBuilder
      Returns:
      The count of selectionColumns.
    • getSelectionColumns

      public int getSelectionColumns(int index)
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumns in interface Common.CoprocessorV2OrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The selectionColumns at the given index.
    • setSelectionColumns

      public Common.CoprocessorV2.Builder setSelectionColumns(int index, int value)
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Parameters:
      index - The index to set the value at.
      value - The selectionColumns to set.
      Returns:
      This builder for chaining.
    • addSelectionColumns

      public Common.CoprocessorV2.Builder addSelectionColumns(int value)
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Parameters:
      value - The selectionColumns to add.
      Returns:
      This builder for chaining.
    • addAllSelectionColumns

      public Common.CoprocessorV2.Builder addAllSelectionColumns(Iterable<? extends Integer> values)
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Parameters:
      values - The selectionColumns to add.
      Returns:
      This builder for chaining.
    • clearSelectionColumns

      public Common.CoprocessorV2.Builder clearSelectionColumns()
       Column selection in the table list selection.
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Returns:
      This builder for chaining.
    • getRelExpr

      public com.google.protobuf.ByteString getRelExpr()
       Encoded binary of the relational expression pushed down.
       
      bytes rel_expr = 5;
      Specified by:
      getRelExpr in interface Common.CoprocessorV2OrBuilder
      Returns:
      The relExpr.
    • setRelExpr

      public Common.CoprocessorV2.Builder setRelExpr(com.google.protobuf.ByteString value)
       Encoded binary of the relational expression pushed down.
       
      bytes rel_expr = 5;
      Parameters:
      value - The relExpr to set.
      Returns:
      This builder for chaining.
    • clearRelExpr

      public Common.CoprocessorV2.Builder clearRelExpr()
       Encoded binary of the relational expression pushed down.
       
      bytes rel_expr = 5;
      Returns:
      This builder for chaining.
    • getCodecVersion

      public int getCodecVersion()
      int32 codec_version = 6;
      Specified by:
      getCodecVersion in interface Common.CoprocessorV2OrBuilder
      Returns:
      The codecVersion.
    • setCodecVersion

      public Common.CoprocessorV2.Builder setCodecVersion(int value)
      int32 codec_version = 6;
      Parameters:
      value - The codecVersion to set.
      Returns:
      This builder for chaining.
    • clearCodecVersion

      public Common.CoprocessorV2.Builder clearCodecVersion()
      int32 codec_version = 6;
      Returns:
      This builder for chaining.
    • getForAggCount

      public boolean getForAggCount()
      bool for_agg_count = 7;
      Specified by:
      getForAggCount in interface Common.CoprocessorV2OrBuilder
      Returns:
      The forAggCount.
    • setForAggCount

      public Common.CoprocessorV2.Builder setForAggCount(boolean value)
      bool for_agg_count = 7;
      Parameters:
      value - The forAggCount to set.
      Returns:
      This builder for chaining.
    • clearForAggCount

      public Common.CoprocessorV2.Builder clearForAggCount()
      bool for_agg_count = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Common.CoprocessorV2.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>
    • mergeUnknownFields

      public final Common.CoprocessorV2.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Common.CoprocessorV2.Builder>