public interface InitialPublishRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getClientId()
Unique identifier for a publisher client.
|
long |
getPartition()
The partition within the topic to which messages will be written.
|
String |
getTopic()
The topic to which messages will be written.
|
com.google.protobuf.ByteString |
getTopicBytes()
The topic to which messages will be written.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTopic()
The topic to which messages will be written.
string topic = 1;com.google.protobuf.ByteString getTopicBytes()
The topic to which messages will be written.
string topic = 1;long getPartition()
The partition within the topic to which messages will be written. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).
int64 partition = 2;com.google.protobuf.ByteString getClientId()
Unique identifier for a publisher client. If set, enables publish idempotency within a publisher client session. The length of this field must be exactly 16 bytes long and should be populated with a 128 bit uuid, generated by standard uuid algorithms like uuid1 or uuid4. The same identifier should be reused following disconnections with retryable stream errors.
bytes client_id = 3;Copyright © 2023 Google LLC. All rights reserved.