Interface Service.CreateGatewaySecretOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsAuthConfig​(java.lang.String key)
      Optional provider-specific auth configuration.
      boolean containsSecretValue​(java.lang.String key)
      The secret value(s) to encrypt as key-value pairs.
      java.util.Map<java.lang.String,​java.lang.String> getAuthConfig()
      Deprecated.
      int getAuthConfigCount()
      Optional provider-specific auth configuration.
      java.util.Map<java.lang.String,​java.lang.String> getAuthConfigMap()
      Optional provider-specific auth configuration.
      java.lang.String getAuthConfigOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Optional provider-specific auth configuration.
      java.lang.String getAuthConfigOrThrow​(java.lang.String key)
      Optional provider-specific auth configuration.
      java.lang.String getCreatedBy()
      Username of the creator
      com.google.protobuf.ByteString getCreatedByBytes()
      Username of the creator
      java.lang.String getProvider()
      Optional LLM provider (e.g., "openai", "anthropic")
      com.google.protobuf.ByteString getProviderBytes()
      Optional LLM provider (e.g., "openai", "anthropic")
      java.lang.String getSecretName()
      User-friendly name for the secret (must be unique)
      com.google.protobuf.ByteString getSecretNameBytes()
      User-friendly name for the secret (must be unique)
      java.util.Map<java.lang.String,​java.lang.String> getSecretValue()
      Deprecated.
      int getSecretValueCount()
      The secret value(s) to encrypt as key-value pairs.
      java.util.Map<java.lang.String,​java.lang.String> getSecretValueMap()
      The secret value(s) to encrypt as key-value pairs.
      java.lang.String getSecretValueOrDefault​(java.lang.String key, java.lang.String defaultValue)
      The secret value(s) to encrypt as key-value pairs.
      java.lang.String getSecretValueOrThrow​(java.lang.String key)
      The secret value(s) to encrypt as key-value pairs.
      boolean hasCreatedBy()
      Username of the creator
      boolean hasProvider()
      Optional LLM provider (e.g., "openai", "anthropic")
      boolean hasSecretName()
      User-friendly name for the secret (must be unique)
      • 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 Detail

      • 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

        java.lang.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​(java.lang.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
        java.util.Map<java.lang.String,​java.lang.String> getSecretValue()
        Deprecated.
        Use getSecretValueMap() instead.
      • getSecretValueMap

        java.util.Map<java.lang.String,​java.lang.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

        java.lang.String getSecretValueOrDefault​(java.lang.String key,
                                                 java.lang.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

        java.lang.String getSecretValueOrThrow​(java.lang.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

        java.lang.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​(java.lang.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
        java.util.Map<java.lang.String,​java.lang.String> getAuthConfig()
        Deprecated.
        Use getAuthConfigMap() instead.
      • getAuthConfigMap

        java.util.Map<java.lang.String,​java.lang.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

        java.lang.String getAuthConfigOrDefault​(java.lang.String key,
                                                java.lang.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

        java.lang.String getAuthConfigOrThrow​(java.lang.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

        java.lang.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.