Uses of Class
com.google.pubsub.v1.TopicName
-
Packages that use TopicName Package Description com.google.cloud.pubsub.v1 A client to Cloud Pub/Sub APIcom.google.pubsub.v1 -
-
Uses of TopicName in com.google.cloud.pubsub.v1
Methods in com.google.cloud.pubsub.v1 that return TopicName Modifier and Type Method Description TopicName
Publisher. getTopicName()
Topic which the publisher publishes to.Methods in com.google.cloud.pubsub.v1 with parameters of type TopicName Modifier and Type Method Description Subscription
SubscriptionAdminClient. createSubscription(ProjectSubscriptionName name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)
Deprecated.Subscription
SubscriptionAdminClient. createSubscription(SubscriptionName name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)
Creates a subscription to a given topic.Subscription
SubscriptionAdminClient. createSubscription(String name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)
Creates a subscription to a given topic.Topic
TopicAdminClient. createTopic(TopicName name)
Creates the given topic with the given name.void
TopicAdminClient. deleteTopic(TopicName topic)
Deletes the topic with the given name.Topic
TopicAdminClient. getTopic(TopicName topic)
Gets the configuration of a topic.TopicAdminClient.ListTopicSnapshotsPagedResponse
TopicAdminClient. listTopicSnapshots(TopicName topic)
Lists the names of the snapshots on this topic.TopicAdminClient.ListTopicSubscriptionsPagedResponse
TopicAdminClient. listTopicSubscriptions(TopicName topic)
Lists the names of the attached subscriptions on this topic.static Publisher.Builder
Publisher. newBuilder(TopicName topicName)
Constructs a newPublisher.Builder
using the given topic.PublishResponse
TopicAdminClient. publish(TopicName topic, List<PubsubMessage> messages)
Adds one or more messages to the topic. -
Uses of TopicName in com.google.pubsub.v1
Subclasses of TopicName in com.google.pubsub.v1 Modifier and Type Class Description class
DeletedTopic
AUTO-GENERATED DOCUMENTATION AND CLASSclass
ProjectTopicName
AUTO-GENERATED DOCUMENTATION AND CLASSclass
UntypedTopicName
Deprecated.This resource name class will be removed in the next major version.Methods in com.google.pubsub.v1 that return TopicName Modifier and Type Method Description TopicName
TopicName.Builder. build()
static TopicName
TopicName. of(String project, String topic)
static TopicName
TopicName. ofDeletedTopicName()
static TopicName
TopicName. ofProjectTopicName(String project, String topic)
static TopicName
TopicName. parse(String formattedString)
static TopicName
TopicNames. parse(String resourceNameString)
Deprecated.Methods in com.google.pubsub.v1 that return types with arguments of type TopicName Modifier and Type Method Description static List<TopicName>
TopicName. parseList(List<String> formattedStrings)
Method parameters in com.google.pubsub.v1 with type arguments of type TopicName Modifier and Type Method Description static List<String>
TopicName. toStringList(List<TopicName> values)
-