Package flyteidl.core
Class Literals.LiteralMap
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Literals.LiteralMap
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Literals.LiteralMapOrBuilder,Serializable
- Enclosing class:
- Literals
public static final class Literals.LiteralMap extends com.google.protobuf.GeneratedMessageV3 implements Literals.LiteralMapOrBuilder
A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
Protobuf typeflyteidl.core.LiteralMap- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiterals.LiteralMap.BuilderA map of literals.private static classLiterals.LiteralMap.LiteralsDefaultEntryHolder-
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 private static Literals.LiteralMapDEFAULT_INSTANCEprivate com.google.protobuf.MapField<String,Literals.Literal>literals_static intLITERALS_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Literals.LiteralMap>PARSERprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateLiteralMap()privateLiteralMap(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLiterals(String key)map<string, .flyteidl.core.Literal> literals = 1;booleanequals(Object obj)static Literals.LiteralMapgetDefaultInstance()Literals.LiteralMapgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,Literals.Literal>getLiterals()Deprecated.intgetLiteralsCount()map<string, .flyteidl.core.Literal> literals = 1;Map<String,Literals.Literal>getLiteralsMap()map<string, .flyteidl.core.Literal> literals = 1;Literals.LiteralgetLiteralsOrDefault(String key, Literals.Literal defaultValue)map<string, .flyteidl.core.Literal> literals = 1;Literals.LiteralgetLiteralsOrThrow(String key)map<string, .flyteidl.core.Literal> literals = 1;com.google.protobuf.Parser<Literals.LiteralMap>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapField<String,Literals.Literal>internalGetLiterals()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Literals.LiteralMap.BuildernewBuilder()static Literals.LiteralMap.BuildernewBuilder(Literals.LiteralMap prototype)Literals.LiteralMap.BuildernewBuilderForType()protected Literals.LiteralMap.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Literals.LiteralMapparseDelimitedFrom(InputStream input)static Literals.LiteralMapparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.LiteralMapparseFrom(byte[] data)static Literals.LiteralMapparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.LiteralMapparseFrom(com.google.protobuf.ByteString data)static Literals.LiteralMapparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.LiteralMapparseFrom(com.google.protobuf.CodedInputStream input)static Literals.LiteralMapparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.LiteralMapparseFrom(InputStream input)static Literals.LiteralMapparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Literals.LiteralMapparseFrom(ByteBuffer data)static Literals.LiteralMapparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Literals.LiteralMap>parser()Literals.LiteralMap.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, 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
-
LITERALS_FIELD_NUMBER
public static final int LITERALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
literals_
private com.google.protobuf.MapField<String,Literals.Literal> literals_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Literals.LiteralMap DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Literals.LiteralMap> 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
internalGetLiterals
private com.google.protobuf.MapField<String,Literals.Literal> internalGetLiterals()
-
getLiteralsCount
public int getLiteralsCount()
Description copied from interface:Literals.LiteralMapOrBuildermap<string, .flyteidl.core.Literal> literals = 1;- Specified by:
getLiteralsCountin interfaceLiterals.LiteralMapOrBuilder
-
containsLiterals
public boolean containsLiterals(String key)
map<string, .flyteidl.core.Literal> literals = 1;- Specified by:
containsLiteralsin interfaceLiterals.LiteralMapOrBuilder
-
getLiterals
@Deprecated public Map<String,Literals.Literal> getLiterals()
Deprecated.UsegetLiteralsMap()instead.- Specified by:
getLiteralsin interfaceLiterals.LiteralMapOrBuilder
-
getLiteralsMap
public Map<String,Literals.Literal> getLiteralsMap()
map<string, .flyteidl.core.Literal> literals = 1;- Specified by:
getLiteralsMapin interfaceLiterals.LiteralMapOrBuilder
-
getLiteralsOrDefault
public Literals.Literal getLiteralsOrDefault(String key, Literals.Literal defaultValue)
map<string, .flyteidl.core.Literal> literals = 1;- Specified by:
getLiteralsOrDefaultin interfaceLiterals.LiteralMapOrBuilder
-
getLiteralsOrThrow
public Literals.Literal getLiteralsOrThrow(String key)
map<string, .flyteidl.core.Literal> literals = 1;- Specified by:
getLiteralsOrThrowin interfaceLiterals.LiteralMapOrBuilder
-
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.LiteralMap parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.LiteralMap parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.LiteralMap parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.LiteralMap 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.LiteralMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.LiteralMap parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Literals.LiteralMap parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.LiteralMap parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.LiteralMap parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Literals.LiteralMap parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.LiteralMap parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Literals.LiteralMap parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Literals.LiteralMap.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Literals.LiteralMap.Builder newBuilder()
-
newBuilder
public static Literals.LiteralMap.Builder newBuilder(Literals.LiteralMap prototype)
-
toBuilder
public Literals.LiteralMap.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Literals.LiteralMap.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Literals.LiteralMap getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Literals.LiteralMap> parser()
-
getParserForType
public com.google.protobuf.Parser<Literals.LiteralMap> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Literals.LiteralMap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-