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, 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.ScanResponse.Builder>
public ClientProtos.ScanResponse.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.ScanResponse.Builder>
public ClientProtos.ScanResponse.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.ScanResponse.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.ScanResponse.Builder>
public ClientProtos.ScanResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClientProtos.ScanResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.ScanResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>
IOException
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public long getScannerId()
optional uint64 scanner_id = 2;
getScannerId
in interface ClientProtos.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public boolean getMoreResults()
optional bool more_results = 3;
getMoreResults
in interface ClientProtos.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public int getTtl()
optional uint32 ttl = 4;
getTtl
in interface ClientProtos.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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.ScanResponseOrBuilder
public 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 © 2015 The Apache Software Foundation. All Rights Reserved.