Interface WebhookConfigOrBuilder (3.49.0)

public interface WebhookConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthMethodCase()

public abstract WebhookConfig.AuthMethodCase getAuthMethodCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the secret field is set.