Package org.mlflow.api.proto
Class LabelSchemas.LabelSchemaInput
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.LabelSchemas.LabelSchemaInput
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,LabelSchemas.LabelSchemaInputOrBuilder
- Enclosing class:
- LabelSchemas
public static final class LabelSchemas.LabelSchemaInput
extends com.google.protobuf.GeneratedMessageV3
implements LabelSchemas.LabelSchemaInputOrBuilder
Discriminated input wrapper. Exactly one input type is set per schema.
NOTE on `validate_required`: when a request message uses
`LabelSchemaInput input = N [(validate_required) = true]`, the wire-level
check only verifies that the wrapper message is set. It does NOT enforce
that any oneof variant inside the wrapper is set, so a client can send
`{"input": {}}` and pass validation. Handlers must additionally check
`request.input.WhichOneof("input") is not None`.
Tags 1-3 and 5 cover the OSS-supported input types. Tags 4 and 6 are
reserved for the Databricks-only input variants (InputCategoricalList,
InputTextList) in case hybrid scenarios ever need to round-trip them
through this proto; do not reuse these tags for new OSS variants.
Protobuf type mlflow.label_schemas.LabelSchemaInput- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDiscriminated input wrapper.static enumNested 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 com.google.protobuf.Parser<LabelSchemas.LabelSchemaInput>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 TypeMethodDescriptionboolean.mlflow.label_schemas.InputCategorical categorical = 2;.mlflow.label_schemas.InputCategorical categorical = 2;static final com.google.protobuf.Descriptors.Descriptor.mlflow.label_schemas.InputNumeric numeric = 3;.mlflow.label_schemas.InputNumeric numeric = 3;com.google.protobuf.Parser<LabelSchemas.LabelSchemaInput>.mlflow.label_schemas.InputPassFail pass_fail = 1;.mlflow.label_schemas.InputPassFail pass_fail = 1;intgetText().mlflow.label_schemas.InputText text = 5;.mlflow.label_schemas.InputText text = 5;final com.google.protobuf.UnknownFieldSetboolean.mlflow.label_schemas.InputCategorical categorical = 2;inthashCode()boolean.mlflow.label_schemas.InputNumeric numeric = 3;boolean.mlflow.label_schemas.InputPassFail pass_fail = 1;booleanhasText().mlflow.label_schemas.InputText text = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(LabelSchemas.LabelSchemaInput prototype) protected LabelSchemas.LabelSchemaInput.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LabelSchemas.LabelSchemaInput>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
-
PASS_FAIL_FIELD_NUMBER
public static final int PASS_FAIL_FIELD_NUMBER- See Also:
-
CATEGORICAL_FIELD_NUMBER
public static final int CATEGORICAL_FIELD_NUMBER- See Also:
-
NUMERIC_FIELD_NUMBER
public static final int NUMERIC_FIELD_NUMBER- See Also:
-
TEXT_FIELD_NUMBER
public static final int TEXT_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
-
getInputCase
- Specified by:
getInputCasein interfaceLabelSchemas.LabelSchemaInputOrBuilder
-
hasPassFail
public boolean hasPassFail().mlflow.label_schemas.InputPassFail pass_fail = 1;- Specified by:
hasPassFailin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- Whether the passFail field is set.
-
getPassFail
.mlflow.label_schemas.InputPassFail pass_fail = 1;- Specified by:
getPassFailin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- The passFail.
-
getPassFailOrBuilder
.mlflow.label_schemas.InputPassFail pass_fail = 1;- Specified by:
getPassFailOrBuilderin interfaceLabelSchemas.LabelSchemaInputOrBuilder
-
hasCategorical
public boolean hasCategorical().mlflow.label_schemas.InputCategorical categorical = 2;- Specified by:
hasCategoricalin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- Whether the categorical field is set.
-
getCategorical
.mlflow.label_schemas.InputCategorical categorical = 2;- Specified by:
getCategoricalin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- The categorical.
-
getCategoricalOrBuilder
.mlflow.label_schemas.InputCategorical categorical = 2;- Specified by:
getCategoricalOrBuilderin interfaceLabelSchemas.LabelSchemaInputOrBuilder
-
hasNumeric
public boolean hasNumeric().mlflow.label_schemas.InputNumeric numeric = 3;- Specified by:
hasNumericin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- Whether the numeric field is set.
-
getNumeric
.mlflow.label_schemas.InputNumeric numeric = 3;- Specified by:
getNumericin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- The numeric.
-
getNumericOrBuilder
.mlflow.label_schemas.InputNumeric numeric = 3;- Specified by:
getNumericOrBuilderin interfaceLabelSchemas.LabelSchemaInputOrBuilder
-
hasText
public boolean hasText().mlflow.label_schemas.InputText text = 5;- Specified by:
hasTextin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- Whether the text field is set.
-
getText
.mlflow.label_schemas.InputText text = 5;- Specified by:
getTextin interfaceLabelSchemas.LabelSchemaInputOrBuilder- Returns:
- The text.
-
getTextOrBuilder
.mlflow.label_schemas.InputText text = 5;- Specified by:
getTextOrBuilderin interfaceLabelSchemas.LabelSchemaInputOrBuilder
-
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.LabelSchemaInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchemaInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchemaInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchemaInput 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.LabelSchemaInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LabelSchemas.LabelSchemaInput 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.LabelSchemaInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static LabelSchemas.LabelSchemaInput parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static LabelSchemas.LabelSchemaInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LabelSchemas.LabelSchemaInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LabelSchemas.LabelSchemaInput 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
public static LabelSchemas.LabelSchemaInput.Builder newBuilder(LabelSchemas.LabelSchemaInput prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LabelSchemas.LabelSchemaInput.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
-