Class ChildPartitionsRecord (6.66.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
Type Description
int

RECORD_SEQUENCE_FIELD_NUMBER

public static final int RECORD_SEQUENCE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChildPartitionsRecord getDefaultInstance()
Returns
Type Description
ChildPartitionsRecord

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ChildPartitionsRecord.Builder newBuilder()
Returns
Type Description
ChildPartitionsRecord.Builder

newBuilder(ChildPartitionsRecord prototype)

public static ChildPartitionsRecord.Builder newBuilder(ChildPartitionsRecord prototype)
Parameter
Name Description
prototype ChildPartitionsRecord
Returns
Type Description
ChildPartitionsRecord.Builder

parseDelimitedFrom(InputStream input)

public static ChildPartitionsRecord parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChildPartitionsRecord parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChildPartitionsRecord parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChildPartitionsRecord parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChildPartitionsRecord parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChildPartitionsRecord parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChildPartitionsRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChildPartitionsRecord> parser()
Returns
Type Description
Parser<ChildPartitionsRecord>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>

getDefaultInstanceForType()

public ChildPartitionsRecord getDefaultInstanceForType()
Returns
Type Description
ChildPartitionsRecord

getParserForType()

public Parser<ChildPartitionsRecord> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for recordSequence.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChildPartitionsRecord.Builder newBuilderForType()
Returns
Type Description
ChildPartitionsRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChildPartitionsRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChildPartitionsRecord.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ChildPartitionsRecord.Builder toBuilder()
Returns
Type Description
ChildPartitionsRecord.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException