Package org.mlflow.api.proto
Interface Service.UpdateGatewaySecretOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.UpdateGatewaySecret,Service.UpdateGatewaySecret.Builder
- Enclosing class:
- Service
public static interface Service.UpdateGatewaySecretOrBuilder 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)Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).java.lang.StringgetAuthConfigJson()Optional new auth configuration as JSON string.com.google.protobuf.ByteStringgetAuthConfigJsonBytes()Optional new auth configuration as JSON string.java.lang.StringgetSecretId()ID of the secret to updatecom.google.protobuf.ByteStringgetSecretIdBytes()ID of the secret to updatejava.util.Map<java.lang.String,java.lang.String>getSecretValue()Deprecated.intgetSecretValueCount()Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).java.util.Map<java.lang.String,java.lang.String>getSecretValueMap()Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).java.lang.StringgetSecretValueOrDefault(java.lang.String key, java.lang.String defaultValue)Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).java.lang.StringgetSecretValueOrThrow(java.lang.String key)Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).java.lang.StringgetUpdatedBy()Username of the updatercom.google.protobuf.ByteStringgetUpdatedByBytes()Username of the updaterbooleanhasAuthConfigJson()Optional new auth configuration as JSON string.booleanhasSecretId()ID of the secret to updatebooleanhasUpdatedBy()Username of the updater-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSecretId
boolean hasSecretId()
ID of the secret to update
optional string secret_id = 1;- Returns:
- Whether the secretId field is set.
-
getSecretId
java.lang.String getSecretId()
ID of the secret to update
optional string secret_id = 1;- Returns:
- The secretId.
-
getSecretIdBytes
com.google.protobuf.ByteString getSecretIdBytes()
ID of the secret to update
optional string secret_id = 1;- Returns:
- The bytes for secretId.
-
getSecretValueCount
int getSecretValueCount()
Optional new secret value(s) for key rotation as key-value pairs (empty map = no change). 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)
Optional new secret value(s) for key rotation as key-value pairs (empty map = no change). 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()
Optional new secret value(s) for key rotation as key-value pairs (empty map = no change). 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)Optional new secret value(s) for key rotation as key-value pairs (empty map = no change). 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)
Optional new secret value(s) for key rotation as key-value pairs (empty map = no change). 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;
-
hasAuthConfigJson
boolean hasAuthConfigJson()
Optional new 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 = 4;- Returns:
- Whether the authConfigJson field is set.
-
getAuthConfigJson
java.lang.String getAuthConfigJson()
Optional new 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 = 4;- Returns:
- The authConfigJson.
-
getAuthConfigJsonBytes
com.google.protobuf.ByteString getAuthConfigJsonBytes()
Optional new 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 = 4;- Returns:
- The bytes for authConfigJson.
-
hasUpdatedBy
boolean hasUpdatedBy()
Username of the updater
optional string updated_by = 5;- Returns:
- Whether the updatedBy field is set.
-
getUpdatedBy
java.lang.String getUpdatedBy()
Username of the updater
optional string updated_by = 5;- Returns:
- The updatedBy.
-
getUpdatedByBytes
com.google.protobuf.ByteString getUpdatedByBytes()
Username of the updater
optional string updated_by = 5;- Returns:
- The bytes for updatedBy.
-
-