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)
    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
    The server-assigned ID of each published message, in the same order as the messages in the request.
    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.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()
       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.