Package flyteidl.core
Class Literals.Scalar
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Literals.Scalar
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Literals.ScalarOrBuilder,Serializable
- Enclosing class:
- Literals
public static final class Literals.Scalar extends com.google.protobuf.GeneratedMessageV3 implements Literals.ScalarOrBuilder
A simple value.
Protobuf typeflyteidl.core.Scalar- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiterals.Scalar.BuilderA simple value.static classLiterals.Scalar.ValueCase-
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 intBINARY_FIELD_NUMBERstatic intBLOB_FIELD_NUMBERprivate static Literals.ScalarDEFAULT_INSTANCEstatic intERROR_FIELD_NUMBERstatic intGENERIC_FIELD_NUMBERprivate bytememoizedIsInitializedstatic intNONE_TYPE_FIELD_NUMBERprivate static com.google.protobuf.Parser<Literals.Scalar>PARSERstatic intPRIMITIVE_FIELD_NUMBERstatic intSCHEMA_FIELD_NUMBERprivate static longserialVersionUIDstatic intSTRUCTURED_DATASET_FIELD_NUMBERstatic intUNION_FIELD_NUMBERprivate Objectvalue_private intvalueCase_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Literals.BinarygetBinary().flyteidl.core.Binary binary = 3;Literals.BinaryOrBuildergetBinaryOrBuilder().flyteidl.core.Binary binary = 3;Literals.BlobgetBlob().flyteidl.core.Blob blob = 2;Literals.BlobOrBuildergetBlobOrBuilder().flyteidl.core.Blob blob = 2;static Literals.ScalargetDefaultInstance()Literals.ScalargetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Types.ErrorgetError().flyteidl.core.Error error = 6;Types.ErrorOrBuildergetErrorOrBuilder().flyteidl.core.Error error = 6;com.google.protobuf.StructgetGeneric().google.protobuf.Struct generic = 7;com.google.protobuf.StructOrBuildergetGenericOrBuilder().google.protobuf.Struct generic = 7;Literals.VoidgetNoneType().flyteidl.core.Void none_type = 5;Literals.VoidOrBuildergetNoneTypeOrBuilder().flyteidl.core.Void none_type = 5;com.google.protobuf.Parser<Literals.Scalar>getParserForType()Literals.PrimitivegetPrimitive().flyteidl.core.Primitive primitive = 1;Literals.PrimitiveOrBuildergetPrimitiveOrBuilder().flyteidl.core.Primitive primitive = 1;Literals.SchemagetSchema().flyteidl.core.Schema schema = 4;Literals.SchemaOrBuildergetSchemaOrBuilder().flyteidl.core.Schema schema = 4;intgetSerializedSize()Literals.StructuredDatasetgetStructuredDataset().flyteidl.core.StructuredDataset structured_dataset = 8;Literals.StructuredDatasetOrBuildergetStructuredDatasetOrBuilder().flyteidl.core.StructuredDataset structured_dataset = 8;Literals.UniongetUnion().flyteidl.core.Union union = 9;Literals.UnionOrBuildergetUnionOrBuilder().flyteidl.core.Union union = 9;com.google.protobuf.UnknownFieldSetgetUnknownFields()Literals.Scalar.ValueCasegetValueCase()booleanhasBinary().flyteidl.core.Binary binary = 3;booleanhasBlob().flyteidl.core.Blob blob = 2;booleanhasError().flyteidl.core.Error error = 6;booleanhasGeneric().google.protobuf.Struct generic = 7;inthashCode()booleanhasNoneType().flyteidl.core.Void none_type = 5;booleanhasPrimitive().flyteidl.core.Primitive primitive = 1;booleanhasSchema().flyteidl.core.Schema schema = 4;booleanhasStructuredDataset().flyteidl.core.StructuredDataset structured_dataset = 8;booleanhasUnion().flyteidl.core.Union union = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Literals.Scalar.BuildernewBuilder()static Literals.Scalar.BuildernewBuilder(Literals.Scalar prototype)Literals.Scalar.BuildernewBuilderForType()protected Literals.Scalar.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Literals.ScalarparseDelimitedFrom(InputStream input)static Literals.ScalarparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.ScalarparseFrom(byte[] data)static Literals.ScalarparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.ScalarparseFrom(com.google.protobuf.ByteString data)static Literals.ScalarparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.ScalarparseFrom(com.google.protobuf.CodedInputStream input)static Literals.ScalarparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.ScalarparseFrom(InputStream input)static Literals.ScalarparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.ScalarparseFrom(ByteBuffer data)static Literals.ScalarparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Literals.Scalar>parser()Literals.Scalar.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
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
valueCase_
private int valueCase_
-
value_
private Object value_
-
PRIMITIVE_FIELD_NUMBER
public static final int PRIMITIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BLOB_FIELD_NUMBER
public static final int BLOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BINARY_FIELD_NUMBER
public static final int BINARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NONE_TYPE_FIELD_NUMBER
public static final int NONE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERIC_FIELD_NUMBER
public static final int GENERIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCTURED_DATASET_FIELD_NUMBER
public static final int STRUCTURED_DATASET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNION_FIELD_NUMBER
public static final int UNION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Literals.Scalar DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Literals.Scalar> PARSER
-
-
Method Detail
-
newInstance
protected 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
-
getValueCase
public Literals.Scalar.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceLiterals.ScalarOrBuilder
-
hasPrimitive
public boolean hasPrimitive()
.flyteidl.core.Primitive primitive = 1;- Specified by:
hasPrimitivein interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the primitive field is set.
-
getPrimitive
public Literals.Primitive getPrimitive()
.flyteidl.core.Primitive primitive = 1;- Specified by:
getPrimitivein interfaceLiterals.ScalarOrBuilder- Returns:
- The primitive.
-
getPrimitiveOrBuilder
public Literals.PrimitiveOrBuilder getPrimitiveOrBuilder()
.flyteidl.core.Primitive primitive = 1;- Specified by:
getPrimitiveOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasBlob
public boolean hasBlob()
.flyteidl.core.Blob blob = 2;- Specified by:
hasBlobin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the blob field is set.
-
getBlob
public Literals.Blob getBlob()
.flyteidl.core.Blob blob = 2;- Specified by:
getBlobin interfaceLiterals.ScalarOrBuilder- Returns:
- The blob.
-
getBlobOrBuilder
public Literals.BlobOrBuilder getBlobOrBuilder()
.flyteidl.core.Blob blob = 2;- Specified by:
getBlobOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasBinary
public boolean hasBinary()
.flyteidl.core.Binary binary = 3;- Specified by:
hasBinaryin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the binary field is set.
-
getBinary
public Literals.Binary getBinary()
.flyteidl.core.Binary binary = 3;- Specified by:
getBinaryin interfaceLiterals.ScalarOrBuilder- Returns:
- The binary.
-
getBinaryOrBuilder
public Literals.BinaryOrBuilder getBinaryOrBuilder()
.flyteidl.core.Binary binary = 3;- Specified by:
getBinaryOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasSchema
public boolean hasSchema()
.flyteidl.core.Schema schema = 4;- Specified by:
hasSchemain interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the schema field is set.
-
getSchema
public Literals.Schema getSchema()
.flyteidl.core.Schema schema = 4;- Specified by:
getSchemain interfaceLiterals.ScalarOrBuilder- Returns:
- The schema.
-
getSchemaOrBuilder
public Literals.SchemaOrBuilder getSchemaOrBuilder()
.flyteidl.core.Schema schema = 4;- Specified by:
getSchemaOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasNoneType
public boolean hasNoneType()
.flyteidl.core.Void none_type = 5;- Specified by:
hasNoneTypein interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the noneType field is set.
-
getNoneType
public Literals.Void getNoneType()
.flyteidl.core.Void none_type = 5;- Specified by:
getNoneTypein interfaceLiterals.ScalarOrBuilder- Returns:
- The noneType.
-
getNoneTypeOrBuilder
public Literals.VoidOrBuilder getNoneTypeOrBuilder()
.flyteidl.core.Void none_type = 5;- Specified by:
getNoneTypeOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasError
public boolean hasError()
.flyteidl.core.Error error = 6;- Specified by:
hasErrorin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the error field is set.
-
getError
public Types.Error getError()
.flyteidl.core.Error error = 6;- Specified by:
getErrorin interfaceLiterals.ScalarOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public Types.ErrorOrBuilder getErrorOrBuilder()
.flyteidl.core.Error error = 6;- Specified by:
getErrorOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasGeneric
public boolean hasGeneric()
.google.protobuf.Struct generic = 7;- Specified by:
hasGenericin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the generic field is set.
-
getGeneric
public com.google.protobuf.Struct getGeneric()
.google.protobuf.Struct generic = 7;- Specified by:
getGenericin interfaceLiterals.ScalarOrBuilder- Returns:
- The generic.
-
getGenericOrBuilder
public com.google.protobuf.StructOrBuilder getGenericOrBuilder()
.google.protobuf.Struct generic = 7;- Specified by:
getGenericOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasStructuredDataset
public boolean hasStructuredDataset()
.flyteidl.core.StructuredDataset structured_dataset = 8;- Specified by:
hasStructuredDatasetin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the structuredDataset field is set.
-
getStructuredDataset
public Literals.StructuredDataset getStructuredDataset()
.flyteidl.core.StructuredDataset structured_dataset = 8;- Specified by:
getStructuredDatasetin interfaceLiterals.ScalarOrBuilder- Returns:
- The structuredDataset.
-
getStructuredDatasetOrBuilder
public Literals.StructuredDatasetOrBuilder getStructuredDatasetOrBuilder()
.flyteidl.core.StructuredDataset structured_dataset = 8;- Specified by:
getStructuredDatasetOrBuilderin interfaceLiterals.ScalarOrBuilder
-
hasUnion
public boolean hasUnion()
.flyteidl.core.Union union = 9;- Specified by:
hasUnionin interfaceLiterals.ScalarOrBuilder- Returns:
- Whether the union field is set.
-
getUnion
public Literals.Union getUnion()
.flyteidl.core.Union union = 9;- Specified by:
getUnionin interfaceLiterals.ScalarOrBuilder- Returns:
- The union.
-
getUnionOrBuilder
public Literals.UnionOrBuilder getUnionOrBuilder()
.flyteidl.core.Union union = 9;- Specified by:
getUnionOrBuilderin interfaceLiterals.ScalarOrBuilder
-
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 IOException- 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
public boolean equals(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 Literals.Scalar parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Scalar parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Scalar parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.Scalar parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.Scalar parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Scalar parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Scalar parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Literals.Scalar.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Literals.Scalar.Builder newBuilder()
-
newBuilder
public static Literals.Scalar.Builder newBuilder(Literals.Scalar prototype)
-
toBuilder
public Literals.Scalar.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Literals.Scalar.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Literals.Scalar getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Literals.Scalar> parser()
-
getParserForType
public com.google.protobuf.Parser<Literals.Scalar> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Literals.Scalar getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-