Package com.google.pubsub.v1
Interface PublishResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublishResponse
,PublishResponse.Builder
public interface PublishResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMessageIds(int index)
The server-assigned ID of each published message, in the same order as the messages in the request.com.google.protobuf.ByteString
getMessageIdsBytes(int index)
The server-assigned ID of each published message, in the same order as the messages in the request.int
getMessageIdsCount()
The server-assigned ID of each published message, in the same order as the messages in the request.List<String>
getMessageIdsList()
The server-assigned ID of each published message, in the same order as the messages in the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessageIdsList
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:
- A list containing the messageIds.
-
getMessageIdsCount
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:
- The count of messageIds.
-
getMessageIds
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The messageIds at the given index.
-
getMessageIdsBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the messageIds at the given index.
-
-