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()
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>
|
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>
|
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;
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;
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;
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;
addInlineBuilder()
public InlineSecret.Builder addInlineBuilder()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Secrets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addSecretManagerBuilder()
public SecretManagerSecret.Builder addSecretManagerBuilder()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
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 |
---|
Name | Description |
index | int
|
build()
buildPartial()
public Secrets buildPartial()
clear()
public Secrets.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Secrets.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Secrets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecretManager()
public Secrets.Builder clearSecretManager()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
clone()
public Secrets.Builder clone()
Overrides
getDefaultInstanceForType()
public Secrets getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
getInlineCount()
public 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 List<InlineSecret> getInlineList()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getSecretManagerBuilderList()
public List<SecretManagerSecret.Builder> getSecretManagerBuilderList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
getSecretManagerCount()
public 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 List<SecretManagerSecret> getSecretManagerList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Secrets other)
public Secrets.Builder mergeFrom(Secrets other)
Parameter |
---|
Name | Description |
other | Secrets
|
public Secrets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Secrets.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Secrets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Secrets.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Secrets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Secrets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides