Class ChildPartitionsRecord (6.60.0)

public final class ChildPartitionsRecord extends GeneratedMessageV3 implements ChildPartitionsRecordOrBuilder

ChangeStream child partition record.

Protobuf type google.spanner.executor.v1.ChildPartitionsRecord

Static Fields

CHILD_PARTITIONS_FIELD_NUMBER

public static final int CHILD_PARTITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

RECORD_SEQUENCE_FIELD_NUMBER

public static final int RECORD_SEQUENCE_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ChildPartitionsRecord getDefaultInstance()
Returns
TypeDescription
ChildPartitionsRecord

getDescriptor()

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

newBuilder()

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

newBuilder(ChildPartitionsRecord prototype)

public static ChildPartitionsRecord.Builder newBuilder(ChildPartitionsRecord prototype)
Parameter
NameDescription
prototypeChildPartitionsRecord
Returns
TypeDescription
ChildPartitionsRecord.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChildPartitions(int index)

public ChildPartitionsRecord.ChildPartition getChildPartitions(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition

getChildPartitionsCount()

public int getChildPartitionsCount()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
TypeDescription
int

getChildPartitionsList()

public List<ChildPartitionsRecord.ChildPartition> getChildPartitionsList()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
TypeDescription
List<ChildPartition>

getChildPartitionsOrBuilder(int index)

public ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChildPartitionsRecord.ChildPartitionOrBuilder

getChildPartitionsOrBuilderList()

public List<? extends ChildPartitionsRecord.ChildPartitionOrBuilder> getChildPartitionsOrBuilderList()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
TypeDescription
List<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>

getDefaultInstanceForType()

public ChildPartitionsRecord getDefaultInstanceForType()
Returns
TypeDescription
ChildPartitionsRecord

getParserForType()

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

getRecordSequence()

public String getRecordSequence()

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Returns
TypeDescription
String

The recordSequence.

getRecordSequenceBytes()

public ByteString getRecordSequenceBytes()

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Returns
TypeDescription
ByteString

The bytes for recordSequence.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime 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 ChildPartitionsRecord.Builder newBuilderForType()
Returns
TypeDescription
ChildPartitionsRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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