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 |
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. |