- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 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.PartitionEndRecord.Builder extends GeneratedMessage.Builder<ChangeStreamRecord.PartitionEndRecord.Builder> implements ChangeStreamRecord.PartitionEndRecordOrBuilderA partition end record serves as a notification that the client should stop reading the partition. No further records are expected to be retrieved on it.
Protobuf type google.spanner.v1.ChangeStreamRecord.PartitionEndRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChangeStreamRecord.PartitionEndRecord.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ChangeStreamRecord.PartitionEndRecord build()| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord |
|
buildPartial()
public ChangeStreamRecord.PartitionEndRecord buildPartial()| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord |
|
clear()
public ChangeStreamRecord.PartitionEndRecord.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
clearEndTimestamp()
public ChangeStreamRecord.PartitionEndRecord.Builder clearEndTimestamp()End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
clearPartitionToken()
public ChangeStreamRecord.PartitionEndRecord.Builder clearPartitionToken()Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.
string partition_token = 3;
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
This builder for chaining. |
clearRecordSequence()
public ChangeStreamRecord.PartitionEndRecord.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.PartitionEndRecord.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ChangeStreamRecord.PartitionEndRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTimestamp()
public Timestamp getEndTimestamp()End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTimestamp. |
getEndTimestampBuilder()
public Timestamp.Builder getEndTimestampBuilder()End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimestampOrBuilder()
public TimestampOrBuilder getEndTimestampOrBuilder()End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getPartitionToken()
public String getPartitionToken()Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.
string partition_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The partitionToken. |
getPartitionTokenBytes()
public ByteString getPartitionTokenBytes()Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.
string partition_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for partitionToken. |
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. |
hasEndTimestamp()
public boolean hasEndTimestamp()End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTimestamp field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTimestamp(Timestamp value)
public ChangeStreamRecord.PartitionEndRecord.Builder mergeEndTimestamp(Timestamp value)End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChangeStreamRecord.PartitionEndRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChangeStreamRecord.PartitionEndRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
mergeFrom(ChangeStreamRecord.PartitionEndRecord other)
public ChangeStreamRecord.PartitionEndRecord.Builder mergeFrom(ChangeStreamRecord.PartitionEndRecord other)| Parameter | |
|---|---|
| Name | Description |
other |
ChangeStreamRecord.PartitionEndRecord |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
setEndTimestamp(Timestamp value)
public ChangeStreamRecord.PartitionEndRecord.Builder setEndTimestamp(Timestamp value)End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
setEndTimestamp(Timestamp.Builder builderForValue)
public ChangeStreamRecord.PartitionEndRecord.Builder setEndTimestamp(Timestamp.Builder builderForValue)End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.
.google.protobuf.Timestamp end_timestamp = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
|
setPartitionToken(String value)
public ChangeStreamRecord.PartitionEndRecord.Builder setPartitionToken(String value)Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.
string partition_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe partitionToken to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
This builder for chaining. |
setPartitionTokenBytes(ByteString value)
public ChangeStreamRecord.PartitionEndRecord.Builder setPartitionTokenBytes(ByteString value)Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.
string partition_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for partitionToken to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
This builder for chaining. |
setRecordSequence(String value)
public ChangeStreamRecord.PartitionEndRecord.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 |
StringThe recordSequence to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
This builder for chaining. |
setRecordSequenceBytes(ByteString value)
public ChangeStreamRecord.PartitionEndRecord.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 |
ByteStringThe bytes for recordSequence to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeStreamRecord.PartitionEndRecord.Builder |
This builder for chaining. |