Class HeartbeatRecord.Builder (6.58.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HeartbeatRecord build()
Returns
TypeDescription
HeartbeatRecord

buildPartial()

public HeartbeatRecord buildPartial()
Returns
TypeDescription
HeartbeatRecord

clear()

public HeartbeatRecord.Builder clear()
Returns
TypeDescription
HeartbeatRecord.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHeartbeatTime()

public HeartbeatRecord.Builder clearHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
HeartbeatRecord.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public HeartbeatRecord.Builder clone()
Returns
TypeDescription
HeartbeatRecord.Builder
Overrides

getDefaultInstanceForType()

public HeartbeatRecord getDefaultInstanceForType()
Returns
TypeDescription
HeartbeatRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHeartbeatTime()

public Timestamp getHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
Timestamp

The heartbeatTime.

getHeartbeatTimeBuilder()

public Timestamp.Builder getHeartbeatTimeBuilder()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
Builder

getHeartbeatTimeOrBuilder()

public TimestampOrBuilder getHeartbeatTimeOrBuilder()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasHeartbeatTime()

public boolean hasHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
boolean

Whether the heartbeatTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(HeartbeatRecord other)

public HeartbeatRecord.Builder mergeFrom(HeartbeatRecord other)
Parameter
NameDescription
otherHeartbeatRecord
Returns
TypeDescription
HeartbeatRecord.Builder

mergeHeartbeatTime(Timestamp value)

public HeartbeatRecord.Builder mergeHeartbeatTime(Timestamp value)

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
HeartbeatRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHeartbeatTime(Timestamp value)

public HeartbeatRecord.Builder setHeartbeatTime(Timestamp value)

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
HeartbeatRecord.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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