public static final class Secret.Builder extends GeneratedMessageV3.Builder<Secret.Builder> implements SecretOrBuilder
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Secret.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Secret buildPartial()
Returns
clear()
public Secret.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Secret.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKmsKeyName()
public Secret.Builder clearKmsKeyName()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Secret.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecretEnv()
public Secret.Builder clearSecretEnv()
Returns
clone()
public Secret.Builder clone()
Returns
Overrides
containsSecretEnv(String key)
public boolean containsSecretEnv(String key)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameter
Returns
getDefaultInstanceForType()
public Secret getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getKmsKeyName()
public String getKmsKeyName()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Returns
Type | Description |
String | The kmsKeyName.
|
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Returns
Type | Description |
ByteString | The bytes for kmsKeyName.
|
getMutableSecretEnv()
public Map<String,ByteString> getMutableSecretEnv()
Use alternate mutation accessors instead.
Returns
getSecretEnv()
public Map<String,ByteString> getSecretEnv()
Returns
getSecretEnvCount()
public int getSecretEnvCount()
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Returns
getSecretEnvMap()
public Map<String,ByteString> getSecretEnvMap()
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Returns
getSecretEnvOrDefault(String key, ByteString defaultValue)
public ByteString getSecretEnvOrDefault(String key, ByteString defaultValue)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameters
Returns
getSecretEnvOrThrow(String key)
public ByteString getSecretEnvOrThrow(String key)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Secret other)
public Secret.Builder mergeFrom(Secret other)
Parameter
Returns
public Secret.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Secret.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Secret.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllSecretEnv(Map<String,ByteString> values)
public Secret.Builder putAllSecretEnv(Map<String,ByteString> values)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameter
Returns
putSecretEnv(String key, ByteString value)
public Secret.Builder putSecretEnv(String key, ByteString value)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameters
Returns
removeSecretEnv(String key)
public Secret.Builder removeSecretEnv(String key)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
map<string, bytes> secret_env = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Secret.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKmsKeyName(String value)
public Secret.Builder setKmsKeyName(String value)
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Parameter
Name | Description |
value | String
The kmsKeyName to set.
|
Returns
setKmsKeyNameBytes(ByteString value)
public Secret.Builder setKmsKeyNameBytes(ByteString value)
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for kmsKeyName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Secret.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Secret.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides