public static final class RPCProtos.ResponseHeader.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder> implements RPCProtos.ResponseHeaderOrBuilder
ResponseHeader
Modifier and Type | Method and Description |
---|---|
RPCProtos.ResponseHeader |
build() |
RPCProtos.ResponseHeader |
buildPartial() |
RPCProtos.ResponseHeader.Builder |
clear() |
RPCProtos.ResponseHeader.Builder |
clearCallId()
optional uint32 call_id = 1; |
RPCProtos.ResponseHeader.Builder |
clearCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.ResponseHeader.Builder |
clearException()
optional .ExceptionResponse exception = 2; |
RPCProtos.ResponseHeader.Builder |
clone() |
int |
getCallId()
optional uint32 call_id = 1; |
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.CellBlockMeta.Builder |
getCellBlockMetaBuilder()
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.ResponseHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RPCProtos.ExceptionResponse |
getException()
optional .ExceptionResponse exception = 2; |
RPCProtos.ExceptionResponse.Builder |
getExceptionBuilder()
optional .ExceptionResponse exception = 2; |
RPCProtos.ExceptionResponseOrBuilder |
getExceptionOrBuilder()
optional .ExceptionResponse exception = 2; |
boolean |
hasCallId()
optional uint32 call_id = 1; |
boolean |
hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3; |
boolean |
hasException()
optional .ExceptionResponse exception = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.ResponseHeader.Builder |
mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.ResponseHeader.Builder |
mergeException(RPCProtos.ExceptionResponse value)
optional .ExceptionResponse exception = 2; |
RPCProtos.ResponseHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.ResponseHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
RPCProtos.ResponseHeader.Builder |
mergeFrom(RPCProtos.ResponseHeader other) |
RPCProtos.ResponseHeader.Builder |
setCallId(int value)
optional uint32 call_id = 1; |
RPCProtos.ResponseHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.ResponseHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .CellBlockMeta cell_block_meta = 3; |
RPCProtos.ResponseHeader.Builder |
setException(RPCProtos.ExceptionResponse.Builder builderForValue)
optional .ExceptionResponse exception = 2; |
RPCProtos.ResponseHeader.Builder |
setException(RPCProtos.ExceptionResponse value)
optional .ExceptionResponse exception = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder>
public RPCProtos.ResponseHeader.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder>
public RPCProtos.ResponseHeader.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder>
public RPCProtos.ResponseHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RPCProtos.ResponseHeader build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ResponseHeader buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.ResponseHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ResponseHeader.Builder>
public RPCProtos.ResponseHeader.Builder mergeFrom(RPCProtos.ResponseHeader other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.ResponseHeader.Builder>
public RPCProtos.ResponseHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.ResponseHeader.Builder>
IOException
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 RPCProtos.ResponseHeader.Builder setCallId(int value)
optional uint32 call_id = 1;
public RPCProtos.ResponseHeader.Builder clearCallId()
optional uint32 call_id = 1;
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.ResponseHeader.Builder setException(RPCProtos.ExceptionResponse value)
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
public RPCProtos.ResponseHeader.Builder setException(RPCProtos.ExceptionResponse.Builder builderForValue)
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
public RPCProtos.ResponseHeader.Builder mergeException(RPCProtos.ExceptionResponse value)
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
public RPCProtos.ResponseHeader.Builder clearException()
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
public RPCProtos.ExceptionResponse.Builder getExceptionBuilder()
optional .ExceptionResponse exception = 2;
If present, then request threw an exception and no response message (else we presume one)
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.ResponseHeader.Builder setCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
public RPCProtos.ResponseHeader.Builder setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
public RPCProtos.ResponseHeader.Builder mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
public RPCProtos.ResponseHeader.Builder clearCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMeta.Builder getCellBlockMetaBuilder()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 3;
If present, then an encoded data block follows.
getCellBlockMetaOrBuilder
in interface RPCProtos.ResponseHeaderOrBuilder
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.