public interface SubscriptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Subscription.DeliveryConfig |
getDeliveryConfig()
The settings for this subscription's message delivery.
|
Subscription.DeliveryConfigOrBuilder |
getDeliveryConfigOrBuilder()
The settings for this subscription's message delivery.
|
ExportConfig |
getExportConfig()
If present, messages are automatically written from the Pub/Sub Lite topic
associated with this subscription to a destination.
|
ExportConfigOrBuilder |
getExportConfigOrBuilder()
If present, messages are automatically written from the Pub/Sub Lite topic
associated with this subscription to a destination.
|
String |
getName()
The name of the subscription.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the subscription.
|
String |
getTopic()
The name of the topic this subscription is attached to.
|
com.google.protobuf.ByteString |
getTopicBytes()
The name of the topic this subscription is attached to.
|
boolean |
hasDeliveryConfig()
The settings for this subscription's message delivery.
|
boolean |
hasExportConfig()
If present, messages are automatically written from the Pub/Sub Lite topic
associated with this subscription to a destination.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the subscription.
Structured like:
projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the subscription.
Structured like:
projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
string name = 1;String getTopic()
The name of the topic this subscription is attached to.
Structured like:
projects/{project_number}/locations/{location}/topics/{topic_id}
string topic = 2 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getTopicBytes()
The name of the topic this subscription is attached to.
Structured like:
projects/{project_number}/locations/{location}/topics/{topic_id}
string topic = 2 [(.google.api.resource_reference) = { ... }boolean hasDeliveryConfig()
The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;Subscription.DeliveryConfig getDeliveryConfig()
The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;Subscription.DeliveryConfigOrBuilder getDeliveryConfigOrBuilder()
The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;boolean hasExportConfig()
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
.google.cloud.pubsublite.v1.ExportConfig export_config = 4;ExportConfig getExportConfig()
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
.google.cloud.pubsublite.v1.ExportConfig export_config = 4;ExportConfigOrBuilder getExportConfigOrBuilder()
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
.google.cloud.pubsublite.v1.ExportConfig export_config = 4;Copyright © 2023 Google LLC. All rights reserved.