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 Type
    Method
    Description
    Service account that will make the push request.
    com.google.protobuf.ByteString
    Service account that will make the push request.
    Potential issues with the underlying Pub/Sub subscription configuration.
    int
    Potential issues with the underlying Pub/Sub subscription configuration.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.