- 6.96.1 (latest)
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class ChangeStreamRecord.PartitionStartRecord.Builder extends GeneratedMessageV3.Builder<ChangeStreamRecord.PartitionStartRecord.Builder> implements ChangeStreamRecord.PartitionStartRecordOrBuilder
A partition start record serves as a notification that the client should schedule the partitions to be queried. PartitionStartRecord returns information about one or more partitions.
Protobuf type google.spanner.v1.ChangeStreamRecord.PartitionStartRecord
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ChangeStreamRecord.PartitionStartRecord.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPartitionTokens(Iterable<String> values)
public ChangeStreamRecord.PartitionStartRecord.Builder addAllPartitionTokens(Iterable<String> values)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The partitionTokens to add. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
addPartitionTokens(String value)
public ChangeStreamRecord.PartitionStartRecord.Builder addPartitionTokens(String value)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameter | |
---|---|
Name | Description |
value |
String The partitionTokens to add. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
addPartitionTokensBytes(ByteString value)
public ChangeStreamRecord.PartitionStartRecord.Builder addPartitionTokensBytes(ByteString value)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the partitionTokens to add. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChangeStreamRecord.PartitionStartRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
build()
public ChangeStreamRecord.PartitionStartRecord build()
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord |
buildPartial()
public ChangeStreamRecord.PartitionStartRecord buildPartial()
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord |
clear()
public ChangeStreamRecord.PartitionStartRecord.Builder clear()
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
clearField(Descriptors.FieldDescriptor field)
public ChangeStreamRecord.PartitionStartRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ChangeStreamRecord.PartitionStartRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
clearPartitionTokens()
public ChangeStreamRecord.PartitionStartRecord.Builder clearPartitionTokens()
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
clearRecordSequence()
public ChangeStreamRecord.PartitionStartRecord.Builder clearRecordSequence()
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
string record_sequence = 2;
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
clearStartTimestamp()
public ChangeStreamRecord.PartitionStartRecord.Builder clearStartTimestamp()
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
clone()
public ChangeStreamRecord.PartitionStartRecord.Builder clone()
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
getDefaultInstanceForType()
public ChangeStreamRecord.PartitionStartRecord getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPartitionTokens(int index)
public String getPartitionTokens(int index)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The partitionTokens at the given index. |
getPartitionTokensBytes(int index)
public ByteString getPartitionTokensBytes(int index)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the partitionTokens at the given index. |
getPartitionTokensCount()
public int getPartitionTokensCount()
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Returns | |
---|---|
Type | Description |
int |
The count of partitionTokens. |
getPartitionTokensList()
public ProtocolStringList getPartitionTokensList()
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the partitionTokens. |
getRecordSequence()
public String getRecordSequence()
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
string record_sequence = 2;
Returns | |
---|---|
Type | Description |
String |
The recordSequence. |
getRecordSequenceBytes()
public ByteString getRecordSequenceBytes()
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
string record_sequence = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for recordSequence. |
getStartTimestamp()
public Timestamp getStartTimestamp()
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTimestamp. |
getStartTimestampBuilder()
public Timestamp.Builder getStartTimestampBuilder()
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimestampOrBuilder()
public TimestampOrBuilder getStartTimestampOrBuilder()
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasStartTimestamp()
public boolean hasStartTimestamp()
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTimestamp 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 ChangeStreamRecord.PartitionStartRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ChangeStreamRecord.PartitionStartRecord.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
mergeFrom(ChangeStreamRecord.PartitionStartRecord other)
public ChangeStreamRecord.PartitionStartRecord.Builder mergeFrom(ChangeStreamRecord.PartitionStartRecord other)
Parameter | |
---|---|
Name | Description |
other |
ChangeStreamRecord.PartitionStartRecord |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
mergeStartTimestamp(Timestamp value)
public ChangeStreamRecord.PartitionStartRecord.Builder mergeStartTimestamp(Timestamp value)
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChangeStreamRecord.PartitionStartRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ChangeStreamRecord.PartitionStartRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
setPartitionTokens(int index, String value)
public ChangeStreamRecord.PartitionStartRecord.Builder setPartitionTokens(int index, String value)
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The partitionTokens to set. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
setRecordSequence(String value)
public ChangeStreamRecord.PartitionStartRecord.Builder setRecordSequence(String value)
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
string record_sequence = 2;
Parameter | |
---|---|
Name | Description |
value |
String The recordSequence to set. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
setRecordSequenceBytes(ByteString value)
public ChangeStreamRecord.PartitionStartRecord.Builder setRecordSequenceBytes(ByteString value)
Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.
string record_sequence = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for recordSequence to set. |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChangeStreamRecord.PartitionStartRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
setStartTimestamp(Timestamp value)
public ChangeStreamRecord.PartitionStartRecord.Builder setStartTimestamp(Timestamp value)
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
setStartTimestamp(Timestamp.Builder builderForValue)
public ChangeStreamRecord.PartitionStartRecord.Builder setStartTimestamp(Timestamp.Builder builderForValue)
Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.
.google.protobuf.Timestamp start_timestamp = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ChangeStreamRecord.PartitionStartRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ChangeStreamRecord.PartitionStartRecord.Builder |