Package com.google.cloudbuild.v1
Interface SecretOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Secret,Secret.Builder
@Generated
public interface SecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSecretEnv(String key) Map of environment variable name to its encrypted value.Cloud KMS key name to use to decrypt these envs.com.google.protobuf.ByteStringCloud KMS key name to use to decrypt these envs.Deprecated.intMap of environment variable name to its encrypted value.Map of environment variable name to its encrypted value.com.google.protobuf.ByteStringgetSecretEnvOrDefault(String key, com.google.protobuf.ByteString defaultValue) Map of environment variable name to its encrypted value.com.google.protobuf.ByteStringMap of environment variable name to its encrypted value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKmsKeyName
String getKmsKeyName()Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
com.google.protobuf.ByteString getKmsKeyNameBytes()Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;- Returns:
- The bytes for kmsKeyName.
-
getSecretEnvCount
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; -
containsSecretEnv
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; -
getSecretEnv
Deprecated.UsegetSecretEnvMap()instead. -
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
com.google.protobuf.ByteString getSecretEnvOrDefault(String key, com.google.protobuf.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
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;
-