Interface GetSubscriptionRequestOrBuilder (1.123.8)

public interface GetSubscriptionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSubscription()

public abstract String getSubscription()

Required. The name of the subscription to get. Format is projects/{project}/subscriptions/{sub}.

string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The subscription.

getSubscriptionBytes()

public abstract ByteString getSubscriptionBytes()

Required. The name of the subscription to get. Format is projects/{project}/subscriptions/{sub}.

string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for subscription.