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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<ClientPB.ResultOrException> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public 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.ResultOrExceptionOrBuilder
public 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.ResultOrExceptionOrBuilder
public boolean hasResult()
optional .Result result = 2;
hasResult
in interface ClientPB.ResultOrExceptionOrBuilder
public ClientPB.Result getResult()
optional .Result result = 2;
getResult
in interface ClientPB.ResultOrExceptionOrBuilder
public boolean hasException()
optional .NameBytesPair exception = 3;
hasException
in interface ClientPB.ResultOrExceptionOrBuilder
public HBasePB.NameBytesPair getException()
optional .NameBytesPair exception = 3;
getException
in interface ClientPB.ResultOrExceptionOrBuilder
public boolean hasServiceResult()
optional .CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
hasServiceResult
in interface ClientPB.ResultOrExceptionOrBuilder
public 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.ResultOrExceptionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ResultOrException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ResultOrException parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ResultOrException parseFrom(InputStream input) throws IOException
IOException
public static ClientPB.ResultOrException parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ResultOrException parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientPB.ResultOrException parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ResultOrException.Builder newBuilder()
public ClientPB.ResultOrException.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientPB.ResultOrException.Builder newBuilder(ClientPB.ResultOrException prototype)
public ClientPB.ResultOrException.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors