Interface Service.CreateGatewaySecretOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsSecretValue​(java.lang.String key)
      The secret value(s) to encrypt as key-value pairs.
      java.lang.String getAuthConfigJson()
      Optional provider-specific auth configuration as JSON string.
      com.google.protobuf.ByteString getAuthConfigJsonBytes()
      Optional provider-specific auth configuration as JSON string.
      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 hasAuthConfigJson()
      Optional provider-specific auth configuration as JSON string.
      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.
      • hasAuthConfigJson

        boolean hasAuthConfigJson()
         Optional provider-specific auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 5;
        Returns:
        Whether the authConfigJson field is set.
      • getAuthConfigJson

        java.lang.String getAuthConfigJson()
         Optional provider-specific auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 5;
        Returns:
        The authConfigJson.
      • getAuthConfigJsonBytes

        com.google.protobuf.ByteString getAuthConfigJsonBytes()
         Optional provider-specific auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 5;
        Returns:
        The bytes for authConfigJson.
      • 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.