@Generated(value="proto") public static final class ClientProtos.Result.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.Result.Builder> implements ClientProtos.ResultOrBuilder
hbase.pb.Result
Modifier and Type | Method and Description |
---|---|
ClientProtos.Result.Builder |
addAllCell(Iterable<? extends CellProtos.Cell> values)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
addCell(CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
addCell(CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
addCell(int index,
CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
addCell(int index,
CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1; |
CellProtos.Cell.Builder |
addCellBuilder()
repeated .hbase.pb.Cell cell = 1; |
CellProtos.Cell.Builder |
addCellBuilder(int index)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result |
build() |
ClientProtos.Result |
buildPartial() |
ClientProtos.Result.Builder |
clear() |
ClientProtos.Result.Builder |
clearAssociatedCellCount()
optional int32 associated_cell_count = 2; |
ClientProtos.Result.Builder |
clearCell()
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
clearExists()
optional bool exists = 3; |
ClientProtos.Result.Builder |
clearPartial()
optional bool partial = 5 [default = false]; |
ClientProtos.Result.Builder |
clearStale()
optional bool stale = 4 [default = false]; |
ClientProtos.Result.Builder |
clone() |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 2; |
CellProtos.Cell |
getCell(int index)
repeated .hbase.pb.Cell cell = 1; |
CellProtos.Cell.Builder |
getCellBuilder(int index)
repeated .hbase.pb.Cell cell = 1; |
List<CellProtos.Cell.Builder> |
getCellBuilderList()
repeated .hbase.pb.Cell cell = 1; |
int |
getCellCount()
repeated .hbase.pb.Cell cell = 1; |
List<CellProtos.Cell> |
getCellList()
repeated .hbase.pb.Cell cell = 1; |
CellProtos.CellOrBuilder |
getCellOrBuilder(int index)
repeated .hbase.pb.Cell cell = 1; |
List<? extends CellProtos.CellOrBuilder> |
getCellOrBuilderList()
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getExists()
optional bool exists = 3; |
boolean |
getPartial()
optional bool partial = 5 [default = false]; |
boolean |
getStale()
optional bool stale = 4 [default = false]; |
boolean |
hasAssociatedCellCount()
optional int32 associated_cell_count = 2; |
boolean |
hasExists()
optional bool exists = 3; |
boolean |
hasPartial()
optional bool partial = 5 [default = false]; |
boolean |
hasStale()
optional bool stale = 4 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientProtos.Result.Builder |
mergeFrom(ClientProtos.Result other) |
ClientProtos.Result.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.Result.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientProtos.Result.Builder |
removeCell(int index)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
setAssociatedCellCount(int value)
optional int32 associated_cell_count = 2; |
ClientProtos.Result.Builder |
setCell(int index,
CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
setCell(int index,
CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1; |
ClientProtos.Result.Builder |
setExists(boolean value)
optional bool exists = 3; |
ClientProtos.Result.Builder |
setPartial(boolean value)
optional bool partial = 5 [default = false]; |
ClientProtos.Result.Builder |
setStale(boolean value)
optional bool stale = 4 [default = false]; |
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<ClientProtos.Result.Builder>
public ClientProtos.Result.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<ClientProtos.Result.Builder>
public ClientProtos.Result.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<ClientProtos.Result.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<ClientProtos.Result.Builder>
public ClientProtos.Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClientProtos.Result build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.Result buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.Result.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.Result.Builder>
public ClientProtos.Result.Builder mergeFrom(ClientProtos.Result other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.Result.Builder>
public ClientProtos.Result.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<ClientProtos.Result.Builder>
IOException
public List<CellProtos.Cell> getCellList()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellList
in interface ClientProtos.ResultOrBuilder
public int getCellCount()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellCount
in interface ClientProtos.ResultOrBuilder
public CellProtos.Cell getCell(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCell
in interface ClientProtos.ResultOrBuilder
public ClientProtos.Result.Builder setCell(int index, CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder setCell(int index, CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder addCell(CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder addCell(int index, CellProtos.Cell value)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder addCell(CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder addCell(int index, CellProtos.Cell.Builder builderForValue)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder addAllCell(Iterable<? extends CellProtos.Cell> values)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder clearCell()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientProtos.Result.Builder removeCell(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public CellProtos.Cell.Builder getCellBuilder(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public CellProtos.CellOrBuilder getCellOrBuilder(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilder
in interface ClientProtos.ResultOrBuilder
public List<? extends CellProtos.CellOrBuilder> getCellOrBuilderList()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellOrBuilderList
in interface ClientProtos.ResultOrBuilder
public CellProtos.Cell.Builder addCellBuilder()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public CellProtos.Cell.Builder addCellBuilder(int index)
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public List<CellProtos.Cell.Builder> getCellBuilderList()
repeated .hbase.pb.Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public boolean hasAssociatedCellCount()
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
hasAssociatedCellCount
in interface ClientProtos.ResultOrBuilder
public int getAssociatedCellCount()
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
getAssociatedCellCount
in interface ClientProtos.ResultOrBuilder
public ClientProtos.Result.Builder setAssociatedCellCount(int value)
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
public ClientProtos.Result.Builder clearAssociatedCellCount()
optional int32 associated_cell_count = 2;
The below count is set when the associated cells are not part of this protobuf message; they are passed alongside and then this Message is just a placeholder with metadata. The count is needed to know how many to peel off the block of Cells as ours. NOTE: This is different from the pb managed cell_count of the 'cell' field above which is non-null when the cells are pb'd.
public boolean hasExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
hasExists
in interface ClientProtos.ResultOrBuilder
public boolean getExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
getExists
in interface ClientProtos.ResultOrBuilder
public ClientProtos.Result.Builder setExists(boolean value)
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
public ClientProtos.Result.Builder clearExists()
optional bool exists = 3;
used for Get to check existence only. Not set if existence_only was not set to true in the query.
public boolean hasStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
hasStale
in interface ClientProtos.ResultOrBuilder
public boolean getStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
getStale
in interface ClientProtos.ResultOrBuilder
public ClientProtos.Result.Builder setStale(boolean value)
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
public ClientProtos.Result.Builder clearStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
public boolean hasPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result. The equivalent flag in o.a.h.h.client.Result is mayHaveMoreCellsInRow.
hasPartial
in interface ClientProtos.ResultOrBuilder
public boolean getPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result. The equivalent flag in o.a.h.h.client.Result is mayHaveMoreCellsInRow.
getPartial
in interface ClientProtos.ResultOrBuilder
public ClientProtos.Result.Builder setPartial(boolean value)
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result. The equivalent flag in o.a.h.h.client.Result is mayHaveMoreCellsInRow.
public ClientProtos.Result.Builder clearPartial()
optional bool partial = 5 [default = false];
Whether or not the entire result could be returned. Results will be split when the RPC chunk size limit is reached. Partial results contain only a subset of the cells for a row and must be combined with a result containing the remaining cells to form a complete result. The equivalent flag in o.a.h.h.client.Result is mayHaveMoreCellsInRow.
Copyright © 2007–2019 Cloudera. All rights reserved.