org.apache.hadoop.hbase.protobuf.generated
Class ClientProtos.ScanResponse.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ClientProtos.ScanResponseOrBuilder
Enclosing class:
ClientProtos.ScanResponse

public static final class ClientProtos.ScanResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>
implements ClientProtos.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
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>

clear

public ClientProtos.ScanResponse.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>

clone

public ClientProtos.ScanResponse.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>

getDefaultInstanceForType

public ClientProtos.ScanResponse getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>

mergeFrom

public ClientProtos.ScanResponse.Builder mergeFrom(ClientProtos.ScanResponse other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>

mergeFrom

public ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.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 ClientProtos.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 ClientProtos.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 ClientProtos.ScanResponseOrBuilder

setCellsPerResult

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.
 


addCellsPerResult

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.
 


addAllCellsPerResult

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.
 


clearCellsPerResult

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.
 


hasScannerId

public boolean hasScannerId()
optional uint64 scanner_id = 2;

Specified by:
hasScannerId in interface ClientProtos.ScanResponseOrBuilder

getScannerId

public long getScannerId()
optional uint64 scanner_id = 2;

Specified by:
getScannerId in interface ClientProtos.ScanResponseOrBuilder

setScannerId

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


clearScannerId

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


hasMoreResults

public boolean hasMoreResults()
optional bool more_results = 3;

Specified by:
hasMoreResults in interface ClientProtos.ScanResponseOrBuilder

getMoreResults

public boolean getMoreResults()
optional bool more_results = 3;

Specified by:
getMoreResults in interface ClientProtos.ScanResponseOrBuilder

setMoreResults

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


clearMoreResults

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


hasTtl

public boolean hasTtl()
optional uint32 ttl = 4;

Specified by:
hasTtl in interface ClientProtos.ScanResponseOrBuilder

getTtl

public int getTtl()
optional uint32 ttl = 4;

Specified by:
getTtl in interface ClientProtos.ScanResponseOrBuilder

setTtl

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


clearTtl

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


getResultsList

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)
 

Specified by:
getResultsList in interface ClientProtos.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 ClientProtos.ScanResponseOrBuilder

getResults

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)
 

Specified by:
getResults in interface ClientProtos.ScanResponseOrBuilder

setResults

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)
 


setResults

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)
 


addResults

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)
 


addResults

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)
 


addResults

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)
 


addResults

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)
 


addAllResults

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)
 


clearResults

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)
 


removeResults

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)
 


getResultsBuilder

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)
 


getResultsOrBuilder

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)
 

Specified by:
getResultsOrBuilder in interface ClientProtos.ScanResponseOrBuilder

getResultsOrBuilderList

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)
 

Specified by:
getResultsOrBuilderList in interface ClientProtos.ScanResponseOrBuilder

addResultsBuilder

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)
 


addResultsBuilder

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)
 


getResultsBuilderList

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 © 2013 The Apache Software Foundation. All Rights Reserved.