Package flyteidl.core
Class Literals.Primitive
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Literals.Primitive
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Literals.PrimitiveOrBuilder,Serializable
- Enclosing class:
- Literals
public static final class Literals.Primitive extends com.google.protobuf.GeneratedMessageV3 implements Literals.PrimitiveOrBuilder
Primitive Types
Protobuf typeflyteidl.core.Primitive- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiterals.Primitive.BuilderPrimitive Typesstatic classLiterals.Primitive.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 intBOOLEAN_FIELD_NUMBERstatic intDATETIME_FIELD_NUMBERprivate static Literals.PrimitiveDEFAULT_INSTANCEstatic intDURATION_FIELD_NUMBERstatic intFLOAT_VALUE_FIELD_NUMBERstatic intINTEGER_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Literals.Primitive>PARSERprivate static longserialVersionUIDstatic intSTRING_VALUE_FIELD_NUMBERprivate Objectvalue_private intvalueCase_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetBoolean()bool boolean = 4;com.google.protobuf.TimestampgetDatetime().google.protobuf.Timestamp datetime = 5;com.google.protobuf.TimestampOrBuildergetDatetimeOrBuilder().google.protobuf.Timestamp datetime = 5;static Literals.PrimitivegetDefaultInstance()Literals.PrimitivegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetDuration().google.protobuf.Duration duration = 6;com.google.protobuf.DurationOrBuildergetDurationOrBuilder().google.protobuf.Duration duration = 6;doublegetFloatValue()double float_value = 2;longgetInteger()int64 integer = 1;com.google.protobuf.Parser<Literals.Primitive>getParserForType()intgetSerializedSize()StringgetStringValue()string string_value = 3;com.google.protobuf.ByteStringgetStringValueBytes()string string_value = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()Literals.Primitive.ValueCasegetValueCase()booleanhasBoolean()bool boolean = 4;booleanhasDatetime().google.protobuf.Timestamp datetime = 5;booleanhasDuration().google.protobuf.Duration duration = 6;booleanhasFloatValue()double float_value = 2;inthashCode()booleanhasInteger()int64 integer = 1;booleanhasStringValue()string string_value = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Literals.Primitive.BuildernewBuilder()static Literals.Primitive.BuildernewBuilder(Literals.Primitive prototype)Literals.Primitive.BuildernewBuilderForType()protected Literals.Primitive.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Literals.PrimitiveparseDelimitedFrom(InputStream input)static Literals.PrimitiveparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.PrimitiveparseFrom(byte[] data)static Literals.PrimitiveparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.PrimitiveparseFrom(com.google.protobuf.ByteString data)static Literals.PrimitiveparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.PrimitiveparseFrom(com.google.protobuf.CodedInputStream input)static Literals.PrimitiveparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.PrimitiveparseFrom(InputStream input)static Literals.PrimitiveparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.PrimitiveparseFrom(ByteBuffer data)static Literals.PrimitiveparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Literals.Primitive>parser()Literals.Primitive.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_
-
INTEGER_FIELD_NUMBER
public static final int INTEGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOLEAN_FIELD_NUMBER
public static final int BOOLEAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATETIME_FIELD_NUMBER
public static final int DATETIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Literals.Primitive DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Literals.Primitive> 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.Primitive.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceLiterals.PrimitiveOrBuilder
-
hasInteger
public boolean hasInteger()
int64 integer = 1;- Specified by:
hasIntegerin interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the integer field is set.
-
getInteger
public long getInteger()
int64 integer = 1;- Specified by:
getIntegerin interfaceLiterals.PrimitiveOrBuilder- Returns:
- The integer.
-
hasFloatValue
public boolean hasFloatValue()
double float_value = 2;- Specified by:
hasFloatValuein interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public double getFloatValue()
double float_value = 2;- Specified by:
getFloatValuein interfaceLiterals.PrimitiveOrBuilder- Returns:
- The floatValue.
-
hasStringValue
public boolean hasStringValue()
string string_value = 3;- Specified by:
hasStringValuein interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
public String getStringValue()
string string_value = 3;- Specified by:
getStringValuein interfaceLiterals.PrimitiveOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()
string string_value = 3;- Specified by:
getStringValueBytesin interfaceLiterals.PrimitiveOrBuilder- Returns:
- The bytes for stringValue.
-
hasBoolean
public boolean hasBoolean()
bool boolean = 4;- Specified by:
hasBooleanin interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the boolean field is set.
-
getBoolean
public boolean getBoolean()
bool boolean = 4;- Specified by:
getBooleanin interfaceLiterals.PrimitiveOrBuilder- Returns:
- The boolean.
-
hasDatetime
public boolean hasDatetime()
.google.protobuf.Timestamp datetime = 5;- Specified by:
hasDatetimein interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the datetime field is set.
-
getDatetime
public com.google.protobuf.Timestamp getDatetime()
.google.protobuf.Timestamp datetime = 5;- Specified by:
getDatetimein interfaceLiterals.PrimitiveOrBuilder- Returns:
- The datetime.
-
getDatetimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDatetimeOrBuilder()
.google.protobuf.Timestamp datetime = 5;- Specified by:
getDatetimeOrBuilderin interfaceLiterals.PrimitiveOrBuilder
-
hasDuration
public boolean hasDuration()
.google.protobuf.Duration duration = 6;- Specified by:
hasDurationin interfaceLiterals.PrimitiveOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()
.google.protobuf.Duration duration = 6;- Specified by:
getDurationin interfaceLiterals.PrimitiveOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
.google.protobuf.Duration duration = 6;- Specified by:
getDurationOrBuilderin interfaceLiterals.PrimitiveOrBuilder
-
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.Primitive parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Primitive parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Primitive parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Primitive 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.Primitive parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Primitive parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.Primitive parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Primitive parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.Primitive parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.Primitive parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Primitive parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.Primitive parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Literals.Primitive.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Literals.Primitive.Builder newBuilder()
-
newBuilder
public static Literals.Primitive.Builder newBuilder(Literals.Primitive prototype)
-
toBuilder
public Literals.Primitive.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Literals.Primitive.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Literals.Primitive getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Literals.Primitive> parser()
-
getParserForType
public com.google.protobuf.Parser<Literals.Primitive> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Literals.Primitive getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-