Interface PubsubConfigOrBuilder (3.4.0)

public interface PubsubConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getServiceAccountEmail()

public abstract String getServiceAccountEmail()

Service account that will make the push request.

string service_account_email = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The serviceAccountEmail.

getServiceAccountEmailBytes()

public abstract ByteString getServiceAccountEmailBytes()

Service account that will make the push request.

string service_account_email = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for serviceAccountEmail.

getState()

public abstract PubsubConfig.State getState()

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

.google.devtools.cloudbuild.v1.PubsubConfig.State state = 4;

Returns
TypeDescription
PubsubConfig.State

The state.

getStateValue()

public abstract int getStateValue()

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

.google.devtools.cloudbuild.v1.PubsubConfig.State state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSubscription()

public abstract String getSubscription()

Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

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

Returns
TypeDescription
String

The subscription.

getSubscriptionBytes()

public abstract ByteString getSubscriptionBytes()

Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

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

Returns
TypeDescription
ByteString

The bytes for subscription.

getTopic()

public abstract String getTopic()

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

string topic = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

string topic = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for topic.