Class UpdateRel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateRel.Builder>
io.substrait.proto.UpdateRel.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateRelOrBuilder, Cloneable
Enclosing class:
UpdateRel

public static final class UpdateRel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateRel.Builder> implements UpdateRelOrBuilder
 The operator that modifies the columns of a table
 
Protobuf type substrait.UpdateRel
  • 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<UpdateRel.Builder>
    • clear

      public UpdateRel.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<UpdateRel.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<UpdateRel.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateRel.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<UpdateRel.Builder>
    • setField

      public UpdateRel.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<UpdateRel.Builder>
    • clearField

      public UpdateRel.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<UpdateRel.Builder>
    • clearOneof

      public UpdateRel.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<UpdateRel.Builder>
    • setRepeatedField

      public UpdateRel.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<UpdateRel.Builder>
    • addRepeatedField

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

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

      public UpdateRel.Builder mergeFrom(UpdateRel other)
    • isInitialized

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

      public UpdateRel.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<UpdateRel.Builder>
      Throws:
      IOException
    • getUpdateTypeCase

      public UpdateRel.UpdateTypeCase getUpdateTypeCase()
      Specified by:
      getUpdateTypeCase in interface UpdateRelOrBuilder
    • clearUpdateType

      public UpdateRel.Builder clearUpdateType()
    • hasNamedTable

      public boolean hasNamedTable()
      .substrait.NamedTable named_table = 1;
      Specified by:
      hasNamedTable in interface UpdateRelOrBuilder
      Returns:
      Whether the namedTable field is set.
    • getNamedTable

      public NamedTable getNamedTable()
      .substrait.NamedTable named_table = 1;
      Specified by:
      getNamedTable in interface UpdateRelOrBuilder
      Returns:
      The namedTable.
    • setNamedTable

      public UpdateRel.Builder setNamedTable(NamedTable value)
      .substrait.NamedTable named_table = 1;
    • setNamedTable

      public UpdateRel.Builder setNamedTable(NamedTable.Builder builderForValue)
      .substrait.NamedTable named_table = 1;
    • mergeNamedTable

      public UpdateRel.Builder mergeNamedTable(NamedTable value)
      .substrait.NamedTable named_table = 1;
    • clearNamedTable

      public UpdateRel.Builder clearNamedTable()
      .substrait.NamedTable named_table = 1;
    • getNamedTableBuilder

      public NamedTable.Builder getNamedTableBuilder()
      .substrait.NamedTable named_table = 1;
    • getNamedTableOrBuilder

      public NamedTableOrBuilder getNamedTableOrBuilder()
      .substrait.NamedTable named_table = 1;
      Specified by:
      getNamedTableOrBuilder in interface UpdateRelOrBuilder
    • hasTableSchema

      public boolean hasTableSchema()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      hasTableSchema in interface UpdateRelOrBuilder
      Returns:
      Whether the tableSchema field is set.
    • getTableSchema

      public NamedStruct getTableSchema()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      getTableSchema in interface UpdateRelOrBuilder
      Returns:
      The tableSchema.
    • setTableSchema

      public UpdateRel.Builder setTableSchema(NamedStruct value)
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
    • setTableSchema

      public UpdateRel.Builder setTableSchema(NamedStruct.Builder builderForValue)
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
    • mergeTableSchema

      public UpdateRel.Builder mergeTableSchema(NamedStruct value)
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
    • clearTableSchema

      public UpdateRel.Builder clearTableSchema()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
    • getTableSchemaBuilder

      public NamedStruct.Builder getTableSchemaBuilder()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
    • getTableSchemaOrBuilder

      public NamedStructOrBuilder getTableSchemaOrBuilder()
       The full schema of the named_table
       
      .substrait.NamedStruct table_schema = 2;
      Specified by:
      getTableSchemaOrBuilder in interface UpdateRelOrBuilder
    • hasCondition

      public boolean hasCondition()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      hasCondition in interface UpdateRelOrBuilder
      Returns:
      Whether the condition field is set.
    • getCondition

      public Expression getCondition()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      getCondition in interface UpdateRelOrBuilder
      Returns:
      The condition.
    • setCondition

      public UpdateRel.Builder setCondition(Expression value)
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
    • setCondition

      public UpdateRel.Builder setCondition(Expression.Builder builderForValue)
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
    • mergeCondition

      public UpdateRel.Builder mergeCondition(Expression value)
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
    • clearCondition

      public UpdateRel.Builder clearCondition()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
    • getConditionBuilder

      public Expression.Builder getConditionBuilder()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
    • getConditionOrBuilder

      public ExpressionOrBuilder getConditionOrBuilder()
       condition to be met for the update to be applied on a record
       
      .substrait.Expression condition = 3;
      Specified by:
      getConditionOrBuilder in interface UpdateRelOrBuilder
    • getTransformationsList

      public List<UpdateRel.TransformExpression> getTransformationsList()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsList in interface UpdateRelOrBuilder
    • getTransformationsCount

      public int getTransformationsCount()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsCount in interface UpdateRelOrBuilder
    • getTransformations

      public UpdateRel.TransformExpression getTransformations(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformations in interface UpdateRelOrBuilder
    • setTransformations

      public UpdateRel.Builder setTransformations(int index, UpdateRel.TransformExpression value)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • setTransformations

      public UpdateRel.Builder setTransformations(int index, UpdateRel.TransformExpression.Builder builderForValue)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addTransformations

      public UpdateRel.Builder addTransformations(UpdateRel.TransformExpression value)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addTransformations

      public UpdateRel.Builder addTransformations(int index, UpdateRel.TransformExpression value)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addTransformations

      public UpdateRel.Builder addTransformations(UpdateRel.TransformExpression.Builder builderForValue)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addTransformations

      public UpdateRel.Builder addTransformations(int index, UpdateRel.TransformExpression.Builder builderForValue)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addAllTransformations

      public UpdateRel.Builder addAllTransformations(Iterable<? extends UpdateRel.TransformExpression> values)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • clearTransformations

      public UpdateRel.Builder clearTransformations()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • removeTransformations

      public UpdateRel.Builder removeTransformations(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • getTransformationsBuilder

      public UpdateRel.TransformExpression.Builder getTransformationsBuilder(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • getTransformationsOrBuilder

      public UpdateRel.TransformExpressionOrBuilder getTransformationsOrBuilder(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsOrBuilder in interface UpdateRelOrBuilder
    • getTransformationsOrBuilderList

      public List<? extends UpdateRel.TransformExpressionOrBuilder> getTransformationsOrBuilderList()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
      Specified by:
      getTransformationsOrBuilderList in interface UpdateRelOrBuilder
    • addTransformationsBuilder

      public UpdateRel.TransformExpression.Builder addTransformationsBuilder()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • addTransformationsBuilder

      public UpdateRel.TransformExpression.Builder addTransformationsBuilder(int index)
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • getTransformationsBuilderList

      public List<UpdateRel.TransformExpression.Builder> getTransformationsBuilderList()
       The list of transformations to apply to the columns of the named_table
       
      repeated .substrait.UpdateRel.TransformExpression transformations = 4;
    • hasAdvancedExtension

      public boolean hasAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      hasAdvancedExtension in interface UpdateRelOrBuilder
      Returns:
      Whether the advancedExtension field is set.
    • getAdvancedExtension

      public AdvancedExtension getAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      getAdvancedExtension in interface UpdateRelOrBuilder
      Returns:
      The advancedExtension.
    • setAdvancedExtension

      public UpdateRel.Builder setAdvancedExtension(AdvancedExtension value)
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
    • setAdvancedExtension

      public UpdateRel.Builder setAdvancedExtension(AdvancedExtension.Builder builderForValue)
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
    • mergeAdvancedExtension

      public UpdateRel.Builder mergeAdvancedExtension(AdvancedExtension value)
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
    • clearAdvancedExtension

      public UpdateRel.Builder clearAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
    • getAdvancedExtensionBuilder

      public AdvancedExtension.Builder getAdvancedExtensionBuilder()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
    • getAdvancedExtensionOrBuilder

      public AdvancedExtensionOrBuilder getAdvancedExtensionOrBuilder()
      .substrait.extensions.AdvancedExtension advanced_extension = 5;
      Specified by:
      getAdvancedExtensionOrBuilder in interface UpdateRelOrBuilder
    • setUnknownFields

      public final UpdateRel.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<UpdateRel.Builder>
    • mergeUnknownFields

      public final UpdateRel.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<UpdateRel.Builder>