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.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ClientProtos.ResultOrException.Builder
Protobuf type
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. |
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>| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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;
If part of a multi call, save original index of the list of all
passed so can align this response w/ original request. |
ClientProtos.RegionLoadStats |
getLoadStats()
已过时。
|
ClientProtos.RegionLoadStatsOrBuilder |
getLoadStatsOrBuilder()
已过时。
|
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;
result if this was a coprocessor service call
|
ClientProtos.CoprocessorServiceResultOrBuilder |
getServiceResultOrBuilder()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasException()
optional .hbase.pb.NameBytesPair exception = 3; |
int |
hashCode() |
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. |
boolean |
hasLoadStats()
已过时。
|
boolean |
hasResult()
optional .hbase.pb.Result result = 2; |
boolean |
hasServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
|
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ClientProtos.ResultOrException> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic 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.
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.
public boolean hasResult()
optional .hbase.pb.Result result = 2;public ClientProtos.Result getResult()
optional .hbase.pb.Result result = 2;public ClientProtos.ResultOrBuilder getResultOrBuilder()
optional .hbase.pb.Result result = 2;public boolean hasException()
optional .hbase.pb.NameBytesPair exception = 3;public HBaseProtos.NameBytesPair getException()
optional .hbase.pb.NameBytesPair exception = 3;public HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder()
optional .hbase.pb.NameBytesPair exception = 3;public boolean hasServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
public ClientProtos.CoprocessorServiceResult getServiceResult()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
public ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder()
optional .hbase.pb.CoprocessorServiceResult service_result = 4;
result if this was a coprocessor service call
@Deprecated public boolean hasLoadStats()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
@Deprecated public ClientProtos.RegionLoadStats getLoadStats()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
@Deprecated public ClientProtos.RegionLoadStatsOrBuilder getLoadStatsOrBuilder()
optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true];
current load on the region
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ClientProtos.ResultOrException parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ResultOrException parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ResultOrException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ResultOrException parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ResultOrException parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ResultOrException.Builder newBuilder()
public ClientProtos.ResultOrException.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ClientProtos.ResultOrException.Builder newBuilder(ClientProtos.ResultOrException prototype)
public ClientProtos.ResultOrException.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ClientProtos.ResultOrException.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2007–2019. All rights reserved.