Package com.google.cloudbuild.v1
Interface PubsubConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PubsubConfig,PubsubConfig.Builder
@Generated
public interface PubsubConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionService account that will make the push request.com.google.protobuf.ByteStringService account that will make the push request.getState()Potential issues with the underlying Pub/Sub subscription configuration.intPotential issues with the underlying Pub/Sub subscription configuration.Output only.com.google.protobuf.ByteStringOutput only.getTopic()Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSubscription
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:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.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:
- The bytes for subscription.
-
getTopic
String getTopic()Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`.string topic = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`.string topic = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for topic.
-
getServiceAccountEmail
String getServiceAccountEmail()Service account that will make the push request.
string service_account_email = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
com.google.protobuf.ByteString getServiceAccountEmailBytes()Service account that will make the push request.
string service_account_email = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for serviceAccountEmail.
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-