| Package | Description |
|---|---|
| com.google.cloud.pubsublite | |
| com.google.cloud.pubsublite.cloudpubsub | |
| com.google.cloud.pubsublite.internal | |
| com.google.cloud.pubsublite.internal.wire |
| Modifier and Type | Method and Description |
|---|---|
TopicPath |
TopicPaths.Builder.build() |
static TopicPath |
TopicPath.of(String value) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TopicPaths.check(TopicPath path) |
com.google.api.core.ApiFuture<Void> |
AdminClient.deleteTopic(TopicPath path)
Delete the topic with id
id if it exists. |
static LocationPath |
TopicPaths.getLocationPath(TopicPath path) |
static ProjectNumber |
TopicPaths.getProjectNumber(TopicPath path) |
com.google.api.core.ApiFuture<Topic> |
AdminClient.getTopic(TopicPath path)
Get the topic with id
id if it exists. |
static TopicName |
TopicPaths.getTopicName(TopicPath path) |
com.google.api.core.ApiFuture<Long> |
AdminClient.getTopicPartitionCount(TopicPath path)
Get the partitioning info for the topic with id
id if it exists. |
static CloudZone |
TopicPaths.getZone(TopicPath path) |
com.google.api.core.ApiFuture<List<SubscriptionPath>> |
AdminClient.listTopicSubscriptions(TopicPath path)
Get the list of subscriptions for the topic with id
id if it exists. |
static int |
PartitionLookupUtils.numPartitions(TopicPath topic) |
static int |
PartitionLookupUtils.numPartitions(TopicPath topic,
AdminClient client) |
| Modifier and Type | Method and Description |
|---|---|
abstract PublisherSettings.Builder |
PublisherSettings.Builder.setTopicPath(TopicPath path) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Void> |
AdminClientImpl.deleteTopic(TopicPath path) |
com.google.api.core.ApiFuture<Topic> |
AdminClientImpl.getTopic(TopicPath path) |
com.google.api.core.ApiFuture<Long> |
AdminClientImpl.getTopicPartitionCount(TopicPath path) |
com.google.api.core.ApiFuture<List<SubscriptionPath>> |
AdminClientImpl.listTopicSubscriptions(TopicPath path) |
| Modifier and Type | Method and Description |
|---|---|
abstract SinglePartitionPublisherBuilder.Builder |
SinglePartitionPublisherBuilder.Builder.setTopic(TopicPath topic) |
abstract PublisherBuilder.Builder |
PublisherBuilder.Builder.setTopic(TopicPath path) |
abstract RoutingPublisherBuilder.Builder |
RoutingPublisherBuilder.Builder.setTopic(TopicPath path) |
Copyright © 2020 Google LLC. All rights reserved.