Package org.mlflow.api.proto
Class LabelSchemas.LabelSchema
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.LabelSchemas.LabelSchema
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,LabelSchemas.LabelSchemaOrBuilder
- Enclosing class:
- LabelSchemas
public static final class LabelSchemas.LabelSchema
extends com.google.protobuf.GeneratedMessageV3
implements LabelSchemas.LabelSchemaOrBuilder
Full label schema entity.Protobuf type
mlflow.label_schemas.LabelSchema- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFull label schema entity.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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 intstatic final intstatic final intstatic final com.google.protobuf.Parser<LabelSchemas.LabelSchema>Deprecated.static 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 TypeMethodDescriptionbooleanlongCreation timestamp in milliseconds since epoch.User who created the schema (OSS-native).com.google.protobuf.ByteStringUser who created the schema (OSS-native).static LabelSchemas.LabelSchemastatic final com.google.protobuf.Descriptors.DescriptorbooleanUI hint: whether the widget renders a free-form comment input.Parent experiment ID.com.google.protobuf.ByteStringParent experiment ID.getInput()optional .mlflow.label_schemas.LabelSchemaInput input = 8;optional .mlflow.label_schemas.LabelSchemaInput input = 8;Optional supplementary guidance, <=1000 chars.com.google.protobuf.ByteStringOptional supplementary guidance, <=1000 chars.booleanWhether this is the experiment's protected default question: server-seeded, undeletable, and uneditable.longLast update timestamp in milliseconds since epoch.getName()Schema name (1-256 chars; unique within experiment).com.google.protobuf.ByteStringSchema name (1-256 chars; unique within experiment).com.google.protobuf.Parser<LabelSchemas.LabelSchema>Server-generated identifier.com.google.protobuf.ByteStringServer-generated identifier.intgetType()optional .mlflow.label_schemas.LabelSchemaType type = 4;final com.google.protobuf.UnknownFieldSetbooleanCreation timestamp in milliseconds since epoch.booleanUser who created the schema (OSS-native).booleanUI hint: whether the widget renders a free-form comment input.booleanParent experiment ID.inthashCode()booleanhasInput()optional .mlflow.label_schemas.LabelSchemaInput input = 8;booleanOptional supplementary guidance, <=1000 chars.booleanWhether this is the experiment's protected default question: server-seeded, undeletable, and uneditable.booleanLast update timestamp in milliseconds since epoch.booleanhasName()Schema name (1-256 chars; unique within experiment).booleanServer-generated identifier.booleanhasType()optional .mlflow.label_schemas.LabelSchemaType type = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(LabelSchemas.LabelSchema prototype) protected LabelSchemas.LabelSchema.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LabelSchemas.LabelSchemaparseDelimitedFrom(InputStream input) static LabelSchemas.LabelSchemaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LabelSchemas.LabelSchemaparseFrom(byte[] data) static LabelSchemas.LabelSchemaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LabelSchemas.LabelSchemaparseFrom(com.google.protobuf.ByteString data) static LabelSchemas.LabelSchemaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LabelSchemas.LabelSchemaparseFrom(com.google.protobuf.CodedInputStream input) static LabelSchemas.LabelSchemaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LabelSchemas.LabelSchemaparseFrom(InputStream input) static LabelSchemas.LabelSchemaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LabelSchemas.LabelSchemaparseFrom(ByteBuffer data) static LabelSchemas.LabelSchemaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LabelSchemas.LabelSchema>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
-
SCHEMA_ID_FIELD_NUMBER
public static final int SCHEMA_ID_FIELD_NUMBER- See Also:
-
EXPERIMENT_ID_FIELD_NUMBER
public static final int EXPERIMENT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
INSTRUCTION_FIELD_NUMBER
public static final int INSTRUCTION_FIELD_NUMBER- See Also:
-
ENABLE_COMMENT_FIELD_NUMBER
public static final int ENABLE_COMMENT_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_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:
-
IS_DEFAULT_FIELD_NUMBER
public static final int IS_DEFAULT_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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSchemaId
public boolean hasSchemaId()Server-generated identifier.
optional string schema_id = 1;- Specified by:
hasSchemaIdin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the schemaId field is set.
-
getSchemaId
Server-generated identifier.
optional string schema_id = 1;- Specified by:
getSchemaIdin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The schemaId.
-
getSchemaIdBytes
public com.google.protobuf.ByteString getSchemaIdBytes()Server-generated identifier.
optional string schema_id = 1;- Specified by:
getSchemaIdBytesin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The bytes for schemaId.
-
hasExperimentId
public boolean hasExperimentId()Parent experiment ID.
optional string experiment_id = 2;- Specified by:
hasExperimentIdin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the experimentId field is set.
-
getExperimentId
Parent experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()Parent experiment ID.
optional string experiment_id = 2;- Specified by:
getExperimentIdBytesin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The bytes for experimentId.
-
hasName
public boolean hasName()Schema name (1-256 chars; unique within experiment). Free text shown to reviewers as the label prompt and used as the assessment key.
optional string name = 3;- Specified by:
hasNamein interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the name field is set.
-
getName
Schema name (1-256 chars; unique within experiment). Free text shown to reviewers as the label prompt and used as the assessment key.
optional string name = 3;- Specified by:
getNamein interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Schema name (1-256 chars; unique within experiment). Free text shown to reviewers as the label prompt and used as the assessment key.
optional string name = 3;- Specified by:
getNameBytesin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The bytes for name.
-
hasType
public boolean hasType()optional .mlflow.label_schemas.LabelSchemaType type = 4;- Specified by:
hasTypein interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional .mlflow.label_schemas.LabelSchemaType type = 4;- Specified by:
getTypein interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The type.
-
hasInstruction
public boolean hasInstruction()Optional supplementary guidance, <=1000 chars.
optional string instruction = 6;- Specified by:
hasInstructionin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the instruction field is set.
-
getInstruction
Optional supplementary guidance, <=1000 chars.
optional string instruction = 6;- Specified by:
getInstructionin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The instruction.
-
getInstructionBytes
public com.google.protobuf.ByteString getInstructionBytes()Optional supplementary guidance, <=1000 chars.
optional string instruction = 6;- Specified by:
getInstructionBytesin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The bytes for instruction.
-
hasEnableComment
public boolean hasEnableComment()UI hint: whether the widget renders a free-form comment input.
optional bool enable_comment = 7;- Specified by:
hasEnableCommentin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the enableComment field is set.
-
getEnableComment
public boolean getEnableComment()UI hint: whether the widget renders a free-form comment input.
optional bool enable_comment = 7;- Specified by:
getEnableCommentin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The enableComment.
-
hasInput
public boolean hasInput()optional .mlflow.label_schemas.LabelSchemaInput input = 8;- Specified by:
hasInputin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the input field is set.
-
getInput
optional .mlflow.label_schemas.LabelSchemaInput input = 8;- Specified by:
getInputin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The input.
-
getInputOrBuilder
optional .mlflow.label_schemas.LabelSchemaInput input = 8;- Specified by:
getInputOrBuilderin interfaceLabelSchemas.LabelSchemaOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()User who created the schema (OSS-native).
optional string created_by = 9;- Specified by:
hasCreatedByin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
User who created the schema (OSS-native).
optional string created_by = 9;- Specified by:
getCreatedByin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()User who created the schema (OSS-native).
optional string created_by = 9;- Specified by:
getCreatedByBytesin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The bytes for createdBy.
-
hasCreatedAt
public boolean hasCreatedAt()Creation timestamp in milliseconds since epoch.
optional int64 created_at = 10;- Specified by:
hasCreatedAtin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public long getCreatedAt()Creation timestamp in milliseconds since epoch.
optional int64 created_at = 10;- Specified by:
getCreatedAtin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The createdAt.
-
hasLastUpdatedAt
public boolean hasLastUpdatedAt()Last update timestamp in milliseconds since epoch.
optional int64 last_updated_at = 11;- Specified by:
hasLastUpdatedAtin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
public long getLastUpdatedAt()Last update timestamp in milliseconds since epoch.
optional int64 last_updated_at = 11;- Specified by:
getLastUpdatedAtin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The lastUpdatedAt.
-
hasIsDefault
public boolean hasIsDefault()Whether this is the experiment's protected default question: server-seeded, undeletable, and uneditable. Read-only to clients.
optional bool is_default = 12;- Specified by:
hasIsDefaultin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- Whether the isDefault field is set.
-
getIsDefault
public boolean getIsDefault()Whether this is the experiment's protected default question: server-seeded, undeletable, and uneditable. Read-only to clients.
optional bool is_default = 12;- Specified by:
getIsDefaultin interfaceLabelSchemas.LabelSchemaOrBuilder- Returns:
- The isDefault.
-
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 LabelSchemas.LabelSchema parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LabelSchemas.LabelSchema parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LabelSchemas.LabelSchema parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LabelSchemas.LabelSchema 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 LabelSchemas.LabelSchema.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
-