public interface SecretOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsSecretEnv(String key)
public abstract 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;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getKmsKeyName()
public abstract String getKmsKeyName()Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
| Type | Description |
| String | The kmsKeyName. |
getKmsKeyNameBytes()
public abstract ByteString getKmsKeyNameBytes()Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
| Type | Description |
| ByteString | The bytes for kmsKeyName. |
getSecretEnv()
public abstract Map<String,ByteString> getSecretEnv()Use #getSecretEnvMap() instead.
| Type | Description |
| Map<String,ByteString> |
getSecretEnvCount()
public abstract 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;
| Type | Description |
| int |
getSecretEnvMap()
public abstract 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;
| Type | Description |
| Map<String,ByteString> |
getSecretEnvOrDefault(String key, ByteString defaultValue)
public abstract 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;
| Name | Description |
| key | String |
| defaultValue | ByteString |
| Type | Description |
| ByteString |
getSecretEnvOrThrow(String key)
public abstract 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;
| Name | Description |
| key | String |
| Type | Description |
| ByteString |