org.hbase.async.generated
Class ClientPB.ResultOrException
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.hbase.async.generated.ClientPB.ResultOrException
- All Implemented Interfaces:
- com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, ClientPB.ResultOrExceptionOrBuilder
- Enclosing class:
- ClientPB
public static final class ClientPB.ResultOrException
- extends com.google.protobuf.GeneratedMessageLite
- implements ClientPB.ResultOrExceptionOrBuilder
Protobuf type 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.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
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> |
Methods inherited from class com.google.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER
public static com.google.protobuf.Parser<ClientPB.ResultOrException> PARSER
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
EXCEPTION_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static ClientPB.ResultOrException getDefaultInstance()
getDefaultInstanceForType
public ClientPB.ResultOrException getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getParserForType
public com.google.protobuf.Parser<ClientPB.ResultOrException> getParserForType()
- Specified by:
getParserForType
in interface com.google.protobuf.MessageLite
- Overrides:
getParserForType
in class com.google.protobuf.GeneratedMessageLite
hasIndex
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.
- Specified by:
hasIndex
in interface ClientPB.ResultOrExceptionOrBuilder
getIndex
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.
- Specified by:
getIndex
in interface ClientPB.ResultOrExceptionOrBuilder
hasResult
public boolean hasResult()
optional .Result result = 2;
- Specified by:
hasResult
in interface ClientPB.ResultOrExceptionOrBuilder
getResult
public ClientPB.Result getResult()
optional .Result result = 2;
- Specified by:
getResult
in interface ClientPB.ResultOrExceptionOrBuilder
hasException
public boolean hasException()
optional .NameBytesPair exception = 3;
- Specified by:
hasException
in interface ClientPB.ResultOrExceptionOrBuilder
getException
public HBasePB.NameBytesPair getException()
optional .NameBytesPair exception = 3;
- Specified by:
getException
in interface ClientPB.ResultOrExceptionOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
writeReplace
protected Object writeReplace()
throws ObjectStreamException
- Overrides:
writeReplace
in class com.google.protobuf.GeneratedMessageLite
- Throws:
ObjectStreamException
parseFrom
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ClientPB.ResultOrException parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ClientPB.ResultOrException parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ClientPB.ResultOrException parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static ClientPB.ResultOrException parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static ClientPB.ResultOrException parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static ClientPB.ResultOrException parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static ClientPB.ResultOrException parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static ClientPB.ResultOrException.Builder newBuilder()
newBuilderForType
public ClientPB.ResultOrException.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static ClientPB.ResultOrException.Builder newBuilder(ClientPB.ResultOrException prototype)
toBuilder
public ClientPB.ResultOrException.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2015, The Async HBase Authors