Class HeartbeatRecord.Builder (6.108.0)

public static final class HeartbeatRecord.Builder extends GeneratedMessage.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

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

clearHeartbeatTime()

public HeartbeatRecord.Builder clearHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
Type Description
HeartbeatRecord.Builder

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 GeneratedMessage.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

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