Interface SeekSubscriptionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SeekSubscriptionRequest,SeekSubscriptionRequest.Builder
public interface SeekSubscriptionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Required.com.google.protobuf.ByteStringRequired.Seek to a named position with respect to the message backlog.intSeek to a named position with respect to the message backlog.Seek to the first message whose publish or event time is greater than or equal to the specified query time.Seek to the first message whose publish or event time is greater than or equal to the specified query time.booleanSeek to a named position with respect to the message backlog.booleanSeek to the first message whose publish or event time is greater than or equal to the specified query time.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The name of the subscription to seek.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
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) = { ... }- Returns:
- The bytes for name.
-
hasNamedTarget
boolean hasNamedTarget()Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;- Returns:
- Whether the namedTarget field is set.
-
getNamedTargetValue
int getNamedTargetValue()Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;- Returns:
- The enum numeric value on the wire for namedTarget.
-
getNamedTarget
SeekSubscriptionRequest.NamedTarget getNamedTarget()Seek to a named position with respect to the message backlog.
.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;- Returns:
- The namedTarget.
-
hasTimeTarget
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;- Returns:
- Whether the timeTarget field is set.
-
getTimeTarget
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;- Returns:
- The timeTarget.
-
getTimeTargetOrBuilder
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; -
getTargetCase
SeekSubscriptionRequest.TargetCase getTargetCase()
-