Class MutateRowsRequest.Entry.Builder (2.14.0)

public static final class MutateRowsRequest.Entry.Builder extends GeneratedMessageV3.Builder<MutateRowsRequest.Entry.Builder> implements MutateRowsRequest.EntryOrBuilder

A mutation for a given row.

Protobuf type google.bigtable.v2.MutateRowsRequest.Entry

Static Methods

getDescriptor()

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

Methods

addAllMutations(Iterable<? extends Mutation> values)

public MutateRowsRequest.Entry.Builder addAllMutations(Iterable<? extends Mutation> values)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

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

addMutations(Mutation value)

public MutateRowsRequest.Entry.Builder addMutations(Mutation value)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueMutation
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

addMutations(Mutation.Builder builderForValue)

public MutateRowsRequest.Entry.Builder addMutations(Mutation.Builder builderForValue)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

addMutations(int index, Mutation value)

public MutateRowsRequest.Entry.Builder addMutations(int index, Mutation value)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueMutation
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

addMutations(int index, Mutation.Builder builderForValue)

public MutateRowsRequest.Entry.Builder addMutations(int index, Mutation.Builder builderForValue)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

addMutationsBuilder()

public Mutation.Builder addMutationsBuilder()

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Mutation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutateRowsRequest.Entry build()
Returns
TypeDescription
MutateRowsRequest.Entry

buildPartial()

public MutateRowsRequest.Entry buildPartial()
Returns
TypeDescription
MutateRowsRequest.Entry

clear()

public MutateRowsRequest.Entry.Builder clear()
Returns
TypeDescription
MutateRowsRequest.Entry.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMutations()

public MutateRowsRequest.Entry.Builder clearMutations()

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MutateRowsRequest.Entry.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowKey()

public MutateRowsRequest.Entry.Builder clearRowKey()

The key of the row to which the mutations should be applied.

bytes row_key = 1;

Returns
TypeDescription
MutateRowsRequest.Entry.Builder

This builder for chaining.

clone()

public MutateRowsRequest.Entry.Builder clone()
Returns
TypeDescription
MutateRowsRequest.Entry.Builder
Overrides

getDefaultInstanceForType()

public MutateRowsRequest.Entry getDefaultInstanceForType()
Returns
TypeDescription
MutateRowsRequest.Entry

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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getMutationsCount()

public int getMutationsCount()

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getMutationsList()

public List<Mutation> getMutationsList()

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.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. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

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

getRowKey()

public ByteString getRowKey()

The key of the row to which the mutations should be applied.

bytes row_key = 1;

Returns
TypeDescription
ByteString

The rowKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MutateRowsRequest.Entry other)

public MutateRowsRequest.Entry.Builder mergeFrom(MutateRowsRequest.Entry other)
Parameter
NameDescription
otherMutateRowsRequest.Entry
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMutations(int index)

public MutateRowsRequest.Entry.Builder removeMutations(int index)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMutations(int index, Mutation value)

public MutateRowsRequest.Entry.Builder setMutations(int index, Mutation value)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueMutation
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

setMutations(int index, Mutation.Builder builderForValue)

public MutateRowsRequest.Entry.Builder setMutations(int index, Mutation.Builder builderForValue)

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueMutation.Builder
Returns
TypeDescription
MutateRowsRequest.Entry.Builder

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

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

setRowKey(ByteString value)

public MutateRowsRequest.Entry.Builder setRowKey(ByteString value)

The key of the row to which the mutations should be applied.

bytes row_key = 1;

Parameter
NameDescription
valueByteString

The rowKey to set.

Returns
TypeDescription
MutateRowsRequest.Entry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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