Class HeartbeatRecord (6.57.0)

public final class HeartbeatRecord extends GeneratedMessageV3 implements HeartbeatRecordOrBuilder

ChangeStream heartbeat record.

Protobuf type google.spanner.executor.v1.HeartbeatRecord

Static Fields

HEARTBEAT_TIME_FIELD_NUMBER

public static final int HEARTBEAT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HeartbeatRecord getDefaultInstance()
Returns
TypeDescription
HeartbeatRecord

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HeartbeatRecord.Builder newBuilder()
Returns
TypeDescription
HeartbeatRecord.Builder

newBuilder(HeartbeatRecord prototype)

public static HeartbeatRecord.Builder newBuilder(HeartbeatRecord prototype)
Parameter
NameDescription
prototypeHeartbeatRecord
Returns
TypeDescription
HeartbeatRecord.Builder

parseDelimitedFrom(InputStream input)

public static HeartbeatRecord parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HeartbeatRecord parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HeartbeatRecord parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HeartbeatRecord parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HeartbeatRecord parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HeartbeatRecord parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HeartbeatRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HeartbeatRecord
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HeartbeatRecord> parser()
Returns
TypeDescription
Parser<HeartbeatRecord>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HeartbeatRecord getDefaultInstanceForType()
Returns
TypeDescription
HeartbeatRecord

getHeartbeatTime()

public Timestamp getHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
Timestamp

The heartbeatTime.

getHeartbeatTimeOrBuilder()

public TimestampOrBuilder getHeartbeatTimeOrBuilder()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<HeartbeatRecord> getParserForType()
Returns
TypeDescription
Parser<HeartbeatRecord>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasHeartbeatTime()

public boolean hasHeartbeatTime()

Timestamp for this heartbeat check.

.google.protobuf.Timestamp heartbeat_time = 1;

Returns
TypeDescription
boolean

Whether the heartbeatTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HeartbeatRecord.Builder newBuilderForType()
Returns
TypeDescription
HeartbeatRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HeartbeatRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HeartbeatRecord.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HeartbeatRecord.Builder toBuilder()
Returns
TypeDescription
HeartbeatRecord.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException