Class ChangeStreamRecord.DataChangeRecord.ModValue.Builder (6.111.0)

public static final class ChangeStreamRecord.DataChangeRecord.ModValue.Builder extends GeneratedMessage.Builder<ChangeStreamRecord.DataChangeRecord.ModValue.Builder> implements ChangeStreamRecord.DataChangeRecord.ModValueOrBuilder

Returns the value and associated metadata for a particular field of the Mod.

Protobuf type google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ChangeStreamRecord.DataChangeRecord.ModValue build()
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue

buildPartial()

public ChangeStreamRecord.DataChangeRecord.ModValue buildPartial()
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue

clear()

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder clear()
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder
Overrides

clearColumnMetadataIndex()

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder clearColumnMetadataIndex()

Index within the repeated column_metadata field, to obtain the column metadata for the column that was modified.

int32 column_metadata_index = 1;

Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

This builder for chaining.

clearValue()

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder clearValue()

The value of the column.

.google.protobuf.Value value = 2;

Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

getColumnMetadataIndex()

public int getColumnMetadataIndex()

Index within the repeated column_metadata field, to obtain the column metadata for the column that was modified.

int32 column_metadata_index = 1;

Returns
Type Description
int

The columnMetadataIndex.

getDefaultInstanceForType()

public ChangeStreamRecord.DataChangeRecord.ModValue getDefaultInstanceForType()
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public Value getValue()

The value of the column.

.google.protobuf.Value value = 2;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

The value of the column.

.google.protobuf.Value value = 2;

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

The value of the column.

.google.protobuf.Value value = 2;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

The value of the column.

.google.protobuf.Value value = 2;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder
Overrides

mergeFrom(ChangeStreamRecord.DataChangeRecord.ModValue other)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder mergeFrom(ChangeStreamRecord.DataChangeRecord.ModValue other)
Parameter
Name Description
other ChangeStreamRecord.DataChangeRecord.ModValue
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

mergeValue(Value value)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder mergeValue(Value value)

The value of the column.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

setColumnMetadataIndex(int value)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder setColumnMetadataIndex(int value)

Index within the repeated column_metadata field, to obtain the column metadata for the column that was modified.

int32 column_metadata_index = 1;

Parameter
Name Description
value int

The columnMetadataIndex to set.

Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

This builder for chaining.

setValue(Value value)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder setValue(Value value)

The value of the column.

.google.protobuf.Value value = 2;

Parameter
Name Description
value Value
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder

setValue(Value.Builder builderForValue)

public ChangeStreamRecord.DataChangeRecord.ModValue.Builder setValue(Value.Builder builderForValue)

The value of the column.

.google.protobuf.Value value = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ChangeStreamRecord.DataChangeRecord.ModValue.Builder