public static final class Secret.Builder extends GeneratedMessageV3.Builder<Secret.Builder> implements SecretOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Secret.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Secret |
|
buildPartial()
public Secret buildPartial()
Returns |
Type |
Description |
Secret |
|
clear()
public Secret.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Secret.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKmsKeyName()
public Secret.Builder clearKmsKeyName()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Secret.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecretEnv()
public Secret.Builder clearSecretEnv()
clone()
public Secret.Builder clone()
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 |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public Secret getDefaultInstanceForType()
Returns |
Type |
Description |
Secret |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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() (deprecated)
public Map<String,ByteString> getMutableSecretEnv()
Use alternate mutation accessors instead.
getSecretEnv() (deprecated)
public Map<String,ByteString> getSecretEnv()
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 |
Type |
Description |
int |
|
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;
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;
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 |
Name |
Description |
key |
String
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Secret other)
public Secret.Builder mergeFrom(Secret other)
Parameter |
Name |
Description |
other |
Secret
|
public Secret.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Secret.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Secret.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public Secret.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Secret.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Secret.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides