Interface Service.GatewaySecretInfoOrBuilder

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

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

    • hasSecretId

      boolean hasSecretId()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Returns:
      Whether the secretId field is set.
    • getSecretId

      String getSecretId()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Returns:
      The secretId.
    • getSecretIdBytes

      com.google.protobuf.ByteString getSecretIdBytes()
       Unique identifier for the secret (UUID)
       
      optional string secret_id = 1;
      Returns:
      The bytes for secretId.
    • hasSecretName

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

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

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

      int getMaskedValuesCount()
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
    • containsMaskedValues

      boolean containsMaskedValues(String key)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
    • getMaskedValues

      @Deprecated Map<String,String> getMaskedValues()
      Deprecated.
    • getMaskedValuesMap

      Map<String,String> getMaskedValuesMap()
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
    • getMaskedValuesOrDefault

      String getMaskedValuesOrDefault(String key, String defaultValue)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
    • getMaskedValuesOrThrow

      String getMaskedValuesOrThrow(String key)
       Masked version of the secret values for display as key-value pairs.
       For simple API keys: {"api_key": "sk-...xyz123"}
       For compound credentials: ``{"aws_access_key_id": "AKI...1234", "aws_secret_access_key": "***"}``
       
      map<string, string> masked_values = 3;
    • hasCreatedAt

      boolean hasCreatedAt()
       Timestamp (milliseconds since epoch) when the secret was created
       
      optional int64 created_at = 4;
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      long getCreatedAt()
       Timestamp (milliseconds since epoch) when the secret was created
       
      optional int64 created_at = 4;
      Returns:
      The createdAt.
    • hasLastUpdatedAt

      boolean hasLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the secret was last updated
       
      optional int64 last_updated_at = 5;
      Returns:
      Whether the lastUpdatedAt field is set.
    • getLastUpdatedAt

      long getLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the secret was last updated
       
      optional int64 last_updated_at = 5;
      Returns:
      The lastUpdatedAt.
    • hasProvider

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

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

      com.google.protobuf.ByteString getProviderBytes()
       LLM provider identifier (e.g., "openai", "anthropic", "cohere")
       
      optional string provider = 6;
      Returns:
      The bytes for provider.
    • hasCreatedBy

      boolean hasCreatedBy()
       User ID who created the secret
       
      optional string created_by = 7;
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      String getCreatedBy()
       User ID who created the secret
       
      optional string created_by = 7;
      Returns:
      The createdBy.
    • getCreatedByBytes

      com.google.protobuf.ByteString getCreatedByBytes()
       User ID who created the secret
       
      optional string created_by = 7;
      Returns:
      The bytes for createdBy.
    • hasLastUpdatedBy

      boolean hasLastUpdatedBy()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Returns:
      Whether the lastUpdatedBy field is set.
    • getLastUpdatedBy

      String getLastUpdatedBy()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Returns:
      The lastUpdatedBy.
    • getLastUpdatedByBytes

      com.google.protobuf.ByteString getLastUpdatedByBytes()
       User ID who last updated the secret
       
      optional string last_updated_by = 8;
      Returns:
      The bytes for lastUpdatedBy.
    • getAuthConfigCount

      int getAuthConfigCount()
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
    • containsAuthConfig

      boolean containsAuthConfig(String key)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
    • getAuthConfig

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

      Map<String,String> getAuthConfigMap()
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
    • getAuthConfigOrDefault

      String getAuthConfigOrDefault(String key, String defaultValue)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;
    • getAuthConfigOrThrow

      String getAuthConfigOrThrow(String key)
       Provider-specific auth configuration (e.g., auth_mode, region, project_id)
       
      map<string, string> auth_config = 9;