Class MutateRowRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder>
com.google.bigtable.v2.MutateRowRequest.Builder
All Implemented Interfaces:
MutateRowRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MutateRowRequest

public static final class MutateRowRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateRowRequest.Builder> implements MutateRowRequestOrBuilder
 Request message for Bigtable.MutateRow.
 
Protobuf type google.bigtable.v2.MutateRowRequest
  • 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<MutateRowRequest.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public MutateRowRequest.Builder mergeFrom(MutateRowRequest other)
    • isInitialized

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

      public MutateRowRequest.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<MutateRowRequest.Builder>
      Throws:
      IOException
    • getTableName

      public String getTableName()
       Required. The unique name of the table to which the mutation should be
       applied. Values are of the form
       `projects/<project>/instances/<instance>/tables/<table>`.
       
      string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTableName in interface MutateRowRequestOrBuilder
      Returns:
      The tableName.
    • getTableNameBytes

      public com.google.protobuf.ByteString getTableNameBytes()
       Required. The unique name of the table to which the mutation should be
       applied. Values are of the form
       `projects/<project>/instances/<instance>/tables/<table>`.
       
      string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTableNameBytes in interface MutateRowRequestOrBuilder
      Returns:
      The bytes for tableName.
    • setTableName

      public MutateRowRequest.Builder setTableName(String value)
       Required. The unique name of the table to which the mutation should be
       applied. Values are of the form
       `projects/<project>/instances/<instance>/tables/<table>`.
       
      string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The tableName to set.
      Returns:
      This builder for chaining.
    • clearTableName

      public MutateRowRequest.Builder clearTableName()
       Required. The unique name of the table to which the mutation should be
       applied. Values are of the form
       `projects/<project>/instances/<instance>/tables/<table>`.
       
      string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTableNameBytes

      public MutateRowRequest.Builder setTableNameBytes(com.google.protobuf.ByteString value)
       Required. The unique name of the table to which the mutation should be
       applied. Values are of the form
       `projects/<project>/instances/<instance>/tables/<table>`.
       
      string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for tableName to set.
      Returns:
      This builder for chaining.
    • getAppProfileId

      public String getAppProfileId()
       This value specifies routing for replication. If not specified, the
       "default" application profile will be used.
       
      string app_profile_id = 4;
      Specified by:
      getAppProfileId in interface MutateRowRequestOrBuilder
      Returns:
      The appProfileId.
    • getAppProfileIdBytes

      public com.google.protobuf.ByteString getAppProfileIdBytes()
       This value specifies routing for replication. If not specified, the
       "default" application profile will be used.
       
      string app_profile_id = 4;
      Specified by:
      getAppProfileIdBytes in interface MutateRowRequestOrBuilder
      Returns:
      The bytes for appProfileId.
    • setAppProfileId

      public MutateRowRequest.Builder setAppProfileId(String value)
       This value specifies routing for replication. If not specified, the
       "default" application profile will be used.
       
      string app_profile_id = 4;
      Parameters:
      value - The appProfileId to set.
      Returns:
      This builder for chaining.
    • clearAppProfileId

      public MutateRowRequest.Builder clearAppProfileId()
       This value specifies routing for replication. If not specified, the
       "default" application profile will be used.
       
      string app_profile_id = 4;
      Returns:
      This builder for chaining.
    • setAppProfileIdBytes

      public MutateRowRequest.Builder setAppProfileIdBytes(com.google.protobuf.ByteString value)
       This value specifies routing for replication. If not specified, the
       "default" application profile will be used.
       
      string app_profile_id = 4;
      Parameters:
      value - The bytes for appProfileId to set.
      Returns:
      This builder for chaining.
    • getRowKey

      public com.google.protobuf.ByteString getRowKey()
       Required. The key of the row to which the mutation should be applied.
       
      bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRowKey in interface MutateRowRequestOrBuilder
      Returns:
      The rowKey.
    • setRowKey

      public MutateRowRequest.Builder setRowKey(com.google.protobuf.ByteString value)
       Required. The key of the row to which the mutation should be applied.
       
      bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The rowKey to set.
      Returns:
      This builder for chaining.
    • clearRowKey

      public MutateRowRequest.Builder clearRowKey()
       Required. The key of the row to which the mutation should be applied.
       
      bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getMutationsList

      public List<Mutation> getMutationsList()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMutationsList in interface MutateRowRequestOrBuilder
    • getMutationsCount

      public int getMutationsCount()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMutationsCount in interface MutateRowRequestOrBuilder
    • getMutations

      public Mutation getMutations(int index)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMutations in interface MutateRowRequestOrBuilder
    • setMutations

      public MutateRowRequest.Builder setMutations(int index, Mutation value)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • setMutations

      public MutateRowRequest.Builder setMutations(int index, Mutation.Builder builderForValue)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addMutations

      public MutateRowRequest.Builder addMutations(Mutation value)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addMutations

      public MutateRowRequest.Builder addMutations(int index, Mutation value)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addMutations

      public MutateRowRequest.Builder addMutations(Mutation.Builder builderForValue)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addMutations

      public MutateRowRequest.Builder addMutations(int index, Mutation.Builder builderForValue)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addAllMutations

      public MutateRowRequest.Builder addAllMutations(Iterable<? extends Mutation> values)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearMutations

      public MutateRowRequest.Builder clearMutations()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • removeMutations

      public MutateRowRequest.Builder removeMutations(int index)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMutationsBuilder

      public Mutation.Builder getMutationsBuilder(int index)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMutationsOrBuilder

      public MutationOrBuilder getMutationsOrBuilder(int index)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMutationsOrBuilder in interface MutateRowRequestOrBuilder
    • getMutationsOrBuilderList

      public List<? extends MutationOrBuilder> getMutationsOrBuilderList()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMutationsOrBuilderList in interface MutateRowRequestOrBuilder
    • addMutationsBuilder

      public Mutation.Builder addMutationsBuilder()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • addMutationsBuilder

      public Mutation.Builder addMutationsBuilder(int index)
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMutationsBuilderList

      public List<Mutation.Builder> getMutationsBuilderList()
       Required. Changes to be atomically applied to the specified row. Entries
       are applied in order, meaning that earlier mutations can be masked by later
       ones. Must contain at least one entry and at most 100000.
       
      repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED];
    • setUnknownFields

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

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