Class Mutation.SetCell.Builder (2.5.3)

public static final class Mutation.SetCell.Builder extends GeneratedMessageV3.Builder<Mutation.SetCell.Builder> implements Mutation.SetCellOrBuilder

A Mutation which sets the value of the specified cell.

Protobuf type google.bigtable.v2.Mutation.SetCell

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Mutation.SetCell build()
Returns
TypeDescription
Mutation.SetCell

buildPartial()

public Mutation.SetCell buildPartial()
Returns
TypeDescription
Mutation.SetCell

clear()

public Mutation.SetCell.Builder clear()
Returns
TypeDescription
Mutation.SetCell.Builder
Overrides

clearColumnQualifier()

public Mutation.SetCell.Builder clearColumnQualifier()

The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.

bytes column_qualifier = 2;

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

clearFamilyName()

public Mutation.SetCell.Builder clearFamilyName()

The name of the family into which new data should be written. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimestampMicros()

public Mutation.SetCell.Builder clearTimestampMicros()

The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).

int64 timestamp_micros = 3;

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

clearValue()

public Mutation.SetCell.Builder clearValue()

The value to be written into the specified cell.

bytes value = 4;

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

clone()

public Mutation.SetCell.Builder clone()
Returns
TypeDescription
Mutation.SetCell.Builder
Overrides

getColumnQualifier()

public ByteString getColumnQualifier()

The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.

bytes column_qualifier = 2;

Returns
TypeDescription
ByteString

The columnQualifier.

getDefaultInstanceForType()

public Mutation.SetCell getDefaultInstanceForType()
Returns
TypeDescription
Mutation.SetCell

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFamilyName()

public String getFamilyName()

The name of the family into which new data should be written. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public ByteString getFamilyNameBytes()

The name of the family into which new data should be written. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
ByteString

The bytes for familyName.

getTimestampMicros()

public long getTimestampMicros()

The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).

int64 timestamp_micros = 3;

Returns
TypeDescription
long

The timestampMicros.

getValue()

public ByteString getValue()

The value to be written into the specified cell.

bytes value = 4;

Returns
TypeDescription
ByteString

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Mutation.SetCell other)

public Mutation.SetCell.Builder mergeFrom(Mutation.SetCell other)
Parameter
NameDescription
otherMutation.SetCell
Returns
TypeDescription
Mutation.SetCell.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumnQualifier(ByteString value)

public Mutation.SetCell.Builder setColumnQualifier(ByteString value)

The qualifier of the column into which new data should be written. Can be any byte string, including the empty string.

bytes column_qualifier = 2;

Parameter
NameDescription
valueByteString

The columnQualifier to set.

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

setFamilyName(String value)

public Mutation.SetCell.Builder setFamilyName(String value)

The name of the family into which new data should be written. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Parameter
NameDescription
valueString

The familyName to set.

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

setFamilyNameBytes(ByteString value)

public Mutation.SetCell.Builder setFamilyNameBytes(ByteString value)

The name of the family into which new data should be written. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Parameter
NameDescription
valueByteString

The bytes for familyName to set.

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimestampMicros(long value)

public Mutation.SetCell.Builder setTimestampMicros(long value)

The timestamp of the cell into which new data should be written. Use -1 for current Bigtable server time. Otherwise, the client should set this value itself, noting that the default value is a timestamp of zero if the field is left unspecified. Values must match the granularity of the table (e.g. micros, millis).

int64 timestamp_micros = 3;

Parameter
NameDescription
valuelong

The timestampMicros to set.

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(ByteString value)

public Mutation.SetCell.Builder setValue(ByteString value)

The value to be written into the specified cell.

bytes value = 4;

Parameter
NameDescription
valueByteString

The value to set.

Returns
TypeDescription
Mutation.SetCell.Builder

This builder for chaining.