Interface Service.CreateGatewaySecretOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Service.CreateGatewaySecret, Service.CreateGatewaySecret.Builder
Enclosing class:
Service

public static interface Service.CreateGatewaySecretOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSecretName

      boolean hasSecretName()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 1;
      Returns:
      Whether the secretName field is set.
    • getSecretName

      String getSecretName()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 1;
      Returns:
      The secretName.
    • getSecretNameBytes

      com.google.protobuf.ByteString getSecretNameBytes()
       User-friendly name for the secret (must be unique)
       
      optional string secret_name = 1;
      Returns:
      The bytes for secretName.
    • getSecretValueCount

      int getSecretValueCount()
       The secret value(s) to encrypt as key-value pairs.
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • containsSecretValue

      boolean containsSecretValue(String key)
       The secret value(s) to encrypt as key-value pairs.
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • getSecretValue

      @Deprecated Map<String,String> getSecretValue()
      Deprecated.
      Use getSecretValueMap() instead.
    • getSecretValueMap

      Map<String,String> getSecretValueMap()
       The secret value(s) to encrypt as key-value pairs.
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • getSecretValueOrDefault

      String getSecretValueOrDefault(String key, String defaultValue)
       The secret value(s) to encrypt as key-value pairs.
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • getSecretValueOrThrow

      String getSecretValueOrThrow(String key)
       The secret value(s) to encrypt as key-value pairs.
       For simple API keys: {"api_key": "sk-xxx"}
       For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
       
      map<string, string> secret_value = 2;
    • hasProvider

      boolean hasProvider()
       Optional LLM provider (e.g., "openai", "anthropic")
       
      optional string provider = 3;
      Returns:
      Whether the provider field is set.
    • getProvider

      String getProvider()
       Optional LLM provider (e.g., "openai", "anthropic")
       
      optional string provider = 3;
      Returns:
      The provider.
    • getProviderBytes

      com.google.protobuf.ByteString getProviderBytes()
       Optional LLM provider (e.g., "openai", "anthropic")
       
      optional string provider = 3;
      Returns:
      The bytes for provider.
    • getAuthConfigCount

      int getAuthConfigCount()
       Optional provider-specific auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 5;
    • containsAuthConfig

      boolean containsAuthConfig(String key)
       Optional provider-specific auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 5;
    • getAuthConfig

      @Deprecated Map<String,String> getAuthConfig()
      Deprecated.
      Use getAuthConfigMap() instead.
    • getAuthConfigMap

      Map<String,String> getAuthConfigMap()
       Optional provider-specific auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 5;
    • getAuthConfigOrDefault

      String getAuthConfigOrDefault(String key, String defaultValue)
       Optional provider-specific auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 5;
    • getAuthConfigOrThrow

      String getAuthConfigOrThrow(String key)
       Optional provider-specific auth configuration.
       For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
       
      map<string, string> auth_config = 5;
    • hasCreatedBy

      boolean hasCreatedBy()
       Username of the creator
       
      optional string created_by = 6;
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      String getCreatedBy()
       Username of the creator
       
      optional string created_by = 6;
      Returns:
      The createdBy.
    • getCreatedByBytes

      com.google.protobuf.ByteString getCreatedByBytes()
       Username of the creator
       
      optional string created_by = 6;
      Returns:
      The bytes for createdBy.