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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsSecretValue(java.lang.String key)The secret value(s) to encrypt as key-value pairs.java.lang.StringgetAuthConfigJson()Optional provider-specific auth configuration as JSON string.com.google.protobuf.ByteStringgetAuthConfigJsonBytes()Optional provider-specific auth configuration as JSON string.java.lang.StringgetCreatedBy()Username of the creatorcom.google.protobuf.ByteStringgetCreatedByBytes()Username of the creatorjava.lang.StringgetProvider()Optional LLM provider (e.g., "openai", "anthropic")com.google.protobuf.ByteStringgetProviderBytes()Optional LLM provider (e.g., "openai", "anthropic")java.lang.StringgetSecretName()User-friendly name for the secret (must be unique)com.google.protobuf.ByteStringgetSecretNameBytes()User-friendly name for the secret (must be unique)java.util.Map<java.lang.String,java.lang.String>getSecretValue()Deprecated.intgetSecretValueCount()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.StringgetSecretValueOrDefault(java.lang.String key, java.lang.String defaultValue)The secret value(s) to encrypt as key-value pairs.java.lang.StringgetSecretValueOrThrow(java.lang.String key)The secret value(s) to encrypt as key-value pairs.booleanhasAuthConfigJson()Optional provider-specific auth configuration as JSON string.booleanhasCreatedBy()Username of the creatorbooleanhasProvider()Optional LLM provider (e.g., "openai", "anthropic")booleanhasSecretName()User-friendly name for the secret (must be unique)-
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.UsegetSecretValueMap()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.
-
-