public static final class HeartbeatRecord.Builder extends GeneratedMessageV3.Builder<HeartbeatRecord.Builder> implements HeartbeatRecordOrBuilder
ChangeStream heartbeat record.
Protobuf type google.spanner.executor.v1.HeartbeatRecord
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HeartbeatRecord.BuilderImplements
HeartbeatRecordOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public HeartbeatRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HeartbeatRecord.Builder |
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 |
clone()
public HeartbeatRecord.Builder clone()
Returns | |
---|---|
Type | Description |
HeartbeatRecord.Builder |
getDefaultInstanceForType()
public HeartbeatRecord getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HeartbeatRecord |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HeartbeatRecord.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HeartbeatRecord.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final HeartbeatRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HeartbeatRecord.Builder |