public static final class RPCProtos.ResponseHeader extends com.google.protobuf.GeneratedMessage implements RPCProtos.ResponseHeaderOrBuilder
ResponseHeader| Modifier and Type | Class and Description |
|---|---|
static class |
RPCProtos.ResponseHeader.Builder
Protobuf type
ResponseHeader |
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 |
CALL_ID_FIELD_NUMBER |
static int |
CELL_BLOCK_META_FIELD_NUMBER |
static int |
EXCEPTION_FIELD_NUMBER |
static com.google.protobuf.Parser<RPCProtos.ResponseHeader> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCallId()
optional uint32 call_id = 1; |
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 3; |
static RPCProtos.ResponseHeader |
getDefaultInstance() |
RPCProtos.ResponseHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RPCProtos.ExceptionResponse |
getException()
optional .ExceptionResponse exception = 2; |
RPCProtos.ExceptionResponseOrBuilder |
getExceptionOrBuilder()
optional .ExceptionResponse exception = 2; |
com.google.protobuf.Parser<RPCProtos.ResponseHeader> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCallId()
optional uint32 call_id = 1; |
boolean |
hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3; |
boolean |
hasException()
optional .ExceptionResponse exception = 2; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RPCProtos.ResponseHeader.Builder |
newBuilder() |
static RPCProtos.ResponseHeader.Builder |
newBuilder(RPCProtos.ResponseHeader prototype) |
RPCProtos.ResponseHeader.Builder |
newBuilderForType() |
protected RPCProtos.ResponseHeader.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RPCProtos.ResponseHeader |
parseDelimitedFrom(InputStream input) |
static RPCProtos.ResponseHeader |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ResponseHeader |
parseFrom(byte[] data) |
static RPCProtos.ResponseHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ResponseHeader |
parseFrom(com.google.protobuf.ByteString data) |
static RPCProtos.ResponseHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ResponseHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RPCProtos.ResponseHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RPCProtos.ResponseHeader |
parseFrom(InputStream input) |
static RPCProtos.ResponseHeader |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ResponseHeader.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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RPCProtos.ResponseHeader> PARSER
public static final int CALL_ID_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER
public static final int CELL_BLOCK_META_FIELD_NUMBER
public static RPCProtos.ResponseHeader getDefaultInstance()
public RPCProtos.ResponseHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RPCProtos.ResponseHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCallId()
optional uint32 call_id = 1;hasCallId in interface RPCProtos.ResponseHeaderOrBuilderpublic int getCallId()
optional uint32 call_id = 1;getCallId in interface RPCProtos.ResponseHeaderOrBuilderpublic boolean hasException()
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
hasException in interface RPCProtos.ResponseHeaderOrBuilderpublic RPCProtos.ExceptionResponse getException()
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
getException in interface RPCProtos.ResponseHeaderOrBuilderpublic RPCProtos.ExceptionResponseOrBuilder getExceptionOrBuilder()
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
getExceptionOrBuilder in interface RPCProtos.ResponseHeaderOrBuilderpublic boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
hasCellBlockMeta in interface RPCProtos.ResponseHeaderOrBuilderpublic RPCProtos.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
getCellBlockMeta in interface RPCProtos.ResponseHeaderOrBuilderpublic RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
getCellBlockMetaOrBuilder in interface RPCProtos.ResponseHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ResponseHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ResponseHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.ResponseHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.ResponseHeader.Builder newBuilder()
public RPCProtos.ResponseHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RPCProtos.ResponseHeader.Builder newBuilder(RPCProtos.ResponseHeader prototype)
public RPCProtos.ResponseHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RPCProtos.ResponseHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.