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,java.io.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 typemlflow.GatewaySecretInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classService.GatewaySecretInfo.BuilderSecret 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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_CONFIG_JSON_FIELD_NUMBERstatic intCREATED_AT_FIELD_NUMBERstatic intCREATED_BY_FIELD_NUMBERstatic intLAST_UPDATED_AT_FIELD_NUMBERstatic intLAST_UPDATED_BY_FIELD_NUMBERstatic intMASKED_VALUE_FIELD_NUMBERstatic com.google.protobuf.Parser<Service.GatewaySecretInfo>PARSERDeprecated.static intPROVIDER_FIELD_NUMBERstatic intSECRET_ID_FIELD_NUMBERstatic intSECRET_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAuthConfigJson()Provider-specific auth configuration as JSON (e.g., region, project_id)com.google.protobuf.ByteStringgetAuthConfigJsonBytes()Provider-specific auth configuration as JSON (e.g., region, project_id)longgetCreatedAt()Timestamp (milliseconds since epoch) when the secret was createdjava.lang.StringgetCreatedBy()User ID who created the secretcom.google.protobuf.ByteStringgetCreatedByBytes()User ID who created the secretstatic Service.GatewaySecretInfogetDefaultInstance()Service.GatewaySecretInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetLastUpdatedAt()Timestamp (milliseconds since epoch) when the secret was last updatedjava.lang.StringgetLastUpdatedBy()User ID who last updated the secretcom.google.protobuf.ByteStringgetLastUpdatedByBytes()User ID who last updated the secretjava.lang.StringgetMaskedValue()Masked version of the secret for display (e.g., "sk-...xyz123")com.google.protobuf.ByteStringgetMaskedValueBytes()Masked version of the secret for display (e.g., "sk-...xyz123")com.google.protobuf.Parser<Service.GatewaySecretInfo>getParserForType()java.lang.StringgetProvider()LLM provider identifier (e.g., "openai", "anthropic", "cohere")com.google.protobuf.ByteStringgetProviderBytes()LLM provider identifier (e.g., "openai", "anthropic", "cohere")java.lang.StringgetSecretId()Unique identifier for the secret (UUID)com.google.protobuf.ByteStringgetSecretIdBytes()Unique identifier for the secret (UUID)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)intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAuthConfigJson()Provider-specific auth configuration as JSON (e.g., region, project_id)booleanhasCreatedAt()Timestamp (milliseconds since epoch) when the secret was createdbooleanhasCreatedBy()User ID who created the secretinthashCode()booleanhasLastUpdatedAt()Timestamp (milliseconds since epoch) when the secret was last updatedbooleanhasLastUpdatedBy()User ID who last updated the secretbooleanhasMaskedValue()Masked version of the secret for display (e.g., "sk-...xyz123")booleanhasProvider()LLM provider identifier (e.g., "openai", "anthropic", "cohere")booleanhasSecretId()Unique identifier for the secret (UUID)booleanhasSecretName()User-friendly name for the secret (must be unique)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Service.GatewaySecretInfo.BuildernewBuilder()static Service.GatewaySecretInfo.BuildernewBuilder(Service.GatewaySecretInfo prototype)Service.GatewaySecretInfo.BuildernewBuilderForType()protected Service.GatewaySecretInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Service.GatewaySecretInfoparseDelimitedFrom(java.io.InputStream input)static Service.GatewaySecretInfoparseDelimitedFrom(java.io.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(java.io.InputStream input)static Service.GatewaySecretInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Service.GatewaySecretInfoparseFrom(java.nio.ByteBuffer data)static Service.GatewaySecretInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Service.GatewaySecretInfo>parser()Service.GatewaySecretInfo.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, internalGetMapField, 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_NAME_FIELD_NUMBER
public static final int SECRET_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASKED_VALUE_FIELD_NUMBER
public static final int MASKED_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_AT_FIELD_NUMBER
public static final int LAST_UPDATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVIDER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_BY_FIELD_NUMBER
public static final int LAST_UPDATED_BY_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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Service.GatewaySecretInfo> 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()
-
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
public java.lang.String 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
public java.lang.String 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.
-
hasMaskedValue
public boolean hasMaskedValue()
Masked version of the secret for display (e.g., "sk-...xyz123")
optional string masked_value = 3;- Specified by:
hasMaskedValuein interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the maskedValue field is set.
-
getMaskedValue
public java.lang.String getMaskedValue()
Masked version of the secret for display (e.g., "sk-...xyz123")
optional string masked_value = 3;- Specified by:
getMaskedValuein interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The maskedValue.
-
getMaskedValueBytes
public com.google.protobuf.ByteString getMaskedValueBytes()
Masked version of the secret for display (e.g., "sk-...xyz123")
optional string masked_value = 3;- Specified by:
getMaskedValueBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for maskedValue.
-
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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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.
-
hasAuthConfigJson
public boolean hasAuthConfigJson()
Provider-specific auth configuration as JSON (e.g., region, project_id)
optional string auth_config_json = 9;- Specified by:
hasAuthConfigJsonin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- Whether the authConfigJson field is set.
-
getAuthConfigJson
public java.lang.String getAuthConfigJson()
Provider-specific auth configuration as JSON (e.g., region, project_id)
optional string auth_config_json = 9;- Specified by:
getAuthConfigJsonin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The authConfigJson.
-
getAuthConfigJsonBytes
public com.google.protobuf.ByteString getAuthConfigJsonBytes()
Provider-specific auth configuration as JSON (e.g., region, project_id)
optional string auth_config_json = 9;- Specified by:
getAuthConfigJsonBytesin interfaceService.GatewaySecretInfoOrBuilder- Returns:
- The bytes for authConfigJson.
-
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.GatewaySecretInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(java.nio.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
public static Service.GatewaySecretInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.GatewaySecretInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.GatewaySecretInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.GatewaySecretInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Service.GatewaySecretInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.GatewaySecretInfo.Builder newBuilder()
-
newBuilder
public static Service.GatewaySecretInfo.Builder newBuilder(Service.GatewaySecretInfo prototype)
-
toBuilder
public Service.GatewaySecretInfo.Builder 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
public static Service.GatewaySecretInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service.GatewaySecretInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<Service.GatewaySecretInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.GatewaySecretInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-