public static final class ClientPB.ResultOrException extends com.google.protobuf.GeneratedMessageLite<ClientPB.ResultOrException,ClientPB.ResultOrException.Builder> implements ClientPB.ResultOrExceptionOrBuilder
Either a Result or an Exception NameBytesPair (keyed by exception name whose value is the exception stringified) or maybe empty if no result and no exception.Protobuf type
ResultOrException| Modifier and Type | Class and Description |
|---|---|
static class |
ClientPB.ResultOrException.Builder
Either a Result or an Exception NameBytesPair (keyed by
exception name whose value is the exception stringified)
or maybe empty if no result and no exception.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Field and Description |
|---|---|
static int |
EXCEPTION_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
SERVICE_RESULT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static ClientPB.ResultOrException |
getDefaultInstance() |
HBasePB.NameBytesPair |
getException()
optional .NameBytesPair exception = 3; |
int |
getIndex()
If part of a multi call, save original index of the list of all
passed so can align this response w/ original request.
|
ClientPB.Result |
getResult()
optional .Result result = 2; |
int |
getSerializedSize() |
ClientPB.CoprocessorServiceResult |
getServiceResult()
result if this was a coprocessor service call
|
boolean |
hasException()
optional .NameBytesPair exception = 3; |
boolean |
hasIndex()
If part of a multi call, save original index of the list of all
passed so can align this response w/ original request.
|
boolean |
hasResult()
optional .Result result = 2; |
boolean |
hasServiceResult()
result if this was a coprocessor service call
|
static ClientPB.ResultOrException.Builder |
newBuilder() |
static ClientPB.ResultOrException.Builder |
newBuilder(ClientPB.ResultOrException prototype) |
static ClientPB.ResultOrException |
parseDelimitedFrom(InputStream input) |
static ClientPB.ResultOrException |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ResultOrException |
parseFrom(byte[] data) |
static ClientPB.ResultOrException |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ResultOrException |
parseFrom(ByteBuffer data) |
static ClientPB.ResultOrException |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ResultOrException |
parseFrom(com.google.protobuf.ByteString data) |
static ClientPB.ResultOrException |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ResultOrException |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientPB.ResultOrException |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ResultOrException |
parseFrom(InputStream input) |
static ClientPB.ResultOrException |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClientPB.ResultOrException> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INDEX_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER
public static final int SERVICE_RESULT_FIELD_NUMBER
public boolean hasIndex()
If part of a multi call, save original index of the list of all passed so can align this response w/ original request.
optional uint32 index = 1;hasIndex in interface ClientPB.ResultOrExceptionOrBuilderpublic int getIndex()
If part of a multi call, save original index of the list of all passed so can align this response w/ original request.
optional uint32 index = 1;getIndex in interface ClientPB.ResultOrExceptionOrBuilderpublic boolean hasResult()
optional .Result result = 2;hasResult in interface ClientPB.ResultOrExceptionOrBuilderpublic ClientPB.Result getResult()
optional .Result result = 2;getResult in interface ClientPB.ResultOrExceptionOrBuilderpublic boolean hasException()
optional .NameBytesPair exception = 3;hasException in interface ClientPB.ResultOrExceptionOrBuilderpublic HBasePB.NameBytesPair getException()
optional .NameBytesPair exception = 3;getException in interface ClientPB.ResultOrExceptionOrBuilderpublic boolean hasServiceResult()
result if this was a coprocessor service call
optional .CoprocessorServiceResult service_result = 4;hasServiceResult in interface ClientPB.ResultOrExceptionOrBuilderpublic ClientPB.CoprocessorServiceResult getServiceResult()
result if this was a coprocessor service call
optional .CoprocessorServiceResult service_result = 4;getServiceResult in interface ClientPB.ResultOrExceptionOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static ClientPB.ResultOrException parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ResultOrException parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.ResultOrException parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ResultOrException parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.ResultOrException parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ResultOrException.Builder newBuilder()
public static ClientPB.ResultOrException.Builder newBuilder(ClientPB.ResultOrException prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ClientPB.ResultOrException,ClientPB.ResultOrException.Builder>public static ClientPB.ResultOrException getDefaultInstance()
public static com.google.protobuf.Parser<ClientPB.ResultOrException> parser()
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.