Interface InitialPartitionAssignmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InitialPartitionAssignmentRequest
,InitialPartitionAssignmentRequest.Builder
public interface InitialPartitionAssignmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getClientId()
An opaque, unique client identifier.String
getSubscription()
The subscription name.com.google.protobuf.ByteString
getSubscriptionBytes()
The subscription name.-
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 name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;
- Returns:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.ByteString getSubscriptionBytes()
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;
- Returns:
- The bytes for subscription.
-
getClientId
com.google.protobuf.ByteString getClientId()
An opaque, unique client identifier. This field must be exactly 16 bytes long and is interpreted as an unsigned 128 bit integer. Other size values will be rejected and the stream will be failed with a non-retryable error. This field is large enough to fit a uuid from standard uuid algorithms like uuid1 or uuid4, which should be used to generate this number. The same identifier should be reused following disconnections with retryable stream errors.
bytes client_id = 2;
- Returns:
- The clientId.
-
-