org.hbase.async.generated.HBasePB Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asynchbase Show documentation
Show all versions of asynchbase Show documentation
An alternative HBase client library for applications requiring fully
asynchronous, non-blocking and thread-safe HBase connectivity.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HBase.proto
package org.hbase.async.generated;
public final class HBasePB {
private HBasePB() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* Protobuf enum {@code CompareType}
*
*
* Comparison operators
*
*/
public enum CompareType
implements com.google.protobuf.Internal.EnumLite {
/**
* LESS = 0;
*/
LESS(0, 0),
/**
* LESS_OR_EQUAL = 1;
*/
LESS_OR_EQUAL(1, 1),
/**
* EQUAL = 2;
*/
EQUAL(2, 2),
/**
* NOT_EQUAL = 3;
*/
NOT_EQUAL(3, 3),
/**
* GREATER_OR_EQUAL = 4;
*/
GREATER_OR_EQUAL(4, 4),
/**
* GREATER = 5;
*/
GREATER(5, 5),
/**
* NO_OP = 6;
*/
NO_OP(6, 6),
;
/**
* LESS = 0;
*/
public static final int LESS_VALUE = 0;
/**
* LESS_OR_EQUAL = 1;
*/
public static final int LESS_OR_EQUAL_VALUE = 1;
/**
* EQUAL = 2;
*/
public static final int EQUAL_VALUE = 2;
/**
* NOT_EQUAL = 3;
*/
public static final int NOT_EQUAL_VALUE = 3;
/**
* GREATER_OR_EQUAL = 4;
*/
public static final int GREATER_OR_EQUAL_VALUE = 4;
/**
* GREATER = 5;
*/
public static final int GREATER_VALUE = 5;
/**
* NO_OP = 6;
*/
public static final int NO_OP_VALUE = 6;
public final int getNumber() { return value; }
public static CompareType valueOf(int value) {
switch (value) {
case 0: return LESS;
case 1: return LESS_OR_EQUAL;
case 2: return EQUAL;
case 3: return NOT_EQUAL;
case 4: return GREATER_OR_EQUAL;
case 5: return GREATER;
case 6: return NO_OP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CompareType findValueByNumber(int number) {
return CompareType.valueOf(number);
}
};
private final int value;
private CompareType(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CompareType)
}
public interface TableNameOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes namespace = 1;
/**
* required bytes namespace = 1;
*/
boolean hasNamespace();
/**
* required bytes namespace = 1;
*/
com.google.protobuf.ByteString getNamespace();
// required bytes qualifier = 2;
/**
* required bytes qualifier = 2;
*/
boolean hasQualifier();
/**
* required bytes qualifier = 2;
*/
com.google.protobuf.ByteString getQualifier();
}
/**
* Protobuf type {@code TableName}
*
*
**
* Table Name
*
*/
public static final class TableName extends
com.google.protobuf.GeneratedMessageLite
implements TableNameOrBuilder {
// Use TableName.newBuilder() to construct.
private TableName(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private TableName(boolean noInit) {}
private static final TableName defaultInstance;
public static TableName getDefaultInstance() {
return defaultInstance;
}
public TableName getDefaultInstanceForType() {
return defaultInstance;
}
private TableName(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
namespace_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
qualifier_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TableName parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableName(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes namespace = 1;
public static final int NAMESPACE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString namespace_;
/**
* required bytes namespace = 1;
*/
public boolean hasNamespace() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes namespace = 1;
*/
public com.google.protobuf.ByteString getNamespace() {
return namespace_;
}
// required bytes qualifier = 2;
public static final int QUALIFIER_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString qualifier_;
/**
* required bytes qualifier = 2;
*/
public boolean hasQualifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes qualifier = 2;
*/
public com.google.protobuf.ByteString getQualifier() {
return qualifier_;
}
private void initFields() {
namespace_ = com.google.protobuf.ByteString.EMPTY;
qualifier_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasNamespace()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasQualifier()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, namespace_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, qualifier_);
}
}
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, namespace_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, qualifier_);
}
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.hbase.async.generated.HBasePB.TableName parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableName parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableName parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableName parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.TableName prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code TableName}
*
*
**
* Table Name
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.TableName, Builder>
implements org.hbase.async.generated.HBasePB.TableNameOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.TableName.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
namespace_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
qualifier_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.TableName getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.TableName build() {
org.hbase.async.generated.HBasePB.TableName result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.TableName buildPartial() {
org.hbase.async.generated.HBasePB.TableName result = new org.hbase.async.generated.HBasePB.TableName(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.namespace_ = namespace_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.qualifier_ = qualifier_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.TableName other) {
if (other == org.hbase.async.generated.HBasePB.TableName.getDefaultInstance()) return this;
if (other.hasNamespace()) {
setNamespace(other.getNamespace());
}
if (other.hasQualifier()) {
setQualifier(other.getQualifier());
}
return this;
}
public final boolean isInitialized() {
if (!hasNamespace()) {
return false;
}
if (!hasQualifier()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.TableName parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.TableName) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes namespace = 1;
private com.google.protobuf.ByteString namespace_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes namespace = 1;
*/
public boolean hasNamespace() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes namespace = 1;
*/
public com.google.protobuf.ByteString getNamespace() {
return namespace_;
}
/**
* required bytes namespace = 1;
*/
public Builder setNamespace(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
namespace_ = value;
return this;
}
/**
* required bytes namespace = 1;
*/
public Builder clearNamespace() {
bitField0_ = (bitField0_ & ~0x00000001);
namespace_ = getDefaultInstance().getNamespace();
return this;
}
// required bytes qualifier = 2;
private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes qualifier = 2;
*/
public boolean hasQualifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes qualifier = 2;
*/
public com.google.protobuf.ByteString getQualifier() {
return qualifier_;
}
/**
* required bytes qualifier = 2;
*/
public Builder setQualifier(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
qualifier_ = value;
return this;
}
/**
* required bytes qualifier = 2;
*/
public Builder clearQualifier() {
bitField0_ = (bitField0_ & ~0x00000002);
qualifier_ = getDefaultInstance().getQualifier();
return this;
}
// @@protoc_insertion_point(builder_scope:TableName)
}
static {
defaultInstance = new TableName(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:TableName)
}
public interface TableSchemaOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional .TableName table_name = 1;
/**
* optional .TableName table_name = 1;
*/
boolean hasTableName();
/**
* optional .TableName table_name = 1;
*/
org.hbase.async.generated.HBasePB.TableName getTableName();
// repeated .BytesBytesPair attributes = 2;
/**
* repeated .BytesBytesPair attributes = 2;
*/
java.util.List
getAttributesList();
/**
* repeated .BytesBytesPair attributes = 2;
*/
org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index);
/**
* repeated .BytesBytesPair attributes = 2;
*/
int getAttributesCount();
// repeated .ColumnFamilySchema column_families = 3;
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
java.util.List
getColumnFamiliesList();
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
org.hbase.async.generated.HBasePB.ColumnFamilySchema getColumnFamilies(int index);
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
int getColumnFamiliesCount();
// repeated .NameStringPair configuration = 4;
/**
* repeated .NameStringPair configuration = 4;
*/
java.util.List
getConfigurationList();
/**
* repeated .NameStringPair configuration = 4;
*/
org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index);
/**
* repeated .NameStringPair configuration = 4;
*/
int getConfigurationCount();
}
/**
* Protobuf type {@code TableSchema}
*
*
**
* Table Schema
* Inspired by the rest TableSchema
*
*/
public static final class TableSchema extends
com.google.protobuf.GeneratedMessageLite
implements TableSchemaOrBuilder {
// Use TableSchema.newBuilder() to construct.
private TableSchema(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private TableSchema(boolean noInit) {}
private static final TableSchema defaultInstance;
public static TableSchema getDefaultInstance() {
return defaultInstance;
}
public TableSchema getDefaultInstanceForType() {
return defaultInstance;
}
private TableSchema(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.hbase.async.generated.HBasePB.TableName.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = tableName_.toBuilder();
}
tableName_ = input.readMessage(org.hbase.async.generated.HBasePB.TableName.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tableName_);
tableName_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
attributes_.add(input.readMessage(org.hbase.async.generated.HBasePB.BytesBytesPair.PARSER, extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
columnFamilies_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
columnFamilies_.add(input.readMessage(org.hbase.async.generated.HBasePB.ColumnFamilySchema.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
configuration_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
configuration_.add(input.readMessage(org.hbase.async.generated.HBasePB.NameStringPair.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TableSchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableSchema(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .TableName table_name = 1;
public static final int TABLE_NAME_FIELD_NUMBER = 1;
private org.hbase.async.generated.HBasePB.TableName tableName_;
/**
* optional .TableName table_name = 1;
*/
public boolean hasTableName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .TableName table_name = 1;
*/
public org.hbase.async.generated.HBasePB.TableName getTableName() {
return tableName_;
}
// repeated .BytesBytesPair attributes = 2;
public static final int ATTRIBUTES_FIELD_NUMBER = 2;
private java.util.List attributes_;
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List getAttributesList() {
return attributes_;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.BytesBytesPairOrBuilder>
getAttributesOrBuilderList() {
return attributes_;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index) {
return attributes_.get(index);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPairOrBuilder getAttributesOrBuilder(
int index) {
return attributes_.get(index);
}
// repeated .ColumnFamilySchema column_families = 3;
public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3;
private java.util.List columnFamilies_;
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public java.util.List getColumnFamiliesList() {
return columnFamilies_;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.ColumnFamilySchemaOrBuilder>
getColumnFamiliesOrBuilderList() {
return columnFamilies_;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public int getColumnFamiliesCount() {
return columnFamilies_.size();
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public org.hbase.async.generated.HBasePB.ColumnFamilySchema getColumnFamilies(int index) {
return columnFamilies_.get(index);
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public org.hbase.async.generated.HBasePB.ColumnFamilySchemaOrBuilder getColumnFamiliesOrBuilder(
int index) {
return columnFamilies_.get(index);
}
// repeated .NameStringPair configuration = 4;
public static final int CONFIGURATION_FIELD_NUMBER = 4;
private java.util.List configuration_;
/**
* repeated .NameStringPair configuration = 4;
*/
public java.util.List getConfigurationList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.NameStringPairOrBuilder>
getConfigurationOrBuilderList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 4;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 4;
*/
public org.hbase.async.generated.HBasePB.NameStringPairOrBuilder getConfigurationOrBuilder(
int index) {
return configuration_.get(index);
}
private void initFields() {
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
attributes_ = java.util.Collections.emptyList();
columnFamilies_ = java.util.Collections.emptyList();
configuration_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasTableName()) {
if (!getTableName().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getColumnFamiliesCount(); i++) {
if (!getColumnFamilies(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, tableName_);
}
for (int i = 0; i < attributes_.size(); i++) {
output.writeMessage(2, attributes_.get(i));
}
for (int i = 0; i < columnFamilies_.size(); i++) {
output.writeMessage(3, columnFamilies_.get(i));
}
for (int i = 0; i < configuration_.size(); i++) {
output.writeMessage(4, configuration_.get(i));
}
}
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
.computeMessageSize(1, tableName_);
}
for (int i = 0; i < attributes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, attributes_.get(i));
}
for (int i = 0; i < columnFamilies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, columnFamilies_.get(i));
}
for (int i = 0; i < configuration_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, configuration_.get(i));
}
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.hbase.async.generated.HBasePB.TableSchema parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TableSchema parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.TableSchema prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code TableSchema}
*
*
**
* Table Schema
* Inspired by the rest TableSchema
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.TableSchema, Builder>
implements org.hbase.async.generated.HBasePB.TableSchemaOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.TableSchema.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
columnFamilies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.TableSchema getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.TableSchema.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.TableSchema build() {
org.hbase.async.generated.HBasePB.TableSchema result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.TableSchema buildPartial() {
org.hbase.async.generated.HBasePB.TableSchema result = new org.hbase.async.generated.HBasePB.TableSchema(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.tableName_ = tableName_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.attributes_ = attributes_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
columnFamilies_ = java.util.Collections.unmodifiableList(columnFamilies_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.columnFamilies_ = columnFamilies_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.configuration_ = configuration_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.TableSchema other) {
if (other == org.hbase.async.generated.HBasePB.TableSchema.getDefaultInstance()) return this;
if (other.hasTableName()) {
mergeTableName(other.getTableName());
}
if (!other.attributes_.isEmpty()) {
if (attributes_.isEmpty()) {
attributes_ = other.attributes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAttributesIsMutable();
attributes_.addAll(other.attributes_);
}
}
if (!other.columnFamilies_.isEmpty()) {
if (columnFamilies_.isEmpty()) {
columnFamilies_ = other.columnFamilies_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureColumnFamiliesIsMutable();
columnFamilies_.addAll(other.columnFamilies_);
}
}
if (!other.configuration_.isEmpty()) {
if (configuration_.isEmpty()) {
configuration_ = other.configuration_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureConfigurationIsMutable();
configuration_.addAll(other.configuration_);
}
}
return this;
}
public final boolean isInitialized() {
if (hasTableName()) {
if (!getTableName().isInitialized()) {
return false;
}
}
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getColumnFamiliesCount(); i++) {
if (!getColumnFamilies(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.TableSchema parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.TableSchema) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .TableName table_name = 1;
private org.hbase.async.generated.HBasePB.TableName tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
/**
* optional .TableName table_name = 1;
*/
public boolean hasTableName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .TableName table_name = 1;
*/
public org.hbase.async.generated.HBasePB.TableName getTableName() {
return tableName_;
}
/**
* optional .TableName table_name = 1;
*/
public Builder setTableName(org.hbase.async.generated.HBasePB.TableName value) {
if (value == null) {
throw new NullPointerException();
}
tableName_ = value;
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .TableName table_name = 1;
*/
public Builder setTableName(
org.hbase.async.generated.HBasePB.TableName.Builder builderForValue) {
tableName_ = builderForValue.build();
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .TableName table_name = 1;
*/
public Builder mergeTableName(org.hbase.async.generated.HBasePB.TableName value) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
tableName_ != org.hbase.async.generated.HBasePB.TableName.getDefaultInstance()) {
tableName_ =
org.hbase.async.generated.HBasePB.TableName.newBuilder(tableName_).mergeFrom(value).buildPartial();
} else {
tableName_ = value;
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .TableName table_name = 1;
*/
public Builder clearTableName() {
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
// repeated .BytesBytesPair attributes = 2;
private java.util.List attributes_ =
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList(attributes_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List getAttributesList() {
return java.util.Collections.unmodifiableList(attributes_);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index) {
return attributes_.get(index);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder setAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.set(index, value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder setAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.set(index, builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(index, value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.add(builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.add(index, builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAllAttributes(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.BytesBytesPair> values) {
ensureAttributesIsMutable();
super.addAll(values, attributes_);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder clearAttributes() {
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder removeAttributes(int index) {
ensureAttributesIsMutable();
attributes_.remove(index);
return this;
}
// repeated .ColumnFamilySchema column_families = 3;
private java.util.List columnFamilies_ =
java.util.Collections.emptyList();
private void ensureColumnFamiliesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
columnFamilies_ = new java.util.ArrayList(columnFamilies_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public java.util.List getColumnFamiliesList() {
return java.util.Collections.unmodifiableList(columnFamilies_);
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public int getColumnFamiliesCount() {
return columnFamilies_.size();
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public org.hbase.async.generated.HBasePB.ColumnFamilySchema getColumnFamilies(int index) {
return columnFamilies_.get(index);
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder setColumnFamilies(
int index, org.hbase.async.generated.HBasePB.ColumnFamilySchema value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnFamiliesIsMutable();
columnFamilies_.set(index, value);
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder setColumnFamilies(
int index, org.hbase.async.generated.HBasePB.ColumnFamilySchema.Builder builderForValue) {
ensureColumnFamiliesIsMutable();
columnFamilies_.set(index, builderForValue.build());
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder addColumnFamilies(org.hbase.async.generated.HBasePB.ColumnFamilySchema value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnFamiliesIsMutable();
columnFamilies_.add(value);
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder addColumnFamilies(
int index, org.hbase.async.generated.HBasePB.ColumnFamilySchema value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnFamiliesIsMutable();
columnFamilies_.add(index, value);
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder addColumnFamilies(
org.hbase.async.generated.HBasePB.ColumnFamilySchema.Builder builderForValue) {
ensureColumnFamiliesIsMutable();
columnFamilies_.add(builderForValue.build());
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder addColumnFamilies(
int index, org.hbase.async.generated.HBasePB.ColumnFamilySchema.Builder builderForValue) {
ensureColumnFamiliesIsMutable();
columnFamilies_.add(index, builderForValue.build());
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder addAllColumnFamilies(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.ColumnFamilySchema> values) {
ensureColumnFamiliesIsMutable();
super.addAll(values, columnFamilies_);
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder clearColumnFamilies() {
columnFamilies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* repeated .ColumnFamilySchema column_families = 3;
*/
public Builder removeColumnFamilies(int index) {
ensureColumnFamiliesIsMutable();
columnFamilies_.remove(index);
return this;
}
// repeated .NameStringPair configuration = 4;
private java.util.List configuration_ =
java.util.Collections.emptyList();
private void ensureConfigurationIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
configuration_ = new java.util.ArrayList(configuration_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated .NameStringPair configuration = 4;
*/
public java.util.List getConfigurationList() {
return java.util.Collections.unmodifiableList(configuration_);
}
/**
* repeated .NameStringPair configuration = 4;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 4;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.set(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.set(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder addConfiguration(org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(value);
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder addConfiguration(
org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder addAllConfiguration(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.NameStringPair> values) {
ensureConfigurationIsMutable();
super.addAll(values, configuration_);
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder clearConfiguration() {
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* repeated .NameStringPair configuration = 4;
*/
public Builder removeConfiguration(int index) {
ensureConfigurationIsMutable();
configuration_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:TableSchema)
}
static {
defaultInstance = new TableSchema(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:TableSchema)
}
public interface ColumnFamilySchemaOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes name = 1;
/**
* required bytes name = 1;
*/
boolean hasName();
/**
* required bytes name = 1;
*/
com.google.protobuf.ByteString getName();
// repeated .BytesBytesPair attributes = 2;
/**
* repeated .BytesBytesPair attributes = 2;
*/
java.util.List
getAttributesList();
/**
* repeated .BytesBytesPair attributes = 2;
*/
org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index);
/**
* repeated .BytesBytesPair attributes = 2;
*/
int getAttributesCount();
// repeated .NameStringPair configuration = 3;
/**
* repeated .NameStringPair configuration = 3;
*/
java.util.List
getConfigurationList();
/**
* repeated .NameStringPair configuration = 3;
*/
org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index);
/**
* repeated .NameStringPair configuration = 3;
*/
int getConfigurationCount();
}
/**
* Protobuf type {@code ColumnFamilySchema}
*
*
**
* Column Family Schema
* Inspired by the rest ColumSchemaMessage
*
*/
public static final class ColumnFamilySchema extends
com.google.protobuf.GeneratedMessageLite
implements ColumnFamilySchemaOrBuilder {
// Use ColumnFamilySchema.newBuilder() to construct.
private ColumnFamilySchema(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private ColumnFamilySchema(boolean noInit) {}
private static final ColumnFamilySchema defaultInstance;
public static ColumnFamilySchema getDefaultInstance() {
return defaultInstance;
}
public ColumnFamilySchema getDefaultInstanceForType() {
return defaultInstance;
}
private ColumnFamilySchema(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
attributes_.add(input.readMessage(org.hbase.async.generated.HBasePB.BytesBytesPair.PARSER, extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
configuration_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
configuration_.add(input.readMessage(org.hbase.async.generated.HBasePB.NameStringPair.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ColumnFamilySchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ColumnFamilySchema(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString name_;
/**
* required bytes name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes name = 1;
*/
public com.google.protobuf.ByteString getName() {
return name_;
}
// repeated .BytesBytesPair attributes = 2;
public static final int ATTRIBUTES_FIELD_NUMBER = 2;
private java.util.List attributes_;
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List getAttributesList() {
return attributes_;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.BytesBytesPairOrBuilder>
getAttributesOrBuilderList() {
return attributes_;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index) {
return attributes_.get(index);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPairOrBuilder getAttributesOrBuilder(
int index) {
return attributes_.get(index);
}
// repeated .NameStringPair configuration = 3;
public static final int CONFIGURATION_FIELD_NUMBER = 3;
private java.util.List configuration_;
/**
* repeated .NameStringPair configuration = 3;
*/
public java.util.List getConfigurationList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.NameStringPairOrBuilder>
getConfigurationOrBuilderList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 3;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 3;
*/
public org.hbase.async.generated.HBasePB.NameStringPairOrBuilder getConfigurationOrBuilder(
int index) {
return configuration_.get(index);
}
private void initFields() {
name_ = com.google.protobuf.ByteString.EMPTY;
attributes_ = java.util.Collections.emptyList();
configuration_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, name_);
}
for (int i = 0; i < attributes_.size(); i++) {
output.writeMessage(2, attributes_.get(i));
}
for (int i = 0; i < configuration_.size(); i++) {
output.writeMessage(3, configuration_.get(i));
}
}
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, name_);
}
for (int i = 0; i < attributes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, attributes_.get(i));
}
for (int i = 0; i < configuration_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, configuration_.get(i));
}
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.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.ColumnFamilySchema parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.ColumnFamilySchema prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code ColumnFamilySchema}
*
*
**
* Column Family Schema
* Inspired by the rest ColumSchemaMessage
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.ColumnFamilySchema, Builder>
implements org.hbase.async.generated.HBasePB.ColumnFamilySchemaOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.ColumnFamilySchema.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.ColumnFamilySchema getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.ColumnFamilySchema.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.ColumnFamilySchema build() {
org.hbase.async.generated.HBasePB.ColumnFamilySchema result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.ColumnFamilySchema buildPartial() {
org.hbase.async.generated.HBasePB.ColumnFamilySchema result = new org.hbase.async.generated.HBasePB.ColumnFamilySchema(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.attributes_ = attributes_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.configuration_ = configuration_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.ColumnFamilySchema other) {
if (other == org.hbase.async.generated.HBasePB.ColumnFamilySchema.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (!other.attributes_.isEmpty()) {
if (attributes_.isEmpty()) {
attributes_ = other.attributes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAttributesIsMutable();
attributes_.addAll(other.attributes_);
}
}
if (!other.configuration_.isEmpty()) {
if (configuration_.isEmpty()) {
configuration_ = other.configuration_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureConfigurationIsMutable();
configuration_.addAll(other.configuration_);
}
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
for (int i = 0; i < getAttributesCount(); i++) {
if (!getAttributes(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.ColumnFamilySchema parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.ColumnFamilySchema) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes name = 1;
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes name = 1;
*/
public com.google.protobuf.ByteString getName() {
return name_;
}
/**
* required bytes name = 1;
*/
public Builder setName(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required bytes name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
// repeated .BytesBytesPair attributes = 2;
private java.util.List attributes_ =
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList(attributes_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public java.util.List getAttributesList() {
return java.util.Collections.unmodifiableList(attributes_);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public org.hbase.async.generated.HBasePB.BytesBytesPair getAttributes(int index) {
return attributes_.get(index);
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder setAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.set(index, value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder setAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.set(index, builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(index, value);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.add(builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAttributes(
int index, org.hbase.async.generated.HBasePB.BytesBytesPair.Builder builderForValue) {
ensureAttributesIsMutable();
attributes_.add(index, builderForValue.build());
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder addAllAttributes(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.BytesBytesPair> values) {
ensureAttributesIsMutable();
super.addAll(values, attributes_);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder clearAttributes() {
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .BytesBytesPair attributes = 2;
*/
public Builder removeAttributes(int index) {
ensureAttributesIsMutable();
attributes_.remove(index);
return this;
}
// repeated .NameStringPair configuration = 3;
private java.util.List configuration_ =
java.util.Collections.emptyList();
private void ensureConfigurationIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
configuration_ = new java.util.ArrayList(configuration_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated .NameStringPair configuration = 3;
*/
public java.util.List getConfigurationList() {
return java.util.Collections.unmodifiableList(configuration_);
}
/**
* repeated .NameStringPair configuration = 3;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 3;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.set(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.set(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder addConfiguration(org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(value);
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder addConfiguration(
org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder addAllConfiguration(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.NameStringPair> values) {
ensureConfigurationIsMutable();
super.addAll(values, configuration_);
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder clearConfiguration() {
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* repeated .NameStringPair configuration = 3;
*/
public Builder removeConfiguration(int index) {
ensureConfigurationIsMutable();
configuration_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:ColumnFamilySchema)
}
static {
defaultInstance = new ColumnFamilySchema(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ColumnFamilySchema)
}
public interface RegionInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required uint64 region_id = 1;
/**
* required uint64 region_id = 1;
*/
boolean hasRegionId();
/**
* required uint64 region_id = 1;
*/
long getRegionId();
// required .TableName table_name = 2;
/**
* required .TableName table_name = 2;
*/
boolean hasTableName();
/**
* required .TableName table_name = 2;
*/
org.hbase.async.generated.HBasePB.TableName getTableName();
// optional bytes start_key = 3;
/**
* optional bytes start_key = 3;
*/
boolean hasStartKey();
/**
* optional bytes start_key = 3;
*/
com.google.protobuf.ByteString getStartKey();
// optional bytes end_key = 4;
/**
* optional bytes end_key = 4;
*/
boolean hasEndKey();
/**
* optional bytes end_key = 4;
*/
com.google.protobuf.ByteString getEndKey();
// optional bool offline = 5;
/**
* optional bool offline = 5;
*/
boolean hasOffline();
/**
* optional bool offline = 5;
*/
boolean getOffline();
// optional bool split = 6;
/**
* optional bool split = 6;
*/
boolean hasSplit();
/**
* optional bool split = 6;
*/
boolean getSplit();
}
/**
* Protobuf type {@code RegionInfo}
*
*
**
* Protocol buffer version of HRegionInfo.
*
*/
public static final class RegionInfo extends
com.google.protobuf.GeneratedMessageLite
implements RegionInfoOrBuilder {
// Use RegionInfo.newBuilder() to construct.
private RegionInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private RegionInfo(boolean noInit) {}
private static final RegionInfo defaultInstance;
public static RegionInfo getDefaultInstance() {
return defaultInstance;
}
public RegionInfo getDefaultInstanceForType() {
return defaultInstance;
}
private RegionInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
regionId_ = input.readUInt64();
break;
}
case 18: {
org.hbase.async.generated.HBasePB.TableName.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = tableName_.toBuilder();
}
tableName_ = input.readMessage(org.hbase.async.generated.HBasePB.TableName.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tableName_);
tableName_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
bitField0_ |= 0x00000004;
startKey_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
endKey_ = input.readBytes();
break;
}
case 40: {
bitField0_ |= 0x00000010;
offline_ = input.readBool();
break;
}
case 48: {
bitField0_ |= 0x00000020;
split_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required uint64 region_id = 1;
public static final int REGION_ID_FIELD_NUMBER = 1;
private long regionId_;
/**
* required uint64 region_id = 1;
*/
public boolean hasRegionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 region_id = 1;
*/
public long getRegionId() {
return regionId_;
}
// required .TableName table_name = 2;
public static final int TABLE_NAME_FIELD_NUMBER = 2;
private org.hbase.async.generated.HBasePB.TableName tableName_;
/**
* required .TableName table_name = 2;
*/
public boolean hasTableName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .TableName table_name = 2;
*/
public org.hbase.async.generated.HBasePB.TableName getTableName() {
return tableName_;
}
// optional bytes start_key = 3;
public static final int START_KEY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString startKey_;
/**
* optional bytes start_key = 3;
*/
public boolean hasStartKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bytes start_key = 3;
*/
public com.google.protobuf.ByteString getStartKey() {
return startKey_;
}
// optional bytes end_key = 4;
public static final int END_KEY_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString endKey_;
/**
* optional bytes end_key = 4;
*/
public boolean hasEndKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes end_key = 4;
*/
public com.google.protobuf.ByteString getEndKey() {
return endKey_;
}
// optional bool offline = 5;
public static final int OFFLINE_FIELD_NUMBER = 5;
private boolean offline_;
/**
* optional bool offline = 5;
*/
public boolean hasOffline() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool offline = 5;
*/
public boolean getOffline() {
return offline_;
}
// optional bool split = 6;
public static final int SPLIT_FIELD_NUMBER = 6;
private boolean split_;
/**
* optional bool split = 6;
*/
public boolean hasSplit() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool split = 6;
*/
public boolean getSplit() {
return split_;
}
private void initFields() {
regionId_ = 0L;
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
startKey_ = com.google.protobuf.ByteString.EMPTY;
endKey_ = com.google.protobuf.ByteString.EMPTY;
offline_ = false;
split_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRegionId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTableName()) {
memoizedIsInitialized = 0;
return false;
}
if (!getTableName().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, regionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, tableName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, startKey_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, endKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, offline_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, split_);
}
}
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
.computeUInt64Size(1, regionId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tableName_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, startKey_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, endKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, offline_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, split_);
}
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.hbase.async.generated.HBasePB.RegionInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.RegionInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code RegionInfo}
*
*
**
* Protocol buffer version of HRegionInfo.
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.RegionInfo, Builder>
implements org.hbase.async.generated.HBasePB.RegionInfoOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.RegionInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
regionId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
startKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
endKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
offline_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
split_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.RegionInfo getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.RegionInfo.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.RegionInfo build() {
org.hbase.async.generated.HBasePB.RegionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.RegionInfo buildPartial() {
org.hbase.async.generated.HBasePB.RegionInfo result = new org.hbase.async.generated.HBasePB.RegionInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.regionId_ = regionId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.tableName_ = tableName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.startKey_ = startKey_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.endKey_ = endKey_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.offline_ = offline_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.split_ = split_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.RegionInfo other) {
if (other == org.hbase.async.generated.HBasePB.RegionInfo.getDefaultInstance()) return this;
if (other.hasRegionId()) {
setRegionId(other.getRegionId());
}
if (other.hasTableName()) {
mergeTableName(other.getTableName());
}
if (other.hasStartKey()) {
setStartKey(other.getStartKey());
}
if (other.hasEndKey()) {
setEndKey(other.getEndKey());
}
if (other.hasOffline()) {
setOffline(other.getOffline());
}
if (other.hasSplit()) {
setSplit(other.getSplit());
}
return this;
}
public final boolean isInitialized() {
if (!hasRegionId()) {
return false;
}
if (!hasTableName()) {
return false;
}
if (!getTableName().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.RegionInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.RegionInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required uint64 region_id = 1;
private long regionId_ ;
/**
* required uint64 region_id = 1;
*/
public boolean hasRegionId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 region_id = 1;
*/
public long getRegionId() {
return regionId_;
}
/**
* required uint64 region_id = 1;
*/
public Builder setRegionId(long value) {
bitField0_ |= 0x00000001;
regionId_ = value;
return this;
}
/**
* required uint64 region_id = 1;
*/
public Builder clearRegionId() {
bitField0_ = (bitField0_ & ~0x00000001);
regionId_ = 0L;
return this;
}
// required .TableName table_name = 2;
private org.hbase.async.generated.HBasePB.TableName tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
/**
* required .TableName table_name = 2;
*/
public boolean hasTableName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .TableName table_name = 2;
*/
public org.hbase.async.generated.HBasePB.TableName getTableName() {
return tableName_;
}
/**
* required .TableName table_name = 2;
*/
public Builder setTableName(org.hbase.async.generated.HBasePB.TableName value) {
if (value == null) {
throw new NullPointerException();
}
tableName_ = value;
bitField0_ |= 0x00000002;
return this;
}
/**
* required .TableName table_name = 2;
*/
public Builder setTableName(
org.hbase.async.generated.HBasePB.TableName.Builder builderForValue) {
tableName_ = builderForValue.build();
bitField0_ |= 0x00000002;
return this;
}
/**
* required .TableName table_name = 2;
*/
public Builder mergeTableName(org.hbase.async.generated.HBasePB.TableName value) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
tableName_ != org.hbase.async.generated.HBasePB.TableName.getDefaultInstance()) {
tableName_ =
org.hbase.async.generated.HBasePB.TableName.newBuilder(tableName_).mergeFrom(value).buildPartial();
} else {
tableName_ = value;
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .TableName table_name = 2;
*/
public Builder clearTableName() {
tableName_ = org.hbase.async.generated.HBasePB.TableName.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
// optional bytes start_key = 3;
private com.google.protobuf.ByteString startKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes start_key = 3;
*/
public boolean hasStartKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bytes start_key = 3;
*/
public com.google.protobuf.ByteString getStartKey() {
return startKey_;
}
/**
* optional bytes start_key = 3;
*/
public Builder setStartKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
startKey_ = value;
return this;
}
/**
* optional bytes start_key = 3;
*/
public Builder clearStartKey() {
bitField0_ = (bitField0_ & ~0x00000004);
startKey_ = getDefaultInstance().getStartKey();
return this;
}
// optional bytes end_key = 4;
private com.google.protobuf.ByteString endKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes end_key = 4;
*/
public boolean hasEndKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bytes end_key = 4;
*/
public com.google.protobuf.ByteString getEndKey() {
return endKey_;
}
/**
* optional bytes end_key = 4;
*/
public Builder setEndKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
endKey_ = value;
return this;
}
/**
* optional bytes end_key = 4;
*/
public Builder clearEndKey() {
bitField0_ = (bitField0_ & ~0x00000008);
endKey_ = getDefaultInstance().getEndKey();
return this;
}
// optional bool offline = 5;
private boolean offline_ ;
/**
* optional bool offline = 5;
*/
public boolean hasOffline() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool offline = 5;
*/
public boolean getOffline() {
return offline_;
}
/**
* optional bool offline = 5;
*/
public Builder setOffline(boolean value) {
bitField0_ |= 0x00000010;
offline_ = value;
return this;
}
/**
* optional bool offline = 5;
*/
public Builder clearOffline() {
bitField0_ = (bitField0_ & ~0x00000010);
offline_ = false;
return this;
}
// optional bool split = 6;
private boolean split_ ;
/**
* optional bool split = 6;
*/
public boolean hasSplit() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool split = 6;
*/
public boolean getSplit() {
return split_;
}
/**
* optional bool split = 6;
*/
public Builder setSplit(boolean value) {
bitField0_ |= 0x00000020;
split_ = value;
return this;
}
/**
* optional bool split = 6;
*/
public Builder clearSplit() {
bitField0_ = (bitField0_ & ~0x00000020);
split_ = false;
return this;
}
// @@protoc_insertion_point(builder_scope:RegionInfo)
}
static {
defaultInstance = new RegionInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:RegionInfo)
}
public interface FavoredNodesOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// repeated .ServerName favored_node = 1;
/**
* repeated .ServerName favored_node = 1;
*/
java.util.List
getFavoredNodeList();
/**
* repeated .ServerName favored_node = 1;
*/
org.hbase.async.generated.HBasePB.ServerName getFavoredNode(int index);
/**
* repeated .ServerName favored_node = 1;
*/
int getFavoredNodeCount();
}
/**
* Protobuf type {@code FavoredNodes}
*
*
**
* Protocol buffer for favored nodes
*
*/
public static final class FavoredNodes extends
com.google.protobuf.GeneratedMessageLite
implements FavoredNodesOrBuilder {
// Use FavoredNodes.newBuilder() to construct.
private FavoredNodes(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private FavoredNodes(boolean noInit) {}
private static final FavoredNodes defaultInstance;
public static FavoredNodes getDefaultInstance() {
return defaultInstance;
}
public FavoredNodes getDefaultInstanceForType() {
return defaultInstance;
}
private FavoredNodes(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
favoredNode_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
favoredNode_.add(input.readMessage(org.hbase.async.generated.HBasePB.ServerName.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
favoredNode_ = java.util.Collections.unmodifiableList(favoredNode_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public FavoredNodes parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FavoredNodes(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .ServerName favored_node = 1;
public static final int FAVORED_NODE_FIELD_NUMBER = 1;
private java.util.List favoredNode_;
/**
* repeated .ServerName favored_node = 1;
*/
public java.util.List getFavoredNodeList() {
return favoredNode_;
}
/**
* repeated .ServerName favored_node = 1;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.ServerNameOrBuilder>
getFavoredNodeOrBuilderList() {
return favoredNode_;
}
/**
* repeated .ServerName favored_node = 1;
*/
public int getFavoredNodeCount() {
return favoredNode_.size();
}
/**
* repeated .ServerName favored_node = 1;
*/
public org.hbase.async.generated.HBasePB.ServerName getFavoredNode(int index) {
return favoredNode_.get(index);
}
/**
* repeated .ServerName favored_node = 1;
*/
public org.hbase.async.generated.HBasePB.ServerNameOrBuilder getFavoredNodeOrBuilder(
int index) {
return favoredNode_.get(index);
}
private void initFields() {
favoredNode_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getFavoredNodeCount(); i++) {
if (!getFavoredNode(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < favoredNode_.size(); i++) {
output.writeMessage(1, favoredNode_.get(i));
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < favoredNode_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, favoredNode_.get(i));
}
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.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.FavoredNodes parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.FavoredNodes prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code FavoredNodes}
*
*
**
* Protocol buffer for favored nodes
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.FavoredNodes, Builder>
implements org.hbase.async.generated.HBasePB.FavoredNodesOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.FavoredNodes.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
favoredNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.FavoredNodes getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.FavoredNodes.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.FavoredNodes build() {
org.hbase.async.generated.HBasePB.FavoredNodes result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.FavoredNodes buildPartial() {
org.hbase.async.generated.HBasePB.FavoredNodes result = new org.hbase.async.generated.HBasePB.FavoredNodes(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
favoredNode_ = java.util.Collections.unmodifiableList(favoredNode_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.favoredNode_ = favoredNode_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.FavoredNodes other) {
if (other == org.hbase.async.generated.HBasePB.FavoredNodes.getDefaultInstance()) return this;
if (!other.favoredNode_.isEmpty()) {
if (favoredNode_.isEmpty()) {
favoredNode_ = other.favoredNode_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFavoredNodeIsMutable();
favoredNode_.addAll(other.favoredNode_);
}
}
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getFavoredNodeCount(); i++) {
if (!getFavoredNode(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.FavoredNodes parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.FavoredNodes) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .ServerName favored_node = 1;
private java.util.List favoredNode_ =
java.util.Collections.emptyList();
private void ensureFavoredNodeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
favoredNode_ = new java.util.ArrayList(favoredNode_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .ServerName favored_node = 1;
*/
public java.util.List getFavoredNodeList() {
return java.util.Collections.unmodifiableList(favoredNode_);
}
/**
* repeated .ServerName favored_node = 1;
*/
public int getFavoredNodeCount() {
return favoredNode_.size();
}
/**
* repeated .ServerName favored_node = 1;
*/
public org.hbase.async.generated.HBasePB.ServerName getFavoredNode(int index) {
return favoredNode_.get(index);
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder setFavoredNode(
int index, org.hbase.async.generated.HBasePB.ServerName value) {
if (value == null) {
throw new NullPointerException();
}
ensureFavoredNodeIsMutable();
favoredNode_.set(index, value);
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder setFavoredNode(
int index, org.hbase.async.generated.HBasePB.ServerName.Builder builderForValue) {
ensureFavoredNodeIsMutable();
favoredNode_.set(index, builderForValue.build());
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder addFavoredNode(org.hbase.async.generated.HBasePB.ServerName value) {
if (value == null) {
throw new NullPointerException();
}
ensureFavoredNodeIsMutable();
favoredNode_.add(value);
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder addFavoredNode(
int index, org.hbase.async.generated.HBasePB.ServerName value) {
if (value == null) {
throw new NullPointerException();
}
ensureFavoredNodeIsMutable();
favoredNode_.add(index, value);
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder addFavoredNode(
org.hbase.async.generated.HBasePB.ServerName.Builder builderForValue) {
ensureFavoredNodeIsMutable();
favoredNode_.add(builderForValue.build());
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder addFavoredNode(
int index, org.hbase.async.generated.HBasePB.ServerName.Builder builderForValue) {
ensureFavoredNodeIsMutable();
favoredNode_.add(index, builderForValue.build());
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder addAllFavoredNode(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.ServerName> values) {
ensureFavoredNodeIsMutable();
super.addAll(values, favoredNode_);
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder clearFavoredNode() {
favoredNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .ServerName favored_node = 1;
*/
public Builder removeFavoredNode(int index) {
ensureFavoredNodeIsMutable();
favoredNode_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:FavoredNodes)
}
static {
defaultInstance = new FavoredNodes(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:FavoredNodes)
}
public interface RegionSpecifierOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required .RegionSpecifier.RegionSpecifierType type = 1;
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
boolean hasType();
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType getType();
// required bytes value = 2;
/**
* required bytes value = 2;
*/
boolean hasValue();
/**
* required bytes value = 2;
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code RegionSpecifier}
*
*
**
* Container protocol buffer to specify a region.
* You can specify region by region name, or the hash
* of the region name, which is known as encoded
* region name.
*
*/
public static final class RegionSpecifier extends
com.google.protobuf.GeneratedMessageLite
implements RegionSpecifierOrBuilder {
// Use RegionSpecifier.newBuilder() to construct.
private RegionSpecifier(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private RegionSpecifier(boolean noInit) {}
private static final RegionSpecifier defaultInstance;
public static RegionSpecifier getDefaultInstance() {
return defaultInstance;
}
public RegionSpecifier getDefaultInstanceForType() {
return defaultInstance;
}
private RegionSpecifier(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType value = org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType.valueOf(rawValue);
if (value != null) {
bitField0_ |= 0x00000001;
type_ = value;
}
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionSpecifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionSpecifier(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code RegionSpecifier.RegionSpecifierType}
*/
public enum RegionSpecifierType
implements com.google.protobuf.Internal.EnumLite {
/**
* REGION_NAME = 1;
*
*
* <tablename>,<startkey>,<regionId>.<encodedName>
*
*/
REGION_NAME(0, 1),
/**
* ENCODED_REGION_NAME = 2;
*
*
* hash of <tablename>,<startkey>,<regionId>
*
*/
ENCODED_REGION_NAME(1, 2),
;
/**
* REGION_NAME = 1;
*
*
* <tablename>,<startkey>,<regionId>.<encodedName>
*
*/
public static final int REGION_NAME_VALUE = 1;
/**
* ENCODED_REGION_NAME = 2;
*
*
* hash of <tablename>,<startkey>,<regionId>
*
*/
public static final int ENCODED_REGION_NAME_VALUE = 2;
public final int getNumber() { return value; }
public static RegionSpecifierType valueOf(int value) {
switch (value) {
case 1: return REGION_NAME;
case 2: return ENCODED_REGION_NAME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public RegionSpecifierType findValueByNumber(int number) {
return RegionSpecifierType.valueOf(number);
}
};
private final int value;
private RegionSpecifierType(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:RegionSpecifier.RegionSpecifierType)
}
private int bitField0_;
// required .RegionSpecifier.RegionSpecifierType type = 1;
public static final int TYPE_FIELD_NUMBER = 1;
private org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType type_;
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType getType() {
return type_;
}
// required bytes value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
* required bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private void initFields() {
type_ = org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType.REGION_NAME;
value_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, value_);
}
}
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
.computeEnumSize(1, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
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.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.RegionSpecifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.RegionSpecifier prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code RegionSpecifier}
*
*
**
* Container protocol buffer to specify a region.
* You can specify region by region name, or the hash
* of the region name, which is known as encoded
* region name.
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.RegionSpecifier, Builder>
implements org.hbase.async.generated.HBasePB.RegionSpecifierOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.RegionSpecifier.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
type_ = org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType.REGION_NAME;
bitField0_ = (bitField0_ & ~0x00000001);
value_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.RegionSpecifier getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.RegionSpecifier.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.RegionSpecifier build() {
org.hbase.async.generated.HBasePB.RegionSpecifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.RegionSpecifier buildPartial() {
org.hbase.async.generated.HBasePB.RegionSpecifier result = new org.hbase.async.generated.HBasePB.RegionSpecifier(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.RegionSpecifier other) {
if (other == org.hbase.async.generated.HBasePB.RegionSpecifier.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasValue()) {
setValue(other.getValue());
}
return this;
}
public final boolean isInitialized() {
if (!hasType()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.RegionSpecifier parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.RegionSpecifier) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .RegionSpecifier.RegionSpecifierType type = 1;
private org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType type_ = org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType.REGION_NAME;
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType getType() {
return type_;
}
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public Builder setType(org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value;
return this;
}
/**
* required .RegionSpecifier.RegionSpecifierType type = 1;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.hbase.async.generated.HBasePB.RegionSpecifier.RegionSpecifierType.REGION_NAME;
return this;
}
// required bytes value = 2;
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* required bytes value = 2;
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
return this;
}
/**
* required bytes value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
return this;
}
// @@protoc_insertion_point(builder_scope:RegionSpecifier)
}
static {
defaultInstance = new RegionSpecifier(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:RegionSpecifier)
}
public interface TimeRangeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional uint64 from = 1;
/**
* optional uint64 from = 1;
*/
boolean hasFrom();
/**
* optional uint64 from = 1;
*/
long getFrom();
// optional uint64 to = 2;
/**
* optional uint64 to = 2;
*/
boolean hasTo();
/**
* optional uint64 to = 2;
*/
long getTo();
}
/**
* Protobuf type {@code TimeRange}
*
*
**
* A range of time. Both from and to are Java time
* stamp in milliseconds. If you don't specify a time
* range, it means all time. By default, if not
* specified, from = 0, and to = Long.MAX_VALUE
*
*/
public static final class TimeRange extends
com.google.protobuf.GeneratedMessageLite
implements TimeRangeOrBuilder {
// Use TimeRange.newBuilder() to construct.
private TimeRange(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private TimeRange(boolean noInit) {}
private static final TimeRange defaultInstance;
public static TimeRange getDefaultInstance() {
return defaultInstance;
}
public TimeRange getDefaultInstanceForType() {
return defaultInstance;
}
private TimeRange(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
from_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
to_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public TimeRange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TimeRange(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint64 from = 1;
public static final int FROM_FIELD_NUMBER = 1;
private long from_;
/**
* optional uint64 from = 1;
*/
public boolean hasFrom() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 from = 1;
*/
public long getFrom() {
return from_;
}
// optional uint64 to = 2;
public static final int TO_FIELD_NUMBER = 2;
private long to_;
/**
* optional uint64 to = 2;
*/
public boolean hasTo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 to = 2;
*/
public long getTo() {
return to_;
}
private void initFields() {
from_ = 0L;
to_ = 0L;
}
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.writeUInt64(1, from_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, to_);
}
}
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
.computeUInt64Size(1, from_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, to_);
}
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.hbase.async.generated.HBasePB.TimeRange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.TimeRange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.TimeRange prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code TimeRange}
*
*
**
* A range of time. Both from and to are Java time
* stamp in milliseconds. If you don't specify a time
* range, it means all time. By default, if not
* specified, from = 0, and to = Long.MAX_VALUE
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.TimeRange, Builder>
implements org.hbase.async.generated.HBasePB.TimeRangeOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.TimeRange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
from_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
to_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.TimeRange getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.TimeRange.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.TimeRange build() {
org.hbase.async.generated.HBasePB.TimeRange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.TimeRange buildPartial() {
org.hbase.async.generated.HBasePB.TimeRange result = new org.hbase.async.generated.HBasePB.TimeRange(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.from_ = from_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.to_ = to_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.TimeRange other) {
if (other == org.hbase.async.generated.HBasePB.TimeRange.getDefaultInstance()) return this;
if (other.hasFrom()) {
setFrom(other.getFrom());
}
if (other.hasTo()) {
setTo(other.getTo());
}
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 {
org.hbase.async.generated.HBasePB.TimeRange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.TimeRange) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint64 from = 1;
private long from_ ;
/**
* optional uint64 from = 1;
*/
public boolean hasFrom() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 from = 1;
*/
public long getFrom() {
return from_;
}
/**
* optional uint64 from = 1;
*/
public Builder setFrom(long value) {
bitField0_ |= 0x00000001;
from_ = value;
return this;
}
/**
* optional uint64 from = 1;
*/
public Builder clearFrom() {
bitField0_ = (bitField0_ & ~0x00000001);
from_ = 0L;
return this;
}
// optional uint64 to = 2;
private long to_ ;
/**
* optional uint64 to = 2;
*/
public boolean hasTo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 to = 2;
*/
public long getTo() {
return to_;
}
/**
* optional uint64 to = 2;
*/
public Builder setTo(long value) {
bitField0_ |= 0x00000002;
to_ = value;
return this;
}
/**
* optional uint64 to = 2;
*/
public Builder clearTo() {
bitField0_ = (bitField0_ & ~0x00000002);
to_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:TimeRange)
}
static {
defaultInstance = new TimeRange(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:TimeRange)
}
public interface ServerNameOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string host_name = 1;
/**
* required string host_name = 1;
*/
boolean hasHostName();
/**
* required string host_name = 1;
*/
java.lang.String getHostName();
/**
* required string host_name = 1;
*/
com.google.protobuf.ByteString
getHostNameBytes();
// optional uint32 port = 2;
/**
* optional uint32 port = 2;
*/
boolean hasPort();
/**
* optional uint32 port = 2;
*/
int getPort();
// optional uint64 start_code = 3;
/**
* optional uint64 start_code = 3;
*/
boolean hasStartCode();
/**
* optional uint64 start_code = 3;
*/
long getStartCode();
}
/**
* Protobuf type {@code ServerName}
*
*
**
* Protocol buffer version of ServerName
*
*/
public static final class ServerName extends
com.google.protobuf.GeneratedMessageLite
implements ServerNameOrBuilder {
// Use ServerName.newBuilder() to construct.
private ServerName(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private ServerName(boolean noInit) {}
private static final ServerName defaultInstance;
public static ServerName getDefaultInstance() {
return defaultInstance;
}
public ServerName getDefaultInstanceForType() {
return defaultInstance;
}
private ServerName(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
hostName_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
port_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
startCode_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServerName parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerName(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string host_name = 1;
public static final int HOST_NAME_FIELD_NUMBER = 1;
private java.lang.Object hostName_;
/**
* required string host_name = 1;
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string host_name = 1;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hostName_ = s;
}
return s;
}
}
/**
* required string host_name = 1;
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional uint32 port = 2;
public static final int PORT_FIELD_NUMBER = 2;
private int port_;
/**
* optional uint32 port = 2;
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 port = 2;
*/
public int getPort() {
return port_;
}
// optional uint64 start_code = 3;
public static final int START_CODE_FIELD_NUMBER = 3;
private long startCode_;
/**
* optional uint64 start_code = 3;
*/
public boolean hasStartCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 start_code = 3;
*/
public long getStartCode() {
return startCode_;
}
private void initFields() {
hostName_ = "";
port_ = 0;
startCode_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasHostName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getHostNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, port_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, startCode_);
}
}
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, getHostNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, port_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, startCode_);
}
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.hbase.async.generated.HBasePB.ServerName parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ServerName parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.ServerName parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.ServerName parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.ServerName prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code ServerName}
*
*
**
* Protocol buffer version of ServerName
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.ServerName, Builder>
implements org.hbase.async.generated.HBasePB.ServerNameOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.ServerName.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
hostName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
port_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
startCode_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.ServerName getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.ServerName.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.ServerName build() {
org.hbase.async.generated.HBasePB.ServerName result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.ServerName buildPartial() {
org.hbase.async.generated.HBasePB.ServerName result = new org.hbase.async.generated.HBasePB.ServerName(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.hostName_ = hostName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.port_ = port_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.startCode_ = startCode_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.ServerName other) {
if (other == org.hbase.async.generated.HBasePB.ServerName.getDefaultInstance()) return this;
if (other.hasHostName()) {
bitField0_ |= 0x00000001;
hostName_ = other.hostName_;
}
if (other.hasPort()) {
setPort(other.getPort());
}
if (other.hasStartCode()) {
setStartCode(other.getStartCode());
}
return this;
}
public final boolean isInitialized() {
if (!hasHostName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.ServerName parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.ServerName) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string host_name = 1;
private java.lang.Object hostName_ = "";
/**
* required string host_name = 1;
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string host_name = 1;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
hostName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string host_name = 1;
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string host_name = 1;
*/
public Builder setHostName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hostName_ = value;
return this;
}
/**
* required string host_name = 1;
*/
public Builder clearHostName() {
bitField0_ = (bitField0_ & ~0x00000001);
hostName_ = getDefaultInstance().getHostName();
return this;
}
/**
* required string host_name = 1;
*/
public Builder setHostNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hostName_ = value;
return this;
}
// optional uint32 port = 2;
private int port_ ;
/**
* optional uint32 port = 2;
*/
public boolean hasPort() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 port = 2;
*/
public int getPort() {
return port_;
}
/**
* optional uint32 port = 2;
*/
public Builder setPort(int value) {
bitField0_ |= 0x00000002;
port_ = value;
return this;
}
/**
* optional uint32 port = 2;
*/
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000002);
port_ = 0;
return this;
}
// optional uint64 start_code = 3;
private long startCode_ ;
/**
* optional uint64 start_code = 3;
*/
public boolean hasStartCode() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 start_code = 3;
*/
public long getStartCode() {
return startCode_;
}
/**
* optional uint64 start_code = 3;
*/
public Builder setStartCode(long value) {
bitField0_ |= 0x00000004;
startCode_ = value;
return this;
}
/**
* optional uint64 start_code = 3;
*/
public Builder clearStartCode() {
bitField0_ = (bitField0_ & ~0x00000004);
startCode_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:ServerName)
}
static {
defaultInstance = new ServerName(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ServerName)
}
public interface CoprocessorOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string name = 1;
/**
* required string name = 1;
*/
boolean hasName();
/**
* required string name = 1;
*/
java.lang.String getName();
/**
* required string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code Coprocessor}
*/
public static final class Coprocessor extends
com.google.protobuf.GeneratedMessageLite
implements CoprocessorOrBuilder {
// Use Coprocessor.newBuilder() to construct.
private Coprocessor(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Coprocessor(boolean noInit) {}
private static final Coprocessor defaultInstance;
public static Coprocessor getDefaultInstance() {
return defaultInstance;
}
public Coprocessor getDefaultInstanceForType() {
return defaultInstance;
}
private Coprocessor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Coprocessor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Coprocessor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
}
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, getNameBytes());
}
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.hbase.async.generated.HBasePB.Coprocessor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.Coprocessor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.Coprocessor prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code Coprocessor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.Coprocessor, Builder>
implements org.hbase.async.generated.HBasePB.CoprocessorOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.Coprocessor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.Coprocessor getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.Coprocessor.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.Coprocessor build() {
org.hbase.async.generated.HBasePB.Coprocessor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.Coprocessor buildPartial() {
org.hbase.async.generated.HBasePB.Coprocessor result = new org.hbase.async.generated.HBasePB.Coprocessor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.Coprocessor other) {
if (other == org.hbase.async.generated.HBasePB.Coprocessor.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.Coprocessor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.Coprocessor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
/**
* required string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
// @@protoc_insertion_point(builder_scope:Coprocessor)
}
static {
defaultInstance = new Coprocessor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Coprocessor)
}
public interface NameStringPairOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string name = 1;
/**
* required string name = 1;
*/
boolean hasName();
/**
* required string name = 1;
*/
java.lang.String getName();
/**
* required string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// required string value = 2;
/**
* required string value = 2;
*/
boolean hasValue();
/**
* required string value = 2;
*/
java.lang.String getValue();
/**
* required string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code NameStringPair}
*/
public static final class NameStringPair extends
com.google.protobuf.GeneratedMessageLite
implements NameStringPairOrBuilder {
// Use NameStringPair.newBuilder() to construct.
private NameStringPair(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private NameStringPair(boolean noInit) {}
private static final NameStringPair defaultInstance;
public static NameStringPair getDefaultInstance() {
return defaultInstance;
}
public NameStringPair getDefaultInstanceForType() {
return defaultInstance;
}
private NameStringPair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public NameStringPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NameStringPair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* required string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
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.hbase.async.generated.HBasePB.NameStringPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameStringPair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.NameStringPair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code NameStringPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.NameStringPair, Builder>
implements org.hbase.async.generated.HBasePB.NameStringPairOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.NameStringPair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.NameStringPair getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.NameStringPair.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.NameStringPair build() {
org.hbase.async.generated.HBasePB.NameStringPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.NameStringPair buildPartial() {
org.hbase.async.generated.HBasePB.NameStringPair result = new org.hbase.async.generated.HBasePB.NameStringPair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.NameStringPair other) {
if (other == org.hbase.async.generated.HBasePB.NameStringPair.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.NameStringPair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.NameStringPair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
/**
* required string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
// required string value = 2;
private java.lang.Object value_ = "";
/**
* required string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
return this;
}
/**
* required string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
return this;
}
/**
* required string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
return this;
}
// @@protoc_insertion_point(builder_scope:NameStringPair)
}
static {
defaultInstance = new NameStringPair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NameStringPair)
}
public interface NameBytesPairOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string name = 1;
/**
* required string name = 1;
*/
boolean hasName();
/**
* required string name = 1;
*/
java.lang.String getName();
/**
* required string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional bytes value = 2;
/**
* optional bytes value = 2;
*/
boolean hasValue();
/**
* optional bytes value = 2;
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code NameBytesPair}
*/
public static final class NameBytesPair extends
com.google.protobuf.GeneratedMessageLite
implements NameBytesPairOrBuilder {
// Use NameBytesPair.newBuilder() to construct.
private NameBytesPair(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private NameBytesPair(boolean noInit) {}
private static final NameBytesPair defaultInstance;
public static NameBytesPair getDefaultInstance() {
return defaultInstance;
}
public NameBytesPair getDefaultInstanceForType() {
return defaultInstance;
}
private NameBytesPair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public NameBytesPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NameBytesPair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
* optional bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private void initFields() {
name_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, value_);
}
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
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.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameBytesPair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.NameBytesPair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code NameBytesPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.NameBytesPair, Builder>
implements org.hbase.async.generated.HBasePB.NameBytesPairOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.NameBytesPair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.NameBytesPair getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.NameBytesPair.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.NameBytesPair build() {
org.hbase.async.generated.HBasePB.NameBytesPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.NameBytesPair buildPartial() {
org.hbase.async.generated.HBasePB.NameBytesPair result = new org.hbase.async.generated.HBasePB.NameBytesPair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.NameBytesPair other) {
if (other == org.hbase.async.generated.HBasePB.NameBytesPair.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
}
if (other.hasValue()) {
setValue(other.getValue());
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.NameBytesPair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.NameBytesPair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
/**
* required string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
// optional bytes value = 2;
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes value = 2;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
return this;
}
/**
* optional bytes value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
return this;
}
// @@protoc_insertion_point(builder_scope:NameBytesPair)
}
static {
defaultInstance = new NameBytesPair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NameBytesPair)
}
public interface BytesBytesPairOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes first = 1;
/**
* required bytes first = 1;
*/
boolean hasFirst();
/**
* required bytes first = 1;
*/
com.google.protobuf.ByteString getFirst();
// required bytes second = 2;
/**
* required bytes second = 2;
*/
boolean hasSecond();
/**
* required bytes second = 2;
*/
com.google.protobuf.ByteString getSecond();
}
/**
* Protobuf type {@code BytesBytesPair}
*/
public static final class BytesBytesPair extends
com.google.protobuf.GeneratedMessageLite
implements BytesBytesPairOrBuilder {
// Use BytesBytesPair.newBuilder() to construct.
private BytesBytesPair(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private BytesBytesPair(boolean noInit) {}
private static final BytesBytesPair defaultInstance;
public static BytesBytesPair getDefaultInstance() {
return defaultInstance;
}
public BytesBytesPair getDefaultInstanceForType() {
return defaultInstance;
}
private BytesBytesPair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
first_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
second_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BytesBytesPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BytesBytesPair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes first = 1;
public static final int FIRST_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString first_;
/**
* required bytes first = 1;
*/
public boolean hasFirst() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes first = 1;
*/
public com.google.protobuf.ByteString getFirst() {
return first_;
}
// required bytes second = 2;
public static final int SECOND_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString second_;
/**
* required bytes second = 2;
*/
public boolean hasSecond() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes second = 2;
*/
public com.google.protobuf.ByteString getSecond() {
return second_;
}
private void initFields() {
first_ = com.google.protobuf.ByteString.EMPTY;
second_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasFirst()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSecond()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, first_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, second_);
}
}
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, first_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, second_);
}
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.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.BytesBytesPair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.BytesBytesPair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code BytesBytesPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.BytesBytesPair, Builder>
implements org.hbase.async.generated.HBasePB.BytesBytesPairOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.BytesBytesPair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
first_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
second_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.BytesBytesPair getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.BytesBytesPair.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.BytesBytesPair build() {
org.hbase.async.generated.HBasePB.BytesBytesPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.BytesBytesPair buildPartial() {
org.hbase.async.generated.HBasePB.BytesBytesPair result = new org.hbase.async.generated.HBasePB.BytesBytesPair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.first_ = first_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.second_ = second_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.BytesBytesPair other) {
if (other == org.hbase.async.generated.HBasePB.BytesBytesPair.getDefaultInstance()) return this;
if (other.hasFirst()) {
setFirst(other.getFirst());
}
if (other.hasSecond()) {
setSecond(other.getSecond());
}
return this;
}
public final boolean isInitialized() {
if (!hasFirst()) {
return false;
}
if (!hasSecond()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.BytesBytesPair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.BytesBytesPair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes first = 1;
private com.google.protobuf.ByteString first_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes first = 1;
*/
public boolean hasFirst() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes first = 1;
*/
public com.google.protobuf.ByteString getFirst() {
return first_;
}
/**
* required bytes first = 1;
*/
public Builder setFirst(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
first_ = value;
return this;
}
/**
* required bytes first = 1;
*/
public Builder clearFirst() {
bitField0_ = (bitField0_ & ~0x00000001);
first_ = getDefaultInstance().getFirst();
return this;
}
// required bytes second = 2;
private com.google.protobuf.ByteString second_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes second = 2;
*/
public boolean hasSecond() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required bytes second = 2;
*/
public com.google.protobuf.ByteString getSecond() {
return second_;
}
/**
* required bytes second = 2;
*/
public Builder setSecond(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
second_ = value;
return this;
}
/**
* required bytes second = 2;
*/
public Builder clearSecond() {
bitField0_ = (bitField0_ & ~0x00000002);
second_ = getDefaultInstance().getSecond();
return this;
}
// @@protoc_insertion_point(builder_scope:BytesBytesPair)
}
static {
defaultInstance = new BytesBytesPair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BytesBytesPair)
}
public interface NameInt64PairOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional int64 value = 2;
/**
* optional int64 value = 2;
*/
boolean hasValue();
/**
* optional int64 value = 2;
*/
long getValue();
}
/**
* Protobuf type {@code NameInt64Pair}
*/
public static final class NameInt64Pair extends
com.google.protobuf.GeneratedMessageLite
implements NameInt64PairOrBuilder {
// Use NameInt64Pair.newBuilder() to construct.
private NameInt64Pair(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private NameInt64Pair(boolean noInit) {}
private static final NameInt64Pair defaultInstance;
public static NameInt64Pair getDefaultInstance() {
return defaultInstance;
}
public NameInt64Pair getDefaultInstanceForType() {
return defaultInstance;
}
private NameInt64Pair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
value_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public NameInt64Pair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NameInt64Pair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int64 value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private long value_;
/**
* optional int64 value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 value = 2;
*/
public long getValue() {
return value_;
}
private void initFields() {
name_ = "";
value_ = 0L;
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(2, value_);
}
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, value_);
}
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.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NameInt64Pair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.NameInt64Pair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code NameInt64Pair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.NameInt64Pair, Builder>
implements org.hbase.async.generated.HBasePB.NameInt64PairOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.NameInt64Pair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.NameInt64Pair getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.NameInt64Pair.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.NameInt64Pair build() {
org.hbase.async.generated.HBasePB.NameInt64Pair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.NameInt64Pair buildPartial() {
org.hbase.async.generated.HBasePB.NameInt64Pair result = new org.hbase.async.generated.HBasePB.NameInt64Pair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.NameInt64Pair other) {
if (other == org.hbase.async.generated.HBasePB.NameInt64Pair.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
}
if (other.hasValue()) {
setValue(other.getValue());
}
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 {
org.hbase.async.generated.HBasePB.NameInt64Pair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.NameInt64Pair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
// optional int64 value = 2;
private long value_ ;
/**
* optional int64 value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 value = 2;
*/
public long getValue() {
return value_;
}
/**
* optional int64 value = 2;
*/
public Builder setValue(long value) {
bitField0_ |= 0x00000002;
value_ = value;
return this;
}
/**
* optional int64 value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:NameInt64Pair)
}
static {
defaultInstance = new NameInt64Pair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NameInt64Pair)
}
public interface SnapshotDescriptionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string name = 1;
/**
* required string name = 1;
*/
boolean hasName();
/**
* required string name = 1;
*/
java.lang.String getName();
/**
* required string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string table = 2;
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
boolean hasTable();
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
java.lang.String getTable();
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
com.google.protobuf.ByteString
getTableBytes();
// optional int64 creation_time = 3 [default = 0];
/**
* optional int64 creation_time = 3 [default = 0];
*/
boolean hasCreationTime();
/**
* optional int64 creation_time = 3 [default = 0];
*/
long getCreationTime();
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
boolean hasType();
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
org.hbase.async.generated.HBasePB.SnapshotDescription.Type getType();
// optional int32 version = 5;
/**
* optional int32 version = 5;
*/
boolean hasVersion();
/**
* optional int32 version = 5;
*/
int getVersion();
}
/**
* Protobuf type {@code SnapshotDescription}
*
*
**
* Description of the snapshot to take
*
*/
public static final class SnapshotDescription extends
com.google.protobuf.GeneratedMessageLite
implements SnapshotDescriptionOrBuilder {
// Use SnapshotDescription.newBuilder() to construct.
private SnapshotDescription(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private SnapshotDescription(boolean noInit) {}
private static final SnapshotDescription defaultInstance;
public static SnapshotDescription getDefaultInstance() {
return defaultInstance;
}
public SnapshotDescription getDefaultInstanceForType() {
return defaultInstance;
}
private SnapshotDescription(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
table_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
creationTime_ = input.readInt64();
break;
}
case 32: {
int rawValue = input.readEnum();
org.hbase.async.generated.HBasePB.SnapshotDescription.Type value = org.hbase.async.generated.HBasePB.SnapshotDescription.Type.valueOf(rawValue);
if (value != null) {
bitField0_ |= 0x00000008;
type_ = value;
}
break;
}
case 40: {
bitField0_ |= 0x00000010;
version_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public SnapshotDescription parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnapshotDescription(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code SnapshotDescription.Type}
*/
public enum Type
implements com.google.protobuf.Internal.EnumLite {
/**
* DISABLED = 0;
*/
DISABLED(0, 0),
/**
* FLUSH = 1;
*/
FLUSH(1, 1),
;
/**
* DISABLED = 0;
*/
public static final int DISABLED_VALUE = 0;
/**
* FLUSH = 1;
*/
public static final int FLUSH_VALUE = 1;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 0: return DISABLED;
case 1: return FLUSH;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
private final int value;
private Type(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:SnapshotDescription.Type)
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string table = 2;
public static final int TABLE_FIELD_NUMBER = 2;
private java.lang.Object table_;
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public boolean hasTable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public java.lang.String getTable() {
java.lang.Object ref = table_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
table_ = s;
}
return s;
}
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public com.google.protobuf.ByteString
getTableBytes() {
java.lang.Object ref = table_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
table_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int64 creation_time = 3 [default = 0];
public static final int CREATION_TIME_FIELD_NUMBER = 3;
private long creationTime_;
/**
* optional int64 creation_time = 3 [default = 0];
*/
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 creation_time = 3 [default = 0];
*/
public long getCreationTime() {
return creationTime_;
}
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
public static final int TYPE_FIELD_NUMBER = 4;
private org.hbase.async.generated.HBasePB.SnapshotDescription.Type type_;
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public org.hbase.async.generated.HBasePB.SnapshotDescription.Type getType() {
return type_;
}
// optional int32 version = 5;
public static final int VERSION_FIELD_NUMBER = 5;
private int version_;
/**
* optional int32 version = 5;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 version = 5;
*/
public int getVersion() {
return version_;
}
private void initFields() {
name_ = "";
table_ = "";
creationTime_ = 0L;
type_ = org.hbase.async.generated.HBasePB.SnapshotDescription.Type.FLUSH;
version_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getTableBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, creationTime_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeEnum(4, type_.getNumber());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, version_);
}
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getTableBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, creationTime_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, type_.getNumber());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, version_);
}
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.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.SnapshotDescription parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.SnapshotDescription prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code SnapshotDescription}
*
*
**
* Description of the snapshot to take
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.SnapshotDescription, Builder>
implements org.hbase.async.generated.HBasePB.SnapshotDescriptionOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.SnapshotDescription.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
table_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
creationTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
type_ = org.hbase.async.generated.HBasePB.SnapshotDescription.Type.FLUSH;
bitField0_ = (bitField0_ & ~0x00000008);
version_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.SnapshotDescription getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.SnapshotDescription.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.SnapshotDescription build() {
org.hbase.async.generated.HBasePB.SnapshotDescription result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.SnapshotDescription buildPartial() {
org.hbase.async.generated.HBasePB.SnapshotDescription result = new org.hbase.async.generated.HBasePB.SnapshotDescription(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.table_ = table_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.creationTime_ = creationTime_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.version_ = version_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.SnapshotDescription other) {
if (other == org.hbase.async.generated.HBasePB.SnapshotDescription.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
}
if (other.hasTable()) {
bitField0_ |= 0x00000002;
table_ = other.table_;
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.SnapshotDescription parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.SnapshotDescription) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
/**
* required string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
/**
* required string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
// optional string table = 2;
private java.lang.Object table_ = "";
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public boolean hasTable() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public java.lang.String getTable() {
java.lang.Object ref = table_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
table_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public com.google.protobuf.ByteString
getTableBytes() {
java.lang.Object ref = table_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
table_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public Builder setTable(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
table_ = value;
return this;
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public Builder clearTable() {
bitField0_ = (bitField0_ & ~0x00000002);
table_ = getDefaultInstance().getTable();
return this;
}
/**
* optional string table = 2;
*
*
* not needed for delete, but checked for in taking snapshot
*
*/
public Builder setTableBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
table_ = value;
return this;
}
// optional int64 creation_time = 3 [default = 0];
private long creationTime_ ;
/**
* optional int64 creation_time = 3 [default = 0];
*/
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 creation_time = 3 [default = 0];
*/
public long getCreationTime() {
return creationTime_;
}
/**
* optional int64 creation_time = 3 [default = 0];
*/
public Builder setCreationTime(long value) {
bitField0_ |= 0x00000004;
creationTime_ = value;
return this;
}
/**
* optional int64 creation_time = 3 [default = 0];
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000004);
creationTime_ = 0L;
return this;
}
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
private org.hbase.async.generated.HBasePB.SnapshotDescription.Type type_ = org.hbase.async.generated.HBasePB.SnapshotDescription.Type.FLUSH;
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public org.hbase.async.generated.HBasePB.SnapshotDescription.Type getType() {
return type_;
}
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public Builder setType(org.hbase.async.generated.HBasePB.SnapshotDescription.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
type_ = value;
return this;
}
/**
* optional .SnapshotDescription.Type type = 4 [default = FLUSH];
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = org.hbase.async.generated.HBasePB.SnapshotDescription.Type.FLUSH;
return this;
}
// optional int32 version = 5;
private int version_ ;
/**
* optional int32 version = 5;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 version = 5;
*/
public int getVersion() {
return version_;
}
/**
* optional int32 version = 5;
*/
public Builder setVersion(int value) {
bitField0_ |= 0x00000010;
version_ = value;
return this;
}
/**
* optional int32 version = 5;
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000010);
version_ = 0;
return this;
}
// @@protoc_insertion_point(builder_scope:SnapshotDescription)
}
static {
defaultInstance = new SnapshotDescription(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:SnapshotDescription)
}
public interface EmptyMsgOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
}
/**
* Protobuf type {@code EmptyMsg}
*/
public static final class EmptyMsg extends
com.google.protobuf.GeneratedMessageLite
implements EmptyMsgOrBuilder {
// Use EmptyMsg.newBuilder() to construct.
private EmptyMsg(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private EmptyMsg(boolean noInit) {}
private static final EmptyMsg defaultInstance;
public static EmptyMsg getDefaultInstance() {
return defaultInstance;
}
public EmptyMsg getDefaultInstanceForType() {
return defaultInstance;
}
private EmptyMsg(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EmptyMsg parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EmptyMsg(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
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();
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
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.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.EmptyMsg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.EmptyMsg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code EmptyMsg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.EmptyMsg, Builder>
implements org.hbase.async.generated.HBasePB.EmptyMsgOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.EmptyMsg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.EmptyMsg getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.EmptyMsg.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.EmptyMsg build() {
org.hbase.async.generated.HBasePB.EmptyMsg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.EmptyMsg buildPartial() {
org.hbase.async.generated.HBasePB.EmptyMsg result = new org.hbase.async.generated.HBasePB.EmptyMsg(this);
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.EmptyMsg other) {
if (other == org.hbase.async.generated.HBasePB.EmptyMsg.getDefaultInstance()) return this;
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 {
org.hbase.async.generated.HBasePB.EmptyMsg parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.EmptyMsg) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:EmptyMsg)
}
static {
defaultInstance = new EmptyMsg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:EmptyMsg)
}
public interface LongMsgOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required int64 long_msg = 1;
/**
* required int64 long_msg = 1;
*/
boolean hasLongMsg();
/**
* required int64 long_msg = 1;
*/
long getLongMsg();
}
/**
* Protobuf type {@code LongMsg}
*/
public static final class LongMsg extends
com.google.protobuf.GeneratedMessageLite
implements LongMsgOrBuilder {
// Use LongMsg.newBuilder() to construct.
private LongMsg(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private LongMsg(boolean noInit) {}
private static final LongMsg defaultInstance;
public static LongMsg getDefaultInstance() {
return defaultInstance;
}
public LongMsg getDefaultInstanceForType() {
return defaultInstance;
}
private LongMsg(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
longMsg_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public LongMsg parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LongMsg(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int64 long_msg = 1;
public static final int LONG_MSG_FIELD_NUMBER = 1;
private long longMsg_;
/**
* required int64 long_msg = 1;
*/
public boolean hasLongMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 long_msg = 1;
*/
public long getLongMsg() {
return longMsg_;
}
private void initFields() {
longMsg_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasLongMsg()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, longMsg_);
}
}
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
.computeInt64Size(1, longMsg_);
}
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.hbase.async.generated.HBasePB.LongMsg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.LongMsg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.LongMsg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code LongMsg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.LongMsg, Builder>
implements org.hbase.async.generated.HBasePB.LongMsgOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.LongMsg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
longMsg_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.LongMsg getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.LongMsg.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.LongMsg build() {
org.hbase.async.generated.HBasePB.LongMsg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.LongMsg buildPartial() {
org.hbase.async.generated.HBasePB.LongMsg result = new org.hbase.async.generated.HBasePB.LongMsg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.longMsg_ = longMsg_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.LongMsg other) {
if (other == org.hbase.async.generated.HBasePB.LongMsg.getDefaultInstance()) return this;
if (other.hasLongMsg()) {
setLongMsg(other.getLongMsg());
}
return this;
}
public final boolean isInitialized() {
if (!hasLongMsg()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.LongMsg parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.LongMsg) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int64 long_msg = 1;
private long longMsg_ ;
/**
* required int64 long_msg = 1;
*/
public boolean hasLongMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 long_msg = 1;
*/
public long getLongMsg() {
return longMsg_;
}
/**
* required int64 long_msg = 1;
*/
public Builder setLongMsg(long value) {
bitField0_ |= 0x00000001;
longMsg_ = value;
return this;
}
/**
* required int64 long_msg = 1;
*/
public Builder clearLongMsg() {
bitField0_ = (bitField0_ & ~0x00000001);
longMsg_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:LongMsg)
}
static {
defaultInstance = new LongMsg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:LongMsg)
}
public interface BigDecimalMsgOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes bigdecimal_msg = 1;
/**
* required bytes bigdecimal_msg = 1;
*/
boolean hasBigdecimalMsg();
/**
* required bytes bigdecimal_msg = 1;
*/
com.google.protobuf.ByteString getBigdecimalMsg();
}
/**
* Protobuf type {@code BigDecimalMsg}
*/
public static final class BigDecimalMsg extends
com.google.protobuf.GeneratedMessageLite
implements BigDecimalMsgOrBuilder {
// Use BigDecimalMsg.newBuilder() to construct.
private BigDecimalMsg(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private BigDecimalMsg(boolean noInit) {}
private static final BigDecimalMsg defaultInstance;
public static BigDecimalMsg getDefaultInstance() {
return defaultInstance;
}
public BigDecimalMsg getDefaultInstanceForType() {
return defaultInstance;
}
private BigDecimalMsg(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
bigdecimalMsg_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BigDecimalMsg parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BigDecimalMsg(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes bigdecimal_msg = 1;
public static final int BIGDECIMAL_MSG_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString bigdecimalMsg_;
/**
* required bytes bigdecimal_msg = 1;
*/
public boolean hasBigdecimalMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes bigdecimal_msg = 1;
*/
public com.google.protobuf.ByteString getBigdecimalMsg() {
return bigdecimalMsg_;
}
private void initFields() {
bigdecimalMsg_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasBigdecimalMsg()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, bigdecimalMsg_);
}
}
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, bigdecimalMsg_);
}
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.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.BigDecimalMsg parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.BigDecimalMsg prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code BigDecimalMsg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.BigDecimalMsg, Builder>
implements org.hbase.async.generated.HBasePB.BigDecimalMsgOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.BigDecimalMsg.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
bigdecimalMsg_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.BigDecimalMsg getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.BigDecimalMsg.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.BigDecimalMsg build() {
org.hbase.async.generated.HBasePB.BigDecimalMsg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.BigDecimalMsg buildPartial() {
org.hbase.async.generated.HBasePB.BigDecimalMsg result = new org.hbase.async.generated.HBasePB.BigDecimalMsg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.bigdecimalMsg_ = bigdecimalMsg_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.BigDecimalMsg other) {
if (other == org.hbase.async.generated.HBasePB.BigDecimalMsg.getDefaultInstance()) return this;
if (other.hasBigdecimalMsg()) {
setBigdecimalMsg(other.getBigdecimalMsg());
}
return this;
}
public final boolean isInitialized() {
if (!hasBigdecimalMsg()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.BigDecimalMsg parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.BigDecimalMsg) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes bigdecimal_msg = 1;
private com.google.protobuf.ByteString bigdecimalMsg_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes bigdecimal_msg = 1;
*/
public boolean hasBigdecimalMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes bigdecimal_msg = 1;
*/
public com.google.protobuf.ByteString getBigdecimalMsg() {
return bigdecimalMsg_;
}
/**
* required bytes bigdecimal_msg = 1;
*/
public Builder setBigdecimalMsg(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
bigdecimalMsg_ = value;
return this;
}
/**
* required bytes bigdecimal_msg = 1;
*/
public Builder clearBigdecimalMsg() {
bitField0_ = (bitField0_ & ~0x00000001);
bigdecimalMsg_ = getDefaultInstance().getBigdecimalMsg();
return this;
}
// @@protoc_insertion_point(builder_scope:BigDecimalMsg)
}
static {
defaultInstance = new BigDecimalMsg(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BigDecimalMsg)
}
public interface UUIDOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required uint64 least_sig_bits = 1;
/**
* required uint64 least_sig_bits = 1;
*/
boolean hasLeastSigBits();
/**
* required uint64 least_sig_bits = 1;
*/
long getLeastSigBits();
// required uint64 most_sig_bits = 2;
/**
* required uint64 most_sig_bits = 2;
*/
boolean hasMostSigBits();
/**
* required uint64 most_sig_bits = 2;
*/
long getMostSigBits();
}
/**
* Protobuf type {@code UUID}
*/
public static final class UUID extends
com.google.protobuf.GeneratedMessageLite
implements UUIDOrBuilder {
// Use UUID.newBuilder() to construct.
private UUID(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private UUID(boolean noInit) {}
private static final UUID defaultInstance;
public static UUID getDefaultInstance() {
return defaultInstance;
}
public UUID getDefaultInstanceForType() {
return defaultInstance;
}
private UUID(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
leastSigBits_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
mostSigBits_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public UUID parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UUID(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required uint64 least_sig_bits = 1;
public static final int LEAST_SIG_BITS_FIELD_NUMBER = 1;
private long leastSigBits_;
/**
* required uint64 least_sig_bits = 1;
*/
public boolean hasLeastSigBits() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 least_sig_bits = 1;
*/
public long getLeastSigBits() {
return leastSigBits_;
}
// required uint64 most_sig_bits = 2;
public static final int MOST_SIG_BITS_FIELD_NUMBER = 2;
private long mostSigBits_;
/**
* required uint64 most_sig_bits = 2;
*/
public boolean hasMostSigBits() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 most_sig_bits = 2;
*/
public long getMostSigBits() {
return mostSigBits_;
}
private void initFields() {
leastSigBits_ = 0L;
mostSigBits_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasLeastSigBits()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMostSigBits()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, leastSigBits_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, mostSigBits_);
}
}
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
.computeUInt64Size(1, leastSigBits_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, mostSigBits_);
}
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.hbase.async.generated.HBasePB.UUID parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.UUID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.UUID parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.UUID parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.UUID prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code UUID}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.UUID, Builder>
implements org.hbase.async.generated.HBasePB.UUIDOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.UUID.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
leastSigBits_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
mostSigBits_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.UUID getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.UUID.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.UUID build() {
org.hbase.async.generated.HBasePB.UUID result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.UUID buildPartial() {
org.hbase.async.generated.HBasePB.UUID result = new org.hbase.async.generated.HBasePB.UUID(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.leastSigBits_ = leastSigBits_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.mostSigBits_ = mostSigBits_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.UUID other) {
if (other == org.hbase.async.generated.HBasePB.UUID.getDefaultInstance()) return this;
if (other.hasLeastSigBits()) {
setLeastSigBits(other.getLeastSigBits());
}
if (other.hasMostSigBits()) {
setMostSigBits(other.getMostSigBits());
}
return this;
}
public final boolean isInitialized() {
if (!hasLeastSigBits()) {
return false;
}
if (!hasMostSigBits()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.UUID parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.UUID) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required uint64 least_sig_bits = 1;
private long leastSigBits_ ;
/**
* required uint64 least_sig_bits = 1;
*/
public boolean hasLeastSigBits() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 least_sig_bits = 1;
*/
public long getLeastSigBits() {
return leastSigBits_;
}
/**
* required uint64 least_sig_bits = 1;
*/
public Builder setLeastSigBits(long value) {
bitField0_ |= 0x00000001;
leastSigBits_ = value;
return this;
}
/**
* required uint64 least_sig_bits = 1;
*/
public Builder clearLeastSigBits() {
bitField0_ = (bitField0_ & ~0x00000001);
leastSigBits_ = 0L;
return this;
}
// required uint64 most_sig_bits = 2;
private long mostSigBits_ ;
/**
* required uint64 most_sig_bits = 2;
*/
public boolean hasMostSigBits() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 most_sig_bits = 2;
*/
public long getMostSigBits() {
return mostSigBits_;
}
/**
* required uint64 most_sig_bits = 2;
*/
public Builder setMostSigBits(long value) {
bitField0_ |= 0x00000002;
mostSigBits_ = value;
return this;
}
/**
* required uint64 most_sig_bits = 2;
*/
public Builder clearMostSigBits() {
bitField0_ = (bitField0_ & ~0x00000002);
mostSigBits_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:UUID)
}
static {
defaultInstance = new UUID(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:UUID)
}
public interface NamespaceDescriptorOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes name = 1;
/**
* required bytes name = 1;
*/
boolean hasName();
/**
* required bytes name = 1;
*/
com.google.protobuf.ByteString getName();
// repeated .NameStringPair configuration = 2;
/**
* repeated .NameStringPair configuration = 2;
*/
java.util.List
getConfigurationList();
/**
* repeated .NameStringPair configuration = 2;
*/
org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index);
/**
* repeated .NameStringPair configuration = 2;
*/
int getConfigurationCount();
}
/**
* Protobuf type {@code NamespaceDescriptor}
*/
public static final class NamespaceDescriptor extends
com.google.protobuf.GeneratedMessageLite
implements NamespaceDescriptorOrBuilder {
// Use NamespaceDescriptor.newBuilder() to construct.
private NamespaceDescriptor(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private NamespaceDescriptor(boolean noInit) {}
private static final NamespaceDescriptor defaultInstance;
public static NamespaceDescriptor getDefaultInstance() {
return defaultInstance;
}
public NamespaceDescriptor getDefaultInstanceForType() {
return defaultInstance;
}
private NamespaceDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
configuration_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
configuration_.add(input.readMessage(org.hbase.async.generated.HBasePB.NameStringPair.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public NamespaceDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NamespaceDescriptor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString name_;
/**
* required bytes name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes name = 1;
*/
public com.google.protobuf.ByteString getName() {
return name_;
}
// repeated .NameStringPair configuration = 2;
public static final int CONFIGURATION_FIELD_NUMBER = 2;
private java.util.List configuration_;
/**
* repeated .NameStringPair configuration = 2;
*/
public java.util.List getConfigurationList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public java.util.List extends org.hbase.async.generated.HBasePB.NameStringPairOrBuilder>
getConfigurationOrBuilderList() {
return configuration_;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 2;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 2;
*/
public org.hbase.async.generated.HBasePB.NameStringPairOrBuilder getConfigurationOrBuilder(
int index) {
return configuration_.get(index);
}
private void initFields() {
name_ = com.google.protobuf.ByteString.EMPTY;
configuration_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, name_);
}
for (int i = 0; i < configuration_.size(); i++) {
output.writeMessage(2, configuration_.get(i));
}
}
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, name_);
}
for (int i = 0; i < configuration_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, configuration_.get(i));
}
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.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.HBasePB.NamespaceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.HBasePB.NamespaceDescriptor prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code NamespaceDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.HBasePB.NamespaceDescriptor, Builder>
implements org.hbase.async.generated.HBasePB.NamespaceDescriptorOrBuilder {
// Construct using org.hbase.async.generated.HBasePB.NamespaceDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.HBasePB.NamespaceDescriptor getDefaultInstanceForType() {
return org.hbase.async.generated.HBasePB.NamespaceDescriptor.getDefaultInstance();
}
public org.hbase.async.generated.HBasePB.NamespaceDescriptor build() {
org.hbase.async.generated.HBasePB.NamespaceDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.HBasePB.NamespaceDescriptor buildPartial() {
org.hbase.async.generated.HBasePB.NamespaceDescriptor result = new org.hbase.async.generated.HBasePB.NamespaceDescriptor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
configuration_ = java.util.Collections.unmodifiableList(configuration_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.configuration_ = configuration_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.HBasePB.NamespaceDescriptor other) {
if (other == org.hbase.async.generated.HBasePB.NamespaceDescriptor.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (!other.configuration_.isEmpty()) {
if (configuration_.isEmpty()) {
configuration_ = other.configuration_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConfigurationIsMutable();
configuration_.addAll(other.configuration_);
}
}
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
for (int i = 0; i < getConfigurationCount(); i++) {
if (!getConfiguration(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.HBasePB.NamespaceDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.HBasePB.NamespaceDescriptor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes name = 1;
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes name = 1;
*/
public com.google.protobuf.ByteString getName() {
return name_;
}
/**
* required bytes name = 1;
*/
public Builder setName(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
return this;
}
/**
* required bytes name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
return this;
}
// repeated .NameStringPair configuration = 2;
private java.util.List configuration_ =
java.util.Collections.emptyList();
private void ensureConfigurationIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
configuration_ = new java.util.ArrayList(configuration_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .NameStringPair configuration = 2;
*/
public java.util.List getConfigurationList() {
return java.util.Collections.unmodifiableList(configuration_);
}
/**
* repeated .NameStringPair configuration = 2;
*/
public int getConfigurationCount() {
return configuration_.size();
}
/**
* repeated .NameStringPair configuration = 2;
*/
public org.hbase.async.generated.HBasePB.NameStringPair getConfiguration(int index) {
return configuration_.get(index);
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.set(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder setConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.set(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder addConfiguration(org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(value);
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigurationIsMutable();
configuration_.add(index, value);
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder addConfiguration(
org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder addConfiguration(
int index, org.hbase.async.generated.HBasePB.NameStringPair.Builder builderForValue) {
ensureConfigurationIsMutable();
configuration_.add(index, builderForValue.build());
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder addAllConfiguration(
java.lang.Iterable extends org.hbase.async.generated.HBasePB.NameStringPair> values) {
ensureConfigurationIsMutable();
super.addAll(values, configuration_);
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder clearConfiguration() {
configuration_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* repeated .NameStringPair configuration = 2;
*/
public Builder removeConfiguration(int index) {
ensureConfigurationIsMutable();
configuration_.remove(index);
return this;
}
// @@protoc_insertion_point(builder_scope:NamespaceDescriptor)
}
static {
defaultInstance = new NamespaceDescriptor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NamespaceDescriptor)
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy