Class HeartbeatRecord.Builder (6.65.1)

public static final class HeartbeatRecord.Builder extends GeneratedMessageV3.Builder<HeartbeatRecord.Builder> implements HeartbeatRecordOrBuilder

ChangeStream heartbeat record.

Protobuf type google.spanner.executor.v1.HeartbeatRecord

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HeartbeatRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HeartbeatRecord.Builder
Overrides

build()

public HeartbeatRecord build()
Returns
Type Description
HeartbeatRecord

buildPartial()

public HeartbeatRecord buildPartial()
Returns
Type Description
HeartbeatRecord

clear()

public HeartbeatRecord.Builder clear()
Returns
Type Description
HeartbeatRecord.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HeartbeatRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HeartbeatRecord.Builder
Overrides

clearHeartbeatTime()

public HeartbeatRecord.Builder clearHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
HeartbeatRecord.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public HeartbeatRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HeartbeatRecord.Builder
Overrides

clone()

public HeartbeatRecord.Builder clone()
Returns
Type Description
HeartbeatRecord.Builder
Overrides

getDefaultInstanceForType()

public HeartbeatRecord getDefaultInstanceForType()
Returns
Type Description
HeartbeatRecord

getDescriptorForType()

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

getHeartbeatTime()

public Timestamp getHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
Timestamp

The heartbeatTime.

getHeartbeatTimeBuilder()

public Timestamp.Builder getHeartbeatTimeBuilder()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
Builder

getHeartbeatTimeOrBuilder()

public TimestampOrBuilder getHeartbeatTimeOrBuilder()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
TimestampOrBuilder

hasHeartbeatTime()

public boolean hasHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
boolean

Whether the heartbeatTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HeartbeatRecord.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HeartbeatRecord.Builder
Overrides

mergeFrom(HeartbeatRecord other)

public HeartbeatRecord.Builder mergeFrom(HeartbeatRecord other)
Parameter
Name Description
other HeartbeatRecord
Returns
Type Description
HeartbeatRecord.Builder

mergeHeartbeatTime(Timestamp value)

public HeartbeatRecord.Builder mergeHeartbeatTime(Timestamp value)

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
HeartbeatRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HeartbeatRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HeartbeatRecord.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HeartbeatRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HeartbeatRecord.Builder
Overrides

setHeartbeatTime(Timestamp value)

public HeartbeatRecord.Builder setHeartbeatTime(Timestamp value)

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
HeartbeatRecord.Builder

setHeartbeatTime(Timestamp.Builder builderForValue)

public HeartbeatRecord.Builder setHeartbeatTime(Timestamp.Builder builderForValue)

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
HeartbeatRecord.Builder

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

public HeartbeatRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HeartbeatRecord.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HeartbeatRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HeartbeatRecord.Builder
Overrides