public static final class Secrets.Builder extends GeneratedMessageV3.Builder<Secrets.Builder> implements SecretsOrBuilder
Secrets and secret environment variables.
Protobuf type google.devtools.cloudbuild.v1.Secrets
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInline(Iterable<? extends InlineSecret> values)
public Secrets.Builder addAllInline(Iterable<? extends InlineSecret> values)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloudbuild.v1.InlineSecret>
|
Returns
addAllSecretManager(Iterable<? extends SecretManagerSecret> values)
public Secrets.Builder addAllSecretManager(Iterable<? extends SecretManagerSecret> values)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloudbuild.v1.SecretManagerSecret>
|
Returns
addInline(InlineSecret value)
public Secrets.Builder addInline(InlineSecret value)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
addInline(InlineSecret.Builder builderForValue)
public Secrets.Builder addInline(InlineSecret.Builder builderForValue)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
addInline(int index, InlineSecret value)
public Secrets.Builder addInline(int index, InlineSecret value)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameters
Returns
addInline(int index, InlineSecret.Builder builderForValue)
public Secrets.Builder addInline(int index, InlineSecret.Builder builderForValue)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameters
Returns
addInlineBuilder()
public InlineSecret.Builder addInlineBuilder()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
addInlineBuilder(int index)
public InlineSecret.Builder addInlineBuilder(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Secrets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSecretManager(SecretManagerSecret value)
public Secrets.Builder addSecretManager(SecretManagerSecret value)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
addSecretManager(SecretManagerSecret.Builder builderForValue)
public Secrets.Builder addSecretManager(SecretManagerSecret.Builder builderForValue)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
addSecretManager(int index, SecretManagerSecret value)
public Secrets.Builder addSecretManager(int index, SecretManagerSecret value)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameters
Returns
addSecretManager(int index, SecretManagerSecret.Builder builderForValue)
public Secrets.Builder addSecretManager(int index, SecretManagerSecret.Builder builderForValue)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameters
Returns
addSecretManagerBuilder()
public SecretManagerSecret.Builder addSecretManagerBuilder()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
addSecretManagerBuilder(int index)
public SecretManagerSecret.Builder addSecretManagerBuilder(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
build()
Returns
buildPartial()
public Secrets buildPartial()
Returns
clear()
public Secrets.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Secrets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInline()
public Secrets.Builder clearInline()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Secrets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecretManager()
public Secrets.Builder clearSecretManager()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
clone()
public Secrets.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Secrets getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInline(int index)
public InlineSecret getInline(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
getInlineBuilder(int index)
public InlineSecret.Builder getInlineBuilder(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
getInlineBuilderList()
public List<InlineSecret.Builder> getInlineBuilderList()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
getInlineCount()
public int getInlineCount()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
getInlineList()
public List<InlineSecret> getInlineList()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
getInlineOrBuilder(int index)
public InlineSecretOrBuilder getInlineOrBuilder(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
getInlineOrBuilderList()
public 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 SecretManagerSecret getSecretManager(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
getSecretManagerBuilder(int index)
public SecretManagerSecret.Builder getSecretManagerBuilder(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
getSecretManagerBuilderList()
public List<SecretManagerSecret.Builder> getSecretManagerBuilderList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
getSecretManagerCount()
public int getSecretManagerCount()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
getSecretManagerList()
public List<SecretManagerSecret> getSecretManagerList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
getSecretManagerOrBuilder(int index)
public SecretManagerSecretOrBuilder getSecretManagerOrBuilder(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
getSecretManagerOrBuilderList()
public 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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Secrets other)
public Secrets.Builder mergeFrom(Secrets other)
Parameter
Returns
public Secrets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Secrets.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Secrets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInline(int index)
public Secrets.Builder removeInline(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
removeSecretManager(int index)
public Secrets.Builder removeSecretManager(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Secrets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInline(int index, InlineSecret value)
public Secrets.Builder setInline(int index, InlineSecret value)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameters
Returns
setInline(int index, InlineSecret.Builder builderForValue)
public Secrets.Builder setInline(int index, InlineSecret.Builder builderForValue)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Secrets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSecretManager(int index, SecretManagerSecret value)
public Secrets.Builder setSecretManager(int index, SecretManagerSecret value)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameters
Returns
setSecretManager(int index, SecretManagerSecret.Builder builderForValue)
public Secrets.Builder setSecretManager(int index, SecretManagerSecret.Builder builderForValue)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Secrets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides