Interface Subscription.LinkedResourceOrBuilder (0.61.0)

public static interface Subscription.LinkedResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLinkedDataset()

public abstract String getLinkedDataset()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The linkedDataset.

getLinkedDatasetBytes()

public abstract ByteString getLinkedDatasetBytes()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for linkedDataset.

getLinkedPubsubSubscription()

public abstract String getLinkedPubsubSubscription()

Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id

string linked_pubsub_subscription = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The linkedPubsubSubscription.

getLinkedPubsubSubscriptionBytes()

public abstract ByteString getLinkedPubsubSubscriptionBytes()

Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id

string linked_pubsub_subscription = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for linkedPubsubSubscription.

getListing()

public abstract String getListing()

Output only. Listing for which linked resource is created.

string listing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The listing.

getListingBytes()

public abstract ByteString getListingBytes()

Output only. Listing for which linked resource is created.

string listing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for listing.

getReferenceCase()

public abstract Subscription.LinkedResource.ReferenceCase getReferenceCase()
Returns
Type Description
Subscription.LinkedResource.ReferenceCase

hasLinkedDataset()

public abstract boolean hasLinkedDataset()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the linkedDataset field is set.

hasLinkedPubsubSubscription()

public abstract boolean hasLinkedPubsubSubscription()

Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id

string linked_pubsub_subscription = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the linkedPubsubSubscription field is set.