Interface SecretsOrBuilder (3.32.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloudbuild.v1.SecretManagerSecretOrBuilder>