Package org.mlflow.api.proto
Class Service.UpdateGatewaySecret
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.Service.UpdateGatewaySecret
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Service.UpdateGatewaySecretOrBuilder
- Enclosing class:
- Service
public static final class Service.UpdateGatewaySecret extends com.google.protobuf.GeneratedMessageV3 implements Service.UpdateGatewaySecretOrBuilder
Protobuf typemlflow.UpdateGatewaySecret- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classService.UpdateGatewaySecret.BuilderProtobuf typemlflow.UpdateGatewaySecretstatic classService.UpdateGatewaySecret.ResponseProtobuf typemlflow.UpdateGatewaySecret.Responsestatic interfaceService.UpdateGatewaySecret.ResponseOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_CONFIG_JSON_FIELD_NUMBERstatic com.google.protobuf.Parser<Service.UpdateGatewaySecret>PARSERDeprecated.static intSECRET_ID_FIELD_NUMBERstatic intSECRET_VALUE_FIELD_NUMBERstatic intUPDATED_BY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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).booleanequals(java.lang.Object obj)java.lang.StringgetAuthConfigJson()Optional new auth configuration as JSON string.com.google.protobuf.ByteStringgetAuthConfigJsonBytes()Optional new auth configuration as JSON string.static Service.UpdateGatewaySecretgetDefaultInstance()Service.UpdateGatewaySecretgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Service.UpdateGatewaySecret>getParserForType()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).intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetUpdatedBy()Username of the updatercom.google.protobuf.ByteStringgetUpdatedByBytes()Username of the updaterbooleanhasAuthConfigJson()Optional new auth configuration as JSON string.inthashCode()booleanhasSecretId()ID of the secret to updatebooleanhasUpdatedBy()Username of the updaterprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Service.UpdateGatewaySecret.BuildernewBuilder()static Service.UpdateGatewaySecret.BuildernewBuilder(Service.UpdateGatewaySecret prototype)Service.UpdateGatewaySecret.BuildernewBuilderForType()protected Service.UpdateGatewaySecret.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Service.UpdateGatewaySecretparseDelimitedFrom(java.io.InputStream input)static Service.UpdateGatewaySecretparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.UpdateGatewaySecretparseFrom(byte[] data)static Service.UpdateGatewaySecretparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.UpdateGatewaySecretparseFrom(com.google.protobuf.ByteString data)static Service.UpdateGatewaySecretparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.UpdateGatewaySecretparseFrom(com.google.protobuf.CodedInputStream input)static Service.UpdateGatewaySecretparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.UpdateGatewaySecretparseFrom(java.io.InputStream input)static Service.UpdateGatewaySecretparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.UpdateGatewaySecretparseFrom(java.nio.ByteBuffer data)static Service.UpdateGatewaySecretparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Service.UpdateGatewaySecret>parser()Service.UpdateGatewaySecret.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SECRET_ID_FIELD_NUMBER
public static final int SECRET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_VALUE_FIELD_NUMBER
public static final int SECRET_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTH_CONFIG_JSON_FIELD_NUMBER
public static final int AUTH_CONFIG_JSON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATED_BY_FIELD_NUMBER
public static final int UPDATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Service.UpdateGatewaySecret> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSecretId
public boolean hasSecretId()
ID of the secret to update
optional string secret_id = 1;- Specified by:
hasSecretIdin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- Whether the secretId field is set.
-
getSecretId
public java.lang.String getSecretId()
ID of the secret to update
optional string secret_id = 1;- Specified by:
getSecretIdin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The secretId.
-
getSecretIdBytes
public com.google.protobuf.ByteString getSecretIdBytes()
ID of the secret to update
optional string secret_id = 1;- Specified by:
getSecretIdBytesin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The bytes for secretId.
-
getSecretValueCount
public int getSecretValueCount()
Description copied from interface:Service.UpdateGatewaySecretOrBuilderOptional 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;- Specified by:
getSecretValueCountin interfaceService.UpdateGatewaySecretOrBuilder
-
containsSecretValue
public 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;- Specified by:
containsSecretValuein interfaceService.UpdateGatewaySecretOrBuilder
-
getSecretValue
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSecretValue()
Deprecated.UsegetSecretValueMap()instead.- Specified by:
getSecretValuein interfaceService.UpdateGatewaySecretOrBuilder
-
getSecretValueMap
public 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;- Specified by:
getSecretValueMapin interfaceService.UpdateGatewaySecretOrBuilder
-
getSecretValueOrDefault
public 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;- Specified by:
getSecretValueOrDefaultin interfaceService.UpdateGatewaySecretOrBuilder
-
getSecretValueOrThrow
public 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;- Specified by:
getSecretValueOrThrowin interfaceService.UpdateGatewaySecretOrBuilder
-
hasAuthConfigJson
public 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;- Specified by:
hasAuthConfigJsonin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- Whether the authConfigJson field is set.
-
getAuthConfigJson
public 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;- Specified by:
getAuthConfigJsonin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The authConfigJson.
-
getAuthConfigJsonBytes
public 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;- Specified by:
getAuthConfigJsonBytesin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The bytes for authConfigJson.
-
hasUpdatedBy
public boolean hasUpdatedBy()
Username of the updater
optional string updated_by = 5;- Specified by:
hasUpdatedByin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- Whether the updatedBy field is set.
-
getUpdatedBy
public java.lang.String getUpdatedBy()
Username of the updater
optional string updated_by = 5;- Specified by:
getUpdatedByin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The updatedBy.
-
getUpdatedByBytes
public com.google.protobuf.ByteString getUpdatedByBytes()
Username of the updater
optional string updated_by = 5;- Specified by:
getUpdatedByBytesin interfaceService.UpdateGatewaySecretOrBuilder- Returns:
- The bytes for updatedBy.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.UpdateGatewaySecret parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.UpdateGatewaySecret parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.UpdateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Service.UpdateGatewaySecret.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.UpdateGatewaySecret.Builder newBuilder()
-
newBuilder
public static Service.UpdateGatewaySecret.Builder newBuilder(Service.UpdateGatewaySecret prototype)
-
toBuilder
public Service.UpdateGatewaySecret.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.UpdateGatewaySecret.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Service.UpdateGatewaySecret getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service.UpdateGatewaySecret> parser()
-
getParserForType
public com.google.protobuf.Parser<Service.UpdateGatewaySecret> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.UpdateGatewaySecret getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-