public final class ChildPartitionsRecord extends GeneratedMessageV3 implements ChildPartitionsRecordOrBuilder
ChangeStream child partition record.
Protobuf type google.spanner.executor.v1.ChildPartitionsRecord
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChildPartitionsRecord.Builder newBuilder()
newBuilder(ChildPartitionsRecord prototype)
public static ChildPartitionsRecord.Builder newBuilder(ChildPartitionsRecord prototype)
public static ChildPartitionsRecord parseDelimitedFrom(InputStream input)
public static ChildPartitionsRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChildPartitionsRecord parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChildPartitionsRecord parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord parseFrom(CodedInputStream input)
public static ChildPartitionsRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord parseFrom(InputStream input)
public static ChildPartitionsRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChildPartitionsRecord parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChildPartitionsRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChildPartitionsRecord> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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;
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
|
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()
getParserForType()
public Parser<ChildPartitionsRecord> getParserForType()
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;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChildPartitionsRecord.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChildPartitionsRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChildPartitionsRecord.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides