public static final class SeekRequest.Builder extends GeneratedMessageV3.Builder<SeekRequest.Builder> implements SeekRequestOrBuilder
Request for the `Seek` method.Protobuf type
google.pubsub.v1.SeekRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SeekRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SeekRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SeekRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SeekRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(SeekRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SeekRequest.Builder>public SeekRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class 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 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(ByteString value)
The subscription to affect.
string subscription = 1;public boolean hasTime()
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;hasTime in interface SeekRequestOrBuilderpublic 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(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(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(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 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 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 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(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(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SeekRequest.Builder>public final SeekRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SeekRequest.Builder>