Package | Description |
---|---|
com.google.cloud.pubsub.v1 |
A client to Cloud Pub/Sub API
|
com.google.pubsub.v1 |
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionAdminClient.acknowledge(SubscriptionName subscription,
List<String> ackIds)
Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`.
|
Snapshot |
SubscriptionAdminClient.createSnapshot(SnapshotName name,
SubscriptionName subscription)
Creates a snapshot from the requested subscription.
|
Snapshot |
SubscriptionAdminClient.createSnapshot(String name,
SubscriptionName subscription)
Creates a snapshot from the requested subscription.
|
Subscription |
SubscriptionAdminClient.createSubscription(SubscriptionName name,
String topic,
PushConfig pushConfig,
int ackDeadlineSeconds)
Creates a subscription to a given topic.
|
Subscription |
SubscriptionAdminClient.createSubscription(SubscriptionName name,
TopicName topic,
PushConfig pushConfig,
int ackDeadlineSeconds)
Creates a subscription to a given topic.
|
void |
SubscriptionAdminClient.deleteSubscription(SubscriptionName subscription)
Deletes an existing subscription.
|
Subscription |
SubscriptionAdminClient.getSubscription(SubscriptionName subscription)
Gets the configuration details of a subscription.
|
void |
SubscriptionAdminClient.modifyAckDeadline(SubscriptionName subscription,
List<String> ackIds,
int ackDeadlineSeconds)
Modifies the ack deadline for a specific message.
|
void |
SubscriptionAdminClient.modifyPushConfig(SubscriptionName subscription,
PushConfig pushConfig)
Modifies the `PushConfig` for a specified subscription.
|
PullResponse |
SubscriptionAdminClient.pull(SubscriptionName subscription,
boolean returnImmediately,
int maxMessages)
Pulls messages from the server.
|
PullResponse |
SubscriptionAdminClient.pull(SubscriptionName subscription,
int maxMessages)
Pulls messages from the server.
|
Modifier and Type | Method and Description |
---|---|
SubscriptionName |
SubscriptionName.Builder.build() |
static SubscriptionName |
SubscriptionName.of(String project,
String subscription) |
static SubscriptionName |
SubscriptionName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<SubscriptionName> |
SubscriptionName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
SubscriptionName.toStringList(List<SubscriptionName> values) |
Copyright © 2023 Google LLC. All rights reserved.