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
Modifier and TypeMethodDescriptiongetMessageIds(int index) Optional.com.google.protobuf.ByteStringgetMessageIdsBytes(int index) Optional.intOptional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessageIdsList
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the messageIds.
-
getMessageIdsCount
int getMessageIdsCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of messageIds.
-
getMessageIds
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The messageIds at the given index.
-
getMessageIdsBytes
com.google.protobuf.ByteString getMessageIdsBytes(int index) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the messageIds at the given index.
-