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 TopicNamePublisher. getTopicName()Topic which the publisher publishes to.Methods in com.google.cloud.pubsub.v1 with parameters of type TopicName Modifier and Type Method Description SubscriptionSubscriptionAdminClient. createSubscription(ProjectSubscriptionName name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)Deprecated.SubscriptionSubscriptionAdminClient. createSubscription(SubscriptionName name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)Creates a subscription to a given topic.SubscriptionSubscriptionAdminClient. createSubscription(String name, TopicName topic, PushConfig pushConfig, int ackDeadlineSeconds)Creates a subscription to a given topic.TopicTopicAdminClient. createTopic(TopicName name)Creates the given topic with the given name.voidTopicAdminClient. deleteTopic(TopicName topic)Deletes the topic with the given name.TopicTopicAdminClient. getTopic(TopicName topic)Gets the configuration of a topic.TopicAdminClient.ListTopicSnapshotsPagedResponseTopicAdminClient. listTopicSnapshots(TopicName topic)Lists the names of the snapshots on this topic.TopicAdminClient.ListTopicSubscriptionsPagedResponseTopicAdminClient. listTopicSubscriptions(TopicName topic)Lists the names of the attached subscriptions on this topic.static Publisher.BuilderPublisher. newBuilder(TopicName topicName)Constructs a newPublisher.Builderusing the given topic.PublishResponseTopicAdminClient. 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 classDeletedTopicAUTO-GENERATED DOCUMENTATION AND CLASSclassProjectTopicNameAUTO-GENERATED DOCUMENTATION AND CLASSclassUntypedTopicNameDeprecated.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 TopicNameTopicName.Builder. build()static TopicNameTopicName. of(String project, String topic)static TopicNameTopicName. ofDeletedTopicName()static TopicNameTopicName. ofProjectTopicName(String project, String topic)static TopicNameTopicName. parse(String formattedString)static TopicNameTopicNames. 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)
-