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 Type
    Method
    Description
    boolean
    Map of environment variable name to its encrypted value.
    Cloud KMS key name to use to decrypt these envs.
    com.google.protobuf.ByteString
    Cloud KMS key name to use to decrypt these envs.
    Map<String,com.google.protobuf.ByteString>
    Deprecated.
    int
    Map of environment variable name to its encrypted value.
    Map<String,com.google.protobuf.ByteString>
    Map of environment variable name to its encrypted value.
    com.google.protobuf.ByteString
    getSecretEnvOrDefault(String key, com.google.protobuf.ByteString defaultValue)
    Map of environment variable name to its encrypted value.
    com.google.protobuf.ByteString
    Map of environment variable name to its encrypted value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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;
    • getSecretEnv

      @Deprecated Map<String,com.google.protobuf.ByteString> getSecretEnv()
      Deprecated.
      Use getSecretEnvMap() instead.
    • getSecretEnvMap

      Map<String,com.google.protobuf.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

      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

      com.google.protobuf.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;