public static final class ClientProtos.ScanResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder> implements ClientProtos.ScanResponseOrBuilder
ScanResponse
The scan response. If there are no more results, more_results will be false. If it is not specified, it means there are more.
| Modifier and Type | Method and Description |
|---|---|
ClientProtos.ScanResponse.Builder |
addAllCellsPerResult(Iterable<? extends Integer> values)
repeated uint32 cells_per_result = 1; |
ClientProtos.ScanResponse.Builder |
addAllResults(Iterable<? extends ClientProtos.Result> values)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
addCellsPerResult(int value)
repeated uint32 cells_per_result = 1; |
ClientProtos.ScanResponse.Builder |
addResults(ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
addResults(ClientProtos.Result value)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
addResults(int index,
ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
addResults(int index,
ClientProtos.Result value)
repeated .Result results = 5; |
ClientProtos.Result.Builder |
addResultsBuilder()
repeated .Result results = 5; |
ClientProtos.Result.Builder |
addResultsBuilder(int index)
repeated .Result results = 5; |
ClientProtos.ScanResponse |
build() |
ClientProtos.ScanResponse |
buildPartial() |
ClientProtos.ScanResponse.Builder |
clear() |
ClientProtos.ScanResponse.Builder |
clearCellsPerResult()
repeated uint32 cells_per_result = 1; |
ClientProtos.ScanResponse.Builder |
clearMoreResults()
optional bool more_results = 3; |
ClientProtos.ScanResponse.Builder |
clearResults()
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
clearScannerId()
optional uint64 scanner_id = 2; |
ClientProtos.ScanResponse.Builder |
clearTtl()
optional uint32 ttl = 4; |
ClientProtos.ScanResponse.Builder |
clone() |
int |
getCellsPerResult(int index)
repeated uint32 cells_per_result = 1; |
int |
getCellsPerResultCount()
repeated uint32 cells_per_result = 1; |
List<Integer> |
getCellsPerResultList()
repeated uint32 cells_per_result = 1; |
ClientProtos.ScanResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getMoreResults()
optional bool more_results = 3; |
ClientProtos.Result |
getResults(int index)
repeated .Result results = 5; |
ClientProtos.Result.Builder |
getResultsBuilder(int index)
repeated .Result results = 5; |
List<ClientProtos.Result.Builder> |
getResultsBuilderList()
repeated .Result results = 5; |
int |
getResultsCount()
repeated .Result results = 5; |
List<ClientProtos.Result> |
getResultsList()
repeated .Result results = 5; |
ClientProtos.ResultOrBuilder |
getResultsOrBuilder(int index)
repeated .Result results = 5; |
List<? extends ClientProtos.ResultOrBuilder> |
getResultsOrBuilderList()
repeated .Result results = 5; |
long |
getScannerId()
optional uint64 scanner_id = 2; |
int |
getTtl()
optional uint32 ttl = 4; |
boolean |
hasMoreResults()
optional bool more_results = 3; |
boolean |
hasScannerId()
optional uint64 scanner_id = 2; |
boolean |
hasTtl()
optional uint32 ttl = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientProtos.ScanResponse.Builder |
mergeFrom(ClientProtos.ScanResponse other) |
ClientProtos.ScanResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.ScanResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientProtos.ScanResponse.Builder |
removeResults(int index)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
setCellsPerResult(int index,
int value)
repeated uint32 cells_per_result = 1; |
ClientProtos.ScanResponse.Builder |
setMoreResults(boolean value)
optional bool more_results = 3; |
ClientProtos.ScanResponse.Builder |
setResults(int index,
ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
setResults(int index,
ClientProtos.Result value)
repeated .Result results = 5; |
ClientProtos.ScanResponse.Builder |
setScannerId(long value)
optional uint64 scanner_id = 2; |
ClientProtos.ScanResponse.Builder |
setTtl(int value)
optional uint32 ttl = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClientProtos.ScanResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClientProtos.ScanResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder mergeFrom(ClientProtos.ScanResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>IOExceptionpublic List<Integer> getCellsPerResultList()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
getCellsPerResultList in interface ClientProtos.ScanResponseOrBuilderpublic int getCellsPerResultCount()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
getCellsPerResultCount in interface ClientProtos.ScanResponseOrBuilderpublic int getCellsPerResult(int index)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
getCellsPerResult in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setCellsPerResult(int index, int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder addCellsPerResult(int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder addAllCellsPerResult(Iterable<? extends Integer> values)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder clearCellsPerResult()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public boolean hasScannerId()
optional uint64 scanner_id = 2;hasScannerId in interface ClientProtos.ScanResponseOrBuilderpublic long getScannerId()
optional uint64 scanner_id = 2;getScannerId in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setScannerId(long value)
optional uint64 scanner_id = 2;public ClientProtos.ScanResponse.Builder clearScannerId()
optional uint64 scanner_id = 2;public boolean hasMoreResults()
optional bool more_results = 3;hasMoreResults in interface ClientProtos.ScanResponseOrBuilderpublic boolean getMoreResults()
optional bool more_results = 3;getMoreResults in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setMoreResults(boolean value)
optional bool more_results = 3;public ClientProtos.ScanResponse.Builder clearMoreResults()
optional bool more_results = 3;public boolean hasTtl()
optional uint32 ttl = 4;hasTtl in interface ClientProtos.ScanResponseOrBuilderpublic int getTtl()
optional uint32 ttl = 4;getTtl in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setTtl(int value)
optional uint32 ttl = 4;public ClientProtos.ScanResponse.Builder clearTtl()
optional uint32 ttl = 4;public List<ClientProtos.Result> getResultsList()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResultsList in interface ClientProtos.ScanResponseOrBuilderpublic int getResultsCount()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResultsCount in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.Result getResults(int index)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResults in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setResults(int index, ClientProtos.Result value)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder setResults(int index, ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(ClientProtos.Result value)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(int index, ClientProtos.Result value)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(int index, ClientProtos.Result.Builder builderForValue)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addAllResults(Iterable<? extends ClientProtos.Result> values)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder clearResults()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder removeResults(int index)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result.Builder getResultsBuilder(int index)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ResultOrBuilder getResultsOrBuilder(int index)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResultsOrBuilder in interface ClientProtos.ScanResponseOrBuilderpublic List<? extends ClientProtos.ResultOrBuilder> getResultsOrBuilderList()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResultsOrBuilderList in interface ClientProtos.ScanResponseOrBuilderpublic ClientProtos.Result.Builder addResultsBuilder()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result.Builder addResultsBuilder(int index)
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public List<ClientProtos.Result.Builder> getResultsBuilderList()
repeated .Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
Copyright © 2014 The Apache Software Foundation. All rights reserved.