Interface SecretsOrBuilder (3.51.0)

public interface SecretsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInline(int index)

public abstract InlineSecret getInline(int index)

Secrets encrypted with KMS key and the associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;

Parameter
Name Description
index int
Returns
Type Description
InlineSecret

getInlineCount()

public abstract int getInlineCount()

Secrets encrypted with KMS key and the associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;

Returns
Type Description
int

getInlineList()

public abstract List<InlineSecret> getInlineList()

Secrets encrypted with KMS key and the associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;

Returns
Type Description
List<InlineSecret>

getInlineOrBuilder(int index)

public abstract InlineSecretOrBuilder getInlineOrBuilder(int index)

Secrets encrypted with KMS key and the associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;

Parameter
Name Description
index int
Returns
Type Description
InlineSecretOrBuilder

getInlineOrBuilderList()

public abstract List<? extends InlineSecretOrBuilder> getInlineOrBuilderList()

Secrets encrypted with KMS key and the associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.InlineSecretOrBuilder>

getSecretManager(int index)

public abstract SecretManagerSecret getSecretManager(int index)

Secrets in Secret Manager and associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;

Parameter
Name Description
index int
Returns
Type Description
SecretManagerSecret

getSecretManagerCount()

public abstract int getSecretManagerCount()

Secrets in Secret Manager and associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;

Returns
Type Description
int

getSecretManagerList()

public abstract List<SecretManagerSecret> getSecretManagerList()

Secrets in Secret Manager and associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;

Returns
Type Description
List<SecretManagerSecret>

getSecretManagerOrBuilder(int index)

public abstract SecretManagerSecretOrBuilder getSecretManagerOrBuilder(int index)

Secrets in Secret Manager and associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;

Parameter
Name Description
index int
Returns
Type Description
SecretManagerSecretOrBuilder

getSecretManagerOrBuilderList()

public abstract List<? extends SecretManagerSecretOrBuilder> getSecretManagerOrBuilderList()

Secrets in Secret Manager and associated secret environment variable.

repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;

Returns
Type Description
List<? extends com.google.cloudbuild.v1.SecretManagerSecretOrBuilder>