Interface WebhookConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WebhookConfig, WebhookConfig.Builder

@Generated public interface WebhookConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Required.
    com.google.protobuf.ByteString
    Required.
    Potential issues with the underlying Pub/Sub subscription configuration.
    int
    Potential issues with the underlying Pub/Sub subscription configuration.
    boolean
    Required.

    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

    • hasSecret

      boolean hasSecret()
       Required. Resource name for the secret required as a URL parameter.
       
      string secret = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the secret field is set.
    • getSecret

      String getSecret()
       Required. Resource name for the secret required as a URL parameter.
       
      string secret = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The secret.
    • getSecretBytes

      com.google.protobuf.ByteString getSecretBytes()
       Required. Resource name for the secret required as a URL parameter.
       
      string secret = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for secret.
    • getStateValue

      int getStateValue()
       Potential issues with the underlying Pub/Sub subscription configuration.
       Only populated on get requests.
       
      .google.devtools.cloudbuild.v1.WebhookConfig.State state = 4;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Potential issues with the underlying Pub/Sub subscription configuration.
       Only populated on get requests.
       
      .google.devtools.cloudbuild.v1.WebhookConfig.State state = 4;
      Returns:
      The state.
    • getAuthMethodCase

      WebhookConfig.AuthMethodCase getAuthMethodCase()