Package io.micronaut.gcp.pubsub.support
Class PubSubPublisherState.TopicState
- java.lang.Object
-
- io.micronaut.gcp.pubsub.support.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfigurationName()
java.lang.String
getContentType()
java.lang.String
getEndpoint()
java.lang.Boolean
getOrdered()
com.google.pubsub.v1.ProjectTopicName
getProjectTopicName()
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
- Returns:
- the contentType
-
getProjectTopicName
public com.google.pubsub.v1.ProjectTopicName getProjectTopicName()
- Returns:
- the topic name
-
getConfigurationName
public java.lang.String getConfigurationName()
- Returns:
- the name of the
PublisherConfigurationProperties
to be used
-
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
-
-