public static final class ClientPB.Result.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.Result,ClientPB.Result.Builder> implements ClientPB.ResultOrBuilder
Result
Modifier and Type | Method and Description |
---|---|
ClientPB.Result.Builder |
addAllCell(Iterable<? extends CellPB.Cell> values)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
addCell(CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
addCell(CellPB.Cell value)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
addCell(int index,
CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
addCell(int index,
CellPB.Cell value)
repeated .Cell cell = 1; |
ClientPB.Result |
build() |
ClientPB.Result |
buildPartial() |
ClientPB.Result.Builder |
clear() |
ClientPB.Result.Builder |
clearAssociatedCellCount()
optional int32 associated_cell_count = 2; |
ClientPB.Result.Builder |
clearCell()
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
clearExists()
optional bool exists = 3; |
ClientPB.Result.Builder |
clearPartial()
optional bool partial = 5 [default = false]; |
ClientPB.Result.Builder |
clearStale()
optional bool stale = 4 [default = false]; |
ClientPB.Result.Builder |
clone() |
int |
getAssociatedCellCount()
optional int32 associated_cell_count = 2; |
CellPB.Cell |
getCell(int index)
repeated .Cell cell = 1; |
int |
getCellCount()
repeated .Cell cell = 1; |
List<CellPB.Cell> |
getCellList()
repeated .Cell cell = 1; |
ClientPB.Result |
getDefaultInstanceForType() |
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]; |
boolean |
isInitialized() |
ClientPB.Result.Builder |
mergeFrom(ClientPB.Result other) |
ClientPB.Result.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientPB.Result.Builder |
removeCell(int index)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
setAssociatedCellCount(int value)
optional int32 associated_cell_count = 2; |
ClientPB.Result.Builder |
setCell(int index,
CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
setCell(int index,
CellPB.Cell value)
repeated .Cell cell = 1; |
ClientPB.Result.Builder |
setExists(boolean value)
optional bool exists = 3; |
ClientPB.Result.Builder |
setPartial(boolean value)
optional bool partial = 5 [default = false]; |
ClientPB.Result.Builder |
setStale(boolean value)
optional bool stale = 4 [default = false]; |
public ClientPB.Result.Builder clear()
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.Result,ClientPB.Result.Builder>
public ClientPB.Result.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.Result,ClientPB.Result.Builder>
public ClientPB.Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.Result,ClientPB.Result.Builder>
public ClientPB.Result build()
build
in interface com.google.protobuf.MessageLite.Builder
public ClientPB.Result buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientPB.Result.Builder mergeFrom(ClientPB.Result other)
mergeFrom
in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.Result,ClientPB.Result.Builder>
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public ClientPB.Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<ClientPB.Result.Builder>
IOException
public List<CellPB.Cell> getCellList()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellList
in interface ClientPB.ResultOrBuilder
public int getCellCount()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCellCount
in interface ClientPB.ResultOrBuilder
public CellPB.Cell getCell(int index)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
getCell
in interface ClientPB.ResultOrBuilder
public ClientPB.Result.Builder setCell(int index, CellPB.Cell value)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder setCell(int index, CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder addCell(CellPB.Cell value)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder addCell(int index, CellPB.Cell value)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder addCell(CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder addCell(int index, CellPB.Cell.Builder builderForValue)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder addAllCell(Iterable<? extends CellPB.Cell> values)
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder clearCell()
repeated .Cell cell = 1;
Result includes the Cells or else it just has a count of Cells that are carried otherwise.
public ClientPB.Result.Builder removeCell(int index)
repeated .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 ClientPB.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 ClientPB.ResultOrBuilder
public ClientPB.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 ClientPB.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 ClientPB.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 ClientPB.ResultOrBuilder
public ClientPB.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 ClientPB.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 ClientPB.ResultOrBuilder
public boolean getStale()
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
getStale
in interface ClientPB.ResultOrBuilder
public ClientPB.Result.Builder setStale(boolean value)
optional bool stale = 4 [default = false];
Whether or not the results are coming from possibly stale data
public ClientPB.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
hasPartial
in interface ClientPB.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
getPartial
in interface ClientPB.ResultOrBuilder
public ClientPB.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
public ClientPB.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
Copyright © 2010-2017, The Async HBase Authors