Interface PublishActionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PublishAction, PublishAction.Builder

    public interface PublishActionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getMessages​(int index)
      Messages to be published.
      com.google.protobuf.ByteString getMessagesBytes​(int index)
      Messages to be published.
      int getMessagesCount()
      Messages to be published.
      List<String> getMessagesList()
      Messages to be published.
      String getTopicId()
      The topic id in the Pub/Sub service for which messages will be published to.
      com.google.protobuf.ByteString getTopicIdBytes()
      The topic id in the Pub/Sub service for which messages will be published to.
      • 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 Detail

      • getTopicId

        String getTopicId()
         The topic id in the Pub/Sub service for which messages will be published
         to.
         
        string topic_id = 1;
        Returns:
        The topicId.
      • getTopicIdBytes

        com.google.protobuf.ByteString getTopicIdBytes()
         The topic id in the Pub/Sub service for which messages will be published
         to.
         
        string topic_id = 1;
        Returns:
        The bytes for topicId.
      • getMessagesList

        List<String> getMessagesList()
         Messages to be published.
         
        repeated string messages = 2;
        Returns:
        A list containing the messages.
      • getMessagesCount

        int getMessagesCount()
         Messages to be published.
         
        repeated string messages = 2;
        Returns:
        The count of messages.
      • getMessages

        String getMessages​(int index)
         Messages to be published.
         
        repeated string messages = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The messages at the given index.
      • getMessagesBytes

        com.google.protobuf.ByteString getMessagesBytes​(int index)
         Messages to be published.
         
        repeated string messages = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the messages at the given index.