Package org.apache.calcite.avatica.proto
Class Common.ColumnValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.calcite.avatica.proto.Common.ColumnValue
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Common.ColumnValueOrBuilder
- Enclosing class:
- Common
public static final class Common.ColumnValue extends com.google.protobuf.GeneratedMessageV3 implements Common.ColumnValueOrBuilder
A value might be a TypedValue or an Array of TypedValue's
Protobuf typeColumnValue- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommon.ColumnValue.BuilderA value might be a TypedValue or an Array of TypedValue's-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intARRAY_VALUE_FIELD_NUMBERprivate java.util.List<Common.TypedValue>arrayValue_private intbitField0_private static Common.ColumnValueDEFAULT_INSTANCEstatic intHAS_ARRAY_VALUE_FIELD_NUMBERprivate booleanhasArrayValue_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Common.ColumnValue>PARSERstatic intSCALAR_VALUE_FIELD_NUMBERprivate Common.TypedValuescalarValue_private static longserialVersionUIDprivate java.util.List<Common.TypedValue>value_static intVALUE_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateColumnValue()privateColumnValue(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)privateColumnValue(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Common.TypedValuegetArrayValue(int index)repeated .TypedValue array_value = 2;intgetArrayValueCount()repeated .TypedValue array_value = 2;java.util.List<Common.TypedValue>getArrayValueList()repeated .TypedValue array_value = 2;Common.TypedValueOrBuildergetArrayValueOrBuilder(int index)repeated .TypedValue array_value = 2;java.util.List<? extends Common.TypedValueOrBuilder>getArrayValueOrBuilderList()repeated .TypedValue array_value = 2;static Common.ColumnValuegetDefaultInstance()Common.ColumnValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetHasArrayValue()Is an array value set?com.google.protobuf.Parser<Common.ColumnValue>getParserForType()Common.TypedValuegetScalarValue().TypedValue scalar_value = 4;Common.TypedValueOrBuildergetScalarValueOrBuilder().TypedValue scalar_value = 4;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()Common.TypedValuegetValue(int index)deprecated, use array_value or scalar_valueintgetValueCount()deprecated, use array_value or scalar_valuejava.util.List<Common.TypedValue>getValueList()deprecated, use array_value or scalar_valueCommon.TypedValueOrBuildergetValueOrBuilder(int index)deprecated, use array_value or scalar_valuejava.util.List<? extends Common.TypedValueOrBuilder>getValueOrBuilderList()deprecated, use array_value or scalar_valueinthashCode()booleanhasScalarValue().TypedValue scalar_value = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Common.ColumnValue.BuildernewBuilder()static Common.ColumnValue.BuildernewBuilder(Common.ColumnValue prototype)Common.ColumnValue.BuildernewBuilderForType()protected Common.ColumnValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Common.ColumnValueparseDelimitedFrom(java.io.InputStream input)static Common.ColumnValueparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnValueparseFrom(byte[] data)static Common.ColumnValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnValueparseFrom(com.google.protobuf.ByteString data)static Common.ColumnValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnValueparseFrom(com.google.protobuf.CodedInputStream input)static Common.ColumnValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnValueparseFrom(java.io.InputStream input)static Common.ColumnValueparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnValueparseFrom(java.nio.ByteBuffer data)static Common.ColumnValueparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Common.ColumnValue>parser()Common.ColumnValue.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
-
bitField0_
private int bitField0_
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
value_
private java.util.List<Common.TypedValue> value_
-
ARRAY_VALUE_FIELD_NUMBER
public static final int ARRAY_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
arrayValue_
private java.util.List<Common.TypedValue> arrayValue_
-
HAS_ARRAY_VALUE_FIELD_NUMBER
public static final int HAS_ARRAY_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
hasArrayValue_
private boolean hasArrayValue_
-
SCALAR_VALUE_FIELD_NUMBER
public static final int SCALAR_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
scalarValue_
private Common.TypedValue scalarValue_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Common.ColumnValue DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Common.ColumnValue> PARSER
-
-
Constructor Detail
-
ColumnValue
private ColumnValue(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
ColumnValue
private ColumnValue()
-
ColumnValue
private ColumnValue(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-
Method Detail
-
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
-
getValueList
public java.util.List<Common.TypedValue> getValueList()
deprecated, use array_value or scalar_value
repeated .TypedValue value = 1;- Specified by:
getValueListin interfaceCommon.ColumnValueOrBuilder
-
getValueOrBuilderList
public java.util.List<? extends Common.TypedValueOrBuilder> getValueOrBuilderList()
deprecated, use array_value or scalar_value
repeated .TypedValue value = 1;- Specified by:
getValueOrBuilderListin interfaceCommon.ColumnValueOrBuilder
-
getValueCount
public int getValueCount()
deprecated, use array_value or scalar_value
repeated .TypedValue value = 1;- Specified by:
getValueCountin interfaceCommon.ColumnValueOrBuilder
-
getValue
public Common.TypedValue getValue(int index)
deprecated, use array_value or scalar_value
repeated .TypedValue value = 1;- Specified by:
getValuein interfaceCommon.ColumnValueOrBuilder
-
getValueOrBuilder
public Common.TypedValueOrBuilder getValueOrBuilder(int index)
deprecated, use array_value or scalar_value
repeated .TypedValue value = 1;- Specified by:
getValueOrBuilderin interfaceCommon.ColumnValueOrBuilder
-
getArrayValueList
public java.util.List<Common.TypedValue> getArrayValueList()
repeated .TypedValue array_value = 2;- Specified by:
getArrayValueListin interfaceCommon.ColumnValueOrBuilder
-
getArrayValueOrBuilderList
public java.util.List<? extends Common.TypedValueOrBuilder> getArrayValueOrBuilderList()
repeated .TypedValue array_value = 2;- Specified by:
getArrayValueOrBuilderListin interfaceCommon.ColumnValueOrBuilder
-
getArrayValueCount
public int getArrayValueCount()
repeated .TypedValue array_value = 2;- Specified by:
getArrayValueCountin interfaceCommon.ColumnValueOrBuilder
-
getArrayValue
public Common.TypedValue getArrayValue(int index)
repeated .TypedValue array_value = 2;- Specified by:
getArrayValuein interfaceCommon.ColumnValueOrBuilder
-
getArrayValueOrBuilder
public Common.TypedValueOrBuilder getArrayValueOrBuilder(int index)
repeated .TypedValue array_value = 2;- Specified by:
getArrayValueOrBuilderin interfaceCommon.ColumnValueOrBuilder
-
getHasArrayValue
public boolean getHasArrayValue()
Is an array value set?
bool has_array_value = 3;- Specified by:
getHasArrayValuein interfaceCommon.ColumnValueOrBuilder
-
hasScalarValue
public boolean hasScalarValue()
.TypedValue scalar_value = 4;- Specified by:
hasScalarValuein interfaceCommon.ColumnValueOrBuilder
-
getScalarValue
public Common.TypedValue getScalarValue()
.TypedValue scalar_value = 4;- Specified by:
getScalarValuein interfaceCommon.ColumnValueOrBuilder
-
getScalarValueOrBuilder
public Common.TypedValueOrBuilder getScalarValueOrBuilder()
.TypedValue scalar_value = 4;- Specified by:
getScalarValueOrBuilderin interfaceCommon.ColumnValueOrBuilder
-
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 java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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 Common.ColumnValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnValue parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnValue parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ColumnValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ColumnValue parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Common.ColumnValue.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Common.ColumnValue.Builder newBuilder()
-
newBuilder
public static Common.ColumnValue.Builder newBuilder(Common.ColumnValue prototype)
-
toBuilder
public Common.ColumnValue.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Common.ColumnValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Common.ColumnValue getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Common.ColumnValue> parser()
-
getParserForType
public com.google.protobuf.Parser<Common.ColumnValue> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Common.ColumnValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-