org.hbase.async.generated.FSPB 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: FS.proto
package org.hbase.async.generated;
public final class FSPB {
private FSPB() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public interface HBaseVersionFileContentOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required string version = 1;
/**
* required string version = 1;
*/
boolean hasVersion();
/**
* required string version = 1;
*/
java.lang.String getVersion();
/**
* required string version = 1;
*/
com.google.protobuf.ByteString
getVersionBytes();
}
/**
* Protobuf type {@code HBaseVersionFileContent}
*
*
**
* The ${HBASE_ROOTDIR}/hbase.version file content
*
*/
public static final class HBaseVersionFileContent extends
com.google.protobuf.GeneratedMessageLite
implements HBaseVersionFileContentOrBuilder {
// Use HBaseVersionFileContent.newBuilder() to construct.
private HBaseVersionFileContent(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private HBaseVersionFileContent(boolean noInit) {}
private static final HBaseVersionFileContent defaultInstance;
public static HBaseVersionFileContent getDefaultInstance() {
return defaultInstance;
}
public HBaseVersionFileContent getDefaultInstanceForType() {
return defaultInstance;
}
private HBaseVersionFileContent(
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;
version_ = 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 HBaseVersionFileContent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HBaseVersionFileContent(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string version = 1;
public static final int VERSION_FIELD_NUMBER = 1;
private java.lang.Object version_;
/**
* required string version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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()) {
version_ = s;
}
return s;
}
}
/**
* required string version = 1;
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
version_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasVersion()) {
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, getVersionBytes());
}
}
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, getVersionBytes());
}
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.FSPB.HBaseVersionFileContent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent 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.FSPB.HBaseVersionFileContent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent 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.FSPB.HBaseVersionFileContent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent 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.FSPB.HBaseVersionFileContent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.FSPB.HBaseVersionFileContent 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.FSPB.HBaseVersionFileContent prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code HBaseVersionFileContent}
*
*
**
* The ${HBASE_ROOTDIR}/hbase.version file content
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.FSPB.HBaseVersionFileContent, Builder>
implements org.hbase.async.generated.FSPB.HBaseVersionFileContentOrBuilder {
// Construct using org.hbase.async.generated.FSPB.HBaseVersionFileContent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
version_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.FSPB.HBaseVersionFileContent getDefaultInstanceForType() {
return org.hbase.async.generated.FSPB.HBaseVersionFileContent.getDefaultInstance();
}
public org.hbase.async.generated.FSPB.HBaseVersionFileContent build() {
org.hbase.async.generated.FSPB.HBaseVersionFileContent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.FSPB.HBaseVersionFileContent buildPartial() {
org.hbase.async.generated.FSPB.HBaseVersionFileContent result = new org.hbase.async.generated.FSPB.HBaseVersionFileContent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.version_ = version_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.FSPB.HBaseVersionFileContent other) {
if (other == org.hbase.async.generated.FSPB.HBaseVersionFileContent.getDefaultInstance()) return this;
if (other.hasVersion()) {
bitField0_ |= 0x00000001;
version_ = other.version_;
}
return this;
}
public final boolean isInitialized() {
if (!hasVersion()) {
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.FSPB.HBaseVersionFileContent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.FSPB.HBaseVersionFileContent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string version = 1;
private java.lang.Object version_ = "";
/**
* required string version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string version = 1;
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string version = 1;
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
version_ = value;
return this;
}
/**
* required string version = 1;
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = getDefaultInstance().getVersion();
return this;
}
/**
* required string version = 1;
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
version_ = value;
return this;
}
// @@protoc_insertion_point(builder_scope:HBaseVersionFileContent)
}
static {
defaultInstance = new HBaseVersionFileContent(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:HBaseVersionFileContent)
}
public interface ReferenceOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// required bytes splitkey = 1;
/**
* required bytes splitkey = 1;
*/
boolean hasSplitkey();
/**
* required bytes splitkey = 1;
*/
com.google.protobuf.ByteString getSplitkey();
// required .Reference.Range range = 2;
/**
* required .Reference.Range range = 2;
*/
boolean hasRange();
/**
* required .Reference.Range range = 2;
*/
org.hbase.async.generated.FSPB.Reference.Range getRange();
}
/**
* Protobuf type {@code Reference}
*
*
**
* Reference file content used when we split an hfile under a region.
*
*/
public static final class Reference extends
com.google.protobuf.GeneratedMessageLite
implements ReferenceOrBuilder {
// Use Reference.newBuilder() to construct.
private Reference(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private Reference(boolean noInit) {}
private static final Reference defaultInstance;
public static Reference getDefaultInstance() {
return defaultInstance;
}
public Reference getDefaultInstanceForType() {
return defaultInstance;
}
private Reference(
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;
splitkey_ = input.readBytes();
break;
}
case 16: {
int rawValue = input.readEnum();
org.hbase.async.generated.FSPB.Reference.Range value = org.hbase.async.generated.FSPB.Reference.Range.valueOf(rawValue);
if (value != null) {
bitField0_ |= 0x00000002;
range_ = value;
}
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 Reference parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Reference(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code Reference.Range}
*/
public enum Range
implements com.google.protobuf.Internal.EnumLite {
/**
* TOP = 0;
*/
TOP(0, 0),
/**
* BOTTOM = 1;
*/
BOTTOM(1, 1),
;
/**
* TOP = 0;
*/
public static final int TOP_VALUE = 0;
/**
* BOTTOM = 1;
*/
public static final int BOTTOM_VALUE = 1;
public final int getNumber() { return value; }
public static Range valueOf(int value) {
switch (value) {
case 0: return TOP;
case 1: return BOTTOM;
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 Range findValueByNumber(int number) {
return Range.valueOf(number);
}
};
private final int value;
private Range(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Reference.Range)
}
private int bitField0_;
// required bytes splitkey = 1;
public static final int SPLITKEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString splitkey_;
/**
* required bytes splitkey = 1;
*/
public boolean hasSplitkey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes splitkey = 1;
*/
public com.google.protobuf.ByteString getSplitkey() {
return splitkey_;
}
// required .Reference.Range range = 2;
public static final int RANGE_FIELD_NUMBER = 2;
private org.hbase.async.generated.FSPB.Reference.Range range_;
/**
* required .Reference.Range range = 2;
*/
public boolean hasRange() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .Reference.Range range = 2;
*/
public org.hbase.async.generated.FSPB.Reference.Range getRange() {
return range_;
}
private void initFields() {
splitkey_ = com.google.protobuf.ByteString.EMPTY;
range_ = org.hbase.async.generated.FSPB.Reference.Range.TOP;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasSplitkey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRange()) {
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, splitkey_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, range_.getNumber());
}
}
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, splitkey_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, range_.getNumber());
}
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.FSPB.Reference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.FSPB.Reference 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.FSPB.Reference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.FSPB.Reference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.FSPB.Reference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.FSPB.Reference 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.FSPB.Reference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.FSPB.Reference 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.FSPB.Reference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.FSPB.Reference 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.FSPB.Reference prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code Reference}
*
*
**
* Reference file content used when we split an hfile under a region.
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.FSPB.Reference, Builder>
implements org.hbase.async.generated.FSPB.ReferenceOrBuilder {
// Construct using org.hbase.async.generated.FSPB.Reference.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
splitkey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
range_ = org.hbase.async.generated.FSPB.Reference.Range.TOP;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.FSPB.Reference getDefaultInstanceForType() {
return org.hbase.async.generated.FSPB.Reference.getDefaultInstance();
}
public org.hbase.async.generated.FSPB.Reference build() {
org.hbase.async.generated.FSPB.Reference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.FSPB.Reference buildPartial() {
org.hbase.async.generated.FSPB.Reference result = new org.hbase.async.generated.FSPB.Reference(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.splitkey_ = splitkey_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.range_ = range_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.FSPB.Reference other) {
if (other == org.hbase.async.generated.FSPB.Reference.getDefaultInstance()) return this;
if (other.hasSplitkey()) {
setSplitkey(other.getSplitkey());
}
if (other.hasRange()) {
setRange(other.getRange());
}
return this;
}
public final boolean isInitialized() {
if (!hasSplitkey()) {
return false;
}
if (!hasRange()) {
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.FSPB.Reference parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.FSPB.Reference) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes splitkey = 1;
private com.google.protobuf.ByteString splitkey_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes splitkey = 1;
*/
public boolean hasSplitkey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes splitkey = 1;
*/
public com.google.protobuf.ByteString getSplitkey() {
return splitkey_;
}
/**
* required bytes splitkey = 1;
*/
public Builder setSplitkey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
splitkey_ = value;
return this;
}
/**
* required bytes splitkey = 1;
*/
public Builder clearSplitkey() {
bitField0_ = (bitField0_ & ~0x00000001);
splitkey_ = getDefaultInstance().getSplitkey();
return this;
}
// required .Reference.Range range = 2;
private org.hbase.async.generated.FSPB.Reference.Range range_ = org.hbase.async.generated.FSPB.Reference.Range.TOP;
/**
* required .Reference.Range range = 2;
*/
public boolean hasRange() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .Reference.Range range = 2;
*/
public org.hbase.async.generated.FSPB.Reference.Range getRange() {
return range_;
}
/**
* required .Reference.Range range = 2;
*/
public Builder setRange(org.hbase.async.generated.FSPB.Reference.Range value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
range_ = value;
return this;
}
/**
* required .Reference.Range range = 2;
*/
public Builder clearRange() {
bitField0_ = (bitField0_ & ~0x00000002);
range_ = org.hbase.async.generated.FSPB.Reference.Range.TOP;
return this;
}
// @@protoc_insertion_point(builder_scope:Reference)
}
static {
defaultInstance = new Reference(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Reference)
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy