Package org.mlflow.api.proto
Class Service.GatewaySecretInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.GatewaySecretInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Service.GatewaySecretInfoOrBuilder
- Enclosing class:
- Service
public static final class Service.GatewaySecretInfo
extends com.google.protobuf.GeneratedMessageV3
implements Service.GatewaySecretInfoOrBuilder
Secret metadata entity (does not include the decrypted secret value)Protobuf type
mlflow.GatewaySecretInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSecret metadata entity (does not include the decrypted secret value)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 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 intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Service.GatewaySecretInfo>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) Provider-specific auth configuration (e.g., auth_mode, region, project_id)booleanMasked version of the secret values for display as key-value pairs.booleanDeprecated.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 secretstatic Service.GatewaySecretInfostatic final com.google.protobuf.Descriptors.DescriptorlongTimestamp (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.com.google.protobuf.Parser<Service.GatewaySecretInfo>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)intfinal com.google.protobuf.UnknownFieldSetbooleanTimestamp (milliseconds since epoch) when the secret was createdbooleanUser ID who created the secretinthashCode()booleanTimestamp (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)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(Service.GatewaySecretInfo prototype) protected Service.GatewaySecretInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Service.GatewaySecretInfoparseDelimitedFrom(InputStream input) static Service.GatewaySecretInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewaySecretInfoparseFrom(byte[] data) static Service.GatewaySecretInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewaySecretInfoparseFrom(com.google.protobuf.ByteString data) static Service.GatewaySecretInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewaySecretInfoparseFrom(com.google.protobuf.CodedInputStream input) static Service.GatewaySecretInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewaySecretInfoparseFrom(InputStream input) static Service.GatewaySecretInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewaySecretInfoparseFrom(ByteBuffer data) static Service.GatewaySecretInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service.GatewaySecretInfo>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_ID_FIELD_NUMBER
public static final int SECRET_ID_FIELD_NUMBER- See Also:
-
SECRET_NAME_FIELD_NUMBER
public static final int SECRET_NAME_FIELD_NUMBER- See Also:
-
MASKED_VALUES_FIELD_NUMBER
public static final int MASKED_VALUES_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
LAST_UPDATED_AT_FIELD_NUMBER
public static final int LAST_UPDATED_AT_FIELD_NUMBER- See Also:
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER- See Also:
-
LAST_UPDATED_BY_FIELD_NUMBER
public static final int LAST_UPDATED_BY_FIELD_NUMBER- See Also:
-
AUTH_CONFIG_FIELD_NUMBER
public static final int AUTH_CONFIG_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
-
hasSecretId
public boolean hasSecretId()Unique identifier for the secret (UUID)
optional string secret_id = 1;- Specified by:
hasSecretIdin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the secretId field is set.
-
getSecretId
Unique identifier for the secret (UUID)
optional string secret_id = 1;- Specified by:
getSecretIdin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The secretId.
-
getSecretIdBytes
public com.google.protobuf.ByteString getSecretIdBytes()Unique identifier for the secret (UUID)
optional string secret_id = 1;- Specified by:
getSecretIdBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for secretId.
-
hasSecretName
public boolean hasSecretName()User-friendly name for the secret (must be unique)
optional string secret_name = 2;- Specified by:
hasSecretNamein interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the secretName field is set.
-
getSecretName
User-friendly name for the secret (must be unique)
optional string secret_name = 2;- Specified by:
getSecretNamein interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The secretName.
-
getSecretNameBytes
public com.google.protobuf.ByteString getSecretNameBytes()User-friendly name for the secret (must be unique)
optional string secret_name = 2;- Specified by:
getSecretNameBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for secretName.
-
getMaskedValuesCount
public int getMaskedValuesCount()Description copied from interface:Service.GatewaySecretInfoOrBuilderMasked 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;- Specified by:
getMaskedValuesCountin interfaceService.GatewaySecretInfoOrBuilder
-
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;- Specified by:
containsMaskedValuesin interfaceService.GatewaySecretInfoOrBuilder
-
getMaskedValues
Deprecated.UsegetMaskedValuesMap()instead.- Specified by:
getMaskedValuesin interfaceService.GatewaySecretInfoOrBuilder
-
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;- Specified by:
getMaskedValuesMapin interfaceService.GatewaySecretInfoOrBuilder
-
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;- Specified by:
getMaskedValuesOrDefaultin interfaceService.GatewaySecretInfoOrBuilder
-
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;- Specified by:
getMaskedValuesOrThrowin interfaceService.GatewaySecretInfoOrBuilder
-
hasCreatedAt
public boolean hasCreatedAt()Timestamp (milliseconds since epoch) when the secret was created
optional int64 created_at = 4;- Specified by:
hasCreatedAtin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public long getCreatedAt()Timestamp (milliseconds since epoch) when the secret was created
optional int64 created_at = 4;- Specified by:
getCreatedAtin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The createdAt.
-
hasLastUpdatedAt
public boolean hasLastUpdatedAt()Timestamp (milliseconds since epoch) when the secret was last updated
optional int64 last_updated_at = 5;- Specified by:
hasLastUpdatedAtin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
public long getLastUpdatedAt()Timestamp (milliseconds since epoch) when the secret was last updated
optional int64 last_updated_at = 5;- Specified by:
getLastUpdatedAtin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The lastUpdatedAt.
-
hasProvider
public boolean hasProvider()LLM provider identifier (e.g., "openai", "anthropic", "cohere")
optional string provider = 6;- Specified by:
hasProviderin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the provider field is set.
-
getProvider
LLM provider identifier (e.g., "openai", "anthropic", "cohere")
optional string provider = 6;- Specified by:
getProviderin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The provider.
-
getProviderBytes
public com.google.protobuf.ByteString getProviderBytes()LLM provider identifier (e.g., "openai", "anthropic", "cohere")
optional string provider = 6;- Specified by:
getProviderBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for provider.
-
hasCreatedBy
public boolean hasCreatedBy()User ID who created the secret
optional string created_by = 7;- Specified by:
hasCreatedByin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
User ID who created the secret
optional string created_by = 7;- Specified by:
getCreatedByin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()User ID who created the secret
optional string created_by = 7;- Specified by:
getCreatedByBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for createdBy.
-
hasLastUpdatedBy
public boolean hasLastUpdatedBy()User ID who last updated the secret
optional string last_updated_by = 8;- Specified by:
hasLastUpdatedByin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the lastUpdatedBy field is set.
-
getLastUpdatedBy
User ID who last updated the secret
optional string last_updated_by = 8;- Specified by:
getLastUpdatedByin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The lastUpdatedBy.
-
getLastUpdatedByBytes
public com.google.protobuf.ByteString getLastUpdatedByBytes()User ID who last updated the secret
optional string last_updated_by = 8;- Specified by:
getLastUpdatedByBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for lastUpdatedBy.
-
getAuthConfigCount
public int getAuthConfigCount()Description copied from interface:Service.GatewaySecretInfoOrBuilderProvider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;- Specified by:
getAuthConfigCountin interfaceService.GatewaySecretInfoOrBuilder
-
containsAuthConfig
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;- Specified by:
containsAuthConfigin interfaceService.GatewaySecretInfoOrBuilder
-
getAuthConfig
Deprecated.UsegetAuthConfigMap()instead.- Specified by:
getAuthConfigin interfaceService.GatewaySecretInfoOrBuilder
-
getAuthConfigMap
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;- Specified by:
getAuthConfigMapin interfaceService.GatewaySecretInfoOrBuilder
-
getAuthConfigOrDefault
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;- Specified by:
getAuthConfigOrDefaultin interfaceService.GatewaySecretInfoOrBuilder
-
getAuthConfigOrThrow
Provider-specific auth configuration (e.g., auth_mode, region, project_id)
map<string, string> auth_config = 9;- Specified by:
getAuthConfigOrThrowin interfaceService.GatewaySecretInfoOrBuilder
-
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.GatewaySecretInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewaySecretInfo 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.GatewaySecretInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewaySecretInfo 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.GatewaySecretInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Service.GatewaySecretInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Service.GatewaySecretInfo 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.GatewaySecretInfo.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
-