Interface InitialPartitionAssignmentRequestOrBuilder (1.11.2)

public interface InitialPartitionAssignmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientId()

public abstract 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
TypeDescription
ByteString

The clientId.

getSubscription()

public abstract String getSubscription()

The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>

string subscription = 1;

Returns
TypeDescription
String

The subscription.

getSubscriptionBytes()

public abstract ByteString getSubscriptionBytes()

The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>

string subscription = 1;

Returns
TypeDescription
ByteString

The bytes for subscription.