Package com.google.cloudbuild.v1
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 TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getState()Potential issues with the underlying Pub/Sub subscription configuration.intPotential issues with the underlying Pub/Sub subscription configuration.booleanRequired.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
-
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
WebhookConfig.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()
-