Package org.apache.calcite.avatica.proto
Class Responses.ExecuteBatchResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.calcite.avatica.proto.Responses.ExecuteBatchResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Responses.ExecuteBatchResponseOrBuilder
- Enclosing class:
- Responses
public static final class Responses.ExecuteBatchResponse extends com.google.protobuf.GeneratedMessageV3 implements Responses.ExecuteBatchResponseOrBuilder
Response to a batch update request
Protobuf typeExecuteBatchResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponses.ExecuteBatchResponse.BuilderResponse to a batch update request-
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 private intbitField0_static intCONNECTION_ID_FIELD_NUMBERprivate java.lang.ObjectconnectionId_private static Responses.ExecuteBatchResponseDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate Responses.RpcMetadatametadata_static intMETADATA_FIELD_NUMBERstatic intMISSING_STATEMENT_FIELD_NUMBERprivate booleanmissingStatement_private static com.google.protobuf.Parser<Responses.ExecuteBatchResponse>PARSERprivate static longserialVersionUIDstatic intSTATEMENT_ID_FIELD_NUMBERprivate intstatementId_static intUPDATE_COUNTS_FIELD_NUMBERprivate java.util.List<java.lang.Long>updateCounts_private intupdateCountsMemoizedSerializedSize
-
Constructor Summary
Constructors Modifier Constructor Description privateExecuteBatchResponse()privateExecuteBatchResponse(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)privateExecuteBatchResponse(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)java.lang.StringgetConnectionId()string connection_id = 1;com.google.protobuf.ByteStringgetConnectionIdBytes()string connection_id = 1;static Responses.ExecuteBatchResponsegetDefaultInstance()Responses.ExecuteBatchResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Responses.RpcMetadatagetMetadata().RpcMetadata metadata = 5;Responses.RpcMetadataOrBuildergetMetadataOrBuilder().RpcMetadata metadata = 5;booleangetMissingStatement()Did the request fail because of no-cached statementcom.google.protobuf.Parser<Responses.ExecuteBatchResponse>getParserForType()intgetSerializedSize()intgetStatementId()uint32 statement_id = 2;com.google.protobuf.UnknownFieldSetgetUnknownFields()longgetUpdateCounts(int index)repeated uint64 update_counts = 3;intgetUpdateCountsCount()repeated uint64 update_counts = 3;java.util.List<java.lang.Long>getUpdateCountsList()repeated uint64 update_counts = 3;inthashCode()booleanhasMetadata().RpcMetadata metadata = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Responses.ExecuteBatchResponse.BuildernewBuilder()static Responses.ExecuteBatchResponse.BuildernewBuilder(Responses.ExecuteBatchResponse prototype)Responses.ExecuteBatchResponse.BuildernewBuilderForType()protected Responses.ExecuteBatchResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Responses.ExecuteBatchResponseparseDelimitedFrom(java.io.InputStream input)static Responses.ExecuteBatchResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Responses.ExecuteBatchResponseparseFrom(byte[] data)static Responses.ExecuteBatchResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Responses.ExecuteBatchResponseparseFrom(com.google.protobuf.ByteString data)static Responses.ExecuteBatchResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Responses.ExecuteBatchResponseparseFrom(com.google.protobuf.CodedInputStream input)static Responses.ExecuteBatchResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Responses.ExecuteBatchResponseparseFrom(java.io.InputStream input)static Responses.ExecuteBatchResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Responses.ExecuteBatchResponseparseFrom(java.nio.ByteBuffer data)static Responses.ExecuteBatchResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Responses.ExecuteBatchResponse>parser()Responses.ExecuteBatchResponse.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_
-
CONNECTION_ID_FIELD_NUMBER
public static final int CONNECTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
connectionId_
private volatile java.lang.Object connectionId_
-
STATEMENT_ID_FIELD_NUMBER
public static final int STATEMENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
statementId_
private int statementId_
-
UPDATE_COUNTS_FIELD_NUMBER
public static final int UPDATE_COUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
updateCounts_
private java.util.List<java.lang.Long> updateCounts_
-
updateCountsMemoizedSerializedSize
private int updateCountsMemoizedSerializedSize
-
MISSING_STATEMENT_FIELD_NUMBER
public static final int MISSING_STATEMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
missingStatement_
private boolean missingStatement_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private Responses.RpcMetadata metadata_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Responses.ExecuteBatchResponse DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Responses.ExecuteBatchResponse> PARSER
-
-
Constructor Detail
-
ExecuteBatchResponse
private ExecuteBatchResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
ExecuteBatchResponse
private ExecuteBatchResponse()
-
ExecuteBatchResponse
private ExecuteBatchResponse(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
-
getConnectionId
public java.lang.String getConnectionId()
string connection_id = 1;- Specified by:
getConnectionIdin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getConnectionIdBytes
public com.google.protobuf.ByteString getConnectionIdBytes()
string connection_id = 1;- Specified by:
getConnectionIdBytesin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getStatementId
public int getStatementId()
uint32 statement_id = 2;- Specified by:
getStatementIdin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getUpdateCountsList
public java.util.List<java.lang.Long> getUpdateCountsList()
repeated uint64 update_counts = 3;- Specified by:
getUpdateCountsListin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getUpdateCountsCount
public int getUpdateCountsCount()
repeated uint64 update_counts = 3;- Specified by:
getUpdateCountsCountin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getUpdateCounts
public long getUpdateCounts(int index)
repeated uint64 update_counts = 3;- Specified by:
getUpdateCountsin interfaceResponses.ExecuteBatchResponseOrBuilder
-
getMissingStatement
public boolean getMissingStatement()
Did the request fail because of no-cached statement
bool missing_statement = 4;- Specified by:
getMissingStatementin interfaceResponses.ExecuteBatchResponseOrBuilder
-
hasMetadata
public boolean hasMetadata()
.RpcMetadata metadata = 5;- Specified by:
hasMetadatain interfaceResponses.ExecuteBatchResponseOrBuilder
-
getMetadata
public Responses.RpcMetadata getMetadata()
.RpcMetadata metadata = 5;- Specified by:
getMetadatain interfaceResponses.ExecuteBatchResponseOrBuilder
-
getMetadataOrBuilder
public Responses.RpcMetadataOrBuilder getMetadataOrBuilder()
.RpcMetadata metadata = 5;- Specified by:
getMetadataOrBuilderin interfaceResponses.ExecuteBatchResponseOrBuilder
-
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 Responses.ExecuteBatchResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Responses.ExecuteBatchResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Responses.ExecuteBatchResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Responses.ExecuteBatchResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Responses.ExecuteBatchResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Responses.ExecuteBatchResponse.Builder newBuilder()
-
newBuilder
public static Responses.ExecuteBatchResponse.Builder newBuilder(Responses.ExecuteBatchResponse prototype)
-
toBuilder
public Responses.ExecuteBatchResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Responses.ExecuteBatchResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Responses.ExecuteBatchResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Responses.ExecuteBatchResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Responses.ExecuteBatchResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Responses.ExecuteBatchResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-