Package | Description |
---|---|
com.google.pubsub.v1 |
Modifier and Type | Method and Description |
---|---|
Subscription.Builder |
Subscription.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subscription.Builder |
ListSubscriptionsResponse.Builder.addSubscriptionsBuilder()
The subscriptions that match the request.
|
Subscription.Builder |
ListSubscriptionsResponse.Builder.addSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
Subscription.Builder |
Subscription.Builder.clear() |
Subscription.Builder |
Subscription.Builder.clearAckDeadlineSeconds()
The approximate amount of time (on a best-effort basis) Pub/Sub waits for
the subscriber to acknowledge receipt before resending the message.
|
Subscription.Builder |
Subscription.Builder.clearBigqueryConfig()
If delivery to BigQuery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.clearCloudStorageConfig()
If delivery to Google Cloud Storage is used with this subscription, this
field is used to configure it.
|
Subscription.Builder |
Subscription.Builder.clearDeadLetterPolicy()
A policy that specifies the conditions for dead lettering messages in
this subscription.
|
Subscription.Builder |
Subscription.Builder.clearDetached()
Indicates whether the subscription is detached from its topic.
|
Subscription.Builder |
Subscription.Builder.clearEnableExactlyOnceDelivery()
If true, Pub/Sub provides the following guarantees for the delivery of
a message with a given value of `message_id` on this subscription:
* The message sent to a subscriber is guaranteed not to be resent
before the message's acknowledgement deadline expires.
|
Subscription.Builder |
Subscription.Builder.clearEnableMessageOrdering()
If true, messages published with the same `ordering_key` in `PubsubMessage`
will be delivered to the subscribers in the order in which they
are received by the Pub/Sub system.
|
Subscription.Builder |
Subscription.Builder.clearExpirationPolicy()
A policy that specifies the conditions for this subscription's expiration.
|
Subscription.Builder |
Subscription.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Subscription.Builder |
Subscription.Builder.clearFilter()
An expression written in the Pub/Sub [filter
language](https://cloud.google.com/pubsub/docs/filtering).
|
Subscription.Builder |
Subscription.Builder.clearLabels() |
Subscription.Builder |
Subscription.Builder.clearMessageRetentionDuration()
How long to retain unacknowledged messages in the subscription's backlog,
from the moment a message is published.
|
Subscription.Builder |
Subscription.Builder.clearName()
Required.
|
Subscription.Builder |
Subscription.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Subscription.Builder |
Subscription.Builder.clearPushConfig()
If push delivery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.clearRetainAckedMessages()
Indicates whether to retain acknowledged messages.
|
Subscription.Builder |
Subscription.Builder.clearRetryPolicy()
A policy that specifies how Pub/Sub retries message delivery for this
subscription.
|
Subscription.Builder |
Subscription.Builder.clearState()
Output only.
|
Subscription.Builder |
Subscription.Builder.clearTopic()
Required.
|
Subscription.Builder |
Subscription.Builder.clearTopicMessageRetentionDuration()
Output only.
|
Subscription.Builder |
Subscription.Builder.clone() |
Subscription.Builder |
UpdateSubscriptionRequest.Builder.getSubscriptionBuilder()
Required.
|
Subscription.Builder |
ListSubscriptionsResponse.Builder.getSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
Subscription.Builder |
Subscription.Builder.mergeBigqueryConfig(BigQueryConfig value)
If delivery to BigQuery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.mergeCloudStorageConfig(CloudStorageConfig value)
If delivery to Google Cloud Storage is used with this subscription, this
field is used to configure it.
|
Subscription.Builder |
Subscription.Builder.mergeDeadLetterPolicy(DeadLetterPolicy value)
A policy that specifies the conditions for dead lettering messages in
this subscription.
|
Subscription.Builder |
Subscription.Builder.mergeExpirationPolicy(ExpirationPolicy value)
A policy that specifies the conditions for this subscription's expiration.
|
Subscription.Builder |
Subscription.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Subscription.Builder |
Subscription.Builder.mergeFrom(com.google.protobuf.Message other) |
Subscription.Builder |
Subscription.Builder.mergeFrom(Subscription other) |
Subscription.Builder |
Subscription.Builder.mergeMessageRetentionDuration(com.google.protobuf.Duration value)
How long to retain unacknowledged messages in the subscription's backlog,
from the moment a message is published.
|
Subscription.Builder |
Subscription.Builder.mergePushConfig(PushConfig value)
If push delivery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.mergeRetryPolicy(RetryPolicy value)
A policy that specifies how Pub/Sub retries message delivery for this
subscription.
|
Subscription.Builder |
Subscription.Builder.mergeTopicMessageRetentionDuration(com.google.protobuf.Duration value)
Output only.
|
Subscription.Builder |
Subscription.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Subscription.Builder |
Subscription.newBuilder() |
static Subscription.Builder |
Subscription.newBuilder(Subscription prototype) |
Subscription.Builder |
Subscription.newBuilderForType() |
protected Subscription.Builder |
Subscription.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Subscription.Builder |
Subscription.Builder.putAllLabels(Map<String,String> values)
See [Creating and managing
labels](https://cloud.google.com/pubsub/docs/labels).
|
Subscription.Builder |
Subscription.Builder.putLabels(String key,
String value)
See [Creating and managing
labels](https://cloud.google.com/pubsub/docs/labels).
|
Subscription.Builder |
Subscription.Builder.removeLabels(String key)
See [Creating and managing
labels](https://cloud.google.com/pubsub/docs/labels).
|
Subscription.Builder |
Subscription.Builder.setAckDeadlineSeconds(int value)
The approximate amount of time (on a best-effort basis) Pub/Sub waits for
the subscriber to acknowledge receipt before resending the message.
|
Subscription.Builder |
Subscription.Builder.setBigqueryConfig(BigQueryConfig.Builder builderForValue)
If delivery to BigQuery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.setBigqueryConfig(BigQueryConfig value)
If delivery to BigQuery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.setCloudStorageConfig(CloudStorageConfig.Builder builderForValue)
If delivery to Google Cloud Storage is used with this subscription, this
field is used to configure it.
|
Subscription.Builder |
Subscription.Builder.setCloudStorageConfig(CloudStorageConfig value)
If delivery to Google Cloud Storage is used with this subscription, this
field is used to configure it.
|
Subscription.Builder |
Subscription.Builder.setDeadLetterPolicy(DeadLetterPolicy.Builder builderForValue)
A policy that specifies the conditions for dead lettering messages in
this subscription.
|
Subscription.Builder |
Subscription.Builder.setDeadLetterPolicy(DeadLetterPolicy value)
A policy that specifies the conditions for dead lettering messages in
this subscription.
|
Subscription.Builder |
Subscription.Builder.setDetached(boolean value)
Indicates whether the subscription is detached from its topic.
|
Subscription.Builder |
Subscription.Builder.setEnableExactlyOnceDelivery(boolean value)
If true, Pub/Sub provides the following guarantees for the delivery of
a message with a given value of `message_id` on this subscription:
* The message sent to a subscriber is guaranteed not to be resent
before the message's acknowledgement deadline expires.
|
Subscription.Builder |
Subscription.Builder.setEnableMessageOrdering(boolean value)
If true, messages published with the same `ordering_key` in `PubsubMessage`
will be delivered to the subscribers in the order in which they
are received by the Pub/Sub system.
|
Subscription.Builder |
Subscription.Builder.setExpirationPolicy(ExpirationPolicy.Builder builderForValue)
A policy that specifies the conditions for this subscription's expiration.
|
Subscription.Builder |
Subscription.Builder.setExpirationPolicy(ExpirationPolicy value)
A policy that specifies the conditions for this subscription's expiration.
|
Subscription.Builder |
Subscription.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Subscription.Builder |
Subscription.Builder.setFilter(String value)
An expression written in the Pub/Sub [filter
language](https://cloud.google.com/pubsub/docs/filtering).
|
Subscription.Builder |
Subscription.Builder.setFilterBytes(com.google.protobuf.ByteString value)
An expression written in the Pub/Sub [filter
language](https://cloud.google.com/pubsub/docs/filtering).
|
Subscription.Builder |
Subscription.Builder.setMessageRetentionDuration(com.google.protobuf.Duration.Builder builderForValue)
How long to retain unacknowledged messages in the subscription's backlog,
from the moment a message is published.
|
Subscription.Builder |
Subscription.Builder.setMessageRetentionDuration(com.google.protobuf.Duration value)
How long to retain unacknowledged messages in the subscription's backlog,
from the moment a message is published.
|
Subscription.Builder |
Subscription.Builder.setName(String value)
Required.
|
Subscription.Builder |
Subscription.Builder.setNameBytes(com.google.protobuf.ByteString value)
Required.
|
Subscription.Builder |
Subscription.Builder.setPushConfig(PushConfig.Builder builderForValue)
If push delivery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.setPushConfig(PushConfig value)
If push delivery is used with this subscription, this field is
used to configure it.
|
Subscription.Builder |
Subscription.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Subscription.Builder |
Subscription.Builder.setRetainAckedMessages(boolean value)
Indicates whether to retain acknowledged messages.
|
Subscription.Builder |
Subscription.Builder.setRetryPolicy(RetryPolicy.Builder builderForValue)
A policy that specifies how Pub/Sub retries message delivery for this
subscription.
|
Subscription.Builder |
Subscription.Builder.setRetryPolicy(RetryPolicy value)
A policy that specifies how Pub/Sub retries message delivery for this
subscription.
|
Subscription.Builder |
Subscription.Builder.setState(Subscription.State value)
Output only.
|
Subscription.Builder |
Subscription.Builder.setStateValue(int value)
Output only.
|
Subscription.Builder |
Subscription.Builder.setTopic(String value)
Required.
|
Subscription.Builder |
Subscription.Builder.setTopicBytes(com.google.protobuf.ByteString value)
Required.
|
Subscription.Builder |
Subscription.Builder.setTopicMessageRetentionDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only.
|
Subscription.Builder |
Subscription.Builder.setTopicMessageRetentionDuration(com.google.protobuf.Duration value)
Output only.
|
Subscription.Builder |
Subscription.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Subscription.Builder |
Subscription.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<Subscription.Builder> |
ListSubscriptionsResponse.Builder.getSubscriptionsBuilderList()
The subscriptions that match the request.
|
Modifier and Type | Method and Description |
---|---|
ListSubscriptionsResponse.Builder |
ListSubscriptionsResponse.Builder.addSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
ListSubscriptionsResponse.Builder.addSubscriptions(Subscription.Builder builderForValue)
The subscriptions that match the request.
|
UpdateSubscriptionRequest.Builder |
UpdateSubscriptionRequest.Builder.setSubscription(Subscription.Builder builderForValue)
Required.
|
ListSubscriptionsResponse.Builder |
ListSubscriptionsResponse.Builder.setSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
Copyright © 2023 Google LLC. All rights reserved.