org.hbase.async.generated
Class ClientPB.ScanResponse.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>
          extended by org.hbase.async.generated.ClientPB.ScanResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, ClientPB.ScanResponseOrBuilder
Enclosing class:
ClientPB.ScanResponse

public static final class ClientPB.ScanResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>
implements ClientPB.ScanResponseOrBuilder

Protobuf type 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.
 


Method Summary
 ClientPB.ScanResponse.Builder addAllCellsPerResult(Iterable<? extends Integer> values)
          repeated uint32 cells_per_result = 1;
 ClientPB.ScanResponse.Builder addAllResults(Iterable<? extends ClientPB.Result> values)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder addCellsPerResult(int value)
          repeated uint32 cells_per_result = 1;
 ClientPB.ScanResponse.Builder addResults(ClientPB.Result.Builder builderForValue)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder addResults(ClientPB.Result value)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder addResults(int index, ClientPB.Result.Builder builderForValue)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder addResults(int index, ClientPB.Result value)
          repeated .Result results = 5;
 ClientPB.ScanResponse build()
           
 ClientPB.ScanResponse buildPartial()
           
 ClientPB.ScanResponse.Builder clear()
           
 ClientPB.ScanResponse.Builder clearCellsPerResult()
          repeated uint32 cells_per_result = 1;
 ClientPB.ScanResponse.Builder clearMoreResults()
          optional bool more_results = 3;
 ClientPB.ScanResponse.Builder clearResults()
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder clearScannerId()
          optional uint64 scanner_id = 2;
 ClientPB.ScanResponse.Builder clearTtl()
          optional uint32 ttl = 4;
 ClientPB.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;
 ClientPB.ScanResponse getDefaultInstanceForType()
           
 boolean getMoreResults()
          optional bool more_results = 3;
 ClientPB.Result getResults(int index)
          repeated .Result results = 5;
 int getResultsCount()
          repeated .Result results = 5;
 List<ClientPB.Result> getResultsList()
          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;
 boolean isInitialized()
           
 ClientPB.ScanResponse.Builder mergeFrom(ClientPB.ScanResponse other)
           
 ClientPB.ScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClientPB.ScanResponse.Builder removeResults(int index)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder setCellsPerResult(int index, int value)
          repeated uint32 cells_per_result = 1;
 ClientPB.ScanResponse.Builder setMoreResults(boolean value)
          optional bool more_results = 3;
 ClientPB.ScanResponse.Builder setResults(int index, ClientPB.Result.Builder builderForValue)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder setResults(int index, ClientPB.Result value)
          repeated .Result results = 5;
 ClientPB.ScanResponse.Builder setScannerId(long value)
          optional uint64 scanner_id = 2;
 ClientPB.ScanResponse.Builder setTtl(int value)
          optional uint32 ttl = 4;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public ClientPB.ScanResponse.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>

clone

public ClientPB.ScanResponse.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>

getDefaultInstanceForType

public ClientPB.ScanResponse getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>

build

public ClientPB.ScanResponse build()
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ClientPB.ScanResponse buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ClientPB.ScanResponse.Builder mergeFrom(ClientPB.ScanResponse other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public ClientPB.ScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ClientPB.ScanResponse.Builder>
Throws:
IOException

getCellsPerResultList

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.
 

Specified by:
getCellsPerResultList in interface ClientPB.ScanResponseOrBuilder

getCellsPerResultCount

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.
 

Specified by:
getCellsPerResultCount in interface ClientPB.ScanResponseOrBuilder

getCellsPerResult

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.
 

Specified by:
getCellsPerResult in interface ClientPB.ScanResponseOrBuilder

setCellsPerResult

public ClientPB.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.
 


addCellsPerResult

public ClientPB.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.
 


addAllCellsPerResult

public ClientPB.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.
 


clearCellsPerResult

public ClientPB.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.
 


hasScannerId

public boolean hasScannerId()
optional uint64 scanner_id = 2;

Specified by:
hasScannerId in interface ClientPB.ScanResponseOrBuilder

getScannerId

public long getScannerId()
optional uint64 scanner_id = 2;

Specified by:
getScannerId in interface ClientPB.ScanResponseOrBuilder

setScannerId

public ClientPB.ScanResponse.Builder setScannerId(long value)
optional uint64 scanner_id = 2;


clearScannerId

public ClientPB.ScanResponse.Builder clearScannerId()
optional uint64 scanner_id = 2;


hasMoreResults

public boolean hasMoreResults()
optional bool more_results = 3;

Specified by:
hasMoreResults in interface ClientPB.ScanResponseOrBuilder

getMoreResults

public boolean getMoreResults()
optional bool more_results = 3;

Specified by:
getMoreResults in interface ClientPB.ScanResponseOrBuilder

setMoreResults

public ClientPB.ScanResponse.Builder setMoreResults(boolean value)
optional bool more_results = 3;


clearMoreResults

public ClientPB.ScanResponse.Builder clearMoreResults()
optional bool more_results = 3;


hasTtl

public boolean hasTtl()
optional uint32 ttl = 4;

Specified by:
hasTtl in interface ClientPB.ScanResponseOrBuilder

getTtl

public int getTtl()
optional uint32 ttl = 4;

Specified by:
getTtl in interface ClientPB.ScanResponseOrBuilder

setTtl

public ClientPB.ScanResponse.Builder setTtl(int value)
optional uint32 ttl = 4;


clearTtl

public ClientPB.ScanResponse.Builder clearTtl()
optional uint32 ttl = 4;


getResultsList

public List<ClientPB.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)
 

Specified by:
getResultsList in interface ClientPB.ScanResponseOrBuilder

getResultsCount

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)
 

Specified by:
getResultsCount in interface ClientPB.ScanResponseOrBuilder

getResults

public ClientPB.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)
 

Specified by:
getResults in interface ClientPB.ScanResponseOrBuilder

setResults

public ClientPB.ScanResponse.Builder setResults(int index,
                                                ClientPB.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)
 


setResults

public ClientPB.ScanResponse.Builder setResults(int index,
                                                ClientPB.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)
 


addResults

public ClientPB.ScanResponse.Builder addResults(ClientPB.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)
 


addResults

public ClientPB.ScanResponse.Builder addResults(int index,
                                                ClientPB.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)
 


addResults

public ClientPB.ScanResponse.Builder addResults(ClientPB.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)
 


addResults

public ClientPB.ScanResponse.Builder addResults(int index,
                                                ClientPB.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)
 


addAllResults

public ClientPB.ScanResponse.Builder addAllResults(Iterable<? extends ClientPB.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)
 


clearResults

public ClientPB.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)
 


removeResults

public ClientPB.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)
 



Copyright © 2010-2015, The Async HBase Authors