public static final class ClientPB.ResultOrException extends com.google.protobuf.GeneratedMessageLite implements ClientPB.ResultOrExceptionOrBuilder
ResultOrException
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientPB.ResultOrException.Builder
Protobuf type
ResultOrException |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
EXCEPTION_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
LOADSTATS_FIELD_NUMBER |
static com.google.protobuf.Parser<ClientPB.ResultOrException> |
PARSER |
static int |
RESULT_FIELD_NUMBER |
static int |
SERVICE_RESULT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static ClientPB.ResultOrException |
getDefaultInstance() |
ClientPB.ResultOrException |
getDefaultInstanceForType() |
HBasePB.NameBytesPair |
getException()
optional .NameBytesPair exception = 3; |
int |
getIndex()
optional uint32 index = 1; |
ClientPB.RegionLoadStats |
getLoadStats()
Deprecated.
|
com.google.protobuf.Parser<ClientPB.ResultOrException> |
getParserForType() |
ClientPB.Result |
getResult()
optional .Result result = 2; |
int |
getSerializedSize() |
ClientPB.CoprocessorServiceResult |
getServiceResult()
optional .CoprocessorServiceResult service_result = 4; |
boolean |
hasException()
optional .NameBytesPair exception = 3; |
boolean |
hasIndex()
optional uint32 index = 1; |
boolean |
hasLoadStats()
Deprecated.
|
boolean |
hasResult()
optional .Result result = 2; |
boolean |
hasServiceResult()
optional .CoprocessorServiceResult service_result = 4; |
boolean |
isInitialized() |
static ClientPB.ResultOrException.Builder |
newBuilder() |
static ClientPB.ResultOrException.Builder |
newBuilder(ClientPB.ResultOrException prototype) |
ClientPB.ResultOrException.Builder |
newBuilderForType() |
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(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) |
ClientPB.ResultOrException.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ClientPB.ResultOrException> PARSER
public 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 static final int LOADSTATS_FIELD_NUMBER
public static ClientPB.ResultOrException getDefaultInstance()
public ClientPB.ResultOrException getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ClientPB.ResultOrException> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasIndex()
optional uint32 index = 1;
If part of a multi call, save original index of the list of all passed so can align this response w/ original request.
hasIndex in interface ClientPB.ResultOrExceptionOrBuilderpublic int getIndex()
optional uint32 index = 1;
If part of a multi call, save original index of the list of all passed so can align this response w/ original request.
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()
optional .CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
hasServiceResult in interface ClientPB.ResultOrExceptionOrBuilderpublic ClientPB.CoprocessorServiceResult getServiceResult()
optional .CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
getServiceResult in interface ClientPB.ResultOrExceptionOrBuilder@Deprecated public boolean hasLoadStats()
optional .RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
hasLoadStats in interface ClientPB.ResultOrExceptionOrBuilder@Deprecated public ClientPB.RegionLoadStats getLoadStats()
optional .RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
getLoadStats in interface ClientPB.ResultOrExceptionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic 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 ClientPB.ResultOrException.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientPB.ResultOrException.Builder newBuilder(ClientPB.ResultOrException prototype)
public ClientPB.ResultOrException.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors