@Generated(value="proto") public static final class ClientProtos.ResultOrException extends com.google.protobuf.GeneratedMessage implements ClientProtos.ResultOrExceptionOrBuilder
hbase.pb.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 |
ClientProtos.ResultOrException.Builder
Protobuf type
hbase.pb.ResultOrException |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,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<ClientProtos.ResultOrException> |
PARSER |
static int |
RESULT_FIELD_NUMBER |
static int |
SERVICE_RESULT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ClientProtos.ResultOrException |
getDefaultInstance() |
ClientProtos.ResultOrException |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HBaseProtos.NameBytesPair |
getException()
optional .hbase.pb.NameBytesPair exception = 3; |
HBaseProtos.NameBytesPairOrBuilder |
getExceptionOrBuilder()
optional .hbase.pb.NameBytesPair exception = 3; |
int |
getIndex()
optional uint32 index = 1; |
ClientProtos.RegionLoadStats |
getLoadStats()
Deprecated.
|
ClientProtos.RegionLoadStatsOrBuilder |
getLoadStatsOrBuilder()
Deprecated.
|
com.google.protobuf.Parser<ClientProtos.ResultOrException> |
getParserForType() |
ClientProtos.Result |
getResult()
optional .hbase.pb.Result result = 2; |
ClientProtos.ResultOrBuilder |
getResultOrBuilder()
optional .hbase.pb.Result result = 2; |
int |
getSerializedSize() |
ClientProtos.CoprocessorServiceResult |
getServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4; |
ClientProtos.CoprocessorServiceResultOrBuilder |
getServiceResultOrBuilder()
optional .hbase.pb.CoprocessorServiceResult service_result = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasException()
optional .hbase.pb.NameBytesPair exception = 3; |
int |
hashCode() |
boolean |
hasIndex()
optional uint32 index = 1; |
boolean |
hasLoadStats()
Deprecated.
|
boolean |
hasResult()
optional .hbase.pb.Result result = 2; |
boolean |
hasServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.ResultOrException.Builder |
newBuilder() |
static ClientProtos.ResultOrException.Builder |
newBuilder(ClientProtos.ResultOrException prototype) |
ClientProtos.ResultOrException.Builder |
newBuilderForType() |
protected ClientProtos.ResultOrException.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.ResultOrException |
parseDelimitedFrom(InputStream input) |
static ClientProtos.ResultOrException |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ResultOrException |
parseFrom(byte[] data) |
static ClientProtos.ResultOrException |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ResultOrException |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.ResultOrException |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ResultOrException |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.ResultOrException |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ResultOrException |
parseFrom(InputStream input) |
static ClientProtos.ResultOrException |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.ResultOrException.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<ClientProtos.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 ClientProtos.ResultOrException getDefaultInstance()
public ClientProtos.ResultOrException getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ClientProtos.ResultOrException> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 ClientProtos.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 ClientProtos.ResultOrExceptionOrBuilder
public boolean hasResult()
optional .hbase.pb.Result result = 2;
hasResult
in interface ClientProtos.ResultOrExceptionOrBuilder
public ClientProtos.Result getResult()
optional .hbase.pb.Result result = 2;
getResult
in interface ClientProtos.ResultOrExceptionOrBuilder
public ClientProtos.ResultOrBuilder getResultOrBuilder()
optional .hbase.pb.Result result = 2;
getResultOrBuilder
in interface ClientProtos.ResultOrExceptionOrBuilder
public boolean hasException()
optional .hbase.pb.NameBytesPair exception = 3;
hasException
in interface ClientProtos.ResultOrExceptionOrBuilder
public HBaseProtos.NameBytesPair getException()
optional .hbase.pb.NameBytesPair exception = 3;
getException
in interface ClientProtos.ResultOrExceptionOrBuilder
public HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder()
optional .hbase.pb.NameBytesPair exception = 3;
getExceptionOrBuilder
in interface ClientProtos.ResultOrExceptionOrBuilder
public boolean hasServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
hasServiceResult
in interface ClientProtos.ResultOrExceptionOrBuilder
public ClientProtos.CoprocessorServiceResult getServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
getServiceResult
in interface ClientProtos.ResultOrExceptionOrBuilder
public ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
getServiceResultOrBuilder
in interface ClientProtos.ResultOrExceptionOrBuilder
@Deprecated public boolean hasLoadStats()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
hasLoadStats
in interface ClientProtos.ResultOrExceptionOrBuilder
@Deprecated public ClientProtos.RegionLoadStats getLoadStats()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
getLoadStats
in interface ClientProtos.ResultOrExceptionOrBuilder
@Deprecated public ClientProtos.RegionLoadStatsOrBuilder getLoadStatsOrBuilder()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
getLoadStatsOrBuilder
in interface ClientProtos.ResultOrExceptionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ClientProtos.ResultOrException parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ResultOrException parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ResultOrException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ResultOrException parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ResultOrException parseFrom(InputStream input) throws IOException
IOException
public static ClientProtos.ResultOrException parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ResultOrException parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientProtos.ResultOrException parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientProtos.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ResultOrException.Builder newBuilder()
public ClientProtos.ResultOrException.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientProtos.ResultOrException.Builder newBuilder(ClientProtos.ResultOrException prototype)
public ClientProtos.ResultOrException.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ClientProtos.ResultOrException.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007–2019 Cloudera. All rights reserved.