public interface SubscriptionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDeliveryConfig()
public abstract Subscription.DeliveryConfig getDeliveryConfig()The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;
| Type | Description |
| Subscription.DeliveryConfig | The deliveryConfig. |
getDeliveryConfigOrBuilder()
public abstract Subscription.DeliveryConfigOrBuilder getDeliveryConfigOrBuilder()The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;
| Type | Description |
| Subscription.DeliveryConfigOrBuilder |
getExportConfig()
public abstract 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;
| Type | Description |
| ExportConfig | The exportConfig. |
getExportConfigOrBuilder()
public abstract 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;
| Type | Description |
| ExportConfigOrBuilder |
getName()
public abstract String getName()The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
string name = 1;
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
string name = 1;
| Type | Description |
| ByteString | The bytes for name. |
getTopic()
public abstract 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) = { ... }
| Type | Description |
| String | The topic. |
getTopicBytes()
public abstract 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) = { ... }
| Type | Description |
| ByteString | The bytes for topic. |
hasDeliveryConfig()
public abstract boolean hasDeliveryConfig()The settings for this subscription's message delivery.
.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;
| Type | Description |
| boolean | Whether the deliveryConfig field is set. |
hasExportConfig()
public abstract 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;
| Type | Description |
| boolean | Whether the exportConfig field is set. |