Package org.mlflow.api.proto
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsAuthConfig(String key) Optional provider-specific auth configuration.booleanThe secret value(s) to encrypt as key-value pairs.Deprecated.intOptional provider-specific auth configuration.Optional provider-specific auth configuration.getAuthConfigOrDefault(String key, String defaultValue) Optional provider-specific auth configuration.Optional provider-specific auth configuration.Username of the creatorcom.google.protobuf.ByteStringUsername of the creatorOptional LLM provider (e.g., "openai", "anthropic")com.google.protobuf.ByteStringOptional LLM provider (e.g., "openai", "anthropic")User-friendly name for the secret (must be unique)com.google.protobuf.ByteStringUser-friendly name for the secret (must be unique)Deprecated.intThe secret value(s) to encrypt as key-value pairs.The secret value(s) to encrypt as key-value pairs.getSecretValueOrDefault(String key, String defaultValue) The secret value(s) to encrypt as key-value pairs.The secret value(s) to encrypt as key-value pairs.booleanUsername of the creatorbooleanOptional LLM provider (e.g., "openai", "anthropic")booleanUser-friendly name for the secret (must be unique)Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.UsegetSecretValueMap()instead. -
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
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
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
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.UsegetAuthConfigMap()instead. -
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
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
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.
-