Interface SubscriptionOrBuilder

public interface SubscriptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeliveryConfig()

public abstract Subscription.DeliveryConfig getDeliveryConfig()

The settings for this subscription's message delivery.

.google.cloud.pubsublite.v1.Subscription.DeliveryConfig delivery_config = 3;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
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) = { ... }

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the deliveryConfig field is set.