Class PubSubPublisherState.TopicState

  • Enclosing class:
    PubSubPublisherState

    public static class PubSubPublisherState.TopicState
    extends java.lang.Object
    Internal class to represent Topic State.
    • Constructor Summary

      Constructors 
      Constructor Description
      TopicState​(java.lang.String contentType, com.google.pubsub.v1.ProjectTopicName projectTopicName, java.lang.String configurationName, java.lang.String endpoint, java.lang.Boolean ordered)  
    • Constructor Detail

      • TopicState

        public TopicState​(java.lang.String contentType,
                          com.google.pubsub.v1.ProjectTopicName projectTopicName,
                          java.lang.String configurationName,
                          java.lang.String endpoint,
                          java.lang.Boolean ordered)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Returns:
        the contentType
      • getProjectTopicName

        public com.google.pubsub.v1.ProjectTopicName getProjectTopicName()
        Returns:
        the topic name
      • getEndpoint

        public java.lang.String getEndpoint()
        Returns:
        the endpoint to be used, or empty for global endpoint
      • getOrdered

        public java.lang.Boolean getOrdered()
        Returns:
        if message ordering should be enabled