Class MutateRowRequest.Builder (2.15.0)

public static final class MutateRowRequest.Builder extends GeneratedMessageV3.Builder<MutateRowRequest.Builder> implements MutateRowRequestOrBuilder

Request message for Bigtable.MutateRow.

Protobuf type google.bigtable.v2.MutateRowRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllMutations(Iterable<? extends Mutation> values)

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];

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.v2.Mutation>
Returns
TypeDescription
MutateRowRequest.Builder

addMutations(Mutation value)

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];

Parameter
NameDescription
valueMutation
Returns
TypeDescription
MutateRowRequest.Builder

addMutations(Mutation.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowRequest.Builder

addMutations(int index, Mutation value)

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];

Parameters
NameDescription
indexint
valueMutation
Returns
TypeDescription
MutateRowRequest.Builder

addMutations(int index, Mutation.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowRequest.Builder

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];

Returns
TypeDescription
Mutation.Builder

addMutationsBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Mutation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MutateRowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

build()

public MutateRowRequest build()
Returns
TypeDescription
MutateRowRequest

buildPartial()

public MutateRowRequest buildPartial()
Returns
TypeDescription
MutateRowRequest

clear()

public MutateRowRequest.Builder clear()
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

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
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MutateRowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

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];

Returns
TypeDescription
MutateRowRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MutateRowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

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
TypeDescription
MutateRowRequest.Builder

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
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

clone()

public MutateRowRequest.Builder clone()
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

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;

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public ByteString getAppProfileIdBytes()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Returns
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public MutateRowRequest getDefaultInstanceForType()
Returns
TypeDescription
MutateRowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutations(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Mutation

getMutationsBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Mutation.Builder

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];

Returns
TypeDescription
List<Builder>

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
List<Mutation>

getMutationsOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
MutationOrBuilder

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];

Returns
TypeDescription
List<? extends com.google.bigtable.v2.MutationOrBuilder>

getRowKey()

public ByteString getRowKey()

Required. The key of the row to which the mutation should be applied.

bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The rowKey.

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) = { ... }

Returns
TypeDescription
String

The tableName.

getTableNameBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MutateRowRequest other)

public MutateRowRequest.Builder mergeFrom(MutateRowRequest other)
Parameter
NameDescription
otherMutateRowRequest
Returns
TypeDescription
MutateRowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MutateRowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateRowRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MutateRowRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MutateRowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

removeMutations(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
MutateRowRequest.Builder

setAppProfileId(String value)

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;

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public MutateRowRequest.Builder setAppProfileIdBytes(ByteString value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 4;

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MutateRowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

setMutations(int index, Mutation value)

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];

Parameters
NameDescription
indexint
valueMutation
Returns
TypeDescription
MutateRowRequest.Builder

setMutations(int index, Mutation.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MutateRowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MutateRowRequest.Builder
Overrides

setRowKey(ByteString value)

public MutateRowRequest.Builder setRowKey(ByteString value)

Required. The key of the row to which the mutation should be applied.

bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The rowKey to set.

Returns
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

setTableName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public MutateRowRequest.Builder setTableNameBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
MutateRowRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MutateRowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MutateRowRequest.Builder
Overrides