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,Serializable,Service.CreateGatewaySecretOrBuilder
- Enclosing class:
- Service
public static final class Service.CreateGatewaySecret
extends com.google.protobuf.GeneratedMessageV3
implements Service.CreateGatewaySecretOrBuilder
Protobuf type
mlflow.CreateGatewaySecret- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemlflow.CreateGatewaySecretstatic final classProtobuf typemlflow.CreateGatewaySecret.Responsestatic interfaceNested 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final com.google.protobuf.Parser<Service.CreateGatewaySecret>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAuthConfig(String key) Optional provider-specific auth configuration.booleanThe secret value(s) to encrypt as key-value pairs.booleanDeprecated.intOptional provider-specific auth configuration.Optional provider-specific auth configuration.getAuthConfigOrDefault(String key, String defaultValue) Optional provider-specific auth configuration.Optional provider-specific auth configuration.Username of the creatorcom.google.protobuf.ByteStringUsername of the creatorstatic Service.CreateGatewaySecretstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Service.CreateGatewaySecret>Optional LLM provider (e.g., "openai", "anthropic")com.google.protobuf.ByteStringOptional LLM provider (e.g., "openai", "anthropic")User-friendly name for the secret (must be unique)com.google.protobuf.ByteStringUser-friendly name for the secret (must be unique)Deprecated.intThe secret value(s) to encrypt as key-value pairs.The secret value(s) to encrypt as key-value pairs.getSecretValueOrDefault(String key, String defaultValue) The secret value(s) to encrypt as key-value pairs.The secret value(s) to encrypt as key-value pairs.intfinal com.google.protobuf.UnknownFieldSetbooleanUsername of the creatorinthashCode()booleanOptional LLM provider (e.g., "openai", "anthropic")booleanUser-friendly name for the secret (must be unique)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(Service.CreateGatewaySecret prototype) protected Service.CreateGatewaySecret.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Service.CreateGatewaySecretparseDelimitedFrom(InputStream input) static Service.CreateGatewaySecretparseDelimitedFrom(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(InputStream input) static Service.CreateGatewaySecretparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.CreateGatewaySecretparseFrom(ByteBuffer data) static Service.CreateGatewaySecretparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service.CreateGatewaySecret>parser()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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
SECRET_NAME_FIELD_NUMBER
public static final int SECRET_NAME_FIELD_NUMBER- See Also:
-
SECRET_VALUE_FIELD_NUMBER
public static final int SECRET_VALUE_FIELD_NUMBER- See Also:
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER- See Also:
-
AUTH_CONFIG_FIELD_NUMBER
public static final int AUTH_CONFIG_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- 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
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
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.UsegetSecretValueMap()instead.- Specified by:
getSecretValuein interfaceService.CreateGatewaySecretOrBuilder
-
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
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
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
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.
-
getAuthConfigCount
public int getAuthConfigCount()Description copied from interface:Service.CreateGatewaySecretOrBuilderOptional provider-specific auth configuration. For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})map<string, string> auth_config = 5;- Specified by:
getAuthConfigCountin interfaceService.CreateGatewaySecretOrBuilder
-
containsAuthConfig
Optional provider-specific auth configuration. For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})map<string, string> auth_config = 5;- Specified by:
containsAuthConfigin interfaceService.CreateGatewaySecretOrBuilder
-
getAuthConfig
Deprecated.UsegetAuthConfigMap()instead.- Specified by:
getAuthConfigin interfaceService.CreateGatewaySecretOrBuilder
-
getAuthConfigMap
Optional provider-specific auth configuration. For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})map<string, string> auth_config = 5;- Specified by:
getAuthConfigMapin interfaceService.CreateGatewaySecretOrBuilder
-
getAuthConfigOrDefault
Optional provider-specific auth configuration. For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})map<string, string> auth_config = 5;- Specified by:
getAuthConfigOrDefaultin interfaceService.CreateGatewaySecretOrBuilder
-
getAuthConfigOrThrow
Optional provider-specific auth configuration. For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})map<string, string> auth_config = 5;- Specified by:
getAuthConfigOrThrowin interfaceService.CreateGatewaySecretOrBuilder
-
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
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
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(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
- Throws:
IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Service.CreateGatewaySecret parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Service.CreateGatewaySecret parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-