Interface WebhookConfigOrBuilder (3.43.0)

public interface WebhookConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthMethodCase()

public abstract WebhookConfig.AuthMethodCase getAuthMethodCase()
Returns
TypeDescription
WebhookConfig.AuthMethodCase

getSecret()

public abstract 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
TypeDescription
String

The secret.

getSecretBytes()

public abstract 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
TypeDescription
ByteString

The bytes for secret.

getState()

public abstract 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
TypeDescription
WebhookConfig.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.WebhookConfig.State state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasSecret()

public abstract 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
TypeDescription
boolean

Whether the secret field is set.