Package com.google.bigtable.v2
Class ReadChangeStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
- com.google.bigtable.v2.ReadChangeStreamRequest.Builder
-
- All Implemented Interfaces:
ReadChangeStreamRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReadChangeStreamRequest
public static final class ReadChangeStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder> implements ReadChangeStreamRequestOrBuilder
NOTE: This API is intended to be used by Apache Beam BigtableIO. Request message for Bigtable.ReadChangeStream.
Protobuf typegoogle.bigtable.v2.ReadChangeStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadChangeStreamRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadChangeStreamRequest
build()
ReadChangeStreamRequest
buildPartial()
ReadChangeStreamRequest.Builder
clear()
ReadChangeStreamRequest.Builder
clearAppProfileId()
This value specifies routing for replication.ReadChangeStreamRequest.Builder
clearContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off.ReadChangeStreamRequest.Builder
clearEndTime()
If specified, OK will be returned when the stream advances beyond this time.ReadChangeStreamRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReadChangeStreamRequest.Builder
clearHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream.ReadChangeStreamRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReadChangeStreamRequest.Builder
clearPartition()
The partition to read changes from.ReadChangeStreamRequest.Builder
clearStartFrom()
ReadChangeStreamRequest.Builder
clearStartTime()
Start reading the stream at the specified timestamp.ReadChangeStreamRequest.Builder
clearTableName()
Required.ReadChangeStreamRequest.Builder
clone()
String
getAppProfileId()
This value specifies routing for replication.com.google.protobuf.ByteString
getAppProfileIdBytes()
This value specifies routing for replication.StreamContinuationTokens
getContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off.StreamContinuationTokens.Builder
getContinuationTokensBuilder()
Tokens that describe how to resume reading a stream where reading previously left off.StreamContinuationTokensOrBuilder
getContinuationTokensOrBuilder()
Tokens that describe how to resume reading a stream where reading previously left off.ReadChangeStreamRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
If specified, OK will be returned when the stream advances beyond this time.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
If specified, OK will be returned when the stream advances beyond this time.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
If specified, OK will be returned when the stream advances beyond this time.com.google.protobuf.Duration
getHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream.com.google.protobuf.Duration.Builder
getHeartbeatDurationBuilder()
If specified, the duration between `Heartbeat` messages on the stream.com.google.protobuf.DurationOrBuilder
getHeartbeatDurationOrBuilder()
If specified, the duration between `Heartbeat` messages on the stream.StreamPartition
getPartition()
The partition to read changes from.StreamPartition.Builder
getPartitionBuilder()
The partition to read changes from.StreamPartitionOrBuilder
getPartitionOrBuilder()
The partition to read changes from.ReadChangeStreamRequest.StartFromCase
getStartFromCase()
com.google.protobuf.Timestamp
getStartTime()
Start reading the stream at the specified timestamp.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Start reading the stream at the specified timestamp.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Start reading the stream at the specified timestamp.String
getTableName()
Required.com.google.protobuf.ByteString
getTableNameBytes()
Required.boolean
hasContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off.boolean
hasEndTime()
If specified, OK will be returned when the stream advances beyond this time.boolean
hasHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream.boolean
hasPartition()
The partition to read changes from.boolean
hasStartTime()
Start reading the stream at the specified timestamp.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadChangeStreamRequest.Builder
mergeContinuationTokens(StreamContinuationTokens value)
Tokens that describe how to resume reading a stream where reading previously left off.ReadChangeStreamRequest.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
If specified, OK will be returned when the stream advances beyond this time.ReadChangeStreamRequest.Builder
mergeFrom(ReadChangeStreamRequest other)
ReadChangeStreamRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadChangeStreamRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ReadChangeStreamRequest.Builder
mergeHeartbeatDuration(com.google.protobuf.Duration value)
If specified, the duration between `Heartbeat` messages on the stream.ReadChangeStreamRequest.Builder
mergePartition(StreamPartition value)
The partition to read changes from.ReadChangeStreamRequest.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Start reading the stream at the specified timestamp.ReadChangeStreamRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadChangeStreamRequest.Builder
setAppProfileId(String value)
This value specifies routing for replication.ReadChangeStreamRequest.Builder
setAppProfileIdBytes(com.google.protobuf.ByteString value)
This value specifies routing for replication.ReadChangeStreamRequest.Builder
setContinuationTokens(StreamContinuationTokens value)
Tokens that describe how to resume reading a stream where reading previously left off.ReadChangeStreamRequest.Builder
setContinuationTokens(StreamContinuationTokens.Builder builderForValue)
Tokens that describe how to resume reading a stream where reading previously left off.ReadChangeStreamRequest.Builder
setEndTime(com.google.protobuf.Timestamp value)
If specified, OK will be returned when the stream advances beyond this time.ReadChangeStreamRequest.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, OK will be returned when the stream advances beyond this time.ReadChangeStreamRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadChangeStreamRequest.Builder
setHeartbeatDuration(com.google.protobuf.Duration value)
If specified, the duration between `Heartbeat` messages on the stream.ReadChangeStreamRequest.Builder
setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue)
If specified, the duration between `Heartbeat` messages on the stream.ReadChangeStreamRequest.Builder
setPartition(StreamPartition value)
The partition to read changes from.ReadChangeStreamRequest.Builder
setPartition(StreamPartition.Builder builderForValue)
The partition to read changes from.ReadChangeStreamRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ReadChangeStreamRequest.Builder
setStartTime(com.google.protobuf.Timestamp value)
Start reading the stream at the specified timestamp.ReadChangeStreamRequest.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Start reading the stream at the specified timestamp.ReadChangeStreamRequest.Builder
setTableName(String value)
Required.ReadChangeStreamRequest.Builder
setTableNameBytes(com.google.protobuf.ByteString value)
Required.ReadChangeStreamRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
clear
public ReadChangeStreamRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
getDefaultInstanceForType
public ReadChangeStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadChangeStreamRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadChangeStreamRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadChangeStreamRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
setField
public ReadChangeStreamRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
clearField
public ReadChangeStreamRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
clearOneof
public ReadChangeStreamRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
setRepeatedField
public ReadChangeStreamRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
addRepeatedField
public ReadChangeStreamRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
mergeFrom
public ReadChangeStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamRequest.Builder>
-
mergeFrom
public ReadChangeStreamRequest.Builder mergeFrom(ReadChangeStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
mergeFrom
public ReadChangeStreamRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamRequest.Builder>
- Throws:
IOException
-
getStartFromCase
public ReadChangeStreamRequest.StartFromCase getStartFromCase()
- Specified by:
getStartFromCase
in interfaceReadChangeStreamRequestOrBuilder
-
clearStartFrom
public ReadChangeStreamRequest.Builder clearStartFrom()
-
getTableName
public String getTableName()
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getTableName
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getTableNameBytes
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The bytes for tableName.
-
setTableName
public ReadChangeStreamRequest.Builder setTableName(String value)
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
public ReadChangeStreamRequest.Builder clearTableName()
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setTableNameBytes
public ReadChangeStreamRequest.Builder setTableNameBytes(com.google.protobuf.ByteString value)
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
getAppProfileId
public String getAppProfileId()
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;
- Specified by:
getAppProfileId
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;
- Specified by:
getAppProfileIdBytes
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The bytes for appProfileId.
-
setAppProfileId
public ReadChangeStreamRequest.Builder setAppProfileId(String value)
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;
- Parameters:
value
- The appProfileId to set.- Returns:
- This builder for chaining.
-
clearAppProfileId
public ReadChangeStreamRequest.Builder clearAppProfileId()
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;
- Returns:
- This builder for chaining.
-
setAppProfileIdBytes
public ReadChangeStreamRequest.Builder setAppProfileIdBytes(com.google.protobuf.ByteString value)
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;
- Parameters:
value
- The bytes for appProfileId to set.- Returns:
- This builder for chaining.
-
hasPartition
public boolean hasPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
- Specified by:
hasPartition
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- Whether the partition field is set.
-
getPartition
public StreamPartition getPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
- Specified by:
getPartition
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The partition.
-
setPartition
public ReadChangeStreamRequest.Builder setPartition(StreamPartition value)
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
-
setPartition
public ReadChangeStreamRequest.Builder setPartition(StreamPartition.Builder builderForValue)
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
-
mergePartition
public ReadChangeStreamRequest.Builder mergePartition(StreamPartition value)
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
-
clearPartition
public ReadChangeStreamRequest.Builder clearPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
-
getPartitionBuilder
public StreamPartition.Builder getPartitionBuilder()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
-
getPartitionOrBuilder
public StreamPartitionOrBuilder getPartitionOrBuilder()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;
- Specified by:
getPartitionOrBuilder
in interfaceReadChangeStreamRequestOrBuilder
-
hasStartTime
public boolean hasStartTime()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
hasStartTime
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
getStartTime
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The startTime.
-
setStartTime
public ReadChangeStreamRequest.Builder setStartTime(com.google.protobuf.Timestamp value)
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
-
setStartTime
public ReadChangeStreamRequest.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
-
mergeStartTime
public ReadChangeStreamRequest.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
-
clearStartTime
public ReadChangeStreamRequest.Builder clearStartTime()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
getStartTimeOrBuilder
in interfaceReadChangeStreamRequestOrBuilder
-
hasContinuationTokens
public boolean hasContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
- Specified by:
hasContinuationTokens
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- Whether the continuationTokens field is set.
-
getContinuationTokens
public StreamContinuationTokens getContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
- Specified by:
getContinuationTokens
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The continuationTokens.
-
setContinuationTokens
public ReadChangeStreamRequest.Builder setContinuationTokens(StreamContinuationTokens value)
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
-
setContinuationTokens
public ReadChangeStreamRequest.Builder setContinuationTokens(StreamContinuationTokens.Builder builderForValue)
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
-
mergeContinuationTokens
public ReadChangeStreamRequest.Builder mergeContinuationTokens(StreamContinuationTokens value)
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
-
clearContinuationTokens
public ReadChangeStreamRequest.Builder clearContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
-
getContinuationTokensBuilder
public StreamContinuationTokens.Builder getContinuationTokensBuilder()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
-
getContinuationTokensOrBuilder
public StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
- Specified by:
getContinuationTokensOrBuilder
in interfaceReadChangeStreamRequestOrBuilder
-
hasEndTime
public boolean hasEndTime()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
hasEndTime
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
getEndTime
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The endTime.
-
setEndTime
public ReadChangeStreamRequest.Builder setEndTime(com.google.protobuf.Timestamp value)
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
-
setEndTime
public ReadChangeStreamRequest.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
-
mergeEndTime
public ReadChangeStreamRequest.Builder mergeEndTime(com.google.protobuf.Timestamp value)
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
-
clearEndTime
public ReadChangeStreamRequest.Builder clearEndTime()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
getEndTimeOrBuilder
in interfaceReadChangeStreamRequestOrBuilder
-
hasHeartbeatDuration
public boolean hasHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
- Specified by:
hasHeartbeatDuration
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- Whether the heartbeatDuration field is set.
-
getHeartbeatDuration
public com.google.protobuf.Duration getHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
- Specified by:
getHeartbeatDuration
in interfaceReadChangeStreamRequestOrBuilder
- Returns:
- The heartbeatDuration.
-
setHeartbeatDuration
public ReadChangeStreamRequest.Builder setHeartbeatDuration(com.google.protobuf.Duration value)
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
-
setHeartbeatDuration
public ReadChangeStreamRequest.Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue)
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
-
mergeHeartbeatDuration
public ReadChangeStreamRequest.Builder mergeHeartbeatDuration(com.google.protobuf.Duration value)
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
-
clearHeartbeatDuration
public ReadChangeStreamRequest.Builder clearHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
-
getHeartbeatDurationBuilder
public com.google.protobuf.Duration.Builder getHeartbeatDurationBuilder()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
-
getHeartbeatDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;
- Specified by:
getHeartbeatDurationOrBuilder
in interfaceReadChangeStreamRequestOrBuilder
-
setUnknownFields
public final ReadChangeStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
mergeUnknownFields
public final ReadChangeStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamRequest.Builder>
-
-