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 Type
    Method
    Description
    getMessageIds(int index)
    Optional.
    com.google.protobuf.ByteString
    getMessageIdsBytes(int index)
    Optional.
    int
    Optional.
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMessageIdsList

      List<String> 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

      String getMessageIds(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 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.