Package org.mlflow.api.proto
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsAuthConfig(String key) Provider-specific auth configuration (e.g., auth_mode, region, project_id)booleanMasked version of the secret values for display as key-value pairs.Deprecated.intProvider-specific auth configuration (e.g., auth_mode, region, project_id)Provider-specific auth configuration (e.g., auth_mode, region, project_id)getAuthConfigOrDefault(String key, String defaultValue) Provider-specific auth configuration (e.g., auth_mode, region, project_id)Provider-specific auth configuration (e.g., auth_mode, region, project_id)longTimestamp (milliseconds since epoch) when the secret was createdUser ID who created the secretcom.google.protobuf.ByteStringUser ID who created the secretlongTimestamp (milliseconds since epoch) when the secret was last updatedUser ID who last updated the secretcom.google.protobuf.ByteStringUser ID who last updated the secretDeprecated.intMasked version of the secret values for display as key-value pairs.Masked version of the secret values for display as key-value pairs.getMaskedValuesOrDefault(String key, String defaultValue) Masked version of the secret values for display as key-value pairs.Masked version of the secret values for display as key-value pairs.LLM provider identifier (e.g., "openai", "anthropic", "cohere")com.google.protobuf.ByteStringLLM provider identifier (e.g., "openai", "anthropic", "cohere")Unique identifier for the secret (UUID)com.google.protobuf.ByteStringUnique identifier for the secret (UUID)User-friendly name for the secret (must be unique)com.google.protobuf.ByteStringUser-friendly name for the secret (must be unique)booleanTimestamp (milliseconds since epoch) when the secret was createdbooleanUser ID who created the secretbooleanTimestamp (milliseconds since epoch) when the secret was last updatedbooleanUser ID who last updated the secretbooleanLLM provider identifier (e.g., "openai", "anthropic", "cohere")booleanUnique identifier for the secret (UUID)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
-
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
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.UsegetMaskedValuesMap()instead. -
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
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
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
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9; -
getAuthConfig
Deprecated.UsegetAuthConfigMap()instead. -
getAuthConfigMap
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9; -
getAuthConfigOrDefault
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9; -
getAuthConfigOrThrow
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;
-