Interface InitialSubscribeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InitialSubscribeRequest,InitialSubscribeRequest.Builder
public interface InitialSubscribeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SeekRequestgetInitialLocation()Optional.SeekRequestOrBuildergetInitialLocationOrBuilder()Optional.longgetPartition()The partition from which to receive messages.StringgetSubscription()The subscription from which to receive messages.com.google.protobuf.ByteStringgetSubscriptionBytes()The subscription from which to receive messages.booleanhasInitialLocation()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSubscription
String getSubscription()
The subscription from which to receive messages.
string subscription = 1;- Returns:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.ByteString getSubscriptionBytes()
The subscription from which to receive messages.
string subscription = 1;- Returns:
- The bytes for subscription.
-
getPartition
long getPartition()
The partition from which to receive messages. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).
int64 partition = 2;- Returns:
- The partition.
-
hasInitialLocation
boolean hasInitialLocation()
Optional. Initial target location within the message backlog. If not set, messages will be delivered from the commit cursor for the given subscription and partition.
.google.cloud.pubsublite.v1.SeekRequest initial_location = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the initialLocation field is set.
-
getInitialLocation
SeekRequest getInitialLocation()
Optional. Initial target location within the message backlog. If not set, messages will be delivered from the commit cursor for the given subscription and partition.
.google.cloud.pubsublite.v1.SeekRequest initial_location = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The initialLocation.
-
getInitialLocationOrBuilder
SeekRequestOrBuilder getInitialLocationOrBuilder()
Optional. Initial target location within the message backlog. If not set, messages will be delivered from the commit cursor for the given subscription and partition.
.google.cloud.pubsublite.v1.SeekRequest initial_location = 4 [(.google.api.field_behavior) = OPTIONAL];
-
-