// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ScannerMessage.proto
package org.apache.hadoop.hbase.rest.protobuf.generated;
public final class ScannerMessage {
private ScannerMessage() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface ScannerOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional bytes startRow = 1;
boolean hasStartRow();
com.google.protobuf.ByteString getStartRow();
// optional bytes endRow = 2;
boolean hasEndRow();
com.google.protobuf.ByteString getEndRow();
// repeated bytes columns = 3;
java.util.List<com.google.protobuf.ByteString> getColumnsList();
int getColumnsCount();
com.google.protobuf.ByteString getColumns(int index);
// optional int32 batch = 4;
boolean hasBatch();
int getBatch();
// optional int64 startTime = 5;
boolean hasStartTime();
long getStartTime();
// optional int64 endTime = 6;
boolean hasEndTime();
long getEndTime();
// optional int32 maxVersions = 7;
boolean hasMaxVersions();
int getMaxVersions();
// optional string filter = 8;
boolean hasFilter();
String getFilter();
}
public static final class Scanner extends
com.google.protobuf.GeneratedMessage
implements ScannerOrBuilder {
// Use Scanner.newBuilder() to construct.
private Scanner(Builder builder) {
super(builder);
}
private Scanner(boolean noInit) {}
private static final Scanner defaultInstance;
public static Scanner getDefaultInstance() {
return defaultInstance;
}
public Scanner getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
}
private int bitField0_;
// optional bytes startRow = 1;
public static final int STARTROW_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString startRow_;
public boolean hasStartRow() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.google.protobuf.ByteString getStartRow() {
return startRow_;
}
// optional bytes endRow = 2;
public static final int ENDROW_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString endRow_;
public boolean hasEndRow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.google.protobuf.ByteString getEndRow() {
return endRow_;
}
// repeated bytes columns = 3;
public static final int COLUMNS_FIELD_NUMBER = 3;
private java.util.List<com.google.protobuf.ByteString> columns_;
public java.util.List<com.google.protobuf.ByteString>
getColumnsList() {
return columns_;
}
public int getColumnsCount() {
return columns_.size();
}
public com.google.protobuf.ByteString getColumns(int index) {
return columns_.get(index);
}
// optional int32 batch = 4;
public static final int BATCH_FIELD_NUMBER = 4;
private int batch_;
public boolean hasBatch() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getBatch() {
return batch_;
}
// optional int64 startTime = 5;
public static final int STARTTIME_FIELD_NUMBER = 5;
private long startTime_;
public boolean hasStartTime() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getStartTime() {
return startTime_;
}
// optional int64 endTime = 6;
public static final int ENDTIME_FIELD_NUMBER = 6;
private long endTime_;
public boolean hasEndTime() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public long getEndTime() {
return endTime_;
}
// optional int32 maxVersions = 7;
public static final int MAXVERSIONS_FIELD_NUMBER = 7;
private int maxVersions_;
public boolean hasMaxVersions() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getMaxVersions() {
return maxVersions_;
}
// optional string filter = 8;
public static final int FILTER_FIELD_NUMBER = 8;
private java.lang.Object filter_;
public boolean hasFilter() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public String getFilter() {
java.lang.Object ref = filter_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
filter_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
filter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
startRow_ = com.google.protobuf.ByteString.EMPTY;
endRow_ = com.google.protobuf.ByteString.EMPTY;
columns_ = java.util.Collections.emptyList();;
batch_ = 0;
startTime_ = 0L;
endTime_ = 0L;
maxVersions_ = 0;
filter_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, startRow_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, endRow_);
}
for (int i = 0; i < columns_.size(); i++) {
output.writeBytes(3, columns_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, batch_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(5, startTime_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt64(6, endTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(7, maxVersions_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(8, getFilterBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, startRow_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, endRow_);
}
{
int dataSize = 0;
for (int i = 0; i < columns_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(columns_.get(i));
}
size += dataSize;
size += 1 * getColumnsList().size();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, batch_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, startTime_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, endTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, maxVersions_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getFilterBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.ScannerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
}
// Construct using org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
startRow_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
endRow_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
columns_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000004);
batch_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
startTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
endTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
maxVersions_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
filter_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDescriptor();
}
public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner getDefaultInstanceForType() {
return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDefaultInstance();
}
public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner build() {
org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner buildPartial() {
org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = new org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.startRow_ = startRow_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.endRow_ = endRow_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
columns_ = java.util.Collections.unmodifiableList(columns_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.columns_ = columns_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.batch_ = batch_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.startTime_ = startTime_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.endTime_ = endTime_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
result.maxVersions_ = maxVersions_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000040;
}
result.filter_ = filter_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner) {
return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner other) {
if (other == org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDefaultInstance()) return this;
if (other.hasStartRow()) {
setStartRow(other.getStartRow());
}
if (other.hasEndRow()) {
setEndRow(other.getEndRow());
}
if (!other.columns_.isEmpty()) {
if (columns_.isEmpty()) {
columns_ = other.columns_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureColumnsIsMutable();
columns_.addAll(other.columns_);
}
onChanged();
}
if (other.hasBatch()) {
setBatch(other.getBatch());
}
if (other.hasStartTime()) {
setStartTime(other.getStartTime());
}
if (other.hasEndTime()) {
setEndTime(other.getEndTime());
}
if (other.hasMaxVersions()) {
setMaxVersions(other.getMaxVersions());
}
if (other.hasFilter()) {
setFilter(other.getFilter());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
startRow_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
endRow_ = input.readBytes();
break;
}
case 26: {
ensureColumnsIsMutable();
columns_.add(input.readBytes());
break;
}
case 32: {
bitField0_ |= 0x00000008;
batch_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
startTime_ = input.readInt64();
break;
}
case 48: {
bitField0_ |= 0x00000020;
endTime_ = input.readInt64();
break;
}
case 56: {
bitField0_ |= 0x00000040;
maxVersions_ = input.readInt32();
break;
}
case 66: {
bitField0_ |= 0x00000080;
filter_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// optional bytes startRow = 1;
private com.google.protobuf.ByteString startRow_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasStartRow() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.google.protobuf.ByteString getStartRow() {
return startRow_;
}
public Builder setStartRow(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
startRow_ = value;
onChanged();
return this;
}
public Builder clearStartRow() {
bitField0_ = (bitField0_ & ~0x00000001);
startRow_ = getDefaultInstance().getStartRow();
onChanged();
return this;
}
// optional bytes endRow = 2;
private com.google.protobuf.ByteString endRow_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasEndRow() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public com.google.protobuf.ByteString getEndRow() {
return endRow_;
}
public Builder setEndRow(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
endRow_ = value;
onChanged();
return this;
}
public Builder clearEndRow() {
bitField0_ = (bitField0_ & ~0x00000002);
endRow_ = getDefaultInstance().getEndRow();
onChanged();
return this;
}
// repeated bytes columns = 3;
private java.util.List<com.google.protobuf.ByteString> columns_ = java.util.Collections.emptyList();;
private void ensureColumnsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
columns_ = new java.util.ArrayList<com.google.protobuf.ByteString>(columns_);
bitField0_ |= 0x00000004;
}
}
public java.util.List<com.google.protobuf.ByteString>
getColumnsList() {
return java.util.Collections.unmodifiableList(columns_);
}
public int getColumnsCount() {
return columns_.size();
}
public com.google.protobuf.ByteString getColumns(int index) {
return columns_.get(index);
}
public Builder setColumns(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.set(index, value);
onChanged();
return this;
}
public Builder addColumns(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.add(value);
onChanged();
return this;
}
public Builder addAllColumns(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureColumnsIsMutable();
super.addAll(values, columns_);
onChanged();
return this;
}
public Builder clearColumns() {
columns_ = java.util.Collections.emptyList();;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
// optional int32 batch = 4;
private int batch_ ;
public boolean hasBatch() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getBatch() {
return batch_;
}
public Builder setBatch(int value) {
bitField0_ |= 0x00000008;
batch_ = value;
onChanged();
return this;
}
public Builder clearBatch() {
bitField0_ = (bitField0_ & ~0x00000008);
batch_ = 0;
onChanged();
return this;
}
// optional int64 startTime = 5;
private long startTime_ ;
public boolean hasStartTime() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public long getStartTime() {
return startTime_;
}
public Builder setStartTime(long value) {
bitField0_ |= 0x00000010;
startTime_ = value;
onChanged();
return this;
}
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000010);
startTime_ = 0L;
onChanged();
return this;
}
// optional int64 endTime = 6;
private long endTime_ ;
public boolean hasEndTime() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public long getEndTime() {
return endTime_;
}
public Builder setEndTime(long value) {
bitField0_ |= 0x00000020;
endTime_ = value;
onChanged();
return this;
}
public Builder clearEndTime() {
bitField0_ = (bitField0_ & ~0x00000020);
endTime_ = 0L;
onChanged();
return this;
}
// optional int32 maxVersions = 7;
private int maxVersions_ ;
public boolean hasMaxVersions() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getMaxVersions() {
return maxVersions_;
}
public Builder setMaxVersions(int value) {
bitField0_ |= 0x00000040;
maxVersions_ = value;
onChanged();
return this;
}
public Builder clearMaxVersions() {
bitField0_ = (bitField0_ & ~0x00000040);
maxVersions_ = 0;
onChanged();
return this;
}
// optional string filter = 8;
private java.lang.Object filter_ = "";
public boolean hasFilter() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public String getFilter() {
java.lang.Object ref = filter_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
filter_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setFilter(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
filter_ = value;
onChanged();
return this;
}
public Builder clearFilter() {
bitField0_ = (bitField0_ & ~0x00000080);
filter_ = getDefaultInstance().getFilter();
onChanged();
return this;
}
void setFilter(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000080;
filter_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.Scanner)
}
static {
defaultInstance = new Scanner(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.Scanner)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\024ScannerMessage.proto\022/org.apache.hadoo" +
"p.hbase.rest.protobuf.generated\"\224\001\n\007Scan" +
"ner\022\020\n\010startRow\030\001 \001(\014\022\016\n\006endRow\030\002 \001(\014\022\017\n" +
"\007columns\030\003 \003(\014\022\r\n\005batch\030\004 \001(\005\022\021\n\tstartTi" +
"me\030\005 \001(\003\022\017\n\007endTime\030\006 \001(\003\022\023\n\013maxVersions" +
"\030\007 \001(\005\022\016\n\006filter\030\010 \001(\t"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor,
new java.lang.String[] { "StartRow", "EndRow", "Columns", "Batch", "StartTime", "EndTime", "MaxVersions", "Filter", },
org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.class,
org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}