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, 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<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.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<RPCProtos.ResponseHeader> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasCallId()
optional uint32 call_id = 1;
hasCallId
in interface RPCProtos.ResponseHeaderOrBuilder
public int getCallId()
optional uint32 call_id = 1;
getCallId
in interface RPCProtos.ResponseHeaderOrBuilder
public 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.ResponseHeaderOrBuilder
public 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.ResponseHeaderOrBuilder
public 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.ResponseHeaderOrBuilder
public boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
hasCellBlockMeta
in interface RPCProtos.ResponseHeaderOrBuilder
public RPCProtos.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
getCellBlockMeta
in interface RPCProtos.ResponseHeaderOrBuilder
public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
getCellBlockMetaOrBuilder
in interface RPCProtos.ResponseHeaderOrBuilder
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 RPCProtos.ResponseHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ResponseHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ResponseHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.ResponseHeader parseFrom(InputStream input) throws IOException
IOException
public static RPCProtos.ResponseHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ResponseHeader parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RPCProtos.ResponseHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RPCProtos.ResponseHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCProtos.ResponseHeader.Builder newBuilder()
public RPCProtos.ResponseHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RPCProtos.ResponseHeader.Builder newBuilder(RPCProtos.ResponseHeader prototype)
public RPCProtos.ResponseHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RPCProtos.ResponseHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.