public static final class SeekSubscriptionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder> implements SeekSubscriptionRequestOrBuilder
Request for SeekSubscription.Protobuf type
google.cloud.pubsublite.v1.SeekSubscriptionRequest| Modifier and Type | Method and Description |
|---|---|
SeekSubscriptionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SeekSubscriptionRequest |
build() |
SeekSubscriptionRequest |
buildPartial() |
SeekSubscriptionRequest.Builder |
clear() |
SeekSubscriptionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SeekSubscriptionRequest.Builder |
clearName()
Required.
|
SeekSubscriptionRequest.Builder |
clearNamedTarget()
Seek to a named position with respect to the message backlog.
|
SeekSubscriptionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SeekSubscriptionRequest.Builder |
clearTarget() |
SeekSubscriptionRequest.Builder |
clearTimeTarget()
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
SeekSubscriptionRequest.Builder |
clone() |
SeekSubscriptionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
SeekSubscriptionRequest.NamedTarget |
getNamedTarget()
Seek to a named position with respect to the message backlog.
|
int |
getNamedTargetValue()
Seek to a named position with respect to the message backlog.
|
SeekSubscriptionRequest.TargetCase |
getTargetCase() |
TimeTarget |
getTimeTarget()
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
TimeTarget.Builder |
getTimeTargetBuilder()
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
TimeTargetOrBuilder |
getTimeTargetOrBuilder()
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
boolean |
hasNamedTarget()
Seek to a named position with respect to the message backlog.
|
boolean |
hasTimeTarget()
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SeekSubscriptionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SeekSubscriptionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SeekSubscriptionRequest.Builder |
mergeFrom(SeekSubscriptionRequest other) |
SeekSubscriptionRequest.Builder |
mergeTimeTarget(TimeTarget value)
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
SeekSubscriptionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SeekSubscriptionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SeekSubscriptionRequest.Builder |
setName(String value)
Required.
|
SeekSubscriptionRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
SeekSubscriptionRequest.Builder |
setNamedTarget(SeekSubscriptionRequest.NamedTarget value)
Seek to a named position with respect to the message backlog.
|
SeekSubscriptionRequest.Builder |
setNamedTargetValue(int value)
Seek to a named position with respect to the message backlog.
|
SeekSubscriptionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SeekSubscriptionRequest.Builder |
setTimeTarget(TimeTarget.Builder builderForValue)
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
SeekSubscriptionRequest.Builder |
setTimeTarget(TimeTarget value)
Seek to the first message whose publish or event time is greater than or
equal to the specified query time.
|
SeekSubscriptionRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.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<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SeekSubscriptionRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SeekSubscriptionRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SeekSubscriptionRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder mergeFrom(SeekSubscriptionRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public SeekSubscriptionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SeekSubscriptionRequest.Builder>IOExceptionpublic SeekSubscriptionRequest.TargetCase getTargetCase()
getTargetCase in interface SeekSubscriptionRequestOrBuilderpublic SeekSubscriptionRequest.Builder clearTarget()
public String getName()
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface SeekSubscriptionRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface SeekSubscriptionRequestOrBuilderpublic SeekSubscriptionRequest.Builder setName(String value)
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public SeekSubscriptionRequest.Builder clearName()
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public SeekSubscriptionRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasNamedTarget()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
hasNamedTarget in interface SeekSubscriptionRequestOrBuilderpublic int getNamedTargetValue()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
getNamedTargetValue in interface SeekSubscriptionRequestOrBuilderpublic SeekSubscriptionRequest.Builder setNamedTargetValue(int value)
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
value - The enum numeric value on the wire for namedTarget to set.public SeekSubscriptionRequest.NamedTarget getNamedTarget()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
getNamedTarget in interface SeekSubscriptionRequestOrBuilderpublic SeekSubscriptionRequest.Builder setNamedTarget(SeekSubscriptionRequest.NamedTarget value)
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
value - The namedTarget to set.public SeekSubscriptionRequest.Builder clearNamedTarget()
Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
public boolean hasTimeTarget()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;hasTimeTarget in interface SeekSubscriptionRequestOrBuilderpublic TimeTarget getTimeTarget()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;getTimeTarget in interface SeekSubscriptionRequestOrBuilderpublic SeekSubscriptionRequest.Builder setTimeTarget(TimeTarget value)
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;public SeekSubscriptionRequest.Builder setTimeTarget(TimeTarget.Builder builderForValue)
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;public SeekSubscriptionRequest.Builder mergeTimeTarget(TimeTarget value)
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;public SeekSubscriptionRequest.Builder clearTimeTarget()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;public TimeTarget.Builder getTimeTargetBuilder()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;public TimeTargetOrBuilder getTimeTargetOrBuilder()
Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.
.google.cloud.pubsublite.v1.TimeTarget time_target = 3;getTimeTargetOrBuilder in interface SeekSubscriptionRequestOrBuilderpublic final SeekSubscriptionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>public final SeekSubscriptionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.