Package org.mlflow.api.proto
Class Service.CreateGatewaySecret
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.Service.CreateGatewaySecret
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Service.CreateGatewaySecretOrBuilder
- Enclosing class:
- Service
public static final class Service.CreateGatewaySecret extends com.google.protobuf.GeneratedMessageV3 implements Service.CreateGatewaySecretOrBuilder
Protobuf typemlflow.CreateGatewaySecret- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classService.CreateGatewaySecret.BuilderProtobuf typemlflow.CreateGatewaySecretstatic classService.CreateGatewaySecret.ResponseProtobuf typemlflow.CreateGatewaySecret.Responsestatic interfaceService.CreateGatewaySecret.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 intCREATED_BY_FIELD_NUMBERstatic com.google.protobuf.Parser<Service.CreateGatewaySecret>PARSERDeprecated.static intPROVIDER_FIELD_NUMBERstatic intSECRET_NAME_FIELD_NUMBERstatic intSECRET_VALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsSecretValue(java.lang.String key)The secret value(s) to encrypt as key-value pairs.booleanequals(java.lang.Object obj)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 creatorstatic Service.CreateGatewaySecretgetDefaultInstance()Service.CreateGatewaySecretgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Service.CreateGatewaySecret>getParserForType()java.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.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAuthConfigJson()Optional provider-specific auth configuration as JSON string.booleanhasCreatedBy()Username of the creatorinthashCode()booleanhasProvider()Optional LLM provider (e.g., "openai", "anthropic")booleanhasSecretName()User-friendly name for the secret (must be unique)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Service.CreateGatewaySecret.BuildernewBuilder()static Service.CreateGatewaySecret.BuildernewBuilder(Service.CreateGatewaySecret prototype)Service.CreateGatewaySecret.BuildernewBuilderForType()protected Service.CreateGatewaySecret.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Service.CreateGatewaySecretparseDelimitedFrom(java.io.InputStream input)static Service.CreateGatewaySecretparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.CreateGatewaySecretparseFrom(byte[] data)static Service.CreateGatewaySecretparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.CreateGatewaySecretparseFrom(com.google.protobuf.ByteString data)static Service.CreateGatewaySecretparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.CreateGatewaySecretparseFrom(com.google.protobuf.CodedInputStream input)static Service.CreateGatewaySecretparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.CreateGatewaySecretparseFrom(java.io.InputStream input)static Service.CreateGatewaySecretparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.CreateGatewaySecretparseFrom(java.nio.ByteBuffer data)static Service.CreateGatewaySecretparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Service.CreateGatewaySecret>parser()Service.CreateGatewaySecret.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_NAME_FIELD_NUMBER
public static final int SECRET_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_VALUE_FIELD_NUMBER
public static final int SECRET_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_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
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Service.CreateGatewaySecret> 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
-
hasSecretName
public boolean hasSecretName()
User-friendly name for the secret (must be unique)
optional string secret_name = 1;- Specified by:
hasSecretNamein interfaceService.CreateGatewaySecretOrBuilder- Returns:
- Whether the secretName field is set.
-
getSecretName
public java.lang.String getSecretName()
User-friendly name for the secret (must be unique)
optional string secret_name = 1;- Specified by:
getSecretNamein interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The secretName.
-
getSecretNameBytes
public com.google.protobuf.ByteString getSecretNameBytes()
User-friendly name for the secret (must be unique)
optional string secret_name = 1;- Specified by:
getSecretNameBytesin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The bytes for secretName.
-
getSecretValueCount
public int getSecretValueCount()
Description copied from interface:Service.CreateGatewaySecretOrBuilderThe 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;- Specified by:
getSecretValueCountin interfaceService.CreateGatewaySecretOrBuilder
-
containsSecretValue
public 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;- Specified by:
containsSecretValuein interfaceService.CreateGatewaySecretOrBuilder
-
getSecretValue
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSecretValue()
Deprecated.UsegetSecretValueMap()instead.- Specified by:
getSecretValuein interfaceService.CreateGatewaySecretOrBuilder
-
getSecretValueMap
public 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;- Specified by:
getSecretValueMapin interfaceService.CreateGatewaySecretOrBuilder
-
getSecretValueOrDefault
public 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;- Specified by:
getSecretValueOrDefaultin interfaceService.CreateGatewaySecretOrBuilder
-
getSecretValueOrThrow
public 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;- Specified by:
getSecretValueOrThrowin interfaceService.CreateGatewaySecretOrBuilder
-
hasProvider
public boolean hasProvider()
Optional LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Specified by:
hasProviderin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- Whether the provider field is set.
-
getProvider
public java.lang.String getProvider()
Optional LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Specified by:
getProviderin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The provider.
-
getProviderBytes
public com.google.protobuf.ByteString getProviderBytes()
Optional LLM provider (e.g., "openai", "anthropic")
optional string provider = 3;- Specified by:
getProviderBytesin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The bytes for provider.
-
hasAuthConfigJson
public 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;- Specified by:
hasAuthConfigJsonin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- Whether the authConfigJson field is set.
-
getAuthConfigJson
public 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;- Specified by:
getAuthConfigJsonin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The authConfigJson.
-
getAuthConfigJsonBytes
public 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;- Specified by:
getAuthConfigJsonBytesin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The bytes for authConfigJson.
-
hasCreatedBy
public boolean hasCreatedBy()
Username of the creator
optional string created_by = 6;- Specified by:
hasCreatedByin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
public java.lang.String getCreatedBy()
Username of the creator
optional string created_by = 6;- Specified by:
getCreatedByin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
Username of the creator
optional string created_by = 6;- Specified by:
getCreatedByBytesin interfaceService.CreateGatewaySecretOrBuilder- Returns:
- The bytes for createdBy.
-
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.CreateGatewaySecret parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret 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.CreateGatewaySecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.CreateGatewaySecret parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.CreateGatewaySecret parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Service.CreateGatewaySecret.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.CreateGatewaySecret.Builder newBuilder()
-
newBuilder
public static Service.CreateGatewaySecret.Builder newBuilder(Service.CreateGatewaySecret prototype)
-
toBuilder
public Service.CreateGatewaySecret.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.CreateGatewaySecret.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Service.CreateGatewaySecret getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service.CreateGatewaySecret> parser()
-
getParserForType
public com.google.protobuf.Parser<Service.CreateGatewaySecret> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.CreateGatewaySecret getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-