public static final class SeekRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder> implements SeekRequestOrBuilder
Request for the `Seek` method.Protobuf type
google.pubsub.v1.SeekRequest| Modifier and Type | Method and Description |
|---|---|
SeekRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SeekRequest |
build() |
SeekRequest |
buildPartial() |
SeekRequest.Builder |
clear() |
SeekRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SeekRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SeekRequest.Builder |
clearSnapshot()
The snapshot to seek to.
|
SeekRequest.Builder |
clearSubscription()
The subscription to affect.
|
SeekRequest.Builder |
clearTarget() |
SeekRequest.Builder |
clearTime()
The time to seek to.
|
SeekRequest.Builder |
clone() |
SeekRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getSnapshot()
The snapshot to seek to.
|
SnapshotName |
getSnapshotAsSnapshotName() |
com.google.protobuf.ByteString |
getSnapshotBytes()
The snapshot to seek to.
|
java.lang.String |
getSubscription()
The subscription to affect.
|
SubscriptionName |
getSubscriptionAsSubscriptionName() |
com.google.protobuf.ByteString |
getSubscriptionBytes()
The subscription to affect.
|
SeekRequest.TargetCase |
getTargetCase() |
com.google.protobuf.Timestamp |
getTime()
The time to seek to.
|
com.google.protobuf.Timestamp.Builder |
getTimeBuilder()
The time to seek to.
|
com.google.protobuf.TimestampOrBuilder |
getTimeOrBuilder()
The time to seek to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SeekRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SeekRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SeekRequest.Builder |
mergeFrom(SeekRequest other) |
SeekRequest.Builder |
mergeTime(com.google.protobuf.Timestamp value)
The time to seek to.
|
SeekRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SeekRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SeekRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SeekRequest.Builder |
setSnapshot(java.lang.String value)
The snapshot to seek to.
|
SeekRequest.Builder |
setSnapshotBytes(com.google.protobuf.ByteString value)
The snapshot to seek to.
|
SeekRequest.Builder |
setSnapshotWithSnapshotName(SnapshotName value) |
SeekRequest.Builder |
setSubscription(java.lang.String value)
The subscription to affect.
|
SeekRequest.Builder |
setSubscriptionBytes(com.google.protobuf.ByteString value)
The subscription to affect.
|
SeekRequest.Builder |
setSubscriptionWithSubscriptionName(SubscriptionName value) |
SeekRequest.Builder |
setTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time to seek to.
|
SeekRequest.Builder |
setTime(com.google.protobuf.Timestamp value)
The time to seek to.
|
SeekRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SeekRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SeekRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SeekRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(SeekRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SeekRequest.Builder>java.io.IOExceptionpublic SeekRequest.TargetCase getTargetCase()
getTargetCase in interface SeekRequestOrBuilderpublic SeekRequest.Builder clearTarget()
public java.lang.String getSubscription()
The subscription to affect.
string subscription = 1;getSubscription in interface SeekRequestOrBuilderpublic com.google.protobuf.ByteString getSubscriptionBytes()
The subscription to affect.
string subscription = 1;getSubscriptionBytes in interface SeekRequestOrBuilderpublic SeekRequest.Builder setSubscription(java.lang.String value)
The subscription to affect.
string subscription = 1;public SeekRequest.Builder clearSubscription()
The subscription to affect.
string subscription = 1;public SeekRequest.Builder setSubscriptionBytes(com.google.protobuf.ByteString value)
The subscription to affect.
string subscription = 1;public com.google.protobuf.Timestamp getTime()
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;getTime in interface SeekRequestOrBuilderpublic SeekRequest.Builder setTime(com.google.protobuf.Timestamp value)
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;public SeekRequest.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;public SeekRequest.Builder mergeTime(com.google.protobuf.Timestamp value)
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;public SeekRequest.Builder clearTime()
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;public com.google.protobuf.Timestamp.Builder getTimeBuilder()
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.
.google.protobuf.Timestamp time = 2;getTimeOrBuilder in interface SeekRequestOrBuilderpublic java.lang.String getSnapshot()
The snapshot to seek to. The snapshot's topic must be the same as that of
the provided subscription.
Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 3;getSnapshot in interface SeekRequestOrBuilderpublic com.google.protobuf.ByteString getSnapshotBytes()
The snapshot to seek to. The snapshot's topic must be the same as that of
the provided subscription.
Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 3;getSnapshotBytes in interface SeekRequestOrBuilderpublic SeekRequest.Builder setSnapshot(java.lang.String value)
The snapshot to seek to. The snapshot's topic must be the same as that of
the provided subscription.
Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 3;public SeekRequest.Builder clearSnapshot()
The snapshot to seek to. The snapshot's topic must be the same as that of
the provided subscription.
Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 3;public SeekRequest.Builder setSnapshotBytes(com.google.protobuf.ByteString value)
The snapshot to seek to. The snapshot's topic must be the same as that of
the provided subscription.
Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 3;public final SeekRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public final SeekRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SeekRequest.Builder>public final SeekRequest.Builder setSubscriptionWithSubscriptionName(SubscriptionName value)
public final SubscriptionName getSubscriptionAsSubscriptionName()
public final SeekRequest.Builder setSnapshotWithSnapshotName(SnapshotName value)
public final SnapshotName getSnapshotAsSnapshotName()