public interface PublishResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMessageIds(int index)
public abstract String getMessageIds(int index)
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The messageIds at the given index. |
getMessageIdsBytes(int index)
public abstract ByteString getMessageIdsBytes(int index)
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the messageIds at the given index. |
getMessageIdsCount()
public abstract int getMessageIdsCount()
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Returns | |
---|---|
Type | Description |
int | The count of messageIds. |
getMessageIdsList()
public abstract List<String> getMessageIdsList()
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the messageIds. |