All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.hbase.protobuf.generated.ClientProtos Maven / Gradle / Ivy

There is a newer version: 2.6.0-hadoop3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Client.proto

package org.apache.hadoop.hbase.protobuf.generated;

@javax.annotation.Generated("proto") public final class ClientProtos {
  private ClientProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  /**
   * Protobuf enum {@code hbase.pb.Consistency}
   *
   * 
   **
   * Consistency defines the expected consistency level for an operation.
   * 
*/ public enum Consistency implements com.google.protobuf.ProtocolMessageEnum { /** * STRONG = 0; */ STRONG(0, 0), /** * TIMELINE = 1; */ TIMELINE(1, 1), ; /** * STRONG = 0; */ public static final int STRONG_VALUE = 0; /** * TIMELINE = 1; */ public static final int TIMELINE_VALUE = 1; public final int getNumber() { return value; } public static Consistency valueOf(int value) { switch (value) { case 0: return STRONG; case 1: return TIMELINE; 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 Consistency findValueByNumber(int number) { return Consistency.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor().getEnumTypes().get(0); } private static final Consistency[] VALUES = values(); public static Consistency valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Consistency(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.Consistency) } public interface AuthorizationsOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated string label = 1; /** * repeated string label = 1; */ java.util.List getLabelList(); /** * repeated string label = 1; */ int getLabelCount(); /** * repeated string label = 1; */ java.lang.String getLabel(int index); /** * repeated string label = 1; */ com.google.protobuf.ByteString getLabelBytes(int index); } /** * Protobuf type {@code hbase.pb.Authorizations} * *
   **
   * The protocol buffer version of Authorizations.
   * 
*/ @javax.annotation.Generated("proto") public static final class Authorizations extends com.google.protobuf.GeneratedMessage implements AuthorizationsOrBuilder { // Use Authorizations.newBuilder() to construct. private Authorizations(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Authorizations(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Authorizations defaultInstance; public static Authorizations getDefaultInstance() { return defaultInstance; } public Authorizations getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Authorizations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { label_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } label_.add(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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { label_ = new com.google.protobuf.UnmodifiableLazyStringList(label_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Authorizations parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Authorizations(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated string label = 1; public static final int LABEL_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList label_; /** * repeated string label = 1; */ public java.util.List getLabelList() { return label_; } /** * repeated string label = 1; */ public int getLabelCount() { return label_.size(); } /** * repeated string label = 1; */ public java.lang.String getLabel(int index) { return label_.get(index); } /** * repeated string label = 1; */ public com.google.protobuf.ByteString getLabelBytes(int index) { return label_.getByteString(index); } private void initFields() { label_ = com.google.protobuf.LazyStringArrayList.EMPTY; } 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(); for (int i = 0; i < label_.size(); i++) { output.writeBytes(1, label_.getByteString(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < label_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(label_.getByteString(i)); } size += dataSize; size += 1 * getLabelList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations) obj; boolean result = true; result = result && getLabelList() .equals(other.getLabelList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getLabelCount() > 0) { hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabelList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Authorizations} * *
     **
     * The protocol buffer version of Authorizations.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.AuthorizationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); label_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { label_ = new com.google.protobuf.UnmodifiableLazyStringList( label_); bitField0_ = (bitField0_ & ~0x00000001); } result.label_ = label_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations.getDefaultInstance()) return this; if (!other.label_.isEmpty()) { if (label_.isEmpty()) { label_ = other.label_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLabelIsMutable(); label_.addAll(other.label_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated string label = 1; private com.google.protobuf.LazyStringList label_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLabelIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { label_ = new com.google.protobuf.LazyStringArrayList(label_); bitField0_ |= 0x00000001; } } /** * repeated string label = 1; */ public java.util.List getLabelList() { return java.util.Collections.unmodifiableList(label_); } /** * repeated string label = 1; */ public int getLabelCount() { return label_.size(); } /** * repeated string label = 1; */ public java.lang.String getLabel(int index) { return label_.get(index); } /** * repeated string label = 1; */ public com.google.protobuf.ByteString getLabelBytes(int index) { return label_.getByteString(index); } /** * repeated string label = 1; */ public Builder setLabel( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLabelIsMutable(); label_.set(index, value); onChanged(); return this; } /** * repeated string label = 1; */ public Builder addLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLabelIsMutable(); label_.add(value); onChanged(); return this; } /** * repeated string label = 1; */ public Builder addAllLabel( java.lang.Iterable values) { ensureLabelIsMutable(); super.addAll(values, label_); onChanged(); return this; } /** * repeated string label = 1; */ public Builder clearLabel() { label_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string label = 1; */ public Builder addLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureLabelIsMutable(); label_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Authorizations) } static { defaultInstance = new Authorizations(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Authorizations) } public interface CellVisibilityOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string expression = 1; /** * required string expression = 1; */ boolean hasExpression(); /** * required string expression = 1; */ java.lang.String getExpression(); /** * required string expression = 1; */ com.google.protobuf.ByteString getExpressionBytes(); } /** * Protobuf type {@code hbase.pb.CellVisibility} * *
   **
   * The protocol buffer version of CellVisibility.
   * 
*/ @javax.annotation.Generated("proto") public static final class CellVisibility extends com.google.protobuf.GeneratedMessage implements CellVisibilityOrBuilder { // Use CellVisibility.newBuilder() to construct. private CellVisibility(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CellVisibility(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CellVisibility defaultInstance; public static CellVisibility getDefaultInstance() { return defaultInstance; } public CellVisibility getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CellVisibility( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; expression_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CellVisibility parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CellVisibility(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required string expression = 1; public static final int EXPRESSION_FIELD_NUMBER = 1; private java.lang.Object expression_; /** * required string expression = 1; */ public boolean hasExpression() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string expression = 1; */ public java.lang.String getExpression() { java.lang.Object ref = expression_; 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()) { expression_ = s; } return s; } } /** * required string expression = 1; */ public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { expression_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasExpression()) { 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, getExpressionBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getExpressionBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility) obj; boolean result = true; result = result && (hasExpression() == other.hasExpression()); if (hasExpression()) { result = result && getExpression() .equals(other.getExpression()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExpression()) { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CellVisibility} * *
     **
     * The protocol buffer version of CellVisibility.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibilityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); expression_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.expression_ = expression_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility.getDefaultInstance()) return this; if (other.hasExpression()) { bitField0_ |= 0x00000001; expression_ = other.expression_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasExpression()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibility) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string expression = 1; private java.lang.Object expression_ = ""; /** * required string expression = 1; */ public boolean hasExpression() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string expression = 1; */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); expression_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string expression = 1; */ public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string expression = 1; */ public Builder setExpression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; expression_ = value; onChanged(); return this; } /** * required string expression = 1; */ public Builder clearExpression() { bitField0_ = (bitField0_ & ~0x00000001); expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** * required string expression = 1; */ public Builder setExpressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; expression_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.CellVisibility) } static { defaultInstance = new CellVisibility(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CellVisibility) } public interface ColumnOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes family = 1; /** * required bytes family = 1; */ boolean hasFamily(); /** * required bytes family = 1; */ com.google.protobuf.ByteString getFamily(); // repeated bytes qualifier = 2; /** * repeated bytes qualifier = 2; */ java.util.List getQualifierList(); /** * repeated bytes qualifier = 2; */ int getQualifierCount(); /** * repeated bytes qualifier = 2; */ com.google.protobuf.ByteString getQualifier(int index); } /** * Protobuf type {@code hbase.pb.Column} * *
   **
   * Container for a list of column qualifier names of a family.
   * 
*/ @javax.annotation.Generated("proto") public static final class Column extends com.google.protobuf.GeneratedMessage implements ColumnOrBuilder { // Use Column.newBuilder() to construct. private Column(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Column(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Column defaultInstance; public static Column getDefaultInstance() { return defaultInstance; } public Column getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Column( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; family_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { qualifier_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } qualifier_.add(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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { qualifier_ = java.util.Collections.unmodifiableList(qualifier_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Column parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Column(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } // repeated bytes qualifier = 2; public static final int QUALIFIER_FIELD_NUMBER = 2; private java.util.List qualifier_; /** * repeated bytes qualifier = 2; */ public java.util.List getQualifierList() { return qualifier_; } /** * repeated bytes qualifier = 2; */ public int getQualifierCount() { return qualifier_.size(); } /** * repeated bytes qualifier = 2; */ public com.google.protobuf.ByteString getQualifier(int index) { return qualifier_.get(index); } private void initFields() { family_ = com.google.protobuf.ByteString.EMPTY; qualifier_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFamily()) { 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, family_); } for (int i = 0; i < qualifier_.size(); i++) { output.writeBytes(2, qualifier_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, family_); } { int dataSize = 0; for (int i = 0; i < qualifier_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(qualifier_.get(i)); } size += dataSize; size += 1 * getQualifierList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column) obj; boolean result = true; result = result && (hasFamily() == other.hasFamily()); if (hasFamily()) { result = result && getFamily() .equals(other.getFamily()); } result = result && getQualifierList() .equals(other.getQualifierList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFamily()) { hash = (37 * hash) + FAMILY_FIELD_NUMBER; hash = (53 * hash) + getFamily().hashCode(); } if (getQualifierCount() > 0) { hash = (37 * hash) + QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getQualifierList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Column} * *
     **
     * Container for a list of column qualifier names of a family.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); family_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); qualifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.family_ = family_; if (((bitField0_ & 0x00000002) == 0x00000002)) { qualifier_ = java.util.Collections.unmodifiableList(qualifier_); bitField0_ = (bitField0_ & ~0x00000002); } result.qualifier_ = qualifier_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance()) return this; if (other.hasFamily()) { setFamily(other.getFamily()); } if (!other.qualifier_.isEmpty()) { if (qualifier_.isEmpty()) { qualifier_ = other.qualifier_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureQualifierIsMutable(); qualifier_.addAll(other.qualifier_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasFamily()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } /** * required bytes family = 1; */ public Builder setFamily(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; family_ = value; onChanged(); return this; } /** * required bytes family = 1; */ public Builder clearFamily() { bitField0_ = (bitField0_ & ~0x00000001); family_ = getDefaultInstance().getFamily(); onChanged(); return this; } // repeated bytes qualifier = 2; private java.util.List qualifier_ = java.util.Collections.emptyList(); private void ensureQualifierIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { qualifier_ = new java.util.ArrayList(qualifier_); bitField0_ |= 0x00000002; } } /** * repeated bytes qualifier = 2; */ public java.util.List getQualifierList() { return java.util.Collections.unmodifiableList(qualifier_); } /** * repeated bytes qualifier = 2; */ public int getQualifierCount() { return qualifier_.size(); } /** * repeated bytes qualifier = 2; */ public com.google.protobuf.ByteString getQualifier(int index) { return qualifier_.get(index); } /** * repeated bytes qualifier = 2; */ public Builder setQualifier( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureQualifierIsMutable(); qualifier_.set(index, value); onChanged(); return this; } /** * repeated bytes qualifier = 2; */ public Builder addQualifier(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureQualifierIsMutable(); qualifier_.add(value); onChanged(); return this; } /** * repeated bytes qualifier = 2; */ public Builder addAllQualifier( java.lang.Iterable values) { ensureQualifierIsMutable(); super.addAll(values, qualifier_); onChanged(); return this; } /** * repeated bytes qualifier = 2; */ public Builder clearQualifier() { qualifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Column) } static { defaultInstance = new Column(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Column) } public interface GetOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes row = 1; /** * required bytes row = 1; */ boolean hasRow(); /** * required bytes row = 1; */ com.google.protobuf.ByteString getRow(); // repeated .hbase.pb.Column column = 2; /** * repeated .hbase.pb.Column column = 2; */ java.util.List getColumnList(); /** * repeated .hbase.pb.Column column = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index); /** * repeated .hbase.pb.Column column = 2; */ int getColumnCount(); /** * repeated .hbase.pb.Column column = 2; */ java.util.List getColumnOrBuilderList(); /** * repeated .hbase.pb.Column column = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index); // repeated .hbase.pb.NameBytesPair attribute = 3; /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ java.util.List getAttributeList(); /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index); /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ int getAttributeCount(); /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ java.util.List getAttributeOrBuilderList(); /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); // optional .hbase.pb.Filter filter = 4; /** * optional .hbase.pb.Filter filter = 4; */ boolean hasFilter(); /** * optional .hbase.pb.Filter filter = 4; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter(); /** * optional .hbase.pb.Filter filter = 4; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder(); // optional .hbase.pb.TimeRange time_range = 5; /** * optional .hbase.pb.TimeRange time_range = 5; */ boolean hasTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 5; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 5; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); // optional uint32 max_versions = 6 [default = 1]; /** * optional uint32 max_versions = 6 [default = 1]; */ boolean hasMaxVersions(); /** * optional uint32 max_versions = 6 [default = 1]; */ int getMaxVersions(); // optional bool cache_blocks = 7 [default = true]; /** * optional bool cache_blocks = 7 [default = true]; */ boolean hasCacheBlocks(); /** * optional bool cache_blocks = 7 [default = true]; */ boolean getCacheBlocks(); // optional uint32 store_limit = 8; /** * optional uint32 store_limit = 8; */ boolean hasStoreLimit(); /** * optional uint32 store_limit = 8; */ int getStoreLimit(); // optional uint32 store_offset = 9; /** * optional uint32 store_offset = 9; */ boolean hasStoreOffset(); /** * optional uint32 store_offset = 9; */ int getStoreOffset(); // optional bool existence_only = 10 [default = false]; /** * optional bool existence_only = 10 [default = false]; * *
     * The result isn't asked for, just check for
     * the existence.
     * 
*/ boolean hasExistenceOnly(); /** * optional bool existence_only = 10 [default = false]; * *
     * The result isn't asked for, just check for
     * the existence.
     * 
*/ boolean getExistenceOnly(); // optional bool closest_row_before = 11 [default = false]; /** * optional bool closest_row_before = 11 [default = false]; * *
     * If the row to get doesn't exist, return the
     * closest row before. Deprecated. No longer used!
     * Since hbase-2.0.0.
     * 
*/ boolean hasClosestRowBefore(); /** * optional bool closest_row_before = 11 [default = false]; * *
     * If the row to get doesn't exist, return the
     * closest row before. Deprecated. No longer used!
     * Since hbase-2.0.0.
     * 
*/ boolean getClosestRowBefore(); // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ boolean hasConsistency(); /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency(); // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ java.util.List getCfTimeRangeList(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ int getCfTimeRangeCount(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ java.util.List getCfTimeRangeOrBuilderList(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index); // optional bool load_column_families_on_demand = 14; /** * optional bool load_column_families_on_demand = 14; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ boolean hasLoadColumnFamiliesOnDemand(); /** * optional bool load_column_families_on_demand = 14; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ boolean getLoadColumnFamiliesOnDemand(); } /** * Protobuf type {@code hbase.pb.Get} * *
   **
   * The protocol buffer version of Get.
   * Unless existence_only is specified, return all the requested data
   * for the row that matches exactly.
   * 
*/ @javax.annotation.Generated("proto") public static final class Get extends com.google.protobuf.GeneratedMessage implements GetOrBuilder { // Use Get.newBuilder() to construct. private Get(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Get(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Get defaultInstance; public static Get getDefaultInstance() { return defaultInstance; } public Get getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Get( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; row_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { column_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } column_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } attribute_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry)); break; } case 34: { org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 42: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = timeRange_.toBuilder(); } timeRange_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeRange_); timeRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 48: { bitField0_ |= 0x00000008; maxVersions_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000010; cacheBlocks_ = input.readBool(); break; } case 64: { bitField0_ |= 0x00000020; storeLimit_ = input.readUInt32(); break; } case 72: { bitField0_ |= 0x00000040; storeOffset_ = input.readUInt32(); break; } case 80: { bitField0_ |= 0x00000080; existenceOnly_ = input.readBool(); break; } case 88: { bitField0_ |= 0x00000100; closestRowBefore_ = input.readBool(); break; } case 96: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(12, rawValue); } else { bitField0_ |= 0x00000200; consistency_ = value; } break; } case 106: { if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { cfTimeRange_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } cfTimeRange_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.PARSER, extensionRegistry)); break; } case 112: { bitField0_ |= 0x00000400; loadColumnFamiliesOnDemand_ = 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { column_ = java.util.Collections.unmodifiableList(column_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); } if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { cfTimeRange_ = java.util.Collections.unmodifiableList(cfTimeRange_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Get parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Get(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } // repeated .hbase.pb.Column column = 2; public static final int COLUMN_FIELD_NUMBER = 2; private java.util.List column_; /** * repeated .hbase.pb.Column column = 2; */ public java.util.List getColumnList() { return column_; } /** * repeated .hbase.pb.Column column = 2; */ public java.util.List getColumnOrBuilderList() { return column_; } /** * repeated .hbase.pb.Column column = 2; */ public int getColumnCount() { return column_.size(); } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index) { return column_.get(index); } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index) { return column_.get(index); } // repeated .hbase.pb.NameBytesPair attribute = 3; public static final int ATTRIBUTE_FIELD_NUMBER = 3; private java.util.List attribute_; /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public java.util.List getAttributeList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public java.util.List getAttributeOrBuilderList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public int getAttributeCount() { return attribute_.size(); } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { return attribute_.get(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { return attribute_.get(index); } // optional .hbase.pb.Filter filter = 4; public static final int FILTER_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** * optional .hbase.pb.Filter filter = 4; */ public boolean hasFilter() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Filter filter = 4; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { return filter_; } /** * optional .hbase.pb.Filter filter = 4; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { return filter_; } // optional .hbase.pb.TimeRange time_range = 5; public static final int TIME_RANGE_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** * optional .hbase.pb.TimeRange time_range = 5; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.TimeRange time_range = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { return timeRange_; } /** * optional .hbase.pb.TimeRange time_range = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { return timeRange_; } // optional uint32 max_versions = 6 [default = 1]; public static final int MAX_VERSIONS_FIELD_NUMBER = 6; private int maxVersions_; /** * optional uint32 max_versions = 6 [default = 1]; */ public boolean hasMaxVersions() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 max_versions = 6 [default = 1]; */ public int getMaxVersions() { return maxVersions_; } // optional bool cache_blocks = 7 [default = true]; public static final int CACHE_BLOCKS_FIELD_NUMBER = 7; private boolean cacheBlocks_; /** * optional bool cache_blocks = 7 [default = true]; */ public boolean hasCacheBlocks() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool cache_blocks = 7 [default = true]; */ public boolean getCacheBlocks() { return cacheBlocks_; } // optional uint32 store_limit = 8; public static final int STORE_LIMIT_FIELD_NUMBER = 8; private int storeLimit_; /** * optional uint32 store_limit = 8; */ public boolean hasStoreLimit() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 store_limit = 8; */ public int getStoreLimit() { return storeLimit_; } // optional uint32 store_offset = 9; public static final int STORE_OFFSET_FIELD_NUMBER = 9; private int storeOffset_; /** * optional uint32 store_offset = 9; */ public boolean hasStoreOffset() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional uint32 store_offset = 9; */ public int getStoreOffset() { return storeOffset_; } // optional bool existence_only = 10 [default = false]; public static final int EXISTENCE_ONLY_FIELD_NUMBER = 10; private boolean existenceOnly_; /** * optional bool existence_only = 10 [default = false]; * *
     * The result isn't asked for, just check for
     * the existence.
     * 
*/ public boolean hasExistenceOnly() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool existence_only = 10 [default = false]; * *
     * The result isn't asked for, just check for
     * the existence.
     * 
*/ public boolean getExistenceOnly() { return existenceOnly_; } // optional bool closest_row_before = 11 [default = false]; public static final int CLOSEST_ROW_BEFORE_FIELD_NUMBER = 11; private boolean closestRowBefore_; /** * optional bool closest_row_before = 11 [default = false]; * *
     * If the row to get doesn't exist, return the
     * closest row before. Deprecated. No longer used!
     * Since hbase-2.0.0.
     * 
*/ public boolean hasClosestRowBefore() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool closest_row_before = 11 [default = false]; * *
     * If the row to get doesn't exist, return the
     * closest row before. Deprecated. No longer used!
     * Since hbase-2.0.0.
     * 
*/ public boolean getClosestRowBefore() { return closestRowBefore_; } // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; public static final int CONSISTENCY_FIELD_NUMBER = 12; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_; /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public boolean hasConsistency() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency() { return consistency_; } // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; public static final int CF_TIME_RANGE_FIELD_NUMBER = 13; private java.util.List cfTimeRange_; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public java.util.List getCfTimeRangeList() { return cfTimeRange_; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public java.util.List getCfTimeRangeOrBuilderList() { return cfTimeRange_; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public int getCfTimeRangeCount() { return cfTimeRange_.size(); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index) { return cfTimeRange_.get(index); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index) { return cfTimeRange_.get(index); } // optional bool load_column_families_on_demand = 14; public static final int LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER = 14; private boolean loadColumnFamiliesOnDemand_; /** * optional bool load_column_families_on_demand = 14; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ public boolean hasLoadColumnFamiliesOnDemand() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional bool load_column_families_on_demand = 14; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ public boolean getLoadColumnFamiliesOnDemand() { return loadColumnFamiliesOnDemand_; } private void initFields() { row_ = com.google.protobuf.ByteString.EMPTY; column_ = java.util.Collections.emptyList(); attribute_ = java.util.Collections.emptyList(); filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); maxVersions_ = 1; cacheBlocks_ = true; storeLimit_ = 0; storeOffset_ = 0; existenceOnly_ = false; closestRowBefore_ = false; consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; cfTimeRange_ = java.util.Collections.emptyList(); loadColumnFamiliesOnDemand_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRow()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getColumnCount(); i++) { if (!getColumn(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasFilter()) { if (!getFilter().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getCfTimeRangeCount(); i++) { if (!getCfTimeRange(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, row_); } for (int i = 0; i < column_.size(); i++) { output.writeMessage(2, column_.get(i)); } for (int i = 0; i < attribute_.size(); i++) { output.writeMessage(3, attribute_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(4, filter_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(5, timeRange_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(6, maxVersions_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(7, cacheBlocks_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(8, storeLimit_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(9, storeOffset_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBool(10, existenceOnly_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBool(11, closestRowBefore_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeEnum(12, consistency_.getNumber()); } for (int i = 0; i < cfTimeRange_.size(); i++) { output.writeMessage(13, cfTimeRange_.get(i)); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeBool(14, loadColumnFamiliesOnDemand_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, row_); } for (int i = 0; i < column_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, column_.get(i)); } for (int i = 0; i < attribute_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, attribute_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, filter_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, timeRange_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, maxVersions_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, cacheBlocks_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, storeLimit_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, storeOffset_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, existenceOnly_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, closestRowBefore_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(12, consistency_.getNumber()); } for (int i = 0; i < cfTimeRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, cfTimeRange_.get(i)); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, loadColumnFamiliesOnDemand_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get) obj; boolean result = true; result = result && (hasRow() == other.hasRow()); if (hasRow()) { result = result && getRow() .equals(other.getRow()); } result = result && getColumnList() .equals(other.getColumnList()); result = result && getAttributeList() .equals(other.getAttributeList()); result = result && (hasFilter() == other.hasFilter()); if (hasFilter()) { result = result && getFilter() .equals(other.getFilter()); } result = result && (hasTimeRange() == other.hasTimeRange()); if (hasTimeRange()) { result = result && getTimeRange() .equals(other.getTimeRange()); } result = result && (hasMaxVersions() == other.hasMaxVersions()); if (hasMaxVersions()) { result = result && (getMaxVersions() == other.getMaxVersions()); } result = result && (hasCacheBlocks() == other.hasCacheBlocks()); if (hasCacheBlocks()) { result = result && (getCacheBlocks() == other.getCacheBlocks()); } result = result && (hasStoreLimit() == other.hasStoreLimit()); if (hasStoreLimit()) { result = result && (getStoreLimit() == other.getStoreLimit()); } result = result && (hasStoreOffset() == other.hasStoreOffset()); if (hasStoreOffset()) { result = result && (getStoreOffset() == other.getStoreOffset()); } result = result && (hasExistenceOnly() == other.hasExistenceOnly()); if (hasExistenceOnly()) { result = result && (getExistenceOnly() == other.getExistenceOnly()); } result = result && (hasClosestRowBefore() == other.hasClosestRowBefore()); if (hasClosestRowBefore()) { result = result && (getClosestRowBefore() == other.getClosestRowBefore()); } result = result && (hasConsistency() == other.hasConsistency()); if (hasConsistency()) { result = result && (getConsistency() == other.getConsistency()); } result = result && getCfTimeRangeList() .equals(other.getCfTimeRangeList()); result = result && (hasLoadColumnFamiliesOnDemand() == other.hasLoadColumnFamiliesOnDemand()); if (hasLoadColumnFamiliesOnDemand()) { result = result && (getLoadColumnFamiliesOnDemand() == other.getLoadColumnFamiliesOnDemand()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRow()) { hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); } if (getColumnCount() > 0) { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumnList().hashCode(); } if (getAttributeCount() > 0) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + getAttributeList().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (hasTimeRange()) { hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getTimeRange().hashCode(); } if (hasMaxVersions()) { hash = (37 * hash) + MAX_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxVersions(); } if (hasCacheBlocks()) { hash = (37 * hash) + CACHE_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getCacheBlocks()); } if (hasStoreLimit()) { hash = (37 * hash) + STORE_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getStoreLimit(); } if (hasStoreOffset()) { hash = (37 * hash) + STORE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getStoreOffset(); } if (hasExistenceOnly()) { hash = (37 * hash) + EXISTENCE_ONLY_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getExistenceOnly()); } if (hasClosestRowBefore()) { hash = (37 * hash) + CLOSEST_ROW_BEFORE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getClosestRowBefore()); } if (hasConsistency()) { hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getConsistency()); } if (getCfTimeRangeCount() > 0) { hash = (37 * hash) + CF_TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getCfTimeRangeList().hashCode(); } if (hasLoadColumnFamiliesOnDemand()) { hash = (37 * hash) + LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getLoadColumnFamiliesOnDemand()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Get} * *
     **
     * The protocol buffer version of Get.
     * Unless existence_only is specified, return all the requested data
     * for the row that matches exactly.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getColumnFieldBuilder(); getAttributeFieldBuilder(); getFilterFieldBuilder(); getTimeRangeFieldBuilder(); getCfTimeRangeFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); row_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (columnBuilder_ == null) { column_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { columnBuilder_.clear(); } if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { attributeBuilder_.clear(); } if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); maxVersions_ = 1; bitField0_ = (bitField0_ & ~0x00000020); cacheBlocks_ = true; bitField0_ = (bitField0_ & ~0x00000040); storeLimit_ = 0; bitField0_ = (bitField0_ & ~0x00000080); storeOffset_ = 0; bitField0_ = (bitField0_ & ~0x00000100); existenceOnly_ = false; bitField0_ = (bitField0_ & ~0x00000200); closestRowBefore_ = false; bitField0_ = (bitField0_ & ~0x00000400); consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; bitField0_ = (bitField0_ & ~0x00000800); if (cfTimeRangeBuilder_ == null) { cfTimeRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { cfTimeRangeBuilder_.clear(); } loadColumnFamiliesOnDemand_ = false; bitField0_ = (bitField0_ & ~0x00002000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.row_ = row_; if (columnBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { column_ = java.util.Collections.unmodifiableList(column_); bitField0_ = (bitField0_ & ~0x00000002); } result.column_ = column_; } else { result.column_ = columnBuilder_.build(); } if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000004); } result.attribute_ = attribute_; } else { result.attribute_ = attributeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000004; } if (timeRangeBuilder_ == null) { result.timeRange_ = timeRange_; } else { result.timeRange_ = timeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } result.maxVersions_ = maxVersions_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000010; } result.cacheBlocks_ = cacheBlocks_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000020; } result.storeLimit_ = storeLimit_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.storeOffset_ = storeOffset_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.existenceOnly_ = existenceOnly_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } result.closestRowBefore_ = closestRowBefore_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000200; } result.consistency_ = consistency_; if (cfTimeRangeBuilder_ == null) { if (((bitField0_ & 0x00001000) == 0x00001000)) { cfTimeRange_ = java.util.Collections.unmodifiableList(cfTimeRange_); bitField0_ = (bitField0_ & ~0x00001000); } result.cfTimeRange_ = cfTimeRange_; } else { result.cfTimeRange_ = cfTimeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00000400; } result.loadColumnFamiliesOnDemand_ = loadColumnFamiliesOnDemand_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance()) return this; if (other.hasRow()) { setRow(other.getRow()); } if (columnBuilder_ == null) { if (!other.column_.isEmpty()) { if (column_.isEmpty()) { column_ = other.column_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureColumnIsMutable(); column_.addAll(other.column_); } onChanged(); } } else { if (!other.column_.isEmpty()) { if (columnBuilder_.isEmpty()) { columnBuilder_.dispose(); columnBuilder_ = null; column_ = other.column_; bitField0_ = (bitField0_ & ~0x00000002); columnBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColumnFieldBuilder() : null; } else { columnBuilder_.addAllMessages(other.column_); } } } if (attributeBuilder_ == null) { if (!other.attribute_.isEmpty()) { if (attribute_.isEmpty()) { attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAttributeIsMutable(); attribute_.addAll(other.attribute_); } onChanged(); } } else { if (!other.attribute_.isEmpty()) { if (attributeBuilder_.isEmpty()) { attributeBuilder_.dispose(); attributeBuilder_ = null; attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000004); attributeBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributeFieldBuilder() : null; } else { attributeBuilder_.addAllMessages(other.attribute_); } } } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (other.hasTimeRange()) { mergeTimeRange(other.getTimeRange()); } if (other.hasMaxVersions()) { setMaxVersions(other.getMaxVersions()); } if (other.hasCacheBlocks()) { setCacheBlocks(other.getCacheBlocks()); } if (other.hasStoreLimit()) { setStoreLimit(other.getStoreLimit()); } if (other.hasStoreOffset()) { setStoreOffset(other.getStoreOffset()); } if (other.hasExistenceOnly()) { setExistenceOnly(other.getExistenceOnly()); } if (other.hasClosestRowBefore()) { setClosestRowBefore(other.getClosestRowBefore()); } if (other.hasConsistency()) { setConsistency(other.getConsistency()); } if (cfTimeRangeBuilder_ == null) { if (!other.cfTimeRange_.isEmpty()) { if (cfTimeRange_.isEmpty()) { cfTimeRange_ = other.cfTimeRange_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureCfTimeRangeIsMutable(); cfTimeRange_.addAll(other.cfTimeRange_); } onChanged(); } } else { if (!other.cfTimeRange_.isEmpty()) { if (cfTimeRangeBuilder_.isEmpty()) { cfTimeRangeBuilder_.dispose(); cfTimeRangeBuilder_ = null; cfTimeRange_ = other.cfTimeRange_; bitField0_ = (bitField0_ & ~0x00001000); cfTimeRangeBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCfTimeRangeFieldBuilder() : null; } else { cfTimeRangeBuilder_.addAllMessages(other.cfTimeRange_); } } } if (other.hasLoadColumnFamiliesOnDemand()) { setLoadColumnFamiliesOnDemand(other.getLoadColumnFamiliesOnDemand()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRow()) { return false; } for (int i = 0; i < getColumnCount(); i++) { if (!getColumn(i).isInitialized()) { return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(i).isInitialized()) { return false; } } if (hasFilter()) { if (!getFilter().isInitialized()) { return false; } } for (int i = 0; i < getCfTimeRangeCount(); i++) { if (!getCfTimeRange(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } /** * required bytes row = 1; */ public Builder setRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; row_ = value; onChanged(); return this; } /** * required bytes row = 1; */ public Builder clearRow() { bitField0_ = (bitField0_ & ~0x00000001); row_ = getDefaultInstance().getRow(); onChanged(); return this; } // repeated .hbase.pb.Column column = 2; private java.util.List column_ = java.util.Collections.emptyList(); private void ensureColumnIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { column_ = new java.util.ArrayList(column_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder> columnBuilder_; /** * repeated .hbase.pb.Column column = 2; */ public java.util.List getColumnList() { if (columnBuilder_ == null) { return java.util.Collections.unmodifiableList(column_); } else { return columnBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Column column = 2; */ public int getColumnCount() { if (columnBuilder_ == null) { return column_.size(); } else { return columnBuilder_.getCount(); } } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index) { if (columnBuilder_ == null) { return column_.get(index); } else { return columnBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Column column = 2; */ public Builder setColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.set(index, value); onChanged(); } else { columnBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder setColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.set(index, builderForValue.build()); onChanged(); } else { columnBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder addColumn(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(value); onChanged(); } else { columnBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder addColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(index, value); onChanged(); } else { columnBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder addColumn( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.add(builderForValue.build()); onChanged(); } else { columnBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder addColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.add(index, builderForValue.build()); onChanged(); } else { columnBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder addAllColumn( java.lang.Iterable values) { if (columnBuilder_ == null) { ensureColumnIsMutable(); super.addAll(values, column_); onChanged(); } else { columnBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder clearColumn() { if (columnBuilder_ == null) { column_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { columnBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public Builder removeColumn(int index) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.remove(index); onChanged(); } else { columnBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder getColumnBuilder( int index) { return getColumnFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index) { if (columnBuilder_ == null) { return column_.get(index); } else { return columnBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Column column = 2; */ public java.util.List getColumnOrBuilderList() { if (columnBuilder_ != null) { return columnBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(column_); } } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder addColumnBuilder() { return getColumnFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance()); } /** * repeated .hbase.pb.Column column = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder addColumnBuilder( int index) { return getColumnFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance()); } /** * repeated .hbase.pb.Column column = 2; */ public java.util.List getColumnBuilderList() { return getColumnFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder> getColumnFieldBuilder() { if (columnBuilder_ == null) { columnBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder>( column_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); column_ = null; } return columnBuilder_; } // repeated .hbase.pb.NameBytesPair attribute = 3; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { attribute_ = new java.util.ArrayList(attribute_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> attributeBuilder_; /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public java.util.List getAttributeList() { if (attributeBuilder_ == null) { return java.util.Collections.unmodifiableList(attribute_); } else { return attributeBuilder_.getMessageList(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public int getAttributeCount() { if (attributeBuilder_ == null) { return attribute_.size(); } else { return attributeBuilder_.getCount(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessage(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.set(index, value); onChanged(); } else { attributeBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.set(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder addAttribute(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(value); onChanged(); } else { attributeBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(index, value); onChanged(); } else { attributeBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder addAttribute( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder addAllAttribute( java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); super.addAll(values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder clearAttribute() { if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { attributeBuilder_.clear(); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public Builder removeAttribute(int index) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.remove(index); onChanged(); } else { attributeBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getAttributeBuilder( int index) { return getAttributeFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public java.util.List getAttributeOrBuilderList() { if (attributeBuilder_ != null) { return attributeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attribute_); } } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder() { return getAttributeFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder( int index) { return getAttributeFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ public java.util.List getAttributeBuilderList() { return getAttributeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getAttributeFieldBuilder() { if (attributeBuilder_ == null) { attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( attribute_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } // optional .hbase.pb.Filter filter = 4; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; /** * optional .hbase.pb.Filter filter = 4; */ public boolean hasFilter() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.Filter filter = 4; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { if (filterBuilder_ == null) { return filter_; } else { return filterBuilder_.getMessage(); } } /** * optional .hbase.pb.Filter filter = 4; */ public Builder setFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Filter filter = 4; */ public Builder setFilter( org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Filter filter = 4; */ public Builder mergeFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && filter_ != org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance()) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Filter filter = 4; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); onChanged(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .hbase.pb.Filter filter = 4; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder getFilterBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Filter filter = 4; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_; } } /** * optional .hbase.pb.Filter filter = 4; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( filter_, getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } // optional .hbase.pb.TimeRange time_range = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; /** * optional .hbase.pb.TimeRange time_range = 5; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.TimeRange time_range = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { if (timeRangeBuilder_ == null) { return timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** * optional .hbase.pb.TimeRange time_range = 5; */ public Builder setTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeRange_ = value; onChanged(); } else { timeRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.TimeRange time_range = 5; */ public Builder setTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); onChanged(); } else { timeRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.TimeRange time_range = 5; */ public Builder mergeTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && timeRange_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance()) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); } else { timeRange_ = value; } onChanged(); } else { timeRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.TimeRange time_range = 5; */ public Builder clearTimeRange() { if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); onChanged(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .hbase.pb.TimeRange time_range = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder getTimeRangeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** * optional .hbase.pb.TimeRange time_range = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { return timeRange_; } } /** * optional .hbase.pb.TimeRange time_range = 5; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( timeRange_, getParentForChildren(), isClean()); timeRange_ = null; } return timeRangeBuilder_; } // optional uint32 max_versions = 6 [default = 1]; private int maxVersions_ = 1; /** * optional uint32 max_versions = 6 [default = 1]; */ public boolean hasMaxVersions() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 max_versions = 6 [default = 1]; */ public int getMaxVersions() { return maxVersions_; } /** * optional uint32 max_versions = 6 [default = 1]; */ public Builder setMaxVersions(int value) { bitField0_ |= 0x00000020; maxVersions_ = value; onChanged(); return this; } /** * optional uint32 max_versions = 6 [default = 1]; */ public Builder clearMaxVersions() { bitField0_ = (bitField0_ & ~0x00000020); maxVersions_ = 1; onChanged(); return this; } // optional bool cache_blocks = 7 [default = true]; private boolean cacheBlocks_ = true; /** * optional bool cache_blocks = 7 [default = true]; */ public boolean hasCacheBlocks() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool cache_blocks = 7 [default = true]; */ public boolean getCacheBlocks() { return cacheBlocks_; } /** * optional bool cache_blocks = 7 [default = true]; */ public Builder setCacheBlocks(boolean value) { bitField0_ |= 0x00000040; cacheBlocks_ = value; onChanged(); return this; } /** * optional bool cache_blocks = 7 [default = true]; */ public Builder clearCacheBlocks() { bitField0_ = (bitField0_ & ~0x00000040); cacheBlocks_ = true; onChanged(); return this; } // optional uint32 store_limit = 8; private int storeLimit_ ; /** * optional uint32 store_limit = 8; */ public boolean hasStoreLimit() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional uint32 store_limit = 8; */ public int getStoreLimit() { return storeLimit_; } /** * optional uint32 store_limit = 8; */ public Builder setStoreLimit(int value) { bitField0_ |= 0x00000080; storeLimit_ = value; onChanged(); return this; } /** * optional uint32 store_limit = 8; */ public Builder clearStoreLimit() { bitField0_ = (bitField0_ & ~0x00000080); storeLimit_ = 0; onChanged(); return this; } // optional uint32 store_offset = 9; private int storeOffset_ ; /** * optional uint32 store_offset = 9; */ public boolean hasStoreOffset() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional uint32 store_offset = 9; */ public int getStoreOffset() { return storeOffset_; } /** * optional uint32 store_offset = 9; */ public Builder setStoreOffset(int value) { bitField0_ |= 0x00000100; storeOffset_ = value; onChanged(); return this; } /** * optional uint32 store_offset = 9; */ public Builder clearStoreOffset() { bitField0_ = (bitField0_ & ~0x00000100); storeOffset_ = 0; onChanged(); return this; } // optional bool existence_only = 10 [default = false]; private boolean existenceOnly_ ; /** * optional bool existence_only = 10 [default = false]; * *
       * The result isn't asked for, just check for
       * the existence.
       * 
*/ public boolean hasExistenceOnly() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool existence_only = 10 [default = false]; * *
       * The result isn't asked for, just check for
       * the existence.
       * 
*/ public boolean getExistenceOnly() { return existenceOnly_; } /** * optional bool existence_only = 10 [default = false]; * *
       * The result isn't asked for, just check for
       * the existence.
       * 
*/ public Builder setExistenceOnly(boolean value) { bitField0_ |= 0x00000200; existenceOnly_ = value; onChanged(); return this; } /** * optional bool existence_only = 10 [default = false]; * *
       * The result isn't asked for, just check for
       * the existence.
       * 
*/ public Builder clearExistenceOnly() { bitField0_ = (bitField0_ & ~0x00000200); existenceOnly_ = false; onChanged(); return this; } // optional bool closest_row_before = 11 [default = false]; private boolean closestRowBefore_ ; /** * optional bool closest_row_before = 11 [default = false]; * *
       * If the row to get doesn't exist, return the
       * closest row before. Deprecated. No longer used!
       * Since hbase-2.0.0.
       * 
*/ public boolean hasClosestRowBefore() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional bool closest_row_before = 11 [default = false]; * *
       * If the row to get doesn't exist, return the
       * closest row before. Deprecated. No longer used!
       * Since hbase-2.0.0.
       * 
*/ public boolean getClosestRowBefore() { return closestRowBefore_; } /** * optional bool closest_row_before = 11 [default = false]; * *
       * If the row to get doesn't exist, return the
       * closest row before. Deprecated. No longer used!
       * Since hbase-2.0.0.
       * 
*/ public Builder setClosestRowBefore(boolean value) { bitField0_ |= 0x00000400; closestRowBefore_ = value; onChanged(); return this; } /** * optional bool closest_row_before = 11 [default = false]; * *
       * If the row to get doesn't exist, return the
       * closest row before. Deprecated. No longer used!
       * Since hbase-2.0.0.
       * 
*/ public Builder clearClosestRowBefore() { bitField0_ = (bitField0_ & ~0x00000400); closestRowBefore_ = false; onChanged(); return this; } // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public boolean hasConsistency() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency() { return consistency_; } /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public Builder setConsistency(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; consistency_ = value; onChanged(); return this; } /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ public Builder clearConsistency() { bitField0_ = (bitField0_ & ~0x00000800); consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; onChanged(); return this; } // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; private java.util.List cfTimeRange_ = java.util.Collections.emptyList(); private void ensureCfTimeRangeIsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { cfTimeRange_ = new java.util.ArrayList(cfTimeRange_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder> cfTimeRangeBuilder_; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public java.util.List getCfTimeRangeList() { if (cfTimeRangeBuilder_ == null) { return java.util.Collections.unmodifiableList(cfTimeRange_); } else { return cfTimeRangeBuilder_.getMessageList(); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public int getCfTimeRangeCount() { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.size(); } else { return cfTimeRangeBuilder_.getCount(); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index) { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.get(index); } else { return cfTimeRangeBuilder_.getMessage(index); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder setCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.set(index, value); onChanged(); } else { cfTimeRangeBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder setCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.set(index, builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder addCfTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.add(value); onChanged(); } else { cfTimeRangeBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder addCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.add(index, value); onChanged(); } else { cfTimeRangeBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder addCfTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.add(builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder addCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.add(index, builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder addAllCfTimeRange( java.lang.Iterable values) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); super.addAll(values, cfTimeRange_); onChanged(); } else { cfTimeRangeBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder clearCfTimeRange() { if (cfTimeRangeBuilder_ == null) { cfTimeRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { cfTimeRangeBuilder_.clear(); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public Builder removeCfTimeRange(int index) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.remove(index); onChanged(); } else { cfTimeRangeBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder getCfTimeRangeBuilder( int index) { return getCfTimeRangeFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index) { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.get(index); } else { return cfTimeRangeBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public java.util.List getCfTimeRangeOrBuilderList() { if (cfTimeRangeBuilder_ != null) { return cfTimeRangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cfTimeRange_); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder addCfTimeRangeBuilder() { return getCfTimeRangeFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.getDefaultInstance()); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder addCfTimeRangeBuilder( int index) { return getCfTimeRangeFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.getDefaultInstance()); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ public java.util.List getCfTimeRangeBuilderList() { return getCfTimeRangeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder> getCfTimeRangeFieldBuilder() { if (cfTimeRangeBuilder_ == null) { cfTimeRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder>( cfTimeRange_, ((bitField0_ & 0x00001000) == 0x00001000), getParentForChildren(), isClean()); cfTimeRange_ = null; } return cfTimeRangeBuilder_; } // optional bool load_column_families_on_demand = 14; private boolean loadColumnFamiliesOnDemand_ ; /** * optional bool load_column_families_on_demand = 14; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public boolean hasLoadColumnFamiliesOnDemand() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional bool load_column_families_on_demand = 14; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public boolean getLoadColumnFamiliesOnDemand() { return loadColumnFamiliesOnDemand_; } /** * optional bool load_column_families_on_demand = 14; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public Builder setLoadColumnFamiliesOnDemand(boolean value) { bitField0_ |= 0x00002000; loadColumnFamiliesOnDemand_ = value; onChanged(); return this; } /** * optional bool load_column_families_on_demand = 14; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public Builder clearLoadColumnFamiliesOnDemand() { bitField0_ = (bitField0_ & ~0x00002000); loadColumnFamiliesOnDemand_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Get) } static { defaultInstance = new Get(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Get) } public interface ResultOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.Cell cell = 1; /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ java.util.List getCellList(); /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell getCell(int index); /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ int getCellCount(); /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ java.util.List getCellOrBuilderList(); /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder getCellOrBuilder( int index); // optional int32 associated_cell_count = 2; /** * optional int32 associated_cell_count = 2; * *
     * The below count is set when the associated cells are
     * not part of this protobuf message; they are passed alongside
     * and then this Message is just a placeholder with metadata.
     * The count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ boolean hasAssociatedCellCount(); /** * optional int32 associated_cell_count = 2; * *
     * The below count is set when the associated cells are
     * not part of this protobuf message; they are passed alongside
     * and then this Message is just a placeholder with metadata.
     * The count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ int getAssociatedCellCount(); // optional bool exists = 3; /** * optional bool exists = 3; * *
     * used for Get to check existence only. Not set if existence_only was not set to true
     *  in the query.
     * 
*/ boolean hasExists(); /** * optional bool exists = 3; * *
     * used for Get to check existence only. Not set if existence_only was not set to true
     *  in the query.
     * 
*/ boolean getExists(); // optional bool stale = 4 [default = false]; /** * optional bool stale = 4 [default = false]; * *
     * Whether or not the results are coming from possibly stale data
     * 
*/ boolean hasStale(); /** * optional bool stale = 4 [default = false]; * *
     * Whether or not the results are coming from possibly stale data
     * 
*/ boolean getStale(); // optional bool partial = 5 [default = false]; /** * optional bool partial = 5 [default = false]; * *
     * Whether or not the entire result could be returned. Results will be split when
     * the RPC chunk size limit is reached. Partial results contain only a subset of the
     * cells for a row and must be combined with a result containing the remaining cells
     * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
     * mayHaveMoreCellsInRow.
     * 
*/ boolean hasPartial(); /** * optional bool partial = 5 [default = false]; * *
     * Whether or not the entire result could be returned. Results will be split when
     * the RPC chunk size limit is reached. Partial results contain only a subset of the
     * cells for a row and must be combined with a result containing the remaining cells
     * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
     * mayHaveMoreCellsInRow.
     * 
*/ boolean getPartial(); } /** * Protobuf type {@code hbase.pb.Result} */ @javax.annotation.Generated("proto") public static final class Result extends com.google.protobuf.GeneratedMessage implements ResultOrBuilder { // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Result(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Result defaultInstance; public static Result getDefaultInstance() { return defaultInstance; } public Result getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Result( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { cell_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } cell_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; associatedCellCount_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000002; exists_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000004; stale_ = input.readBool(); break; } case 40: { bitField0_ |= 0x00000008; partial_ = 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { cell_ = java.util.Collections.unmodifiableList(cell_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Result parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Result(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .hbase.pb.Cell cell = 1; public static final int CELL_FIELD_NUMBER = 1; private java.util.List cell_; /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ public java.util.List getCellList() { return cell_; } /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ public java.util.List getCellOrBuilderList() { return cell_; } /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ public int getCellCount() { return cell_.size(); } /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell getCell(int index) { return cell_.get(index); } /** * repeated .hbase.pb.Cell cell = 1; * *
     * Result includes the Cells or else it just has a count of Cells
     * that are carried otherwise.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder getCellOrBuilder( int index) { return cell_.get(index); } // optional int32 associated_cell_count = 2; public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER = 2; private int associatedCellCount_; /** * optional int32 associated_cell_count = 2; * *
     * The below count is set when the associated cells are
     * not part of this protobuf message; they are passed alongside
     * and then this Message is just a placeholder with metadata.
     * The count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ public boolean hasAssociatedCellCount() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 associated_cell_count = 2; * *
     * The below count is set when the associated cells are
     * not part of this protobuf message; they are passed alongside
     * and then this Message is just a placeholder with metadata.
     * The count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ public int getAssociatedCellCount() { return associatedCellCount_; } // optional bool exists = 3; public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_; /** * optional bool exists = 3; * *
     * used for Get to check existence only. Not set if existence_only was not set to true
     *  in the query.
     * 
*/ public boolean hasExists() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool exists = 3; * *
     * used for Get to check existence only. Not set if existence_only was not set to true
     *  in the query.
     * 
*/ public boolean getExists() { return exists_; } // optional bool stale = 4 [default = false]; public static final int STALE_FIELD_NUMBER = 4; private boolean stale_; /** * optional bool stale = 4 [default = false]; * *
     * Whether or not the results are coming from possibly stale data
     * 
*/ public boolean hasStale() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool stale = 4 [default = false]; * *
     * Whether or not the results are coming from possibly stale data
     * 
*/ public boolean getStale() { return stale_; } // optional bool partial = 5 [default = false]; public static final int PARTIAL_FIELD_NUMBER = 5; private boolean partial_; /** * optional bool partial = 5 [default = false]; * *
     * Whether or not the entire result could be returned. Results will be split when
     * the RPC chunk size limit is reached. Partial results contain only a subset of the
     * cells for a row and must be combined with a result containing the remaining cells
     * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
     * mayHaveMoreCellsInRow.
     * 
*/ public boolean hasPartial() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool partial = 5 [default = false]; * *
     * Whether or not the entire result could be returned. Results will be split when
     * the RPC chunk size limit is reached. Partial results contain only a subset of the
     * cells for a row and must be combined with a result containing the remaining cells
     * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
     * mayHaveMoreCellsInRow.
     * 
*/ public boolean getPartial() { return partial_; } private void initFields() { cell_ = java.util.Collections.emptyList(); associatedCellCount_ = 0; exists_ = false; stale_ = false; partial_ = false; } 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(); for (int i = 0; i < cell_.size(); i++) { output.writeMessage(1, cell_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(2, associatedCellCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, exists_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(4, stale_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(5, partial_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < cell_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, cell_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, associatedCellCount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, exists_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, stale_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, partial_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result) obj; boolean result = true; result = result && getCellList() .equals(other.getCellList()); result = result && (hasAssociatedCellCount() == other.hasAssociatedCellCount()); if (hasAssociatedCellCount()) { result = result && (getAssociatedCellCount() == other.getAssociatedCellCount()); } result = result && (hasExists() == other.hasExists()); if (hasExists()) { result = result && (getExists() == other.getExists()); } result = result && (hasStale() == other.hasStale()); if (hasStale()) { result = result && (getStale() == other.getStale()); } result = result && (hasPartial() == other.hasPartial()); if (hasPartial()) { result = result && (getPartial() == other.getPartial()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getCellCount() > 0) { hash = (37 * hash) + CELL_FIELD_NUMBER; hash = (53 * hash) + getCellList().hashCode(); } if (hasAssociatedCellCount()) { hash = (37 * hash) + ASSOCIATED_CELL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getAssociatedCellCount(); } if (hasExists()) { hash = (37 * hash) + EXISTS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getExists()); } if (hasStale()) { hash = (37 * hash) + STALE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getStale()); } if (hasPartial()) { hash = (37 * hash) + PARTIAL_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getPartial()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Result} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCellFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (cellBuilder_ == null) { cell_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { cellBuilder_.clear(); } associatedCellCount_ = 0; bitField0_ = (bitField0_ & ~0x00000002); exists_ = false; bitField0_ = (bitField0_ & ~0x00000004); stale_ = false; bitField0_ = (bitField0_ & ~0x00000008); partial_ = false; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (cellBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { cell_ = java.util.Collections.unmodifiableList(cell_); bitField0_ = (bitField0_ & ~0x00000001); } result.cell_ = cell_; } else { result.cell_ = cellBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.associatedCellCount_ = associatedCellCount_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.exists_ = exists_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.stale_ = stale_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.partial_ = partial_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()) return this; if (cellBuilder_ == null) { if (!other.cell_.isEmpty()) { if (cell_.isEmpty()) { cell_ = other.cell_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCellIsMutable(); cell_.addAll(other.cell_); } onChanged(); } } else { if (!other.cell_.isEmpty()) { if (cellBuilder_.isEmpty()) { cellBuilder_.dispose(); cellBuilder_ = null; cell_ = other.cell_; bitField0_ = (bitField0_ & ~0x00000001); cellBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCellFieldBuilder() : null; } else { cellBuilder_.addAllMessages(other.cell_); } } } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } if (other.hasExists()) { setExists(other.getExists()); } if (other.hasStale()) { setStale(other.getStale()); } if (other.hasPartial()) { setPartial(other.getPartial()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.Cell cell = 1; private java.util.List cell_ = java.util.Collections.emptyList(); private void ensureCellIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { cell_ = new java.util.ArrayList(cell_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder, org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder> cellBuilder_; /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public java.util.List getCellList() { if (cellBuilder_ == null) { return java.util.Collections.unmodifiableList(cell_); } else { return cellBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public int getCellCount() { if (cellBuilder_ == null) { return cell_.size(); } else { return cellBuilder_.getCount(); } } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell getCell(int index) { if (cellBuilder_ == null) { return cell_.get(index); } else { return cellBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder setCell( int index, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell value) { if (cellBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCellIsMutable(); cell_.set(index, value); onChanged(); } else { cellBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder setCell( int index, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder builderForValue) { if (cellBuilder_ == null) { ensureCellIsMutable(); cell_.set(index, builderForValue.build()); onChanged(); } else { cellBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder addCell(org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell value) { if (cellBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCellIsMutable(); cell_.add(value); onChanged(); } else { cellBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder addCell( int index, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell value) { if (cellBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCellIsMutable(); cell_.add(index, value); onChanged(); } else { cellBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder addCell( org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder builderForValue) { if (cellBuilder_ == null) { ensureCellIsMutable(); cell_.add(builderForValue.build()); onChanged(); } else { cellBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder addCell( int index, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder builderForValue) { if (cellBuilder_ == null) { ensureCellIsMutable(); cell_.add(index, builderForValue.build()); onChanged(); } else { cellBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder addAllCell( java.lang.Iterable values) { if (cellBuilder_ == null) { ensureCellIsMutable(); super.addAll(values, cell_); onChanged(); } else { cellBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder clearCell() { if (cellBuilder_ == null) { cell_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { cellBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public Builder removeCell(int index) { if (cellBuilder_ == null) { ensureCellIsMutable(); cell_.remove(index); onChanged(); } else { cellBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder getCellBuilder( int index) { return getCellFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder getCellOrBuilder( int index) { if (cellBuilder_ == null) { return cell_.get(index); } else { return cellBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public java.util.List getCellOrBuilderList() { if (cellBuilder_ != null) { return cellBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cell_); } } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder addCellBuilder() { return getCellFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.getDefaultInstance()); } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder addCellBuilder( int index) { return getCellFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.getDefaultInstance()); } /** * repeated .hbase.pb.Cell cell = 1; * *
       * Result includes the Cells or else it just has a count of Cells
       * that are carried otherwise.
       * 
*/ public java.util.List getCellBuilderList() { return getCellFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder, org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder> getCellFieldBuilder() { if (cellBuilder_ == null) { cellBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell.Builder, org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder>( cell_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); cell_ = null; } return cellBuilder_; } // optional int32 associated_cell_count = 2; private int associatedCellCount_ ; /** * optional int32 associated_cell_count = 2; * *
       * The below count is set when the associated cells are
       * not part of this protobuf message; they are passed alongside
       * and then this Message is just a placeholder with metadata.
       * The count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public boolean hasAssociatedCellCount() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 associated_cell_count = 2; * *
       * The below count is set when the associated cells are
       * not part of this protobuf message; they are passed alongside
       * and then this Message is just a placeholder with metadata.
       * The count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public int getAssociatedCellCount() { return associatedCellCount_; } /** * optional int32 associated_cell_count = 2; * *
       * The below count is set when the associated cells are
       * not part of this protobuf message; they are passed alongside
       * and then this Message is just a placeholder with metadata.
       * The count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public Builder setAssociatedCellCount(int value) { bitField0_ |= 0x00000002; associatedCellCount_ = value; onChanged(); return this; } /** * optional int32 associated_cell_count = 2; * *
       * The below count is set when the associated cells are
       * not part of this protobuf message; they are passed alongside
       * and then this Message is just a placeholder with metadata.
       * The count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public Builder clearAssociatedCellCount() { bitField0_ = (bitField0_ & ~0x00000002); associatedCellCount_ = 0; onChanged(); return this; } // optional bool exists = 3; private boolean exists_ ; /** * optional bool exists = 3; * *
       * used for Get to check existence only. Not set if existence_only was not set to true
       *  in the query.
       * 
*/ public boolean hasExists() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool exists = 3; * *
       * used for Get to check existence only. Not set if existence_only was not set to true
       *  in the query.
       * 
*/ public boolean getExists() { return exists_; } /** * optional bool exists = 3; * *
       * used for Get to check existence only. Not set if existence_only was not set to true
       *  in the query.
       * 
*/ public Builder setExists(boolean value) { bitField0_ |= 0x00000004; exists_ = value; onChanged(); return this; } /** * optional bool exists = 3; * *
       * used for Get to check existence only. Not set if existence_only was not set to true
       *  in the query.
       * 
*/ public Builder clearExists() { bitField0_ = (bitField0_ & ~0x00000004); exists_ = false; onChanged(); return this; } // optional bool stale = 4 [default = false]; private boolean stale_ ; /** * optional bool stale = 4 [default = false]; * *
       * Whether or not the results are coming from possibly stale data
       * 
*/ public boolean hasStale() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool stale = 4 [default = false]; * *
       * Whether or not the results are coming from possibly stale data
       * 
*/ public boolean getStale() { return stale_; } /** * optional bool stale = 4 [default = false]; * *
       * Whether or not the results are coming from possibly stale data
       * 
*/ public Builder setStale(boolean value) { bitField0_ |= 0x00000008; stale_ = value; onChanged(); return this; } /** * optional bool stale = 4 [default = false]; * *
       * Whether or not the results are coming from possibly stale data
       * 
*/ public Builder clearStale() { bitField0_ = (bitField0_ & ~0x00000008); stale_ = false; onChanged(); return this; } // optional bool partial = 5 [default = false]; private boolean partial_ ; /** * optional bool partial = 5 [default = false]; * *
       * Whether or not the entire result could be returned. Results will be split when
       * the RPC chunk size limit is reached. Partial results contain only a subset of the
       * cells for a row and must be combined with a result containing the remaining cells
       * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
       * mayHaveMoreCellsInRow.
       * 
*/ public boolean hasPartial() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool partial = 5 [default = false]; * *
       * Whether or not the entire result could be returned. Results will be split when
       * the RPC chunk size limit is reached. Partial results contain only a subset of the
       * cells for a row and must be combined with a result containing the remaining cells
       * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
       * mayHaveMoreCellsInRow.
       * 
*/ public boolean getPartial() { return partial_; } /** * optional bool partial = 5 [default = false]; * *
       * Whether or not the entire result could be returned. Results will be split when
       * the RPC chunk size limit is reached. Partial results contain only a subset of the
       * cells for a row and must be combined with a result containing the remaining cells
       * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
       * mayHaveMoreCellsInRow.
       * 
*/ public Builder setPartial(boolean value) { bitField0_ |= 0x00000010; partial_ = value; onChanged(); return this; } /** * optional bool partial = 5 [default = false]; * *
       * Whether or not the entire result could be returned. Results will be split when
       * the RPC chunk size limit is reached. Partial results contain only a subset of the
       * cells for a row and must be combined with a result containing the remaining cells
       * to form a complete result. The equivalent flag in o.a.h.h.client.Result is
       * mayHaveMoreCellsInRow.
       * 
*/ public Builder clearPartial() { bitField0_ = (bitField0_ & ~0x00000010); partial_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Result) } static { defaultInstance = new Result(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Result) } public interface GetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // required .hbase.pb.Get get = 2; /** * required .hbase.pb.Get get = 2; */ boolean hasGet(); /** * required .hbase.pb.Get get = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet(); /** * required .hbase.pb.Get get = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder(); } /** * Protobuf type {@code hbase.pb.GetRequest} * *
   **
   * The get request. Perform a single Get operation.
   * 
*/ @javax.annotation.Generated("proto") public static final class GetRequest extends com.google.protobuf.GeneratedMessage implements GetRequestOrBuilder { // Use GetRequest.newBuilder() to construct. private GetRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GetRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GetRequest defaultInstance; public static GetRequest getDefaultInstance() { return defaultInstance; } public GetRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = get_.toBuilder(); } get_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(get_); get_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GetRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // required .hbase.pb.Get get = 2; public static final int GET_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_; /** * required .hbase.pb.Get get = 2; */ public boolean hasGet() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.Get get = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() { return get_; } /** * required .hbase.pb.Get get = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder() { return get_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!hasGet()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getGet().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, get_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, get_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasGet() == other.hasGet()); if (hasGet()) { result = result && getGet() .equals(other.getGet()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasGet()) { hash = (37 * hash) + GET_FIELD_NUMBER; hash = (53 * hash) + getGet().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GetRequest} * *
     **
     * The get request. Perform a single Get operation.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getGetFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (getBuilder_ == null) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); } else { getBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (getBuilder_ == null) { result.get_ = get_; } else { result.get_ = getBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasGet()) { mergeGet(other.getGet()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!hasGet()) { return false; } if (!getRegion().isInitialized()) { return false; } if (!getGet().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // required .hbase.pb.Get get = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getBuilder_; /** * required .hbase.pb.Get get = 2; */ public boolean hasGet() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.Get get = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() { if (getBuilder_ == null) { return get_; } else { return getBuilder_.getMessage(); } } /** * required .hbase.pb.Get get = 2; */ public Builder setGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get value) { if (getBuilder_ == null) { if (value == null) { throw new NullPointerException(); } get_ = value; onChanged(); } else { getBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.Get get = 2; */ public Builder setGet( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder builderForValue) { if (getBuilder_ == null) { get_ = builderForValue.build(); onChanged(); } else { getBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.Get get = 2; */ public Builder mergeGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get value) { if (getBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && get_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance()) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.newBuilder(get_).mergeFrom(value).buildPartial(); } else { get_ = value; } onChanged(); } else { getBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.Get get = 2; */ public Builder clearGet() { if (getBuilder_ == null) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); onChanged(); } else { getBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * required .hbase.pb.Get get = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder getGetBuilder() { bitField0_ |= 0x00000002; onChanged(); return getGetFieldBuilder().getBuilder(); } /** * required .hbase.pb.Get get = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder() { if (getBuilder_ != null) { return getBuilder_.getMessageOrBuilder(); } else { return get_; } } /** * required .hbase.pb.Get get = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getGetFieldBuilder() { if (getBuilder_ == null) { getBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder>( get_, getParentForChildren(), isClean()); get_ = null; } return getBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.GetRequest) } static { defaultInstance = new GetRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.GetRequest) } public interface GetResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .hbase.pb.Result result = 1; /** * optional .hbase.pb.Result result = 1; */ boolean hasResult(); /** * optional .hbase.pb.Result result = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult(); /** * optional .hbase.pb.Result result = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder(); } /** * Protobuf type {@code hbase.pb.GetResponse} */ @javax.annotation.Generated("proto") public static final class GetResponse extends com.google.protobuf.GeneratedMessage implements GetResponseOrBuilder { // Use GetResponse.newBuilder() to construct. private GetResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private GetResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final GetResponse defaultInstance; public static GetResponse getDefaultInstance() { return defaultInstance; } public GetResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GetResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .hbase.pb.Result result = 1; public static final int RESULT_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** * optional .hbase.pb.Result result = 1; */ public boolean hasResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { return result_; } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { return result_; } private void initFields() { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); } 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.writeMessage(1, result_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, result_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse) obj; boolean result = true; result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GetResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResultFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .hbase.pb.Result result = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; /** * optional .hbase.pb.Result result = 1; */ public boolean hasResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { if (resultBuilder_ == null) { return result_; } else { return resultBuilder_.getMessage(); } } /** * optional .hbase.pb.Result result = 1; */ public Builder setResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder setResult( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder mergeResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && result_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); onChanged(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder getResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_; } } /** * optional .hbase.pb.Result result = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( result_, getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.GetResponse) } static { defaultInstance = new GetResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.GetResponse) } public interface ConditionOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes row = 1; /** * required bytes row = 1; */ boolean hasRow(); /** * required bytes row = 1; */ com.google.protobuf.ByteString getRow(); // optional bytes family = 2; /** * optional bytes family = 2; */ boolean hasFamily(); /** * optional bytes family = 2; */ com.google.protobuf.ByteString getFamily(); // optional bytes qualifier = 3; /** * optional bytes qualifier = 3; */ boolean hasQualifier(); /** * optional bytes qualifier = 3; */ com.google.protobuf.ByteString getQualifier(); // optional .hbase.pb.CompareType compare_type = 4; /** * optional .hbase.pb.CompareType compare_type = 4; */ boolean hasCompareType(); /** * optional .hbase.pb.CompareType compare_type = 4; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareType(); // optional .hbase.pb.Comparator comparator = 5; /** * optional .hbase.pb.Comparator comparator = 5; */ boolean hasComparator(); /** * optional .hbase.pb.Comparator comparator = 5; */ org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator getComparator(); /** * optional .hbase.pb.Comparator comparator = 5; */ org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder getComparatorOrBuilder(); // optional .hbase.pb.TimeRange time_range = 6; /** * optional .hbase.pb.TimeRange time_range = 6; */ boolean hasTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 6; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 6; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); // optional .hbase.pb.Filter filter = 7; /** * optional .hbase.pb.Filter filter = 7; */ boolean hasFilter(); /** * optional .hbase.pb.Filter filter = 7; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter(); /** * optional .hbase.pb.Filter filter = 7; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder(); } /** * Protobuf type {@code hbase.pb.Condition} * *
   **
   * Condition to check if the value of a given cell (row,
   * family, qualifier) matches a value via a given comparator.
   *
   * Condition is used in check and mutate operations.
   * 
*/ @javax.annotation.Generated("proto") public static final class Condition extends com.google.protobuf.GeneratedMessage implements ConditionOrBuilder { // Use Condition.newBuilder() to construct. private Condition(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Condition(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Condition defaultInstance; public static Condition getDefaultInstance() { return defaultInstance; } public Condition getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Condition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; row_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; family_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; qualifier_ = input.readBytes(); break; } case 32: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType value = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; compareType_ = value; } break; } case 42: { org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = comparator_.toBuilder(); } comparator_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(comparator_); comparator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = timeRange_.toBuilder(); } timeRange_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeRange_); timeRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Condition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Condition(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } // optional bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString family_; /** * optional bytes family = 2; */ public boolean hasFamily() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes family = 2; */ public com.google.protobuf.ByteString getFamily() { return family_; } // optional bytes qualifier = 3; public static final int QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString qualifier_; /** * optional bytes qualifier = 3; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes qualifier = 3; */ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } // optional .hbase.pb.CompareType compare_type = 4; public static final int COMPARE_TYPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType_; /** * optional .hbase.pb.CompareType compare_type = 4; */ public boolean hasCompareType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CompareType compare_type = 4; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareType() { return compareType_; } // optional .hbase.pb.Comparator comparator = 5; public static final int COMPARATOR_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_; /** * optional .hbase.pb.Comparator comparator = 5; */ public boolean hasComparator() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.Comparator comparator = 5; */ public org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator getComparator() { return comparator_; } /** * optional .hbase.pb.Comparator comparator = 5; */ public org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder getComparatorOrBuilder() { return comparator_; } // optional .hbase.pb.TimeRange time_range = 6; public static final int TIME_RANGE_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** * optional .hbase.pb.TimeRange time_range = 6; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { return timeRange_; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { return timeRange_; } // optional .hbase.pb.Filter filter = 7; public static final int FILTER_FIELD_NUMBER = 7; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** * optional .hbase.pb.Filter filter = 7; */ public boolean hasFilter() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .hbase.pb.Filter filter = 7; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { return filter_; } /** * optional .hbase.pb.Filter filter = 7; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { return filter_; } private void initFields() { row_ = com.google.protobuf.ByteString.EMPTY; family_ = com.google.protobuf.ByteString.EMPTY; qualifier_ = com.google.protobuf.ByteString.EMPTY; compareType_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRow()) { memoizedIsInitialized = 0; return false; } if (hasComparator()) { if (!getComparator().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasFilter()) { if (!getFilter().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, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, family_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, qualifier_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, compareType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, comparator_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, timeRange_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, filter_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, family_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, qualifier_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, compareType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, comparator_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, timeRange_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, filter_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition) obj; boolean result = true; result = result && (hasRow() == other.hasRow()); if (hasRow()) { result = result && getRow() .equals(other.getRow()); } result = result && (hasFamily() == other.hasFamily()); if (hasFamily()) { result = result && getFamily() .equals(other.getFamily()); } result = result && (hasQualifier() == other.hasQualifier()); if (hasQualifier()) { result = result && getQualifier() .equals(other.getQualifier()); } result = result && (hasCompareType() == other.hasCompareType()); if (hasCompareType()) { result = result && (getCompareType() == other.getCompareType()); } result = result && (hasComparator() == other.hasComparator()); if (hasComparator()) { result = result && getComparator() .equals(other.getComparator()); } result = result && (hasTimeRange() == other.hasTimeRange()); if (hasTimeRange()) { result = result && getTimeRange() .equals(other.getTimeRange()); } result = result && (hasFilter() == other.hasFilter()); if (hasFilter()) { result = result && getFilter() .equals(other.getFilter()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRow()) { hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); } if (hasFamily()) { hash = (37 * hash) + FAMILY_FIELD_NUMBER; hash = (53 * hash) + getFamily().hashCode(); } if (hasQualifier()) { hash = (37 * hash) + QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getQualifier().hashCode(); } if (hasCompareType()) { hash = (37 * hash) + COMPARE_TYPE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getCompareType()); } if (hasComparator()) { hash = (37 * hash) + COMPARATOR_FIELD_NUMBER; hash = (53 * hash) + getComparator().hashCode(); } if (hasTimeRange()) { hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getTimeRange().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Condition} * *
     **
     * Condition to check if the value of a given cell (row,
     * family, qualifier) matches a value via a given comparator.
     *
     * Condition is used in check and mutate operations.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getComparatorFieldBuilder(); getTimeRangeFieldBuilder(); getFilterFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); row_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); family_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); qualifier_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); compareType_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; bitField0_ = (bitField0_ & ~0x00000008); if (comparatorBuilder_ == null) { comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); } else { comparatorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.row_ = row_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.family_ = family_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.qualifier_ = qualifier_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.compareType_ = compareType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (comparatorBuilder_ == null) { result.comparator_ = comparator_; } else { result.comparator_ = comparatorBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (timeRangeBuilder_ == null) { result.timeRange_ = timeRange_; } else { result.timeRange_ = timeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance()) return this; if (other.hasRow()) { setRow(other.getRow()); } if (other.hasFamily()) { setFamily(other.getFamily()); } if (other.hasQualifier()) { setQualifier(other.getQualifier()); } if (other.hasCompareType()) { setCompareType(other.getCompareType()); } if (other.hasComparator()) { mergeComparator(other.getComparator()); } if (other.hasTimeRange()) { mergeTimeRange(other.getTimeRange()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRow()) { return false; } if (hasComparator()) { if (!getComparator().isInitialized()) { return false; } } if (hasFilter()) { if (!getFilter().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } /** * required bytes row = 1; */ public Builder setRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; row_ = value; onChanged(); return this; } /** * required bytes row = 1; */ public Builder clearRow() { bitField0_ = (bitField0_ & ~0x00000001); row_ = getDefaultInstance().getRow(); onChanged(); return this; } // optional bytes family = 2; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes family = 2; */ public boolean hasFamily() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes family = 2; */ public com.google.protobuf.ByteString getFamily() { return family_; } /** * optional bytes family = 2; */ public Builder setFamily(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; family_ = value; onChanged(); return this; } /** * optional bytes family = 2; */ public Builder clearFamily() { bitField0_ = (bitField0_ & ~0x00000002); family_ = getDefaultInstance().getFamily(); onChanged(); return this; } // optional bytes qualifier = 3; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes qualifier = 3; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes qualifier = 3; */ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } /** * optional bytes qualifier = 3; */ public Builder setQualifier(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; qualifier_ = value; onChanged(); return this; } /** * optional bytes qualifier = 3; */ public Builder clearQualifier() { bitField0_ = (bitField0_ & ~0x00000004); qualifier_ = getDefaultInstance().getQualifier(); onChanged(); return this; } // optional .hbase.pb.CompareType compare_type = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; /** * optional .hbase.pb.CompareType compare_type = 4; */ public boolean hasCompareType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CompareType compare_type = 4; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareType() { return compareType_; } /** * optional .hbase.pb.CompareType compare_type = 4; */ public Builder setCompareType(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; compareType_ = value; onChanged(); return this; } /** * optional .hbase.pb.CompareType compare_type = 4; */ public Builder clearCompareType() { bitField0_ = (bitField0_ & ~0x00000008); compareType_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; onChanged(); return this; } // optional .hbase.pb.Comparator comparator = 5; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder> comparatorBuilder_; /** * optional .hbase.pb.Comparator comparator = 5; */ public boolean hasComparator() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.Comparator comparator = 5; */ public org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator getComparator() { if (comparatorBuilder_ == null) { return comparator_; } else { return comparatorBuilder_.getMessage(); } } /** * optional .hbase.pb.Comparator comparator = 5; */ public Builder setComparator(org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator value) { if (comparatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } comparator_ = value; onChanged(); } else { comparatorBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Comparator comparator = 5; */ public Builder setComparator( org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder builderForValue) { if (comparatorBuilder_ == null) { comparator_ = builderForValue.build(); onChanged(); } else { comparatorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Comparator comparator = 5; */ public Builder mergeComparator(org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator value) { if (comparatorBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && comparator_ != org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance()) { comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.newBuilder(comparator_).mergeFrom(value).buildPartial(); } else { comparator_ = value; } onChanged(); } else { comparatorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Comparator comparator = 5; */ public Builder clearComparator() { if (comparatorBuilder_ == null) { comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); onChanged(); } else { comparatorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .hbase.pb.Comparator comparator = 5; */ public org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder getComparatorBuilder() { bitField0_ |= 0x00000010; onChanged(); return getComparatorFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Comparator comparator = 5; */ public org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder getComparatorOrBuilder() { if (comparatorBuilder_ != null) { return comparatorBuilder_.getMessageOrBuilder(); } else { return comparator_; } } /** * optional .hbase.pb.Comparator comparator = 5; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder> getComparatorFieldBuilder() { if (comparatorBuilder_ == null) { comparatorBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder>( comparator_, getParentForChildren(), isClean()); comparator_ = null; } return comparatorBuilder_; } // optional .hbase.pb.TimeRange time_range = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; /** * optional .hbase.pb.TimeRange time_range = 6; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { if (timeRangeBuilder_ == null) { return timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder setTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeRange_ = value; onChanged(); } else { timeRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder setTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); onChanged(); } else { timeRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder mergeTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && timeRange_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance()) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); } else { timeRange_ = value; } onChanged(); } else { timeRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder clearTimeRange() { if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); onChanged(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder getTimeRangeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { return timeRange_; } } /** * optional .hbase.pb.TimeRange time_range = 6; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( timeRange_, getParentForChildren(), isClean()); timeRange_ = null; } return timeRangeBuilder_; } // optional .hbase.pb.Filter filter = 7; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; /** * optional .hbase.pb.Filter filter = 7; */ public boolean hasFilter() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .hbase.pb.Filter filter = 7; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { if (filterBuilder_ == null) { return filter_; } else { return filterBuilder_.getMessage(); } } /** * optional .hbase.pb.Filter filter = 7; */ public Builder setFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.Filter filter = 7; */ public Builder setFilter( org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.Filter filter = 7; */ public Builder mergeFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && filter_ != org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance()) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.Filter filter = 7; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); onChanged(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .hbase.pb.Filter filter = 7; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder getFilterBuilder() { bitField0_ |= 0x00000040; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Filter filter = 7; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_; } } /** * optional .hbase.pb.Filter filter = 7; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( filter_, getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.Condition) } static { defaultInstance = new Condition(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Condition) } public interface MutationProtoOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes row = 1; /** * optional bytes row = 1; */ boolean hasRow(); /** * optional bytes row = 1; */ com.google.protobuf.ByteString getRow(); // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ boolean hasMutateType(); /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType getMutateType(); // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ java.util.List getColumnValueList(); /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue getColumnValue(int index); /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ int getColumnValueCount(); /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ java.util.List getColumnValueOrBuilderList(); /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder( int index); // optional uint64 timestamp = 4; /** * optional uint64 timestamp = 4; */ boolean hasTimestamp(); /** * optional uint64 timestamp = 4; */ long getTimestamp(); // repeated .hbase.pb.NameBytesPair attribute = 5; /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ java.util.List getAttributeList(); /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index); /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ int getAttributeCount(); /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ java.util.List getAttributeOrBuilderList(); /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ boolean hasDurability(); /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability getDurability(); // optional .hbase.pb.TimeRange time_range = 7; /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ boolean hasTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); // optional int32 associated_cell_count = 8; /** * optional int32 associated_cell_count = 8; * *
     * The below count is set when the associated cells are NOT
     * part of this protobuf message; they are passed alongside
     * and then this Message is a placeholder with metadata.  The
     * count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ boolean hasAssociatedCellCount(); /** * optional int32 associated_cell_count = 8; * *
     * The below count is set when the associated cells are NOT
     * part of this protobuf message; they are passed alongside
     * and then this Message is a placeholder with metadata.  The
     * count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ int getAssociatedCellCount(); // optional uint64 nonce = 9; /** * optional uint64 nonce = 9; */ boolean hasNonce(); /** * optional uint64 nonce = 9; */ long getNonce(); } /** * Protobuf type {@code hbase.pb.MutationProto} * *
   **
   * A specific mutation inside a mutate request.
   * It can be an append, increment, put or delete based
   * on the mutation type.  It can be fully filled in or
   * only metadata present because data is being carried
   * elsewhere outside of pb.
   * 
*/ @javax.annotation.Generated("proto") public static final class MutationProto extends com.google.protobuf.GeneratedMessage implements MutationProtoOrBuilder { // Use MutationProto.newBuilder() to construct. private MutationProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MutationProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MutationProto defaultInstance; public static MutationProto getDefaultInstance() { return defaultInstance; } public MutationProto getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutationProto( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; row_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; mutateType_ = value; } break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { columnValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } columnValue_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.PARSER, extensionRegistry)); break; } case 32: { bitField0_ |= 0x00000004; timestamp_ = input.readUInt64(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } attribute_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry)); break; } case 48: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000008; durability_ = value; } break; } case 58: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = timeRange_.toBuilder(); } timeRange_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeRange_); timeRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 64: { bitField0_ |= 0x00000020; associatedCellCount_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000040; nonce_ = 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 { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { columnValue_ = java.util.Collections.unmodifiableList(columnValue_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MutationProto parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutationProto(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code hbase.pb.MutationProto.Durability} */ public enum Durability implements com.google.protobuf.ProtocolMessageEnum { /** * USE_DEFAULT = 0; */ USE_DEFAULT(0, 0), /** * SKIP_WAL = 1; */ SKIP_WAL(1, 1), /** * ASYNC_WAL = 2; */ ASYNC_WAL(2, 2), /** * SYNC_WAL = 3; */ SYNC_WAL(3, 3), /** * FSYNC_WAL = 4; */ FSYNC_WAL(4, 4), ; /** * USE_DEFAULT = 0; */ public static final int USE_DEFAULT_VALUE = 0; /** * SKIP_WAL = 1; */ public static final int SKIP_WAL_VALUE = 1; /** * ASYNC_WAL = 2; */ public static final int ASYNC_WAL_VALUE = 2; /** * SYNC_WAL = 3; */ public static final int SYNC_WAL_VALUE = 3; /** * FSYNC_WAL = 4; */ public static final int FSYNC_WAL_VALUE = 4; public final int getNumber() { return value; } public static Durability valueOf(int value) { switch (value) { case 0: return USE_DEFAULT; case 1: return SKIP_WAL; case 2: return ASYNC_WAL; case 3: return SYNC_WAL; case 4: return FSYNC_WAL; 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 Durability findValueByNumber(int number) { return Durability.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDescriptor().getEnumTypes().get(0); } private static final Durability[] VALUES = values(); public static Durability valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Durability(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.MutationProto.Durability) } /** * Protobuf enum {@code hbase.pb.MutationProto.MutationType} */ public enum MutationType implements com.google.protobuf.ProtocolMessageEnum { /** * APPEND = 0; */ APPEND(0, 0), /** * INCREMENT = 1; */ INCREMENT(1, 1), /** * PUT = 2; */ PUT(2, 2), /** * DELETE = 3; */ DELETE(3, 3), ; /** * APPEND = 0; */ public static final int APPEND_VALUE = 0; /** * INCREMENT = 1; */ public static final int INCREMENT_VALUE = 1; /** * PUT = 2; */ public static final int PUT_VALUE = 2; /** * DELETE = 3; */ public static final int DELETE_VALUE = 3; public final int getNumber() { return value; } public static MutationType valueOf(int value) { switch (value) { case 0: return APPEND; case 1: return INCREMENT; case 2: return PUT; case 3: return DELETE; 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 MutationType findValueByNumber(int number) { return MutationType.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDescriptor().getEnumTypes().get(1); } private static final MutationType[] VALUES = values(); public static MutationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private MutationType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.MutationProto.MutationType) } /** * Protobuf enum {@code hbase.pb.MutationProto.DeleteType} */ public enum DeleteType implements com.google.protobuf.ProtocolMessageEnum { /** * DELETE_ONE_VERSION = 0; */ DELETE_ONE_VERSION(0, 0), /** * DELETE_MULTIPLE_VERSIONS = 1; */ DELETE_MULTIPLE_VERSIONS(1, 1), /** * DELETE_FAMILY = 2; */ DELETE_FAMILY(2, 2), /** * DELETE_FAMILY_VERSION = 3; */ DELETE_FAMILY_VERSION(3, 3), ; /** * DELETE_ONE_VERSION = 0; */ public static final int DELETE_ONE_VERSION_VALUE = 0; /** * DELETE_MULTIPLE_VERSIONS = 1; */ public static final int DELETE_MULTIPLE_VERSIONS_VALUE = 1; /** * DELETE_FAMILY = 2; */ public static final int DELETE_FAMILY_VALUE = 2; /** * DELETE_FAMILY_VERSION = 3; */ public static final int DELETE_FAMILY_VERSION_VALUE = 3; public final int getNumber() { return value; } public static DeleteType valueOf(int value) { switch (value) { case 0: return DELETE_ONE_VERSION; case 1: return DELETE_MULTIPLE_VERSIONS; case 2: return DELETE_FAMILY; case 3: return DELETE_FAMILY_VERSION; 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 DeleteType findValueByNumber(int number) { return DeleteType.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDescriptor().getEnumTypes().get(2); } private static final DeleteType[] VALUES = values(); public static DeleteType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private DeleteType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.MutationProto.DeleteType) } public interface ColumnValueOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes family = 1; /** * required bytes family = 1; */ boolean hasFamily(); /** * required bytes family = 1; */ com.google.protobuf.ByteString getFamily(); // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ java.util.List getQualifierValueList(); /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue getQualifierValue(int index); /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ int getQualifierValueCount(); /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ java.util.List getQualifierValueOrBuilderList(); /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder getQualifierValueOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.MutationProto.ColumnValue} */ @javax.annotation.Generated("proto") public static final class ColumnValue extends com.google.protobuf.GeneratedMessage implements ColumnValueOrBuilder { // Use ColumnValue.newBuilder() to construct. private ColumnValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ColumnValue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ColumnValue defaultInstance; public static ColumnValue getDefaultInstance() { return defaultInstance; } public ColumnValue getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; family_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { qualifierValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } qualifierValue_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.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)) { qualifierValue_ = java.util.Collections.unmodifiableList(qualifierValue_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ColumnValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ColumnValue(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface QualifierValueOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes qualifier = 1; /** * optional bytes qualifier = 1; */ boolean hasQualifier(); /** * optional bytes qualifier = 1; */ com.google.protobuf.ByteString getQualifier(); // optional bytes value = 2; /** * optional bytes value = 2; */ boolean hasValue(); /** * optional bytes value = 2; */ com.google.protobuf.ByteString getValue(); // optional uint64 timestamp = 3; /** * optional uint64 timestamp = 3; */ boolean hasTimestamp(); /** * optional uint64 timestamp = 3; */ long getTimestamp(); // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ boolean hasDeleteType(); /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType(); // optional bytes tags = 5; /** * optional bytes tags = 5; */ boolean hasTags(); /** * optional bytes tags = 5; */ com.google.protobuf.ByteString getTags(); } /** * Protobuf type {@code hbase.pb.MutationProto.ColumnValue.QualifierValue} */ @javax.annotation.Generated("proto") public static final class QualifierValue extends com.google.protobuf.GeneratedMessage implements QualifierValueOrBuilder { // Use QualifierValue.newBuilder() to construct. private QualifierValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private QualifierValue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final QualifierValue defaultInstance; public static QualifierValue getDefaultInstance() { return defaultInstance; } public QualifierValue getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QualifierValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; qualifier_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; value_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; timestamp_ = input.readUInt64(); break; } case 32: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; deleteType_ = value; } break; } case 42: { bitField0_ |= 0x00000010; tags_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public QualifierValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QualifierValue(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes qualifier = 1; public static final int QUALIFIER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString qualifier_; /** * optional bytes qualifier = 1; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes qualifier = 1; */ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } // 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_; } // optional uint64 timestamp = 3; public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_; /** * optional uint64 timestamp = 3; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 timestamp = 3; */ public long getTimestamp() { return timestamp_; } // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; public static final int DELETE_TYPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType deleteType_; /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public boolean hasDeleteType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType() { return deleteType_; } // optional bytes tags = 5; public static final int TAGS_FIELD_NUMBER = 5; private com.google.protobuf.ByteString tags_; /** * optional bytes tags = 5; */ public boolean hasTags() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bytes tags = 5; */ public com.google.protobuf.ByteString getTags() { return tags_; } private void initFields() { qualifier_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; timestamp_ = 0L; deleteType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.DELETE_ONE_VERSION; tags_ = com.google.protobuf.ByteString.EMPTY; } 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, qualifier_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, value_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, timestamp_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(4, deleteType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, tags_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, qualifier_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, value_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, timestamp_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, deleteType_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, tags_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue) obj; boolean result = true; result = result && (hasQualifier() == other.hasQualifier()); if (hasQualifier()) { result = result && getQualifier() .equals(other.getQualifier()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && (getTimestamp() == other.getTimestamp()); } result = result && (hasDeleteType() == other.hasDeleteType()); if (hasDeleteType()) { result = result && (getDeleteType() == other.getDeleteType()); } result = result && (hasTags() == other.hasTags()); if (hasTags()) { result = result && getTags() .equals(other.getTags()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasQualifier()) { hash = (37 * hash) + QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getQualifier().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + hashLong(getTimestamp()); } if (hasDeleteType()) { hash = (37 * hash) + DELETE_TYPE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getDeleteType()); } if (hasTags()) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTags().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MutationProto.ColumnValue.QualifierValue} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); qualifier_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); value_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); timestamp_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); deleteType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.DELETE_ONE_VERSION; bitField0_ = (bitField0_ & ~0x00000008); tags_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.qualifier_ = qualifier_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.timestamp_ = timestamp_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.deleteType_ = deleteType_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.tags_ = tags_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.getDefaultInstance()) return this; if (other.hasQualifier()) { setQualifier(other.getQualifier()); } if (other.hasValue()) { setValue(other.getValue()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasDeleteType()) { setDeleteType(other.getDeleteType()); } if (other.hasTags()) { setTags(other.getTags()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes qualifier = 1; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes qualifier = 1; */ public boolean hasQualifier() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes qualifier = 1; */ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } /** * optional bytes qualifier = 1; */ public Builder setQualifier(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; qualifier_ = value; onChanged(); return this; } /** * optional bytes qualifier = 1; */ public Builder clearQualifier() { bitField0_ = (bitField0_ & ~0x00000001); qualifier_ = getDefaultInstance().getQualifier(); onChanged(); 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; onChanged(); return this; } /** * optional bytes value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } // optional uint64 timestamp = 3; private long timestamp_ ; /** * optional uint64 timestamp = 3; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 timestamp = 3; */ public long getTimestamp() { return timestamp_; } /** * optional uint64 timestamp = 3; */ public Builder setTimestamp(long value) { bitField0_ |= 0x00000004; timestamp_ = value; onChanged(); return this; } /** * optional uint64 timestamp = 3; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000004); timestamp_ = 0L; onChanged(); return this; } // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType deleteType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.DELETE_ONE_VERSION; /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public boolean hasDeleteType() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType() { return deleteType_; } /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public Builder setDeleteType(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; deleteType_ = value; onChanged(); return this; } /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ public Builder clearDeleteType() { bitField0_ = (bitField0_ & ~0x00000008); deleteType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.DELETE_ONE_VERSION; onChanged(); return this; } // optional bytes tags = 5; private com.google.protobuf.ByteString tags_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes tags = 5; */ public boolean hasTags() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bytes tags = 5; */ public com.google.protobuf.ByteString getTags() { return tags_; } /** * optional bytes tags = 5; */ public Builder setTags(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; tags_ = value; onChanged(); return this; } /** * optional bytes tags = 5; */ public Builder clearTags() { bitField0_ = (bitField0_ & ~0x00000010); tags_ = getDefaultInstance().getTags(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.MutationProto.ColumnValue.QualifierValue) } static { defaultInstance = new QualifierValue(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MutationProto.ColumnValue.QualifierValue) } private int bitField0_; // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; public static final int QUALIFIER_VALUE_FIELD_NUMBER = 2; private java.util.List qualifierValue_; /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public java.util.List getQualifierValueList() { return qualifierValue_; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public java.util.List getQualifierValueOrBuilderList() { return qualifierValue_; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public int getQualifierValueCount() { return qualifierValue_.size(); } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue getQualifierValue(int index) { return qualifierValue_.get(index); } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder getQualifierValueOrBuilder( int index) { return qualifierValue_.get(index); } private void initFields() { family_ = com.google.protobuf.ByteString.EMPTY; qualifierValue_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFamily()) { 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, family_); } for (int i = 0; i < qualifierValue_.size(); i++) { output.writeMessage(2, qualifierValue_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, family_); } for (int i = 0; i < qualifierValue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, qualifierValue_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue) obj; boolean result = true; result = result && (hasFamily() == other.hasFamily()); if (hasFamily()) { result = result && getFamily() .equals(other.getFamily()); } result = result && getQualifierValueList() .equals(other.getQualifierValueList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFamily()) { hash = (37 * hash) + FAMILY_FIELD_NUMBER; hash = (53 * hash) + getFamily().hashCode(); } if (getQualifierValueCount() > 0) { hash = (37 * hash) + QUALIFIER_VALUE_FIELD_NUMBER; hash = (53 * hash) + getQualifierValueList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MutationProto.ColumnValue} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getQualifierValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); family_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (qualifierValueBuilder_ == null) { qualifierValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { qualifierValueBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.family_ = family_; if (qualifierValueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { qualifierValue_ = java.util.Collections.unmodifiableList(qualifierValue_); bitField0_ = (bitField0_ & ~0x00000002); } result.qualifierValue_ = qualifierValue_; } else { result.qualifierValue_ = qualifierValueBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.getDefaultInstance()) return this; if (other.hasFamily()) { setFamily(other.getFamily()); } if (qualifierValueBuilder_ == null) { if (!other.qualifierValue_.isEmpty()) { if (qualifierValue_.isEmpty()) { qualifierValue_ = other.qualifierValue_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureQualifierValueIsMutable(); qualifierValue_.addAll(other.qualifierValue_); } onChanged(); } } else { if (!other.qualifierValue_.isEmpty()) { if (qualifierValueBuilder_.isEmpty()) { qualifierValueBuilder_.dispose(); qualifierValueBuilder_ = null; qualifierValue_ = other.qualifierValue_; bitField0_ = (bitField0_ & ~0x00000002); qualifierValueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getQualifierValueFieldBuilder() : null; } else { qualifierValueBuilder_.addAllMessages(other.qualifierValue_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasFamily()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } /** * required bytes family = 1; */ public Builder setFamily(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; family_ = value; onChanged(); return this; } /** * required bytes family = 1; */ public Builder clearFamily() { bitField0_ = (bitField0_ & ~0x00000001); family_ = getDefaultInstance().getFamily(); onChanged(); return this; } // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; private java.util.List qualifierValue_ = java.util.Collections.emptyList(); private void ensureQualifierValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { qualifierValue_ = new java.util.ArrayList(qualifierValue_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder> qualifierValueBuilder_; /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public java.util.List getQualifierValueList() { if (qualifierValueBuilder_ == null) { return java.util.Collections.unmodifiableList(qualifierValue_); } else { return qualifierValueBuilder_.getMessageList(); } } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public int getQualifierValueCount() { if (qualifierValueBuilder_ == null) { return qualifierValue_.size(); } else { return qualifierValueBuilder_.getCount(); } } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue getQualifierValue(int index) { if (qualifierValueBuilder_ == null) { return qualifierValue_.get(index); } else { return qualifierValueBuilder_.getMessage(index); } } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder setQualifierValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue value) { if (qualifierValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQualifierValueIsMutable(); qualifierValue_.set(index, value); onChanged(); } else { qualifierValueBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder setQualifierValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder builderForValue) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); qualifierValue_.set(index, builderForValue.build()); onChanged(); } else { qualifierValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder addQualifierValue(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue value) { if (qualifierValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQualifierValueIsMutable(); qualifierValue_.add(value); onChanged(); } else { qualifierValueBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder addQualifierValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue value) { if (qualifierValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQualifierValueIsMutable(); qualifierValue_.add(index, value); onChanged(); } else { qualifierValueBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder addQualifierValue( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder builderForValue) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); qualifierValue_.add(builderForValue.build()); onChanged(); } else { qualifierValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder addQualifierValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder builderForValue) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); qualifierValue_.add(index, builderForValue.build()); onChanged(); } else { qualifierValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder addAllQualifierValue( java.lang.Iterable values) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); super.addAll(values, qualifierValue_); onChanged(); } else { qualifierValueBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder clearQualifierValue() { if (qualifierValueBuilder_ == null) { qualifierValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { qualifierValueBuilder_.clear(); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public Builder removeQualifierValue(int index) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); qualifierValue_.remove(index); onChanged(); } else { qualifierValueBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder getQualifierValueBuilder( int index) { return getQualifierValueFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder getQualifierValueOrBuilder( int index) { if (qualifierValueBuilder_ == null) { return qualifierValue_.get(index); } else { return qualifierValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public java.util.List getQualifierValueOrBuilderList() { if (qualifierValueBuilder_ != null) { return qualifierValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(qualifierValue_); } } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder addQualifierValueBuilder() { return getQualifierValueFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.getDefaultInstance()); } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder addQualifierValueBuilder( int index) { return getQualifierValueFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.getDefaultInstance()); } /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ public java.util.List getQualifierValueBuilderList() { return getQualifierValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder> getQualifierValueFieldBuilder() { if (qualifierValueBuilder_ == null) { qualifierValueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder>( qualifierValue_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); qualifierValue_ = null; } return qualifierValueBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.MutationProto.ColumnValue) } static { defaultInstance = new ColumnValue(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MutationProto.ColumnValue) } private int bitField0_; // optional bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** * optional bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; public static final int MUTATE_TYPE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType mutateType_; /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public boolean hasMutateType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType getMutateType() { return mutateType_; } // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; public static final int COLUMN_VALUE_FIELD_NUMBER = 3; private java.util.List columnValue_; /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public java.util.List getColumnValueList() { return columnValue_; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public java.util.List getColumnValueOrBuilderList() { return columnValue_; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public int getColumnValueCount() { return columnValue_.size(); } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue getColumnValue(int index) { return columnValue_.get(index); } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder( int index) { return columnValue_.get(index); } // optional uint64 timestamp = 4; public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** * optional uint64 timestamp = 4; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 timestamp = 4; */ public long getTimestamp() { return timestamp_; } // repeated .hbase.pb.NameBytesPair attribute = 5; public static final int ATTRIBUTE_FIELD_NUMBER = 5; private java.util.List attribute_; /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public java.util.List getAttributeList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public java.util.List getAttributeOrBuilderList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public int getAttributeCount() { return attribute_.size(); } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { return attribute_.get(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { return attribute_.get(index); } // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; public static final int DURABILITY_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability durability_; /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public boolean hasDurability() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability getDurability() { return durability_; } // optional .hbase.pb.TimeRange time_range = 7; public static final int TIME_RANGE_FIELD_NUMBER = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ public boolean hasTimeRange() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { return timeRange_; } /** * optional .hbase.pb.TimeRange time_range = 7; * *
     * For some mutations, a result may be returned, in which case,
     * time range can be specified for potential performance gain
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { return timeRange_; } // optional int32 associated_cell_count = 8; public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER = 8; private int associatedCellCount_; /** * optional int32 associated_cell_count = 8; * *
     * The below count is set when the associated cells are NOT
     * part of this protobuf message; they are passed alongside
     * and then this Message is a placeholder with metadata.  The
     * count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ public boolean hasAssociatedCellCount() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional int32 associated_cell_count = 8; * *
     * The below count is set when the associated cells are NOT
     * part of this protobuf message; they are passed alongside
     * and then this Message is a placeholder with metadata.  The
     * count is needed to know how many to peel off the block of Cells as
     * ours.  NOTE: This is different from the pb managed cell_count of the
     * 'cell' field above which is non-null when the cells are pb'd.
     * 
*/ public int getAssociatedCellCount() { return associatedCellCount_; } // optional uint64 nonce = 9; public static final int NONCE_FIELD_NUMBER = 9; private long nonce_; /** * optional uint64 nonce = 9; */ public boolean hasNonce() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional uint64 nonce = 9; */ public long getNonce() { return nonce_; } private void initFields() { row_ = com.google.protobuf.ByteString.EMPTY; mutateType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.APPEND; columnValue_ = java.util.Collections.emptyList(); timestamp_ = 0L; attribute_ = java.util.Collections.emptyList(); durability_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.USE_DEFAULT; timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); associatedCellCount_ = 0; nonce_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getColumnValueCount(); i++) { if (!getColumnValue(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(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, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, mutateType_.getNumber()); } for (int i = 0; i < columnValue_.size(); i++) { output.writeMessage(3, columnValue_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(4, timestamp_); } for (int i = 0; i < attribute_.size(); i++) { output.writeMessage(5, attribute_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeEnum(6, durability_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(7, timeRange_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(8, associatedCellCount_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt64(9, nonce_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mutateType_.getNumber()); } for (int i = 0; i < columnValue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, columnValue_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, timestamp_); } for (int i = 0; i < attribute_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, attribute_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, durability_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, timeRange_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, associatedCellCount_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, nonce_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto) obj; boolean result = true; result = result && (hasRow() == other.hasRow()); if (hasRow()) { result = result && getRow() .equals(other.getRow()); } result = result && (hasMutateType() == other.hasMutateType()); if (hasMutateType()) { result = result && (getMutateType() == other.getMutateType()); } result = result && getColumnValueList() .equals(other.getColumnValueList()); result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && (getTimestamp() == other.getTimestamp()); } result = result && getAttributeList() .equals(other.getAttributeList()); result = result && (hasDurability() == other.hasDurability()); if (hasDurability()) { result = result && (getDurability() == other.getDurability()); } result = result && (hasTimeRange() == other.hasTimeRange()); if (hasTimeRange()) { result = result && getTimeRange() .equals(other.getTimeRange()); } result = result && (hasAssociatedCellCount() == other.hasAssociatedCellCount()); if (hasAssociatedCellCount()) { result = result && (getAssociatedCellCount() == other.getAssociatedCellCount()); } result = result && (hasNonce() == other.hasNonce()); if (hasNonce()) { result = result && (getNonce() == other.getNonce()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRow()) { hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); } if (hasMutateType()) { hash = (37 * hash) + MUTATE_TYPE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getMutateType()); } if (getColumnValueCount() > 0) { hash = (37 * hash) + COLUMN_VALUE_FIELD_NUMBER; hash = (53 * hash) + getColumnValueList().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + hashLong(getTimestamp()); } if (getAttributeCount() > 0) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + getAttributeList().hashCode(); } if (hasDurability()) { hash = (37 * hash) + DURABILITY_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getDurability()); } if (hasTimeRange()) { hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getTimeRange().hashCode(); } if (hasAssociatedCellCount()) { hash = (37 * hash) + ASSOCIATED_CELL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getAssociatedCellCount(); } if (hasNonce()) { hash = (37 * hash) + NONCE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getNonce()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MutationProto} * *
     **
     * A specific mutation inside a mutate request.
     * It can be an append, increment, put or delete based
     * on the mutation type.  It can be fully filled in or
     * only metadata present because data is being carried
     * elsewhere outside of pb.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getColumnValueFieldBuilder(); getAttributeFieldBuilder(); getTimeRangeFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); row_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); mutateType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.APPEND; bitField0_ = (bitField0_ & ~0x00000002); if (columnValueBuilder_ == null) { columnValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { columnValueBuilder_.clear(); } timestamp_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { attributeBuilder_.clear(); } durability_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.USE_DEFAULT; bitField0_ = (bitField0_ & ~0x00000020); if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); associatedCellCount_ = 0; bitField0_ = (bitField0_ & ~0x00000080); nonce_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.row_ = row_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.mutateType_ = mutateType_; if (columnValueBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { columnValue_ = java.util.Collections.unmodifiableList(columnValue_); bitField0_ = (bitField0_ & ~0x00000004); } result.columnValue_ = columnValue_; } else { result.columnValue_ = columnValueBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.timestamp_ = timestamp_; if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000010); } result.attribute_ = attribute_; } else { result.attribute_ = attributeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } result.durability_ = durability_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000010; } if (timeRangeBuilder_ == null) { result.timeRange_ = timeRange_; } else { result.timeRange_ = timeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000020; } result.associatedCellCount_ = associatedCellCount_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.nonce_ = nonce_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance()) return this; if (other.hasRow()) { setRow(other.getRow()); } if (other.hasMutateType()) { setMutateType(other.getMutateType()); } if (columnValueBuilder_ == null) { if (!other.columnValue_.isEmpty()) { if (columnValue_.isEmpty()) { columnValue_ = other.columnValue_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureColumnValueIsMutable(); columnValue_.addAll(other.columnValue_); } onChanged(); } } else { if (!other.columnValue_.isEmpty()) { if (columnValueBuilder_.isEmpty()) { columnValueBuilder_.dispose(); columnValueBuilder_ = null; columnValue_ = other.columnValue_; bitField0_ = (bitField0_ & ~0x00000004); columnValueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColumnValueFieldBuilder() : null; } else { columnValueBuilder_.addAllMessages(other.columnValue_); } } } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (attributeBuilder_ == null) { if (!other.attribute_.isEmpty()) { if (attribute_.isEmpty()) { attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAttributeIsMutable(); attribute_.addAll(other.attribute_); } onChanged(); } } else { if (!other.attribute_.isEmpty()) { if (attributeBuilder_.isEmpty()) { attributeBuilder_.dispose(); attributeBuilder_ = null; attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000010); attributeBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributeFieldBuilder() : null; } else { attributeBuilder_.addAllMessages(other.attribute_); } } } if (other.hasDurability()) { setDurability(other.getDurability()); } if (other.hasTimeRange()) { mergeTimeRange(other.getTimeRange()); } if (other.hasAssociatedCellCount()) { setAssociatedCellCount(other.getAssociatedCellCount()); } if (other.hasNonce()) { setNonce(other.getNonce()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getColumnValueCount(); i++) { if (!getColumnValue(i).isInitialized()) { return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } /** * optional bytes row = 1; */ public Builder setRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; row_ = value; onChanged(); return this; } /** * optional bytes row = 1; */ public Builder clearRow() { bitField0_ = (bitField0_ & ~0x00000001); row_ = getDefaultInstance().getRow(); onChanged(); return this; } // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType mutateType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.APPEND; /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public boolean hasMutateType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType getMutateType() { return mutateType_; } /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public Builder setMutateType(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mutateType_ = value; onChanged(); return this; } /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ public Builder clearMutateType() { bitField0_ = (bitField0_ & ~0x00000002); mutateType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.APPEND; onChanged(); return this; } // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; private java.util.List columnValue_ = java.util.Collections.emptyList(); private void ensureColumnValueIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { columnValue_ = new java.util.ArrayList(columnValue_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder> columnValueBuilder_; /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public java.util.List getColumnValueList() { if (columnValueBuilder_ == null) { return java.util.Collections.unmodifiableList(columnValue_); } else { return columnValueBuilder_.getMessageList(); } } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public int getColumnValueCount() { if (columnValueBuilder_ == null) { return columnValue_.size(); } else { return columnValueBuilder_.getCount(); } } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue getColumnValue(int index) { if (columnValueBuilder_ == null) { return columnValue_.get(index); } else { return columnValueBuilder_.getMessage(index); } } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder setColumnValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue value) { if (columnValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnValueIsMutable(); columnValue_.set(index, value); onChanged(); } else { columnValueBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder setColumnValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder builderForValue) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); columnValue_.set(index, builderForValue.build()); onChanged(); } else { columnValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder addColumnValue(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue value) { if (columnValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnValueIsMutable(); columnValue_.add(value); onChanged(); } else { columnValueBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder addColumnValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue value) { if (columnValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnValueIsMutable(); columnValue_.add(index, value); onChanged(); } else { columnValueBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder addColumnValue( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder builderForValue) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); columnValue_.add(builderForValue.build()); onChanged(); } else { columnValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder addColumnValue( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder builderForValue) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); columnValue_.add(index, builderForValue.build()); onChanged(); } else { columnValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder addAllColumnValue( java.lang.Iterable values) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); super.addAll(values, columnValue_); onChanged(); } else { columnValueBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder clearColumnValue() { if (columnValueBuilder_ == null) { columnValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { columnValueBuilder_.clear(); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public Builder removeColumnValue(int index) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); columnValue_.remove(index); onChanged(); } else { columnValueBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder getColumnValueBuilder( int index) { return getColumnValueFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder( int index) { if (columnValueBuilder_ == null) { return columnValue_.get(index); } else { return columnValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public java.util.List getColumnValueOrBuilderList() { if (columnValueBuilder_ != null) { return columnValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columnValue_); } } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder addColumnValueBuilder() { return getColumnValueFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.getDefaultInstance()); } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder addColumnValueBuilder( int index) { return getColumnValueFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.getDefaultInstance()); } /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ public java.util.List getColumnValueBuilderList() { return getColumnValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder> getColumnValueFieldBuilder() { if (columnValueBuilder_ == null) { columnValueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder>( columnValue_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); columnValue_ = null; } return columnValueBuilder_; } // optional uint64 timestamp = 4; private long timestamp_ ; /** * optional uint64 timestamp = 4; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 timestamp = 4; */ public long getTimestamp() { return timestamp_; } /** * optional uint64 timestamp = 4; */ public Builder setTimestamp(long value) { bitField0_ |= 0x00000008; timestamp_ = value; onChanged(); return this; } /** * optional uint64 timestamp = 4; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000008); timestamp_ = 0L; onChanged(); return this; } // repeated .hbase.pb.NameBytesPair attribute = 5; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { attribute_ = new java.util.ArrayList(attribute_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> attributeBuilder_; /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public java.util.List getAttributeList() { if (attributeBuilder_ == null) { return java.util.Collections.unmodifiableList(attribute_); } else { return attributeBuilder_.getMessageList(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public int getAttributeCount() { if (attributeBuilder_ == null) { return attribute_.size(); } else { return attributeBuilder_.getCount(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessage(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.set(index, value); onChanged(); } else { attributeBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.set(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder addAttribute(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(value); onChanged(); } else { attributeBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(index, value); onChanged(); } else { attributeBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder addAttribute( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder addAllAttribute( java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); super.addAll(values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder clearAttribute() { if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { attributeBuilder_.clear(); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public Builder removeAttribute(int index) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.remove(index); onChanged(); } else { attributeBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getAttributeBuilder( int index) { return getAttributeFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public java.util.List getAttributeOrBuilderList() { if (attributeBuilder_ != null) { return attributeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attribute_); } } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder() { return getAttributeFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder( int index) { return getAttributeFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ public java.util.List getAttributeBuilderList() { return getAttributeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getAttributeFieldBuilder() { if (attributeBuilder_ == null) { attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( attribute_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability durability_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.USE_DEFAULT; /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public boolean hasDurability() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability getDurability() { return durability_; } /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public Builder setDurability(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; durability_ = value; onChanged(); return this; } /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ public Builder clearDurability() { bitField0_ = (bitField0_ & ~0x00000020); durability_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.USE_DEFAULT; onChanged(); return this; } // optional .hbase.pb.TimeRange time_range = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public boolean hasTimeRange() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { if (timeRangeBuilder_ == null) { return timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public Builder setTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeRange_ = value; onChanged(); } else { timeRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public Builder setTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); onChanged(); } else { timeRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public Builder mergeTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && timeRange_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance()) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); } else { timeRange_ = value; } onChanged(); } else { timeRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public Builder clearTimeRange() { if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); onChanged(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder getTimeRangeBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { return timeRange_; } } /** * optional .hbase.pb.TimeRange time_range = 7; * *
       * For some mutations, a result may be returned, in which case,
       * time range can be specified for potential performance gain
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( timeRange_, getParentForChildren(), isClean()); timeRange_ = null; } return timeRangeBuilder_; } // optional int32 associated_cell_count = 8; private int associatedCellCount_ ; /** * optional int32 associated_cell_count = 8; * *
       * The below count is set when the associated cells are NOT
       * part of this protobuf message; they are passed alongside
       * and then this Message is a placeholder with metadata.  The
       * count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public boolean hasAssociatedCellCount() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional int32 associated_cell_count = 8; * *
       * The below count is set when the associated cells are NOT
       * part of this protobuf message; they are passed alongside
       * and then this Message is a placeholder with metadata.  The
       * count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public int getAssociatedCellCount() { return associatedCellCount_; } /** * optional int32 associated_cell_count = 8; * *
       * The below count is set when the associated cells are NOT
       * part of this protobuf message; they are passed alongside
       * and then this Message is a placeholder with metadata.  The
       * count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public Builder setAssociatedCellCount(int value) { bitField0_ |= 0x00000080; associatedCellCount_ = value; onChanged(); return this; } /** * optional int32 associated_cell_count = 8; * *
       * The below count is set when the associated cells are NOT
       * part of this protobuf message; they are passed alongside
       * and then this Message is a placeholder with metadata.  The
       * count is needed to know how many to peel off the block of Cells as
       * ours.  NOTE: This is different from the pb managed cell_count of the
       * 'cell' field above which is non-null when the cells are pb'd.
       * 
*/ public Builder clearAssociatedCellCount() { bitField0_ = (bitField0_ & ~0x00000080); associatedCellCount_ = 0; onChanged(); return this; } // optional uint64 nonce = 9; private long nonce_ ; /** * optional uint64 nonce = 9; */ public boolean hasNonce() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional uint64 nonce = 9; */ public long getNonce() { return nonce_; } /** * optional uint64 nonce = 9; */ public Builder setNonce(long value) { bitField0_ |= 0x00000100; nonce_ = value; onChanged(); return this; } /** * optional uint64 nonce = 9; */ public Builder clearNonce() { bitField0_ = (bitField0_ & ~0x00000100); nonce_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.MutationProto) } static { defaultInstance = new MutationProto(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MutationProto) } public interface MutateRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // required .hbase.pb.MutationProto mutation = 2; /** * required .hbase.pb.MutationProto mutation = 2; */ boolean hasMutation(); /** * required .hbase.pb.MutationProto mutation = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation(); /** * required .hbase.pb.MutationProto mutation = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder(); // optional .hbase.pb.Condition condition = 3; /** * optional .hbase.pb.Condition condition = 3; */ boolean hasCondition(); /** * optional .hbase.pb.Condition condition = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition(); /** * optional .hbase.pb.Condition condition = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder(); // optional uint64 nonce_group = 4; /** * optional uint64 nonce_group = 4; */ boolean hasNonceGroup(); /** * optional uint64 nonce_group = 4; */ long getNonceGroup(); } /** * Protobuf type {@code hbase.pb.MutateRequest} * *
   **
   * The mutate request. Perform a single Mutate operation.
   *
   * Optionally, you can specify a condition. The mutate
   * will take place only if the condition is met.  Otherwise,
   * the mutate will be ignored.  In the response result,
   * parameter processed is used to indicate if the mutate
   * actually happened.
   * 
*/ @javax.annotation.Generated("proto") public static final class MutateRequest extends com.google.protobuf.GeneratedMessage implements MutateRequestOrBuilder { // Use MutateRequest.newBuilder() to construct. private MutateRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MutateRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MutateRequest defaultInstance; public static MutateRequest getDefaultInstance() { return defaultInstance; } public MutateRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = mutation_.toBuilder(); } mutation_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mutation_); mutation_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = condition_.toBuilder(); } condition_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(condition_); condition_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 32: { bitField0_ |= 0x00000008; nonceGroup_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MutateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // required .hbase.pb.MutationProto mutation = 2; public static final int MUTATION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_; /** * required .hbase.pb.MutationProto mutation = 2; */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation() { return mutation_; } /** * required .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder() { return mutation_; } // optional .hbase.pb.Condition condition = 3; public static final int CONDITION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_; /** * optional .hbase.pb.Condition condition = 3; */ public boolean hasCondition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Condition condition = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { return condition_; } /** * optional .hbase.pb.Condition condition = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { return condition_; } // optional uint64 nonce_group = 4; public static final int NONCE_GROUP_FIELD_NUMBER = 4; private long nonceGroup_; /** * optional uint64 nonce_group = 4; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 nonce_group = 4; */ public long getNonceGroup() { return nonceGroup_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); nonceGroup_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!hasMutation()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getMutation().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasCondition()) { if (!getCondition().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, mutation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, condition_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, nonceGroup_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, mutation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, condition_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, nonceGroup_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasMutation() == other.hasMutation()); if (hasMutation()) { result = result && getMutation() .equals(other.getMutation()); } result = result && (hasCondition() == other.hasCondition()); if (hasCondition()) { result = result && getCondition() .equals(other.getCondition()); } result = result && (hasNonceGroup() == other.hasNonceGroup()); if (hasNonceGroup()) { result = result && (getNonceGroup() == other.getNonceGroup()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasMutation()) { hash = (37 * hash) + MUTATION_FIELD_NUMBER; hash = (53 * hash) + getMutation().hashCode(); } if (hasCondition()) { hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + getCondition().hashCode(); } if (hasNonceGroup()) { hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER; hash = (53 * hash) + hashLong(getNonceGroup()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MutateRequest} * *
     **
     * The mutate request. Perform a single Mutate operation.
     *
     * Optionally, you can specify a condition. The mutate
     * will take place only if the condition is met.  Otherwise,
     * the mutate will be ignored.  In the response result,
     * parameter processed is used to indicate if the mutate
     * actually happened.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getMutationFieldBuilder(); getConditionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (mutationBuilder_ == null) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); } else { mutationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); nonceGroup_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (mutationBuilder_ == null) { result.mutation_ = mutation_; } else { result.mutation_ = mutationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (conditionBuilder_ == null) { result.condition_ = condition_; } else { result.condition_ = conditionBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.nonceGroup_ = nonceGroup_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasMutation()) { mergeMutation(other.getMutation()); } if (other.hasCondition()) { mergeCondition(other.getCondition()); } if (other.hasNonceGroup()) { setNonceGroup(other.getNonceGroup()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!hasMutation()) { return false; } if (!getRegion().isInitialized()) { return false; } if (!getMutation().isInitialized()) { return false; } if (hasCondition()) { if (!getCondition().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // required .hbase.pb.MutationProto mutation = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> mutationBuilder_; /** * required .hbase.pb.MutationProto mutation = 2; */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation() { if (mutationBuilder_ == null) { return mutation_; } else { return mutationBuilder_.getMessage(); } } /** * required .hbase.pb.MutationProto mutation = 2; */ public Builder setMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto value) { if (mutationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mutation_ = value; onChanged(); } else { mutationBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.MutationProto mutation = 2; */ public Builder setMutation( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builderForValue) { if (mutationBuilder_ == null) { mutation_ = builderForValue.build(); onChanged(); } else { mutationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.MutationProto mutation = 2; */ public Builder mergeMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto value) { if (mutationBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && mutation_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance()) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.newBuilder(mutation_).mergeFrom(value).buildPartial(); } else { mutation_ = value; } onChanged(); } else { mutationBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.MutationProto mutation = 2; */ public Builder clearMutation() { if (mutationBuilder_ == null) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); onChanged(); } else { mutationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * required .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder getMutationBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMutationFieldBuilder().getBuilder(); } /** * required .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder() { if (mutationBuilder_ != null) { return mutationBuilder_.getMessageOrBuilder(); } else { return mutation_; } } /** * required .hbase.pb.MutationProto mutation = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> getMutationFieldBuilder() { if (mutationBuilder_ == null) { mutationBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder>( mutation_, getParentForChildren(), isClean()); mutation_ = null; } return mutationBuilder_; } // optional .hbase.pb.Condition condition = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> conditionBuilder_; /** * optional .hbase.pb.Condition condition = 3; */ public boolean hasCondition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Condition condition = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { if (conditionBuilder_ == null) { return condition_; } else { return conditionBuilder_.getMessage(); } } /** * optional .hbase.pb.Condition condition = 3; */ public Builder setCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } condition_ = value; onChanged(); } else { conditionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3; */ public Builder setCondition( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); } else { conditionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3; */ public Builder mergeCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && condition_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance()) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.newBuilder(condition_).mergeFrom(value).buildPartial(); } else { condition_ = value; } onChanged(); } else { conditionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3; */ public Builder clearCondition() { if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); onChanged(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .hbase.pb.Condition condition = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder getConditionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConditionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Condition condition = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { return condition_; } } /** * optional .hbase.pb.Condition condition = 3; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { conditionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder>( condition_, getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } // optional uint64 nonce_group = 4; private long nonceGroup_ ; /** * optional uint64 nonce_group = 4; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 nonce_group = 4; */ public long getNonceGroup() { return nonceGroup_; } /** * optional uint64 nonce_group = 4; */ public Builder setNonceGroup(long value) { bitField0_ |= 0x00000008; nonceGroup_ = value; onChanged(); return this; } /** * optional uint64 nonce_group = 4; */ public Builder clearNonceGroup() { bitField0_ = (bitField0_ & ~0x00000008); nonceGroup_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.MutateRequest) } static { defaultInstance = new MutateRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MutateRequest) } public interface MutateResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .hbase.pb.Result result = 1; /** * optional .hbase.pb.Result result = 1; */ boolean hasResult(); /** * optional .hbase.pb.Result result = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult(); /** * optional .hbase.pb.Result result = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder(); // optional bool processed = 2; /** * optional bool processed = 2; * *
     * used for mutate to indicate processed only
     * 
*/ boolean hasProcessed(); /** * optional bool processed = 2; * *
     * used for mutate to indicate processed only
     * 
*/ boolean getProcessed(); } /** * Protobuf type {@code hbase.pb.MutateResponse} */ @javax.annotation.Generated("proto") public static final class MutateResponse extends com.google.protobuf.GeneratedMessage implements MutateResponseOrBuilder { // Use MutateResponse.newBuilder() to construct. private MutateResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MutateResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MutateResponse defaultInstance; public static MutateResponse getDefaultInstance() { return defaultInstance; } public MutateResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; processed_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MutateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .hbase.pb.Result result = 1; public static final int RESULT_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** * optional .hbase.pb.Result result = 1; */ public boolean hasResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { return result_; } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { return result_; } // optional bool processed = 2; public static final int PROCESSED_FIELD_NUMBER = 2; private boolean processed_; /** * optional bool processed = 2; * *
     * used for mutate to indicate processed only
     * 
*/ public boolean hasProcessed() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool processed = 2; * *
     * used for mutate to indicate processed only
     * 
*/ public boolean getProcessed() { return processed_; } private void initFields() { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); processed_ = false; } 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.writeMessage(1, result_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, processed_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, result_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, processed_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse) obj; boolean result = true; result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && (hasProcessed() == other.hasProcessed()); if (hasProcessed()) { result = result && (getProcessed() == other.getProcessed()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } if (hasProcessed()) { hash = (37 * hash) + PROCESSED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getProcessed()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MutateResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResultFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); processed_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.processed_ = processed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } if (other.hasProcessed()) { setProcessed(other.getProcessed()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .hbase.pb.Result result = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; /** * optional .hbase.pb.Result result = 1; */ public boolean hasResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { if (resultBuilder_ == null) { return result_; } else { return resultBuilder_.getMessage(); } } /** * optional .hbase.pb.Result result = 1; */ public Builder setResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder setResult( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder mergeResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && result_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.Result result = 1; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); onChanged(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder getResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Result result = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_; } } /** * optional .hbase.pb.Result result = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( result_, getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } // optional bool processed = 2; private boolean processed_ ; /** * optional bool processed = 2; * *
       * used for mutate to indicate processed only
       * 
*/ public boolean hasProcessed() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool processed = 2; * *
       * used for mutate to indicate processed only
       * 
*/ public boolean getProcessed() { return processed_; } /** * optional bool processed = 2; * *
       * used for mutate to indicate processed only
       * 
*/ public Builder setProcessed(boolean value) { bitField0_ |= 0x00000002; processed_ = value; onChanged(); return this; } /** * optional bool processed = 2; * *
       * used for mutate to indicate processed only
       * 
*/ public Builder clearProcessed() { bitField0_ = (bitField0_ & ~0x00000002); processed_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.MutateResponse) } static { defaultInstance = new MutateResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MutateResponse) } public interface ScanOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.Column column = 1; /** * repeated .hbase.pb.Column column = 1; */ java.util.List getColumnList(); /** * repeated .hbase.pb.Column column = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index); /** * repeated .hbase.pb.Column column = 1; */ int getColumnCount(); /** * repeated .hbase.pb.Column column = 1; */ java.util.List getColumnOrBuilderList(); /** * repeated .hbase.pb.Column column = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index); // repeated .hbase.pb.NameBytesPair attribute = 2; /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ java.util.List getAttributeList(); /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index); /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ int getAttributeCount(); /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ java.util.List getAttributeOrBuilderList(); /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); // optional bytes start_row = 3; /** * optional bytes start_row = 3; */ boolean hasStartRow(); /** * optional bytes start_row = 3; */ com.google.protobuf.ByteString getStartRow(); // optional bytes stop_row = 4; /** * optional bytes stop_row = 4; */ boolean hasStopRow(); /** * optional bytes stop_row = 4; */ com.google.protobuf.ByteString getStopRow(); // optional .hbase.pb.Filter filter = 5; /** * optional .hbase.pb.Filter filter = 5; */ boolean hasFilter(); /** * optional .hbase.pb.Filter filter = 5; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter(); /** * optional .hbase.pb.Filter filter = 5; */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder(); // optional .hbase.pb.TimeRange time_range = 6; /** * optional .hbase.pb.TimeRange time_range = 6; */ boolean hasTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 6; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange(); /** * optional .hbase.pb.TimeRange time_range = 6; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); // optional uint32 max_versions = 7 [default = 1]; /** * optional uint32 max_versions = 7 [default = 1]; */ boolean hasMaxVersions(); /** * optional uint32 max_versions = 7 [default = 1]; */ int getMaxVersions(); // optional bool cache_blocks = 8 [default = true]; /** * optional bool cache_blocks = 8 [default = true]; */ boolean hasCacheBlocks(); /** * optional bool cache_blocks = 8 [default = true]; */ boolean getCacheBlocks(); // optional uint32 batch_size = 9; /** * optional uint32 batch_size = 9; */ boolean hasBatchSize(); /** * optional uint32 batch_size = 9; */ int getBatchSize(); // optional uint64 max_result_size = 10; /** * optional uint64 max_result_size = 10; */ boolean hasMaxResultSize(); /** * optional uint64 max_result_size = 10; */ long getMaxResultSize(); // optional uint32 store_limit = 11; /** * optional uint32 store_limit = 11; */ boolean hasStoreLimit(); /** * optional uint32 store_limit = 11; */ int getStoreLimit(); // optional uint32 store_offset = 12; /** * optional uint32 store_offset = 12; */ boolean hasStoreOffset(); /** * optional uint32 store_offset = 12; */ int getStoreOffset(); // optional bool load_column_families_on_demand = 13; /** * optional bool load_column_families_on_demand = 13; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ boolean hasLoadColumnFamiliesOnDemand(); /** * optional bool load_column_families_on_demand = 13; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ boolean getLoadColumnFamiliesOnDemand(); // optional bool small = 14 [deprecated = true]; /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated boolean hasSmall(); /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated boolean getSmall(); // optional bool reversed = 15 [default = false]; /** * optional bool reversed = 15 [default = false]; */ boolean hasReversed(); /** * optional bool reversed = 15 [default = false]; */ boolean getReversed(); // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ boolean hasConsistency(); /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency(); // optional uint32 caching = 17; /** * optional uint32 caching = 17; */ boolean hasCaching(); /** * optional uint32 caching = 17; */ int getCaching(); // optional bool allow_partial_results = 18; /** * optional bool allow_partial_results = 18; */ boolean hasAllowPartialResults(); /** * optional bool allow_partial_results = 18; */ boolean getAllowPartialResults(); // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ java.util.List getCfTimeRangeList(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ int getCfTimeRangeCount(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ java.util.List getCfTimeRangeOrBuilderList(); /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index); // optional uint64 mvcc_read_point = 20 [default = 0]; /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ boolean hasMvccReadPoint(); /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ long getMvccReadPoint(); // optional bool include_start_row = 21 [default = true]; /** * optional bool include_start_row = 21 [default = true]; */ boolean hasIncludeStartRow(); /** * optional bool include_start_row = 21 [default = true]; */ boolean getIncludeStartRow(); // optional bool include_stop_row = 22 [default = false]; /** * optional bool include_stop_row = 22 [default = false]; */ boolean hasIncludeStopRow(); /** * optional bool include_stop_row = 22 [default = false]; */ boolean getIncludeStopRow(); // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ boolean hasReadType(); /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType getReadType(); // optional bool need_cursor_result = 24 [default = false]; /** * optional bool need_cursor_result = 24 [default = false]; */ boolean hasNeedCursorResult(); /** * optional bool need_cursor_result = 24 [default = false]; */ boolean getNeedCursorResult(); } /** * Protobuf type {@code hbase.pb.Scan} * *
   **
   * Instead of get from a table, you can scan it with optional filters.
   * You can specify the row key range, time range, the columns/families
   * to scan and so on.
   *
   * This scan is used the first time in a scan request. The response of
   * the initial scan will return a scanner id, which should be used to
   * fetch result batches later on before it is closed.
   * 
*/ @javax.annotation.Generated("proto") public static final class Scan extends com.google.protobuf.GeneratedMessage implements ScanOrBuilder { // Use Scan.newBuilder() to construct. private Scan(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Scan(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Scan defaultInstance; public static Scan getDefaultInstance() { return defaultInstance; } public Scan getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Scan( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { column_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } column_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } attribute_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry)); break; } case 26: { bitField0_ |= 0x00000001; startRow_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000002; stopRow_ = input.readBytes(); break; } case 42: { org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 50: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = timeRange_.toBuilder(); } timeRange_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeRange_); timeRange_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 56: { bitField0_ |= 0x00000010; maxVersions_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000020; cacheBlocks_ = input.readBool(); break; } case 72: { bitField0_ |= 0x00000040; batchSize_ = input.readUInt32(); break; } case 80: { bitField0_ |= 0x00000080; maxResultSize_ = input.readUInt64(); break; } case 88: { bitField0_ |= 0x00000100; storeLimit_ = input.readUInt32(); break; } case 96: { bitField0_ |= 0x00000200; storeOffset_ = input.readUInt32(); break; } case 104: { bitField0_ |= 0x00000400; loadColumnFamiliesOnDemand_ = input.readBool(); break; } case 112: { bitField0_ |= 0x00000800; small_ = input.readBool(); break; } case 120: { bitField0_ |= 0x00001000; reversed_ = input.readBool(); break; } case 128: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(16, rawValue); } else { bitField0_ |= 0x00002000; consistency_ = value; } break; } case 136: { bitField0_ |= 0x00004000; caching_ = input.readUInt32(); break; } case 144: { bitField0_ |= 0x00008000; allowPartialResults_ = input.readBool(); break; } case 154: { if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) { cfTimeRange_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00040000; } cfTimeRange_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.PARSER, extensionRegistry)); break; } case 160: { bitField0_ |= 0x00010000; mvccReadPoint_ = input.readUInt64(); break; } case 168: { bitField0_ |= 0x00020000; includeStartRow_ = input.readBool(); break; } case 176: { bitField0_ |= 0x00040000; includeStopRow_ = input.readBool(); break; } case 184: { int rawValue = input.readEnum(); org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType value = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(23, rawValue); } else { bitField0_ |= 0x00080000; readType_ = value; } break; } case 192: { bitField0_ |= 0x00100000; needCursorResult_ = 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { column_ = java.util.Collections.unmodifiableList(column_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); } if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) { cfTimeRange_ = java.util.Collections.unmodifiableList(cfTimeRange_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Scan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Scan(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code hbase.pb.Scan.ReadType} */ public enum ReadType implements com.google.protobuf.ProtocolMessageEnum { /** * DEFAULT = 0; */ DEFAULT(0, 0), /** * STREAM = 1; */ STREAM(1, 1), /** * PREAD = 2; */ PREAD(2, 2), ; /** * DEFAULT = 0; */ public static final int DEFAULT_VALUE = 0; /** * STREAM = 1; */ public static final int STREAM_VALUE = 1; /** * PREAD = 2; */ public static final int PREAD_VALUE = 2; public final int getNumber() { return value; } public static ReadType valueOf(int value) { switch (value) { case 0: return DEFAULT; case 1: return STREAM; case 2: return PREAD; 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 ReadType findValueByNumber(int number) { return ReadType.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDescriptor().getEnumTypes().get(0); } private static final ReadType[] VALUES = values(); public static ReadType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private ReadType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.Scan.ReadType) } private int bitField0_; // repeated .hbase.pb.Column column = 1; public static final int COLUMN_FIELD_NUMBER = 1; private java.util.List column_; /** * repeated .hbase.pb.Column column = 1; */ public java.util.List getColumnList() { return column_; } /** * repeated .hbase.pb.Column column = 1; */ public java.util.List getColumnOrBuilderList() { return column_; } /** * repeated .hbase.pb.Column column = 1; */ public int getColumnCount() { return column_.size(); } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index) { return column_.get(index); } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index) { return column_.get(index); } // repeated .hbase.pb.NameBytesPair attribute = 2; public static final int ATTRIBUTE_FIELD_NUMBER = 2; private java.util.List attribute_; /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public java.util.List getAttributeList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public java.util.List getAttributeOrBuilderList() { return attribute_; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public int getAttributeCount() { return attribute_.size(); } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { return attribute_.get(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { return attribute_.get(index); } // optional bytes start_row = 3; public static final int START_ROW_FIELD_NUMBER = 3; private com.google.protobuf.ByteString startRow_; /** * optional bytes start_row = 3; */ public boolean hasStartRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes start_row = 3; */ public com.google.protobuf.ByteString getStartRow() { return startRow_; } // optional bytes stop_row = 4; public static final int STOP_ROW_FIELD_NUMBER = 4; private com.google.protobuf.ByteString stopRow_; /** * optional bytes stop_row = 4; */ public boolean hasStopRow() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes stop_row = 4; */ public com.google.protobuf.ByteString getStopRow() { return stopRow_; } // optional .hbase.pb.Filter filter = 5; public static final int FILTER_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** * optional .hbase.pb.Filter filter = 5; */ public boolean hasFilter() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Filter filter = 5; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { return filter_; } /** * optional .hbase.pb.Filter filter = 5; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { return filter_; } // optional .hbase.pb.TimeRange time_range = 6; public static final int TIME_RANGE_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** * optional .hbase.pb.TimeRange time_range = 6; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { return timeRange_; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { return timeRange_; } // optional uint32 max_versions = 7 [default = 1]; public static final int MAX_VERSIONS_FIELD_NUMBER = 7; private int maxVersions_; /** * optional uint32 max_versions = 7 [default = 1]; */ public boolean hasMaxVersions() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint32 max_versions = 7 [default = 1]; */ public int getMaxVersions() { return maxVersions_; } // optional bool cache_blocks = 8 [default = true]; public static final int CACHE_BLOCKS_FIELD_NUMBER = 8; private boolean cacheBlocks_; /** * optional bool cache_blocks = 8 [default = true]; */ public boolean hasCacheBlocks() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool cache_blocks = 8 [default = true]; */ public boolean getCacheBlocks() { return cacheBlocks_; } // optional uint32 batch_size = 9; public static final int BATCH_SIZE_FIELD_NUMBER = 9; private int batchSize_; /** * optional uint32 batch_size = 9; */ public boolean hasBatchSize() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional uint32 batch_size = 9; */ public int getBatchSize() { return batchSize_; } // optional uint64 max_result_size = 10; public static final int MAX_RESULT_SIZE_FIELD_NUMBER = 10; private long maxResultSize_; /** * optional uint64 max_result_size = 10; */ public boolean hasMaxResultSize() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional uint64 max_result_size = 10; */ public long getMaxResultSize() { return maxResultSize_; } // optional uint32 store_limit = 11; public static final int STORE_LIMIT_FIELD_NUMBER = 11; private int storeLimit_; /** * optional uint32 store_limit = 11; */ public boolean hasStoreLimit() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional uint32 store_limit = 11; */ public int getStoreLimit() { return storeLimit_; } // optional uint32 store_offset = 12; public static final int STORE_OFFSET_FIELD_NUMBER = 12; private int storeOffset_; /** * optional uint32 store_offset = 12; */ public boolean hasStoreOffset() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional uint32 store_offset = 12; */ public int getStoreOffset() { return storeOffset_; } // optional bool load_column_families_on_demand = 13; public static final int LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER = 13; private boolean loadColumnFamiliesOnDemand_; /** * optional bool load_column_families_on_demand = 13; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ public boolean hasLoadColumnFamiliesOnDemand() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional bool load_column_families_on_demand = 13; * *
     * DO NOT add defaults to load_column_families_on_demand. 
     * 
*/ public boolean getLoadColumnFamiliesOnDemand() { return loadColumnFamiliesOnDemand_; } // optional bool small = 14 [deprecated = true]; public static final int SMALL_FIELD_NUMBER = 14; private boolean small_; /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public boolean hasSmall() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public boolean getSmall() { return small_; } // optional bool reversed = 15 [default = false]; public static final int REVERSED_FIELD_NUMBER = 15; private boolean reversed_; /** * optional bool reversed = 15 [default = false]; */ public boolean hasReversed() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool reversed = 15 [default = false]; */ public boolean getReversed() { return reversed_; } // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; public static final int CONSISTENCY_FIELD_NUMBER = 16; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_; /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public boolean hasConsistency() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency() { return consistency_; } // optional uint32 caching = 17; public static final int CACHING_FIELD_NUMBER = 17; private int caching_; /** * optional uint32 caching = 17; */ public boolean hasCaching() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional uint32 caching = 17; */ public int getCaching() { return caching_; } // optional bool allow_partial_results = 18; public static final int ALLOW_PARTIAL_RESULTS_FIELD_NUMBER = 18; private boolean allowPartialResults_; /** * optional bool allow_partial_results = 18; */ public boolean hasAllowPartialResults() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional bool allow_partial_results = 18; */ public boolean getAllowPartialResults() { return allowPartialResults_; } // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; public static final int CF_TIME_RANGE_FIELD_NUMBER = 19; private java.util.List cfTimeRange_; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public java.util.List getCfTimeRangeList() { return cfTimeRange_; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public java.util.List getCfTimeRangeOrBuilderList() { return cfTimeRange_; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public int getCfTimeRangeCount() { return cfTimeRange_.size(); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index) { return cfTimeRange_.get(index); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index) { return cfTimeRange_.get(index); } // optional uint64 mvcc_read_point = 20 [default = 0]; public static final int MVCC_READ_POINT_FIELD_NUMBER = 20; private long mvccReadPoint_; /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public boolean hasMvccReadPoint() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public long getMvccReadPoint() { return mvccReadPoint_; } // optional bool include_start_row = 21 [default = true]; public static final int INCLUDE_START_ROW_FIELD_NUMBER = 21; private boolean includeStartRow_; /** * optional bool include_start_row = 21 [default = true]; */ public boolean hasIncludeStartRow() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional bool include_start_row = 21 [default = true]; */ public boolean getIncludeStartRow() { return includeStartRow_; } // optional bool include_stop_row = 22 [default = false]; public static final int INCLUDE_STOP_ROW_FIELD_NUMBER = 22; private boolean includeStopRow_; /** * optional bool include_stop_row = 22 [default = false]; */ public boolean hasIncludeStopRow() { return ((bitField0_ & 0x00040000) == 0x00040000); } /** * optional bool include_stop_row = 22 [default = false]; */ public boolean getIncludeStopRow() { return includeStopRow_; } // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; public static final int READTYPE_FIELD_NUMBER = 23; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType readType_; /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public boolean hasReadType() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType getReadType() { return readType_; } // optional bool need_cursor_result = 24 [default = false]; public static final int NEED_CURSOR_RESULT_FIELD_NUMBER = 24; private boolean needCursorResult_; /** * optional bool need_cursor_result = 24 [default = false]; */ public boolean hasNeedCursorResult() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional bool need_cursor_result = 24 [default = false]; */ public boolean getNeedCursorResult() { return needCursorResult_; } private void initFields() { column_ = java.util.Collections.emptyList(); attribute_ = java.util.Collections.emptyList(); startRow_ = com.google.protobuf.ByteString.EMPTY; stopRow_ = com.google.protobuf.ByteString.EMPTY; filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); maxVersions_ = 1; cacheBlocks_ = true; batchSize_ = 0; maxResultSize_ = 0L; storeLimit_ = 0; storeOffset_ = 0; loadColumnFamiliesOnDemand_ = false; small_ = false; reversed_ = false; consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; caching_ = 0; allowPartialResults_ = false; cfTimeRange_ = java.util.Collections.emptyList(); mvccReadPoint_ = 0L; includeStartRow_ = true; includeStopRow_ = false; readType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.DEFAULT; needCursorResult_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getColumnCount(); i++) { if (!getColumn(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasFilter()) { if (!getFilter().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getCfTimeRangeCount(); i++) { if (!getCfTimeRange(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 < column_.size(); i++) { output.writeMessage(1, column_.get(i)); } for (int i = 0; i < attribute_.size(); i++) { output.writeMessage(2, attribute_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(3, startRow_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(4, stopRow_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(5, filter_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(6, timeRange_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(7, maxVersions_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(8, cacheBlocks_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(9, batchSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt64(10, maxResultSize_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeUInt32(11, storeLimit_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeUInt32(12, storeOffset_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeBool(13, loadColumnFamiliesOnDemand_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeBool(14, small_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBool(15, reversed_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeEnum(16, consistency_.getNumber()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeUInt32(17, caching_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeBool(18, allowPartialResults_); } for (int i = 0; i < cfTimeRange_.size(); i++) { output.writeMessage(19, cfTimeRange_.get(i)); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeUInt64(20, mvccReadPoint_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { output.writeBool(21, includeStartRow_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { output.writeBool(22, includeStopRow_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { output.writeEnum(23, readType_.getNumber()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { output.writeBool(24, needCursorResult_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < column_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, column_.get(i)); } for (int i = 0; i < attribute_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, attribute_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, startRow_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, stopRow_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, filter_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, timeRange_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, maxVersions_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, cacheBlocks_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, batchSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, maxResultSize_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, storeLimit_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, storeOffset_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, loadColumnFamiliesOnDemand_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, small_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, reversed_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(16, consistency_.getNumber()); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(17, caching_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(18, allowPartialResults_); } for (int i = 0; i < cfTimeRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, cfTimeRange_.get(i)); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(20, mvccReadPoint_); } if (((bitField0_ & 0x00020000) == 0x00020000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(21, includeStartRow_); } if (((bitField0_ & 0x00040000) == 0x00040000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(22, includeStopRow_); } if (((bitField0_ & 0x00080000) == 0x00080000)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(23, readType_.getNumber()); } if (((bitField0_ & 0x00100000) == 0x00100000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(24, needCursorResult_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan) obj; boolean result = true; result = result && getColumnList() .equals(other.getColumnList()); result = result && getAttributeList() .equals(other.getAttributeList()); result = result && (hasStartRow() == other.hasStartRow()); if (hasStartRow()) { result = result && getStartRow() .equals(other.getStartRow()); } result = result && (hasStopRow() == other.hasStopRow()); if (hasStopRow()) { result = result && getStopRow() .equals(other.getStopRow()); } result = result && (hasFilter() == other.hasFilter()); if (hasFilter()) { result = result && getFilter() .equals(other.getFilter()); } result = result && (hasTimeRange() == other.hasTimeRange()); if (hasTimeRange()) { result = result && getTimeRange() .equals(other.getTimeRange()); } result = result && (hasMaxVersions() == other.hasMaxVersions()); if (hasMaxVersions()) { result = result && (getMaxVersions() == other.getMaxVersions()); } result = result && (hasCacheBlocks() == other.hasCacheBlocks()); if (hasCacheBlocks()) { result = result && (getCacheBlocks() == other.getCacheBlocks()); } result = result && (hasBatchSize() == other.hasBatchSize()); if (hasBatchSize()) { result = result && (getBatchSize() == other.getBatchSize()); } result = result && (hasMaxResultSize() == other.hasMaxResultSize()); if (hasMaxResultSize()) { result = result && (getMaxResultSize() == other.getMaxResultSize()); } result = result && (hasStoreLimit() == other.hasStoreLimit()); if (hasStoreLimit()) { result = result && (getStoreLimit() == other.getStoreLimit()); } result = result && (hasStoreOffset() == other.hasStoreOffset()); if (hasStoreOffset()) { result = result && (getStoreOffset() == other.getStoreOffset()); } result = result && (hasLoadColumnFamiliesOnDemand() == other.hasLoadColumnFamiliesOnDemand()); if (hasLoadColumnFamiliesOnDemand()) { result = result && (getLoadColumnFamiliesOnDemand() == other.getLoadColumnFamiliesOnDemand()); } result = result && (hasSmall() == other.hasSmall()); if (hasSmall()) { result = result && (getSmall() == other.getSmall()); } result = result && (hasReversed() == other.hasReversed()); if (hasReversed()) { result = result && (getReversed() == other.getReversed()); } result = result && (hasConsistency() == other.hasConsistency()); if (hasConsistency()) { result = result && (getConsistency() == other.getConsistency()); } result = result && (hasCaching() == other.hasCaching()); if (hasCaching()) { result = result && (getCaching() == other.getCaching()); } result = result && (hasAllowPartialResults() == other.hasAllowPartialResults()); if (hasAllowPartialResults()) { result = result && (getAllowPartialResults() == other.getAllowPartialResults()); } result = result && getCfTimeRangeList() .equals(other.getCfTimeRangeList()); result = result && (hasMvccReadPoint() == other.hasMvccReadPoint()); if (hasMvccReadPoint()) { result = result && (getMvccReadPoint() == other.getMvccReadPoint()); } result = result && (hasIncludeStartRow() == other.hasIncludeStartRow()); if (hasIncludeStartRow()) { result = result && (getIncludeStartRow() == other.getIncludeStartRow()); } result = result && (hasIncludeStopRow() == other.hasIncludeStopRow()); if (hasIncludeStopRow()) { result = result && (getIncludeStopRow() == other.getIncludeStopRow()); } result = result && (hasReadType() == other.hasReadType()); if (hasReadType()) { result = result && (getReadType() == other.getReadType()); } result = result && (hasNeedCursorResult() == other.hasNeedCursorResult()); if (hasNeedCursorResult()) { result = result && (getNeedCursorResult() == other.getNeedCursorResult()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getColumnCount() > 0) { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumnList().hashCode(); } if (getAttributeCount() > 0) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + getAttributeList().hashCode(); } if (hasStartRow()) { hash = (37 * hash) + START_ROW_FIELD_NUMBER; hash = (53 * hash) + getStartRow().hashCode(); } if (hasStopRow()) { hash = (37 * hash) + STOP_ROW_FIELD_NUMBER; hash = (53 * hash) + getStopRow().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (hasTimeRange()) { hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getTimeRange().hashCode(); } if (hasMaxVersions()) { hash = (37 * hash) + MAX_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxVersions(); } if (hasCacheBlocks()) { hash = (37 * hash) + CACHE_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getCacheBlocks()); } if (hasBatchSize()) { hash = (37 * hash) + BATCH_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBatchSize(); } if (hasMaxResultSize()) { hash = (37 * hash) + MAX_RESULT_SIZE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMaxResultSize()); } if (hasStoreLimit()) { hash = (37 * hash) + STORE_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getStoreLimit(); } if (hasStoreOffset()) { hash = (37 * hash) + STORE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getStoreOffset(); } if (hasLoadColumnFamiliesOnDemand()) { hash = (37 * hash) + LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getLoadColumnFamiliesOnDemand()); } if (hasSmall()) { hash = (37 * hash) + SMALL_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getSmall()); } if (hasReversed()) { hash = (37 * hash) + REVERSED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getReversed()); } if (hasConsistency()) { hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getConsistency()); } if (hasCaching()) { hash = (37 * hash) + CACHING_FIELD_NUMBER; hash = (53 * hash) + getCaching(); } if (hasAllowPartialResults()) { hash = (37 * hash) + ALLOW_PARTIAL_RESULTS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getAllowPartialResults()); } if (getCfTimeRangeCount() > 0) { hash = (37 * hash) + CF_TIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getCfTimeRangeList().hashCode(); } if (hasMvccReadPoint()) { hash = (37 * hash) + MVCC_READ_POINT_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMvccReadPoint()); } if (hasIncludeStartRow()) { hash = (37 * hash) + INCLUDE_START_ROW_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getIncludeStartRow()); } if (hasIncludeStopRow()) { hash = (37 * hash) + INCLUDE_STOP_ROW_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getIncludeStopRow()); } if (hasReadType()) { hash = (37 * hash) + READTYPE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getReadType()); } if (hasNeedCursorResult()) { hash = (37 * hash) + NEED_CURSOR_RESULT_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getNeedCursorResult()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Scan} * *
     **
     * Instead of get from a table, you can scan it with optional filters.
     * You can specify the row key range, time range, the columns/families
     * to scan and so on.
     *
     * This scan is used the first time in a scan request. The response of
     * the initial scan will return a scanner id, which should be used to
     * fetch result batches later on before it is closed.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getColumnFieldBuilder(); getAttributeFieldBuilder(); getFilterFieldBuilder(); getTimeRangeFieldBuilder(); getCfTimeRangeFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (columnBuilder_ == null) { column_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { columnBuilder_.clear(); } if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { attributeBuilder_.clear(); } startRow_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); stopRow_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); maxVersions_ = 1; bitField0_ = (bitField0_ & ~0x00000040); cacheBlocks_ = true; bitField0_ = (bitField0_ & ~0x00000080); batchSize_ = 0; bitField0_ = (bitField0_ & ~0x00000100); maxResultSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); storeLimit_ = 0; bitField0_ = (bitField0_ & ~0x00000400); storeOffset_ = 0; bitField0_ = (bitField0_ & ~0x00000800); loadColumnFamiliesOnDemand_ = false; bitField0_ = (bitField0_ & ~0x00001000); small_ = false; bitField0_ = (bitField0_ & ~0x00002000); reversed_ = false; bitField0_ = (bitField0_ & ~0x00004000); consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; bitField0_ = (bitField0_ & ~0x00008000); caching_ = 0; bitField0_ = (bitField0_ & ~0x00010000); allowPartialResults_ = false; bitField0_ = (bitField0_ & ~0x00020000); if (cfTimeRangeBuilder_ == null) { cfTimeRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00040000); } else { cfTimeRangeBuilder_.clear(); } mvccReadPoint_ = 0L; bitField0_ = (bitField0_ & ~0x00080000); includeStartRow_ = true; bitField0_ = (bitField0_ & ~0x00100000); includeStopRow_ = false; bitField0_ = (bitField0_ & ~0x00200000); readType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.DEFAULT; bitField0_ = (bitField0_ & ~0x00400000); needCursorResult_ = false; bitField0_ = (bitField0_ & ~0x00800000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (columnBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { column_ = java.util.Collections.unmodifiableList(column_); bitField0_ = (bitField0_ & ~0x00000001); } result.column_ = column_; } else { result.column_ = columnBuilder_.build(); } if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000002); } result.attribute_ = attribute_; } else { result.attribute_ = attributeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000001; } result.startRow_ = startRow_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.stopRow_ = stopRow_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000004; } if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } if (timeRangeBuilder_ == null) { result.timeRange_ = timeRange_; } else { result.timeRange_ = timeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000010; } result.maxVersions_ = maxVersions_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000020; } result.cacheBlocks_ = cacheBlocks_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000040; } result.batchSize_ = batchSize_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.maxResultSize_ = maxResultSize_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000100; } result.storeLimit_ = storeLimit_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000200; } result.storeOffset_ = storeOffset_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000400; } result.loadColumnFamiliesOnDemand_ = loadColumnFamiliesOnDemand_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00000800; } result.small_ = small_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00001000; } result.reversed_ = reversed_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00002000; } result.consistency_ = consistency_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00004000; } result.caching_ = caching_; if (((from_bitField0_ & 0x00020000) == 0x00020000)) { to_bitField0_ |= 0x00008000; } result.allowPartialResults_ = allowPartialResults_; if (cfTimeRangeBuilder_ == null) { if (((bitField0_ & 0x00040000) == 0x00040000)) { cfTimeRange_ = java.util.Collections.unmodifiableList(cfTimeRange_); bitField0_ = (bitField0_ & ~0x00040000); } result.cfTimeRange_ = cfTimeRange_; } else { result.cfTimeRange_ = cfTimeRangeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) == 0x00080000)) { to_bitField0_ |= 0x00010000; } result.mvccReadPoint_ = mvccReadPoint_; if (((from_bitField0_ & 0x00100000) == 0x00100000)) { to_bitField0_ |= 0x00020000; } result.includeStartRow_ = includeStartRow_; if (((from_bitField0_ & 0x00200000) == 0x00200000)) { to_bitField0_ |= 0x00040000; } result.includeStopRow_ = includeStopRow_; if (((from_bitField0_ & 0x00400000) == 0x00400000)) { to_bitField0_ |= 0x00080000; } result.readType_ = readType_; if (((from_bitField0_ & 0x00800000) == 0x00800000)) { to_bitField0_ |= 0x00100000; } result.needCursorResult_ = needCursorResult_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance()) return this; if (columnBuilder_ == null) { if (!other.column_.isEmpty()) { if (column_.isEmpty()) { column_ = other.column_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColumnIsMutable(); column_.addAll(other.column_); } onChanged(); } } else { if (!other.column_.isEmpty()) { if (columnBuilder_.isEmpty()) { columnBuilder_.dispose(); columnBuilder_ = null; column_ = other.column_; bitField0_ = (bitField0_ & ~0x00000001); columnBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColumnFieldBuilder() : null; } else { columnBuilder_.addAllMessages(other.column_); } } } if (attributeBuilder_ == null) { if (!other.attribute_.isEmpty()) { if (attribute_.isEmpty()) { attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAttributeIsMutable(); attribute_.addAll(other.attribute_); } onChanged(); } } else { if (!other.attribute_.isEmpty()) { if (attributeBuilder_.isEmpty()) { attributeBuilder_.dispose(); attributeBuilder_ = null; attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000002); attributeBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributeFieldBuilder() : null; } else { attributeBuilder_.addAllMessages(other.attribute_); } } } if (other.hasStartRow()) { setStartRow(other.getStartRow()); } if (other.hasStopRow()) { setStopRow(other.getStopRow()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (other.hasTimeRange()) { mergeTimeRange(other.getTimeRange()); } if (other.hasMaxVersions()) { setMaxVersions(other.getMaxVersions()); } if (other.hasCacheBlocks()) { setCacheBlocks(other.getCacheBlocks()); } if (other.hasBatchSize()) { setBatchSize(other.getBatchSize()); } if (other.hasMaxResultSize()) { setMaxResultSize(other.getMaxResultSize()); } if (other.hasStoreLimit()) { setStoreLimit(other.getStoreLimit()); } if (other.hasStoreOffset()) { setStoreOffset(other.getStoreOffset()); } if (other.hasLoadColumnFamiliesOnDemand()) { setLoadColumnFamiliesOnDemand(other.getLoadColumnFamiliesOnDemand()); } if (other.hasSmall()) { setSmall(other.getSmall()); } if (other.hasReversed()) { setReversed(other.getReversed()); } if (other.hasConsistency()) { setConsistency(other.getConsistency()); } if (other.hasCaching()) { setCaching(other.getCaching()); } if (other.hasAllowPartialResults()) { setAllowPartialResults(other.getAllowPartialResults()); } if (cfTimeRangeBuilder_ == null) { if (!other.cfTimeRange_.isEmpty()) { if (cfTimeRange_.isEmpty()) { cfTimeRange_ = other.cfTimeRange_; bitField0_ = (bitField0_ & ~0x00040000); } else { ensureCfTimeRangeIsMutable(); cfTimeRange_.addAll(other.cfTimeRange_); } onChanged(); } } else { if (!other.cfTimeRange_.isEmpty()) { if (cfTimeRangeBuilder_.isEmpty()) { cfTimeRangeBuilder_.dispose(); cfTimeRangeBuilder_ = null; cfTimeRange_ = other.cfTimeRange_; bitField0_ = (bitField0_ & ~0x00040000); cfTimeRangeBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCfTimeRangeFieldBuilder() : null; } else { cfTimeRangeBuilder_.addAllMessages(other.cfTimeRange_); } } } if (other.hasMvccReadPoint()) { setMvccReadPoint(other.getMvccReadPoint()); } if (other.hasIncludeStartRow()) { setIncludeStartRow(other.getIncludeStartRow()); } if (other.hasIncludeStopRow()) { setIncludeStopRow(other.getIncludeStopRow()); } if (other.hasReadType()) { setReadType(other.getReadType()); } if (other.hasNeedCursorResult()) { setNeedCursorResult(other.getNeedCursorResult()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getColumnCount(); i++) { if (!getColumn(i).isInitialized()) { return false; } } for (int i = 0; i < getAttributeCount(); i++) { if (!getAttribute(i).isInitialized()) { return false; } } if (hasFilter()) { if (!getFilter().isInitialized()) { return false; } } for (int i = 0; i < getCfTimeRangeCount(); i++) { if (!getCfTimeRange(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.Column column = 1; private java.util.List column_ = java.util.Collections.emptyList(); private void ensureColumnIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { column_ = new java.util.ArrayList(column_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder> columnBuilder_; /** * repeated .hbase.pb.Column column = 1; */ public java.util.List getColumnList() { if (columnBuilder_ == null) { return java.util.Collections.unmodifiableList(column_); } else { return columnBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Column column = 1; */ public int getColumnCount() { if (columnBuilder_ == null) { return column_.size(); } else { return columnBuilder_.getCount(); } } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column getColumn(int index) { if (columnBuilder_ == null) { return column_.get(index); } else { return columnBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Column column = 1; */ public Builder setColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.set(index, value); onChanged(); } else { columnBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder setColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.set(index, builderForValue.build()); onChanged(); } else { columnBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder addColumn(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(value); onChanged(); } else { columnBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder addColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(index, value); onChanged(); } else { columnBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder addColumn( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.add(builderForValue.build()); onChanged(); } else { columnBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder addColumn( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder builderForValue) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.add(index, builderForValue.build()); onChanged(); } else { columnBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder addAllColumn( java.lang.Iterable values) { if (columnBuilder_ == null) { ensureColumnIsMutable(); super.addAll(values, column_); onChanged(); } else { columnBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder clearColumn() { if (columnBuilder_ == null) { column_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { columnBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public Builder removeColumn(int index) { if (columnBuilder_ == null) { ensureColumnIsMutable(); column_.remove(index); onChanged(); } else { columnBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder getColumnBuilder( int index) { return getColumnFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index) { if (columnBuilder_ == null) { return column_.get(index); } else { return columnBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Column column = 1; */ public java.util.List getColumnOrBuilderList() { if (columnBuilder_ != null) { return columnBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(column_); } } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder addColumnBuilder() { return getColumnFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance()); } /** * repeated .hbase.pb.Column column = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder addColumnBuilder( int index) { return getColumnFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.getDefaultInstance()); } /** * repeated .hbase.pb.Column column = 1; */ public java.util.List getColumnBuilderList() { return getColumnFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder> getColumnFieldBuilder() { if (columnBuilder_ == null) { columnBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Column.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder>( column_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); column_ = null; } return columnBuilder_; } // repeated .hbase.pb.NameBytesPair attribute = 2; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { attribute_ = new java.util.ArrayList(attribute_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> attributeBuilder_; /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public java.util.List getAttributeList() { if (attributeBuilder_ == null) { return java.util.Collections.unmodifiableList(attribute_); } else { return attributeBuilder_.getMessageList(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public int getAttributeCount() { if (attributeBuilder_ == null) { return attribute_.size(); } else { return attributeBuilder_.getCount(); } } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getAttribute(int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessage(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.set(index, value); onChanged(); } else { attributeBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder setAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.set(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder addAttribute(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(value); onChanged(); } else { attributeBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(index, value); onChanged(); } else { attributeBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder addAttribute( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder addAttribute( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder addAllAttribute( java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); super.addAll(values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder clearAttribute() { if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { attributeBuilder_.clear(); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public Builder removeAttribute(int index) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.remove(index); onChanged(); } else { attributeBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getAttributeBuilder( int index) { return getAttributeFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public java.util.List getAttributeOrBuilderList() { if (attributeBuilder_ != null) { return attributeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attribute_); } } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder() { return getAttributeFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder addAttributeBuilder( int index) { return getAttributeFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()); } /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ public java.util.List getAttributeBuilderList() { return getAttributeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getAttributeFieldBuilder() { if (attributeBuilder_ == null) { attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( attribute_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } // optional bytes start_row = 3; private com.google.protobuf.ByteString startRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes start_row = 3; */ public boolean hasStartRow() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes start_row = 3; */ public com.google.protobuf.ByteString getStartRow() { return startRow_; } /** * optional bytes start_row = 3; */ public Builder setStartRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; startRow_ = value; onChanged(); return this; } /** * optional bytes start_row = 3; */ public Builder clearStartRow() { bitField0_ = (bitField0_ & ~0x00000004); startRow_ = getDefaultInstance().getStartRow(); onChanged(); return this; } // optional bytes stop_row = 4; private com.google.protobuf.ByteString stopRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes stop_row = 4; */ public boolean hasStopRow() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bytes stop_row = 4; */ public com.google.protobuf.ByteString getStopRow() { return stopRow_; } /** * optional bytes stop_row = 4; */ public Builder setStopRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; stopRow_ = value; onChanged(); return this; } /** * optional bytes stop_row = 4; */ public Builder clearStopRow() { bitField0_ = (bitField0_ & ~0x00000008); stopRow_ = getDefaultInstance().getStopRow(); onChanged(); return this; } // optional .hbase.pb.Filter filter = 5; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; /** * optional .hbase.pb.Filter filter = 5; */ public boolean hasFilter() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.Filter filter = 5; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter getFilter() { if (filterBuilder_ == null) { return filter_; } else { return filterBuilder_.getMessage(); } } /** * optional .hbase.pb.Filter filter = 5; */ public Builder setFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Filter filter = 5; */ public Builder setFilter( org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Filter filter = 5; */ public Builder mergeFilter(org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && filter_ != org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance()) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.Filter filter = 5; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); onChanged(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .hbase.pb.Filter filter = 5; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder getFilterBuilder() { bitField0_ |= 0x00000010; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Filter filter = 5; */ public org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_; } } /** * optional .hbase.pb.Filter filter = 5; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( filter_, getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } // optional .hbase.pb.TimeRange time_range = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; /** * optional .hbase.pb.TimeRange time_range = 6; */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getTimeRange() { if (timeRangeBuilder_ == null) { return timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder setTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeRange_ = value; onChanged(); } else { timeRangeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder setTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); onChanged(); } else { timeRangeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder mergeTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange value) { if (timeRangeBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && timeRange_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance()) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); } else { timeRange_ = value; } onChanged(); } else { timeRangeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public Builder clearTimeRange() { if (timeRangeBuilder_ == null) { timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); onChanged(); } else { timeRangeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder getTimeRangeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** * optional .hbase.pb.TimeRange time_range = 6; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { return timeRange_; } } /** * optional .hbase.pb.TimeRange time_range = 6; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( timeRange_, getParentForChildren(), isClean()); timeRange_ = null; } return timeRangeBuilder_; } // optional uint32 max_versions = 7 [default = 1]; private int maxVersions_ = 1; /** * optional uint32 max_versions = 7 [default = 1]; */ public boolean hasMaxVersions() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional uint32 max_versions = 7 [default = 1]; */ public int getMaxVersions() { return maxVersions_; } /** * optional uint32 max_versions = 7 [default = 1]; */ public Builder setMaxVersions(int value) { bitField0_ |= 0x00000040; maxVersions_ = value; onChanged(); return this; } /** * optional uint32 max_versions = 7 [default = 1]; */ public Builder clearMaxVersions() { bitField0_ = (bitField0_ & ~0x00000040); maxVersions_ = 1; onChanged(); return this; } // optional bool cache_blocks = 8 [default = true]; private boolean cacheBlocks_ = true; /** * optional bool cache_blocks = 8 [default = true]; */ public boolean hasCacheBlocks() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool cache_blocks = 8 [default = true]; */ public boolean getCacheBlocks() { return cacheBlocks_; } /** * optional bool cache_blocks = 8 [default = true]; */ public Builder setCacheBlocks(boolean value) { bitField0_ |= 0x00000080; cacheBlocks_ = value; onChanged(); return this; } /** * optional bool cache_blocks = 8 [default = true]; */ public Builder clearCacheBlocks() { bitField0_ = (bitField0_ & ~0x00000080); cacheBlocks_ = true; onChanged(); return this; } // optional uint32 batch_size = 9; private int batchSize_ ; /** * optional uint32 batch_size = 9; */ public boolean hasBatchSize() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional uint32 batch_size = 9; */ public int getBatchSize() { return batchSize_; } /** * optional uint32 batch_size = 9; */ public Builder setBatchSize(int value) { bitField0_ |= 0x00000100; batchSize_ = value; onChanged(); return this; } /** * optional uint32 batch_size = 9; */ public Builder clearBatchSize() { bitField0_ = (bitField0_ & ~0x00000100); batchSize_ = 0; onChanged(); return this; } // optional uint64 max_result_size = 10; private long maxResultSize_ ; /** * optional uint64 max_result_size = 10; */ public boolean hasMaxResultSize() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional uint64 max_result_size = 10; */ public long getMaxResultSize() { return maxResultSize_; } /** * optional uint64 max_result_size = 10; */ public Builder setMaxResultSize(long value) { bitField0_ |= 0x00000200; maxResultSize_ = value; onChanged(); return this; } /** * optional uint64 max_result_size = 10; */ public Builder clearMaxResultSize() { bitField0_ = (bitField0_ & ~0x00000200); maxResultSize_ = 0L; onChanged(); return this; } // optional uint32 store_limit = 11; private int storeLimit_ ; /** * optional uint32 store_limit = 11; */ public boolean hasStoreLimit() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint32 store_limit = 11; */ public int getStoreLimit() { return storeLimit_; } /** * optional uint32 store_limit = 11; */ public Builder setStoreLimit(int value) { bitField0_ |= 0x00000400; storeLimit_ = value; onChanged(); return this; } /** * optional uint32 store_limit = 11; */ public Builder clearStoreLimit() { bitField0_ = (bitField0_ & ~0x00000400); storeLimit_ = 0; onChanged(); return this; } // optional uint32 store_offset = 12; private int storeOffset_ ; /** * optional uint32 store_offset = 12; */ public boolean hasStoreOffset() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional uint32 store_offset = 12; */ public int getStoreOffset() { return storeOffset_; } /** * optional uint32 store_offset = 12; */ public Builder setStoreOffset(int value) { bitField0_ |= 0x00000800; storeOffset_ = value; onChanged(); return this; } /** * optional uint32 store_offset = 12; */ public Builder clearStoreOffset() { bitField0_ = (bitField0_ & ~0x00000800); storeOffset_ = 0; onChanged(); return this; } // optional bool load_column_families_on_demand = 13; private boolean loadColumnFamiliesOnDemand_ ; /** * optional bool load_column_families_on_demand = 13; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public boolean hasLoadColumnFamiliesOnDemand() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional bool load_column_families_on_demand = 13; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public boolean getLoadColumnFamiliesOnDemand() { return loadColumnFamiliesOnDemand_; } /** * optional bool load_column_families_on_demand = 13; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public Builder setLoadColumnFamiliesOnDemand(boolean value) { bitField0_ |= 0x00001000; loadColumnFamiliesOnDemand_ = value; onChanged(); return this; } /** * optional bool load_column_families_on_demand = 13; * *
       * DO NOT add defaults to load_column_families_on_demand. 
       * 
*/ public Builder clearLoadColumnFamiliesOnDemand() { bitField0_ = (bitField0_ & ~0x00001000); loadColumnFamiliesOnDemand_ = false; onChanged(); return this; } // optional bool small = 14 [deprecated = true]; private boolean small_ ; /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public boolean hasSmall() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public boolean getSmall() { return small_; } /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public Builder setSmall(boolean value) { bitField0_ |= 0x00002000; small_ = value; onChanged(); return this; } /** * optional bool small = 14 [deprecated = true]; */ @java.lang.Deprecated public Builder clearSmall() { bitField0_ = (bitField0_ & ~0x00002000); small_ = false; onChanged(); return this; } // optional bool reversed = 15 [default = false]; private boolean reversed_ ; /** * optional bool reversed = 15 [default = false]; */ public boolean hasReversed() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * optional bool reversed = 15 [default = false]; */ public boolean getReversed() { return reversed_; } /** * optional bool reversed = 15 [default = false]; */ public Builder setReversed(boolean value) { bitField0_ |= 0x00004000; reversed_ = value; onChanged(); return this; } /** * optional bool reversed = 15 [default = false]; */ public Builder clearReversed() { bitField0_ = (bitField0_ & ~0x00004000); reversed_ = false; onChanged(); return this; } // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public boolean hasConsistency() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency() { return consistency_; } /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public Builder setConsistency(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; consistency_ = value; onChanged(); return this; } /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ public Builder clearConsistency() { bitField0_ = (bitField0_ & ~0x00008000); consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; onChanged(); return this; } // optional uint32 caching = 17; private int caching_ ; /** * optional uint32 caching = 17; */ public boolean hasCaching() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional uint32 caching = 17; */ public int getCaching() { return caching_; } /** * optional uint32 caching = 17; */ public Builder setCaching(int value) { bitField0_ |= 0x00010000; caching_ = value; onChanged(); return this; } /** * optional uint32 caching = 17; */ public Builder clearCaching() { bitField0_ = (bitField0_ & ~0x00010000); caching_ = 0; onChanged(); return this; } // optional bool allow_partial_results = 18; private boolean allowPartialResults_ ; /** * optional bool allow_partial_results = 18; */ public boolean hasAllowPartialResults() { return ((bitField0_ & 0x00020000) == 0x00020000); } /** * optional bool allow_partial_results = 18; */ public boolean getAllowPartialResults() { return allowPartialResults_; } /** * optional bool allow_partial_results = 18; */ public Builder setAllowPartialResults(boolean value) { bitField0_ |= 0x00020000; allowPartialResults_ = value; onChanged(); return this; } /** * optional bool allow_partial_results = 18; */ public Builder clearAllowPartialResults() { bitField0_ = (bitField0_ & ~0x00020000); allowPartialResults_ = false; onChanged(); return this; } // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; private java.util.List cfTimeRange_ = java.util.Collections.emptyList(); private void ensureCfTimeRangeIsMutable() { if (!((bitField0_ & 0x00040000) == 0x00040000)) { cfTimeRange_ = new java.util.ArrayList(cfTimeRange_); bitField0_ |= 0x00040000; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder> cfTimeRangeBuilder_; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public java.util.List getCfTimeRangeList() { if (cfTimeRangeBuilder_ == null) { return java.util.Collections.unmodifiableList(cfTimeRange_); } else { return cfTimeRangeBuilder_.getMessageList(); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public int getCfTimeRangeCount() { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.size(); } else { return cfTimeRangeBuilder_.getCount(); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange getCfTimeRange(int index) { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.get(index); } else { return cfTimeRangeBuilder_.getMessage(index); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder setCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.set(index, value); onChanged(); } else { cfTimeRangeBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder setCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.set(index, builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder addCfTimeRange(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.add(value); onChanged(); } else { cfTimeRangeBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder addCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange value) { if (cfTimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCfTimeRangeIsMutable(); cfTimeRange_.add(index, value); onChanged(); } else { cfTimeRangeBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder addCfTimeRange( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.add(builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder addCfTimeRange( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder builderForValue) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.add(index, builderForValue.build()); onChanged(); } else { cfTimeRangeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder addAllCfTimeRange( java.lang.Iterable values) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); super.addAll(values, cfTimeRange_); onChanged(); } else { cfTimeRangeBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder clearCfTimeRange() { if (cfTimeRangeBuilder_ == null) { cfTimeRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); } else { cfTimeRangeBuilder_.clear(); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public Builder removeCfTimeRange(int index) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); cfTimeRange_.remove(index); onChanged(); } else { cfTimeRangeBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder getCfTimeRangeBuilder( int index) { return getCfTimeRangeFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index) { if (cfTimeRangeBuilder_ == null) { return cfTimeRange_.get(index); } else { return cfTimeRangeBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public java.util.List getCfTimeRangeOrBuilderList() { if (cfTimeRangeBuilder_ != null) { return cfTimeRangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cfTimeRange_); } } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder addCfTimeRangeBuilder() { return getCfTimeRangeFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.getDefaultInstance()); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder addCfTimeRangeBuilder( int index) { return getCfTimeRangeFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.getDefaultInstance()); } /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ public java.util.List getCfTimeRangeBuilderList() { return getCfTimeRangeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder> getCfTimeRangeFieldBuilder() { if (cfTimeRangeBuilder_ == null) { cfTimeRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder>( cfTimeRange_, ((bitField0_ & 0x00040000) == 0x00040000), getParentForChildren(), isClean()); cfTimeRange_ = null; } return cfTimeRangeBuilder_; } // optional uint64 mvcc_read_point = 20 [default = 0]; private long mvccReadPoint_ ; /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public boolean hasMvccReadPoint() { return ((bitField0_ & 0x00080000) == 0x00080000); } /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public long getMvccReadPoint() { return mvccReadPoint_; } /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public Builder setMvccReadPoint(long value) { bitField0_ |= 0x00080000; mvccReadPoint_ = value; onChanged(); return this; } /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ public Builder clearMvccReadPoint() { bitField0_ = (bitField0_ & ~0x00080000); mvccReadPoint_ = 0L; onChanged(); return this; } // optional bool include_start_row = 21 [default = true]; private boolean includeStartRow_ = true; /** * optional bool include_start_row = 21 [default = true]; */ public boolean hasIncludeStartRow() { return ((bitField0_ & 0x00100000) == 0x00100000); } /** * optional bool include_start_row = 21 [default = true]; */ public boolean getIncludeStartRow() { return includeStartRow_; } /** * optional bool include_start_row = 21 [default = true]; */ public Builder setIncludeStartRow(boolean value) { bitField0_ |= 0x00100000; includeStartRow_ = value; onChanged(); return this; } /** * optional bool include_start_row = 21 [default = true]; */ public Builder clearIncludeStartRow() { bitField0_ = (bitField0_ & ~0x00100000); includeStartRow_ = true; onChanged(); return this; } // optional bool include_stop_row = 22 [default = false]; private boolean includeStopRow_ ; /** * optional bool include_stop_row = 22 [default = false]; */ public boolean hasIncludeStopRow() { return ((bitField0_ & 0x00200000) == 0x00200000); } /** * optional bool include_stop_row = 22 [default = false]; */ public boolean getIncludeStopRow() { return includeStopRow_; } /** * optional bool include_stop_row = 22 [default = false]; */ public Builder setIncludeStopRow(boolean value) { bitField0_ |= 0x00200000; includeStopRow_ = value; onChanged(); return this; } /** * optional bool include_stop_row = 22 [default = false]; */ public Builder clearIncludeStopRow() { bitField0_ = (bitField0_ & ~0x00200000); includeStopRow_ = false; onChanged(); return this; } // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType readType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.DEFAULT; /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public boolean hasReadType() { return ((bitField0_ & 0x00400000) == 0x00400000); } /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType getReadType() { return readType_; } /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public Builder setReadType(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00400000; readType_ = value; onChanged(); return this; } /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ public Builder clearReadType() { bitField0_ = (bitField0_ & ~0x00400000); readType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.DEFAULT; onChanged(); return this; } // optional bool need_cursor_result = 24 [default = false]; private boolean needCursorResult_ ; /** * optional bool need_cursor_result = 24 [default = false]; */ public boolean hasNeedCursorResult() { return ((bitField0_ & 0x00800000) == 0x00800000); } /** * optional bool need_cursor_result = 24 [default = false]; */ public boolean getNeedCursorResult() { return needCursorResult_; } /** * optional bool need_cursor_result = 24 [default = false]; */ public Builder setNeedCursorResult(boolean value) { bitField0_ |= 0x00800000; needCursorResult_ = value; onChanged(); return this; } /** * optional bool need_cursor_result = 24 [default = false]; */ public Builder clearNeedCursorResult() { bitField0_ = (bitField0_ & ~0x00800000); needCursorResult_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Scan) } static { defaultInstance = new Scan(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Scan) } public interface ScanRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .hbase.pb.RegionSpecifier region = 1; /** * optional .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * optional .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * optional .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // optional .hbase.pb.Scan scan = 2; /** * optional .hbase.pb.Scan scan = 2; */ boolean hasScan(); /** * optional .hbase.pb.Scan scan = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getScan(); /** * optional .hbase.pb.Scan scan = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder getScanOrBuilder(); // optional uint64 scanner_id = 3; /** * optional uint64 scanner_id = 3; */ boolean hasScannerId(); /** * optional uint64 scanner_id = 3; */ long getScannerId(); // optional uint32 number_of_rows = 4; /** * optional uint32 number_of_rows = 4; */ boolean hasNumberOfRows(); /** * optional uint32 number_of_rows = 4; */ int getNumberOfRows(); // optional bool close_scanner = 5; /** * optional bool close_scanner = 5; */ boolean hasCloseScanner(); /** * optional bool close_scanner = 5; */ boolean getCloseScanner(); // optional uint64 next_call_seq = 6; /** * optional uint64 next_call_seq = 6; */ boolean hasNextCallSeq(); /** * optional uint64 next_call_seq = 6; */ long getNextCallSeq(); // optional bool client_handles_partials = 7; /** * optional bool client_handles_partials = 7; */ boolean hasClientHandlesPartials(); /** * optional bool client_handles_partials = 7; */ boolean getClientHandlesPartials(); // optional bool client_handles_heartbeats = 8; /** * optional bool client_handles_heartbeats = 8; */ boolean hasClientHandlesHeartbeats(); /** * optional bool client_handles_heartbeats = 8; */ boolean getClientHandlesHeartbeats(); // optional bool track_scan_metrics = 9; /** * optional bool track_scan_metrics = 9; */ boolean hasTrackScanMetrics(); /** * optional bool track_scan_metrics = 9; */ boolean getTrackScanMetrics(); // optional bool renew = 10 [default = false]; /** * optional bool renew = 10 [default = false]; */ boolean hasRenew(); /** * optional bool renew = 10 [default = false]; */ boolean getRenew(); // optional uint32 limit_of_rows = 11 [default = 0]; /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
     * if we have returned limit_of_rows rows to client, then close the scanner.
     * 
*/ boolean hasLimitOfRows(); /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
     * if we have returned limit_of_rows rows to client, then close the scanner.
     * 
*/ int getLimitOfRows(); } /** * Protobuf type {@code hbase.pb.ScanRequest} * *
   **
   * A scan request. Initially, it should specify a scan. Later on, you
   * can use the scanner id returned to fetch result batches with a different
   * scan request.
   *
   * The scanner will remain open if there are more results, and it's not
   * asked to be closed explicitly.
   *
   * You can fetch the results and ask the scanner to be closed to save
   * a trip if you are not interested in remaining results.
   * 
*/ @javax.annotation.Generated("proto") public static final class ScanRequest extends com.google.protobuf.GeneratedMessage implements ScanRequestOrBuilder { // Use ScanRequest.newBuilder() to construct. private ScanRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ScanRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ScanRequest defaultInstance; public static ScanRequest getDefaultInstance() { return defaultInstance; } public ScanRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScanRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = scan_.toBuilder(); } scan_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scan_); scan_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; scannerId_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; numberOfRows_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; closeScanner_ = input.readBool(); break; } case 48: { bitField0_ |= 0x00000020; nextCallSeq_ = input.readUInt64(); break; } case 56: { bitField0_ |= 0x00000040; clientHandlesPartials_ = input.readBool(); break; } case 64: { bitField0_ |= 0x00000080; clientHandlesHeartbeats_ = input.readBool(); break; } case 72: { bitField0_ |= 0x00000100; trackScanMetrics_ = input.readBool(); break; } case 80: { bitField0_ |= 0x00000200; renew_ = input.readBool(); break; } case 88: { bitField0_ |= 0x00000400; limitOfRows_ = input.readUInt32(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ScanRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScanRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * optional .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // optional .hbase.pb.Scan scan = 2; public static final int SCAN_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan scan_; /** * optional .hbase.pb.Scan scan = 2; */ public boolean hasScan() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Scan scan = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getScan() { return scan_; } /** * optional .hbase.pb.Scan scan = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder getScanOrBuilder() { return scan_; } // optional uint64 scanner_id = 3; public static final int SCANNER_ID_FIELD_NUMBER = 3; private long scannerId_; /** * optional uint64 scanner_id = 3; */ public boolean hasScannerId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 scanner_id = 3; */ public long getScannerId() { return scannerId_; } // optional uint32 number_of_rows = 4; public static final int NUMBER_OF_ROWS_FIELD_NUMBER = 4; private int numberOfRows_; /** * optional uint32 number_of_rows = 4; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 number_of_rows = 4; */ public int getNumberOfRows() { return numberOfRows_; } // optional bool close_scanner = 5; public static final int CLOSE_SCANNER_FIELD_NUMBER = 5; private boolean closeScanner_; /** * optional bool close_scanner = 5; */ public boolean hasCloseScanner() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool close_scanner = 5; */ public boolean getCloseScanner() { return closeScanner_; } // optional uint64 next_call_seq = 6; public static final int NEXT_CALL_SEQ_FIELD_NUMBER = 6; private long nextCallSeq_; /** * optional uint64 next_call_seq = 6; */ public boolean hasNextCallSeq() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 next_call_seq = 6; */ public long getNextCallSeq() { return nextCallSeq_; } // optional bool client_handles_partials = 7; public static final int CLIENT_HANDLES_PARTIALS_FIELD_NUMBER = 7; private boolean clientHandlesPartials_; /** * optional bool client_handles_partials = 7; */ public boolean hasClientHandlesPartials() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool client_handles_partials = 7; */ public boolean getClientHandlesPartials() { return clientHandlesPartials_; } // optional bool client_handles_heartbeats = 8; public static final int CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER = 8; private boolean clientHandlesHeartbeats_; /** * optional bool client_handles_heartbeats = 8; */ public boolean hasClientHandlesHeartbeats() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool client_handles_heartbeats = 8; */ public boolean getClientHandlesHeartbeats() { return clientHandlesHeartbeats_; } // optional bool track_scan_metrics = 9; public static final int TRACK_SCAN_METRICS_FIELD_NUMBER = 9; private boolean trackScanMetrics_; /** * optional bool track_scan_metrics = 9; */ public boolean hasTrackScanMetrics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool track_scan_metrics = 9; */ public boolean getTrackScanMetrics() { return trackScanMetrics_; } // optional bool renew = 10 [default = false]; public static final int RENEW_FIELD_NUMBER = 10; private boolean renew_; /** * optional bool renew = 10 [default = false]; */ public boolean hasRenew() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool renew = 10 [default = false]; */ public boolean getRenew() { return renew_; } // optional uint32 limit_of_rows = 11 [default = 0]; public static final int LIMIT_OF_ROWS_FIELD_NUMBER = 11; private int limitOfRows_; /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
     * if we have returned limit_of_rows rows to client, then close the scanner.
     * 
*/ public boolean hasLimitOfRows() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
     * if we have returned limit_of_rows rows to client, then close the scanner.
     * 
*/ public int getLimitOfRows() { return limitOfRows_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); scannerId_ = 0L; numberOfRows_ = 0; closeScanner_ = false; nextCallSeq_ = 0L; clientHandlesPartials_ = false; clientHandlesHeartbeats_ = false; trackScanMetrics_ = false; renew_ = false; limitOfRows_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasRegion()) { if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasScan()) { if (!getScan().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, scan_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, scannerId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, numberOfRows_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, closeScanner_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt64(6, nextCallSeq_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, clientHandlesPartials_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBool(8, clientHandlesHeartbeats_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBool(9, trackScanMetrics_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBool(10, renew_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeUInt32(11, limitOfRows_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, scan_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, scannerId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, numberOfRows_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, closeScanner_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, nextCallSeq_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, clientHandlesPartials_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, clientHandlesHeartbeats_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, trackScanMetrics_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, renew_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, limitOfRows_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasScan() == other.hasScan()); if (hasScan()) { result = result && getScan() .equals(other.getScan()); } result = result && (hasScannerId() == other.hasScannerId()); if (hasScannerId()) { result = result && (getScannerId() == other.getScannerId()); } result = result && (hasNumberOfRows() == other.hasNumberOfRows()); if (hasNumberOfRows()) { result = result && (getNumberOfRows() == other.getNumberOfRows()); } result = result && (hasCloseScanner() == other.hasCloseScanner()); if (hasCloseScanner()) { result = result && (getCloseScanner() == other.getCloseScanner()); } result = result && (hasNextCallSeq() == other.hasNextCallSeq()); if (hasNextCallSeq()) { result = result && (getNextCallSeq() == other.getNextCallSeq()); } result = result && (hasClientHandlesPartials() == other.hasClientHandlesPartials()); if (hasClientHandlesPartials()) { result = result && (getClientHandlesPartials() == other.getClientHandlesPartials()); } result = result && (hasClientHandlesHeartbeats() == other.hasClientHandlesHeartbeats()); if (hasClientHandlesHeartbeats()) { result = result && (getClientHandlesHeartbeats() == other.getClientHandlesHeartbeats()); } result = result && (hasTrackScanMetrics() == other.hasTrackScanMetrics()); if (hasTrackScanMetrics()) { result = result && (getTrackScanMetrics() == other.getTrackScanMetrics()); } result = result && (hasRenew() == other.hasRenew()); if (hasRenew()) { result = result && (getRenew() == other.getRenew()); } result = result && (hasLimitOfRows() == other.hasLimitOfRows()); if (hasLimitOfRows()) { result = result && (getLimitOfRows() == other.getLimitOfRows()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode(); } if (hasScannerId()) { hash = (37 * hash) + SCANNER_ID_FIELD_NUMBER; hash = (53 * hash) + hashLong(getScannerId()); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBER_OF_ROWS_FIELD_NUMBER; hash = (53 * hash) + getNumberOfRows(); } if (hasCloseScanner()) { hash = (37 * hash) + CLOSE_SCANNER_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getCloseScanner()); } if (hasNextCallSeq()) { hash = (37 * hash) + NEXT_CALL_SEQ_FIELD_NUMBER; hash = (53 * hash) + hashLong(getNextCallSeq()); } if (hasClientHandlesPartials()) { hash = (37 * hash) + CLIENT_HANDLES_PARTIALS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getClientHandlesPartials()); } if (hasClientHandlesHeartbeats()) { hash = (37 * hash) + CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getClientHandlesHeartbeats()); } if (hasTrackScanMetrics()) { hash = (37 * hash) + TRACK_SCAN_METRICS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getTrackScanMetrics()); } if (hasRenew()) { hash = (37 * hash) + RENEW_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getRenew()); } if (hasLimitOfRows()) { hash = (37 * hash) + LIMIT_OF_ROWS_FIELD_NUMBER; hash = (53 * hash) + getLimitOfRows(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.ScanRequest} * *
     **
     * A scan request. Initially, it should specify a scan. Later on, you
     * can use the scanner id returned to fetch result batches with a different
     * scan request.
     *
     * The scanner will remain open if there are more results, and it's not
     * asked to be closed explicitly.
     *
     * You can fetch the results and ask the scanner to be closed to save
     * a trip if you are not interested in remaining results.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getScanFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (scanBuilder_ == null) { scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); } else { scanBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); scannerId_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); numberOfRows_ = 0; bitField0_ = (bitField0_ & ~0x00000008); closeScanner_ = false; bitField0_ = (bitField0_ & ~0x00000010); nextCallSeq_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); clientHandlesPartials_ = false; bitField0_ = (bitField0_ & ~0x00000040); clientHandlesHeartbeats_ = false; bitField0_ = (bitField0_ & ~0x00000080); trackScanMetrics_ = false; bitField0_ = (bitField0_ & ~0x00000100); renew_ = false; bitField0_ = (bitField0_ & ~0x00000200); limitOfRows_ = 0; bitField0_ = (bitField0_ & ~0x00000400); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (scanBuilder_ == null) { result.scan_ = scan_; } else { result.scan_ = scanBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.scannerId_ = scannerId_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.numberOfRows_ = numberOfRows_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.closeScanner_ = closeScanner_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.nextCallSeq_ = nextCallSeq_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.clientHandlesPartials_ = clientHandlesPartials_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.clientHandlesHeartbeats_ = clientHandlesHeartbeats_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.trackScanMetrics_ = trackScanMetrics_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.renew_ = renew_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.limitOfRows_ = limitOfRows_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasScan()) { mergeScan(other.getScan()); } if (other.hasScannerId()) { setScannerId(other.getScannerId()); } if (other.hasNumberOfRows()) { setNumberOfRows(other.getNumberOfRows()); } if (other.hasCloseScanner()) { setCloseScanner(other.getCloseScanner()); } if (other.hasNextCallSeq()) { setNextCallSeq(other.getNextCallSeq()); } if (other.hasClientHandlesPartials()) { setClientHandlesPartials(other.getClientHandlesPartials()); } if (other.hasClientHandlesHeartbeats()) { setClientHandlesHeartbeats(other.getClientHandlesHeartbeats()); } if (other.hasTrackScanMetrics()) { setTrackScanMetrics(other.getTrackScanMetrics()); } if (other.hasRenew()) { setRenew(other.getRenew()); } if (other.hasLimitOfRows()) { setLimitOfRows(other.getLimitOfRows()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasRegion()) { if (!getRegion().isInitialized()) { return false; } } if (hasScan()) { if (!getScan().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * optional .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * optional .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // optional .hbase.pb.Scan scan = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder> scanBuilder_; /** * optional .hbase.pb.Scan scan = 2; */ public boolean hasScan() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Scan scan = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan getScan() { if (scanBuilder_ == null) { return scan_; } else { return scanBuilder_.getMessage(); } } /** * optional .hbase.pb.Scan scan = 2; */ public Builder setScan(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan value) { if (scanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scan_ = value; onChanged(); } else { scanBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Scan scan = 2; */ public Builder setScan( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder builderForValue) { if (scanBuilder_ == null) { scan_ = builderForValue.build(); onChanged(); } else { scanBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Scan scan = 2; */ public Builder mergeScan(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan value) { if (scanBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && scan_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance()) { scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.newBuilder(scan_).mergeFrom(value).buildPartial(); } else { scan_ = value; } onChanged(); } else { scanBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Scan scan = 2; */ public Builder clearScan() { if (scanBuilder_ == null) { scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); onChanged(); } else { scanBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.Scan scan = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder getScanBuilder() { bitField0_ |= 0x00000002; onChanged(); return getScanFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Scan scan = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder getScanOrBuilder() { if (scanBuilder_ != null) { return scanBuilder_.getMessageOrBuilder(); } else { return scan_; } } /** * optional .hbase.pb.Scan scan = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder> getScanFieldBuilder() { if (scanBuilder_ == null) { scanBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder>( scan_, getParentForChildren(), isClean()); scan_ = null; } return scanBuilder_; } // optional uint64 scanner_id = 3; private long scannerId_ ; /** * optional uint64 scanner_id = 3; */ public boolean hasScannerId() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 scanner_id = 3; */ public long getScannerId() { return scannerId_; } /** * optional uint64 scanner_id = 3; */ public Builder setScannerId(long value) { bitField0_ |= 0x00000004; scannerId_ = value; onChanged(); return this; } /** * optional uint64 scanner_id = 3; */ public Builder clearScannerId() { bitField0_ = (bitField0_ & ~0x00000004); scannerId_ = 0L; onChanged(); return this; } // optional uint32 number_of_rows = 4; private int numberOfRows_ ; /** * optional uint32 number_of_rows = 4; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 number_of_rows = 4; */ public int getNumberOfRows() { return numberOfRows_; } /** * optional uint32 number_of_rows = 4; */ public Builder setNumberOfRows(int value) { bitField0_ |= 0x00000008; numberOfRows_ = value; onChanged(); return this; } /** * optional uint32 number_of_rows = 4; */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000008); numberOfRows_ = 0; onChanged(); return this; } // optional bool close_scanner = 5; private boolean closeScanner_ ; /** * optional bool close_scanner = 5; */ public boolean hasCloseScanner() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool close_scanner = 5; */ public boolean getCloseScanner() { return closeScanner_; } /** * optional bool close_scanner = 5; */ public Builder setCloseScanner(boolean value) { bitField0_ |= 0x00000010; closeScanner_ = value; onChanged(); return this; } /** * optional bool close_scanner = 5; */ public Builder clearCloseScanner() { bitField0_ = (bitField0_ & ~0x00000010); closeScanner_ = false; onChanged(); return this; } // optional uint64 next_call_seq = 6; private long nextCallSeq_ ; /** * optional uint64 next_call_seq = 6; */ public boolean hasNextCallSeq() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 next_call_seq = 6; */ public long getNextCallSeq() { return nextCallSeq_; } /** * optional uint64 next_call_seq = 6; */ public Builder setNextCallSeq(long value) { bitField0_ |= 0x00000020; nextCallSeq_ = value; onChanged(); return this; } /** * optional uint64 next_call_seq = 6; */ public Builder clearNextCallSeq() { bitField0_ = (bitField0_ & ~0x00000020); nextCallSeq_ = 0L; onChanged(); return this; } // optional bool client_handles_partials = 7; private boolean clientHandlesPartials_ ; /** * optional bool client_handles_partials = 7; */ public boolean hasClientHandlesPartials() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool client_handles_partials = 7; */ public boolean getClientHandlesPartials() { return clientHandlesPartials_; } /** * optional bool client_handles_partials = 7; */ public Builder setClientHandlesPartials(boolean value) { bitField0_ |= 0x00000040; clientHandlesPartials_ = value; onChanged(); return this; } /** * optional bool client_handles_partials = 7; */ public Builder clearClientHandlesPartials() { bitField0_ = (bitField0_ & ~0x00000040); clientHandlesPartials_ = false; onChanged(); return this; } // optional bool client_handles_heartbeats = 8; private boolean clientHandlesHeartbeats_ ; /** * optional bool client_handles_heartbeats = 8; */ public boolean hasClientHandlesHeartbeats() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool client_handles_heartbeats = 8; */ public boolean getClientHandlesHeartbeats() { return clientHandlesHeartbeats_; } /** * optional bool client_handles_heartbeats = 8; */ public Builder setClientHandlesHeartbeats(boolean value) { bitField0_ |= 0x00000080; clientHandlesHeartbeats_ = value; onChanged(); return this; } /** * optional bool client_handles_heartbeats = 8; */ public Builder clearClientHandlesHeartbeats() { bitField0_ = (bitField0_ & ~0x00000080); clientHandlesHeartbeats_ = false; onChanged(); return this; } // optional bool track_scan_metrics = 9; private boolean trackScanMetrics_ ; /** * optional bool track_scan_metrics = 9; */ public boolean hasTrackScanMetrics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool track_scan_metrics = 9; */ public boolean getTrackScanMetrics() { return trackScanMetrics_; } /** * optional bool track_scan_metrics = 9; */ public Builder setTrackScanMetrics(boolean value) { bitField0_ |= 0x00000100; trackScanMetrics_ = value; onChanged(); return this; } /** * optional bool track_scan_metrics = 9; */ public Builder clearTrackScanMetrics() { bitField0_ = (bitField0_ & ~0x00000100); trackScanMetrics_ = false; onChanged(); return this; } // optional bool renew = 10 [default = false]; private boolean renew_ ; /** * optional bool renew = 10 [default = false]; */ public boolean hasRenew() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool renew = 10 [default = false]; */ public boolean getRenew() { return renew_; } /** * optional bool renew = 10 [default = false]; */ public Builder setRenew(boolean value) { bitField0_ |= 0x00000200; renew_ = value; onChanged(); return this; } /** * optional bool renew = 10 [default = false]; */ public Builder clearRenew() { bitField0_ = (bitField0_ & ~0x00000200); renew_ = false; onChanged(); return this; } // optional uint32 limit_of_rows = 11 [default = 0]; private int limitOfRows_ ; /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
       * if we have returned limit_of_rows rows to client, then close the scanner.
       * 
*/ public boolean hasLimitOfRows() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
       * if we have returned limit_of_rows rows to client, then close the scanner.
       * 
*/ public int getLimitOfRows() { return limitOfRows_; } /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
       * if we have returned limit_of_rows rows to client, then close the scanner.
       * 
*/ public Builder setLimitOfRows(int value) { bitField0_ |= 0x00000400; limitOfRows_ = value; onChanged(); return this; } /** * optional uint32 limit_of_rows = 11 [default = 0]; * *
       * if we have returned limit_of_rows rows to client, then close the scanner.
       * 
*/ public Builder clearLimitOfRows() { bitField0_ = (bitField0_ & ~0x00000400); limitOfRows_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.ScanRequest) } static { defaultInstance = new ScanRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.ScanRequest) } public interface CursorOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes row = 1; /** * optional bytes row = 1; */ boolean hasRow(); /** * optional bytes row = 1; */ com.google.protobuf.ByteString getRow(); } /** * Protobuf type {@code hbase.pb.Cursor} * *
   **
   * Scan cursor to tell client where we are scanning.
   * 
*/ @javax.annotation.Generated("proto") public static final class Cursor extends com.google.protobuf.GeneratedMessage implements CursorOrBuilder { // Use Cursor.newBuilder() to construct. private Cursor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Cursor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Cursor defaultInstance; public static Cursor getDefaultInstance() { return defaultInstance; } public Cursor getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Cursor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; row_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Cursor_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Cursor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Cursor(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** * optional bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } private void initFields() { row_ = com.google.protobuf.ByteString.EMPTY; } 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, row_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, row_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor) obj; boolean result = true; result = result && (hasRow() == other.hasRow()); if (hasRow()) { result = result && getRow() .equals(other.getRow()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRow()) { hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Cursor} * *
     **
     * Scan cursor to tell client where we are scanning.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Cursor_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); row_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Cursor_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.row_ = row_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance()) return this; if (other.hasRow()) { setRow(other.getRow()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } /** * optional bytes row = 1; */ public Builder setRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; row_ = value; onChanged(); return this; } /** * optional bytes row = 1; */ public Builder clearRow() { bitField0_ = (bitField0_ & ~0x00000001); row_ = getDefaultInstance().getRow(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.Cursor) } static { defaultInstance = new Cursor(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Cursor) } public interface ScanResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated uint32 cells_per_result = 1; /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ java.util.List getCellsPerResultList(); /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ int getCellsPerResultCount(); /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ int getCellsPerResult(int index); // optional uint64 scanner_id = 2; /** * optional uint64 scanner_id = 2; */ boolean hasScannerId(); /** * optional uint64 scanner_id = 2; */ long getScannerId(); // optional bool more_results = 3; /** * optional bool more_results = 3; */ boolean hasMoreResults(); /** * optional bool more_results = 3; */ boolean getMoreResults(); // optional uint32 ttl = 4; /** * optional uint32 ttl = 4; */ boolean hasTtl(); /** * optional uint32 ttl = 4; */ int getTtl(); // repeated .hbase.pb.Result results = 5; /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ java.util.List getResultsList(); /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResults(int index); /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ int getResultsCount(); /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ java.util.List getResultsOrBuilderList(); /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultsOrBuilder( int index); // optional bool stale = 6; /** * optional bool stale = 6; */ boolean hasStale(); /** * optional bool stale = 6; */ boolean getStale(); // repeated bool partial_flag_per_result = 7; /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ java.util.List getPartialFlagPerResultList(); /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ int getPartialFlagPerResultCount(); /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ boolean getPartialFlagPerResult(int index); // optional bool more_results_in_region = 8; /** * optional bool more_results_in_region = 8; * *
     * A server may choose to limit the number of results returned to the client for
     * reasons such as the size in bytes or quantity of results accumulated. This field
     * will true when more results exist in the current region.
     * 
*/ boolean hasMoreResultsInRegion(); /** * optional bool more_results_in_region = 8; * *
     * A server may choose to limit the number of results returned to the client for
     * reasons such as the size in bytes or quantity of results accumulated. This field
     * will true when more results exist in the current region.
     * 
*/ boolean getMoreResultsInRegion(); // optional bool heartbeat_message = 9; /** * optional bool heartbeat_message = 9; * *
     * This field is filled in if the server is sending back a heartbeat message.
     * Heartbeat messages are sent back to the client to prevent the scanner from
     * timing out. Seeing a heartbeat message communicates to the Client that the
     * server would have continued to scan had the time limit not been reached.
     * 
*/ boolean hasHeartbeatMessage(); /** * optional bool heartbeat_message = 9; * *
     * This field is filled in if the server is sending back a heartbeat message.
     * Heartbeat messages are sent back to the client to prevent the scanner from
     * timing out. Seeing a heartbeat message communicates to the Client that the
     * server would have continued to scan had the time limit not been reached.
     * 
*/ boolean getHeartbeatMessage(); // optional .hbase.pb.ScanMetrics scan_metrics = 10; /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ boolean hasScanMetrics(); /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics getScanMetrics(); /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder getScanMetricsOrBuilder(); // optional uint64 mvcc_read_point = 11 [default = 0]; /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
     * The mvcc read point which is used to open the scanner at server side. Client can
     * make use of this mvcc_read_point when restarting a scanner to get a consistent view
     * of a row.
     * 
*/ boolean hasMvccReadPoint(); /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
     * The mvcc read point which is used to open the scanner at server side. Client can
     * make use of this mvcc_read_point when restarting a scanner to get a consistent view
     * of a row.
     * 
*/ long getMvccReadPoint(); // optional .hbase.pb.Cursor cursor = 12; /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ boolean hasCursor(); /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor getCursor(); /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder getCursorOrBuilder(); } /** * Protobuf type {@code hbase.pb.ScanResponse} * *
   **
   * The scan response. If there are no more results, more_results will
   * be false.  If it is not specified, it means there are more.
   * 
*/ @javax.annotation.Generated("proto") public static final class ScanResponse extends com.google.protobuf.GeneratedMessage implements ScanResponseOrBuilder { // Use ScanResponse.newBuilder() to construct. private ScanResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ScanResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ScanResponse defaultInstance; public static ScanResponse getDefaultInstance() { return defaultInstance; } public ScanResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScanResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { cellsPerResult_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } cellsPerResult_.add(input.readUInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { cellsPerResult_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { cellsPerResult_.add(input.readUInt32()); } input.popLimit(limit); break; } case 16: { bitField0_ |= 0x00000001; scannerId_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000002; moreResults_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000004; ttl_ = input.readUInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { results_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } results_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000008; stale_ = input.readBool(); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { partialFlagPerResult_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } partialFlagPerResult_.add(input.readBool()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { partialFlagPerResult_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { partialFlagPerResult_.add(input.readBool()); } input.popLimit(limit); break; } case 64: { bitField0_ |= 0x00000010; moreResultsInRegion_ = input.readBool(); break; } case 72: { bitField0_ |= 0x00000020; heartbeatMessage_ = input.readBool(); break; } case 82: { org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = scanMetrics_.toBuilder(); } scanMetrics_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scanMetrics_); scanMetrics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 88: { bitField0_ |= 0x00000080; mvccReadPoint_ = input.readUInt64(); break; } case 98: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = cursor_.toBuilder(); } cursor_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cursor_); cursor_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; 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)) { cellsPerResult_ = java.util.Collections.unmodifiableList(cellsPerResult_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { results_ = java.util.Collections.unmodifiableList(results_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { partialFlagPerResult_ = java.util.Collections.unmodifiableList(partialFlagPerResult_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ScanResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScanResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated uint32 cells_per_result = 1; public static final int CELLS_PER_RESULT_FIELD_NUMBER = 1; private java.util.List cellsPerResult_; /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ public java.util.List getCellsPerResultList() { return cellsPerResult_; } /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ public int getCellsPerResultCount() { return cellsPerResult_.size(); } /** * repeated uint32 cells_per_result = 1; * *
     * This field is filled in if we are doing cellblocks.  A cellblock is made up
     * of all Cells serialized out as one cellblock BUT responses from a server
     * have their Cells grouped by Result.  So we can reconstitute the
     * Results on the client-side, this field is a list of counts of Cells
     * in each Result that makes up the response.  For example, if this field
     * has 3, 3, 3 in it, then we know that on the client, we are to make
     * three Results each of three Cells each.
     * 
*/ public int getCellsPerResult(int index) { return cellsPerResult_.get(index); } // optional uint64 scanner_id = 2; public static final int SCANNER_ID_FIELD_NUMBER = 2; private long scannerId_; /** * optional uint64 scanner_id = 2; */ public boolean hasScannerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 scanner_id = 2; */ public long getScannerId() { return scannerId_; } // optional bool more_results = 3; public static final int MORE_RESULTS_FIELD_NUMBER = 3; private boolean moreResults_; /** * optional bool more_results = 3; */ public boolean hasMoreResults() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool more_results = 3; */ public boolean getMoreResults() { return moreResults_; } // optional uint32 ttl = 4; public static final int TTL_FIELD_NUMBER = 4; private int ttl_; /** * optional uint32 ttl = 4; */ public boolean hasTtl() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 ttl = 4; */ public int getTtl() { return ttl_; } // repeated .hbase.pb.Result results = 5; public static final int RESULTS_FIELD_NUMBER = 5; private java.util.List results_; /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ public java.util.List getResultsList() { return results_; } /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ public java.util.List getResultsOrBuilderList() { return results_; } /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ public int getResultsCount() { return results_.size(); } /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResults(int index) { return results_.get(index); } /** * repeated .hbase.pb.Result results = 5; * *
     * If cells are not carried in an accompanying cellblock, then they are pb'd here.
     * This field is mutually exclusive with cells_per_result (since the Cells will
     * be inside the pb'd Result)
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultsOrBuilder( int index) { return results_.get(index); } // optional bool stale = 6; public static final int STALE_FIELD_NUMBER = 6; private boolean stale_; /** * optional bool stale = 6; */ public boolean hasStale() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool stale = 6; */ public boolean getStale() { return stale_; } // repeated bool partial_flag_per_result = 7; public static final int PARTIAL_FLAG_PER_RESULT_FIELD_NUMBER = 7; private java.util.List partialFlagPerResult_; /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ public java.util.List getPartialFlagPerResultList() { return partialFlagPerResult_; } /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ public int getPartialFlagPerResultCount() { return partialFlagPerResult_.size(); } /** * repeated bool partial_flag_per_result = 7; * *
     * This field is filled in if we are doing cellblocks. In the event that a row
     * could not fit all of its cells into a single RPC chunk, the results will be
     * returned as partials, and reconstructed into a complete result on the client
     * side. This field is a list of flags indicating whether or not the result
     * that the cells belong to is a partial result. For example, if this field
     * has false, false, true in it, then we know that on the client side, we need to
     * make another RPC request since the last result was only a partial.
     * 
*/ public boolean getPartialFlagPerResult(int index) { return partialFlagPerResult_.get(index); } // optional bool more_results_in_region = 8; public static final int MORE_RESULTS_IN_REGION_FIELD_NUMBER = 8; private boolean moreResultsInRegion_; /** * optional bool more_results_in_region = 8; * *
     * A server may choose to limit the number of results returned to the client for
     * reasons such as the size in bytes or quantity of results accumulated. This field
     * will true when more results exist in the current region.
     * 
*/ public boolean hasMoreResultsInRegion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool more_results_in_region = 8; * *
     * A server may choose to limit the number of results returned to the client for
     * reasons such as the size in bytes or quantity of results accumulated. This field
     * will true when more results exist in the current region.
     * 
*/ public boolean getMoreResultsInRegion() { return moreResultsInRegion_; } // optional bool heartbeat_message = 9; public static final int HEARTBEAT_MESSAGE_FIELD_NUMBER = 9; private boolean heartbeatMessage_; /** * optional bool heartbeat_message = 9; * *
     * This field is filled in if the server is sending back a heartbeat message.
     * Heartbeat messages are sent back to the client to prevent the scanner from
     * timing out. Seeing a heartbeat message communicates to the Client that the
     * server would have continued to scan had the time limit not been reached.
     * 
*/ public boolean hasHeartbeatMessage() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool heartbeat_message = 9; * *
     * This field is filled in if the server is sending back a heartbeat message.
     * Heartbeat messages are sent back to the client to prevent the scanner from
     * timing out. Seeing a heartbeat message communicates to the Client that the
     * server would have continued to scan had the time limit not been reached.
     * 
*/ public boolean getHeartbeatMessage() { return heartbeatMessage_; } // optional .hbase.pb.ScanMetrics scan_metrics = 10; public static final int SCAN_METRICS_FIELD_NUMBER = 10; private org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics scanMetrics_; /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ public boolean hasScanMetrics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics getScanMetrics() { return scanMetrics_; } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
     * This field is filled in if the client has requested that scan metrics be tracked.
     * The metrics tracked here are sent back to the client to be tracked together with
     * the existing client side metrics.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder getScanMetricsOrBuilder() { return scanMetrics_; } // optional uint64 mvcc_read_point = 11 [default = 0]; public static final int MVCC_READ_POINT_FIELD_NUMBER = 11; private long mvccReadPoint_; /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
     * The mvcc read point which is used to open the scanner at server side. Client can
     * make use of this mvcc_read_point when restarting a scanner to get a consistent view
     * of a row.
     * 
*/ public boolean hasMvccReadPoint() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
     * The mvcc read point which is used to open the scanner at server side. Client can
     * make use of this mvcc_read_point when restarting a scanner to get a consistent view
     * of a row.
     * 
*/ public long getMvccReadPoint() { return mvccReadPoint_; } // optional .hbase.pb.Cursor cursor = 12; public static final int CURSOR_FIELD_NUMBER = 12; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor cursor_; /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ public boolean hasCursor() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor getCursor() { return cursor_; } /** * optional .hbase.pb.Cursor cursor = 12; * *
     * If the Scan need cursor, return the row key we are scanning in heartbeat message.
     * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder getCursorOrBuilder() { return cursor_; } private void initFields() { cellsPerResult_ = java.util.Collections.emptyList(); scannerId_ = 0L; moreResults_ = false; ttl_ = 0; results_ = java.util.Collections.emptyList(); stale_ = false; partialFlagPerResult_ = java.util.Collections.emptyList(); moreResultsInRegion_ = false; heartbeatMessage_ = false; scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance(); mvccReadPoint_ = 0L; cursor_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance(); } 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(); for (int i = 0; i < cellsPerResult_.size(); i++) { output.writeUInt32(1, cellsPerResult_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(2, scannerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, moreResults_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(4, ttl_); } for (int i = 0; i < results_.size(); i++) { output.writeMessage(5, results_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(6, stale_); } for (int i = 0; i < partialFlagPerResult_.size(); i++) { output.writeBool(7, partialFlagPerResult_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(8, moreResultsInRegion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(9, heartbeatMessage_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(10, scanMetrics_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt64(11, mvccReadPoint_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(12, cursor_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < cellsPerResult_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(cellsPerResult_.get(i)); } size += dataSize; size += 1 * getCellsPerResultList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, scannerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, moreResults_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, ttl_); } for (int i = 0; i < results_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, results_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, stale_); } { int dataSize = 0; dataSize = 1 * getPartialFlagPerResultList().size(); size += dataSize; size += 1 * getPartialFlagPerResultList().size(); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, moreResultsInRegion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, heartbeatMessage_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, scanMetrics_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, mvccReadPoint_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, cursor_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse) obj; boolean result = true; result = result && getCellsPerResultList() .equals(other.getCellsPerResultList()); result = result && (hasScannerId() == other.hasScannerId()); if (hasScannerId()) { result = result && (getScannerId() == other.getScannerId()); } result = result && (hasMoreResults() == other.hasMoreResults()); if (hasMoreResults()) { result = result && (getMoreResults() == other.getMoreResults()); } result = result && (hasTtl() == other.hasTtl()); if (hasTtl()) { result = result && (getTtl() == other.getTtl()); } result = result && getResultsList() .equals(other.getResultsList()); result = result && (hasStale() == other.hasStale()); if (hasStale()) { result = result && (getStale() == other.getStale()); } result = result && getPartialFlagPerResultList() .equals(other.getPartialFlagPerResultList()); result = result && (hasMoreResultsInRegion() == other.hasMoreResultsInRegion()); if (hasMoreResultsInRegion()) { result = result && (getMoreResultsInRegion() == other.getMoreResultsInRegion()); } result = result && (hasHeartbeatMessage() == other.hasHeartbeatMessage()); if (hasHeartbeatMessage()) { result = result && (getHeartbeatMessage() == other.getHeartbeatMessage()); } result = result && (hasScanMetrics() == other.hasScanMetrics()); if (hasScanMetrics()) { result = result && getScanMetrics() .equals(other.getScanMetrics()); } result = result && (hasMvccReadPoint() == other.hasMvccReadPoint()); if (hasMvccReadPoint()) { result = result && (getMvccReadPoint() == other.getMvccReadPoint()); } result = result && (hasCursor() == other.hasCursor()); if (hasCursor()) { result = result && getCursor() .equals(other.getCursor()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getCellsPerResultCount() > 0) { hash = (37 * hash) + CELLS_PER_RESULT_FIELD_NUMBER; hash = (53 * hash) + getCellsPerResultList().hashCode(); } if (hasScannerId()) { hash = (37 * hash) + SCANNER_ID_FIELD_NUMBER; hash = (53 * hash) + hashLong(getScannerId()); } if (hasMoreResults()) { hash = (37 * hash) + MORE_RESULTS_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getMoreResults()); } if (hasTtl()) { hash = (37 * hash) + TTL_FIELD_NUMBER; hash = (53 * hash) + getTtl(); } if (getResultsCount() > 0) { hash = (37 * hash) + RESULTS_FIELD_NUMBER; hash = (53 * hash) + getResultsList().hashCode(); } if (hasStale()) { hash = (37 * hash) + STALE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getStale()); } if (getPartialFlagPerResultCount() > 0) { hash = (37 * hash) + PARTIAL_FLAG_PER_RESULT_FIELD_NUMBER; hash = (53 * hash) + getPartialFlagPerResultList().hashCode(); } if (hasMoreResultsInRegion()) { hash = (37 * hash) + MORE_RESULTS_IN_REGION_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getMoreResultsInRegion()); } if (hasHeartbeatMessage()) { hash = (37 * hash) + HEARTBEAT_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getHeartbeatMessage()); } if (hasScanMetrics()) { hash = (37 * hash) + SCAN_METRICS_FIELD_NUMBER; hash = (53 * hash) + getScanMetrics().hashCode(); } if (hasMvccReadPoint()) { hash = (37 * hash) + MVCC_READ_POINT_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMvccReadPoint()); } if (hasCursor()) { hash = (37 * hash) + CURSOR_FIELD_NUMBER; hash = (53 * hash) + getCursor().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.ScanResponse} * *
     **
     * The scan response. If there are no more results, more_results will
     * be false.  If it is not specified, it means there are more.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResultsFieldBuilder(); getScanMetricsFieldBuilder(); getCursorFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); cellsPerResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); scannerId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); moreResults_ = false; bitField0_ = (bitField0_ & ~0x00000004); ttl_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { resultsBuilder_.clear(); } stale_ = false; bitField0_ = (bitField0_ & ~0x00000020); partialFlagPerResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); moreResultsInRegion_ = false; bitField0_ = (bitField0_ & ~0x00000080); heartbeatMessage_ = false; bitField0_ = (bitField0_ & ~0x00000100); if (scanMetricsBuilder_ == null) { scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance(); } else { scanMetricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); mvccReadPoint_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); if (cursorBuilder_ == null) { cursor_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance(); } else { cursorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { cellsPerResult_ = java.util.Collections.unmodifiableList(cellsPerResult_); bitField0_ = (bitField0_ & ~0x00000001); } result.cellsPerResult_ = cellsPerResult_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.scannerId_ = scannerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.moreResults_ = moreResults_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.ttl_ = ttl_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { results_ = java.util.Collections.unmodifiableList(results_); bitField0_ = (bitField0_ & ~0x00000010); } result.results_ = results_; } else { result.results_ = resultsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } result.stale_ = stale_; if (((bitField0_ & 0x00000040) == 0x00000040)) { partialFlagPerResult_ = java.util.Collections.unmodifiableList(partialFlagPerResult_); bitField0_ = (bitField0_ & ~0x00000040); } result.partialFlagPerResult_ = partialFlagPerResult_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000010; } result.moreResultsInRegion_ = moreResultsInRegion_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000020; } result.heartbeatMessage_ = heartbeatMessage_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000040; } if (scanMetricsBuilder_ == null) { result.scanMetrics_ = scanMetrics_; } else { result.scanMetrics_ = scanMetricsBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000080; } result.mvccReadPoint_ = mvccReadPoint_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000100; } if (cursorBuilder_ == null) { result.cursor_ = cursor_; } else { result.cursor_ = cursorBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance()) return this; if (!other.cellsPerResult_.isEmpty()) { if (cellsPerResult_.isEmpty()) { cellsPerResult_ = other.cellsPerResult_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCellsPerResultIsMutable(); cellsPerResult_.addAll(other.cellsPerResult_); } onChanged(); } if (other.hasScannerId()) { setScannerId(other.getScannerId()); } if (other.hasMoreResults()) { setMoreResults(other.getMoreResults()); } if (other.hasTtl()) { setTtl(other.getTtl()); } if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureResultsIsMutable(); results_.addAll(other.results_); } onChanged(); } } else { if (!other.results_.isEmpty()) { if (resultsBuilder_.isEmpty()) { resultsBuilder_.dispose(); resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000010); resultsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } } } if (other.hasStale()) { setStale(other.getStale()); } if (!other.partialFlagPerResult_.isEmpty()) { if (partialFlagPerResult_.isEmpty()) { partialFlagPerResult_ = other.partialFlagPerResult_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensurePartialFlagPerResultIsMutable(); partialFlagPerResult_.addAll(other.partialFlagPerResult_); } onChanged(); } if (other.hasMoreResultsInRegion()) { setMoreResultsInRegion(other.getMoreResultsInRegion()); } if (other.hasHeartbeatMessage()) { setHeartbeatMessage(other.getHeartbeatMessage()); } if (other.hasScanMetrics()) { mergeScanMetrics(other.getScanMetrics()); } if (other.hasMvccReadPoint()) { setMvccReadPoint(other.getMvccReadPoint()); } if (other.hasCursor()) { mergeCursor(other.getCursor()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated uint32 cells_per_result = 1; private java.util.List cellsPerResult_ = java.util.Collections.emptyList(); private void ensureCellsPerResultIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { cellsPerResult_ = new java.util.ArrayList(cellsPerResult_); bitField0_ |= 0x00000001; } } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public java.util.List getCellsPerResultList() { return java.util.Collections.unmodifiableList(cellsPerResult_); } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public int getCellsPerResultCount() { return cellsPerResult_.size(); } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public int getCellsPerResult(int index) { return cellsPerResult_.get(index); } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public Builder setCellsPerResult( int index, int value) { ensureCellsPerResultIsMutable(); cellsPerResult_.set(index, value); onChanged(); return this; } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public Builder addCellsPerResult(int value) { ensureCellsPerResultIsMutable(); cellsPerResult_.add(value); onChanged(); return this; } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public Builder addAllCellsPerResult( java.lang.Iterable values) { ensureCellsPerResultIsMutable(); super.addAll(values, cellsPerResult_); onChanged(); return this; } /** * repeated uint32 cells_per_result = 1; * *
       * This field is filled in if we are doing cellblocks.  A cellblock is made up
       * of all Cells serialized out as one cellblock BUT responses from a server
       * have their Cells grouped by Result.  So we can reconstitute the
       * Results on the client-side, this field is a list of counts of Cells
       * in each Result that makes up the response.  For example, if this field
       * has 3, 3, 3 in it, then we know that on the client, we are to make
       * three Results each of three Cells each.
       * 
*/ public Builder clearCellsPerResult() { cellsPerResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } // optional uint64 scanner_id = 2; private long scannerId_ ; /** * optional uint64 scanner_id = 2; */ public boolean hasScannerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 scanner_id = 2; */ public long getScannerId() { return scannerId_; } /** * optional uint64 scanner_id = 2; */ public Builder setScannerId(long value) { bitField0_ |= 0x00000002; scannerId_ = value; onChanged(); return this; } /** * optional uint64 scanner_id = 2; */ public Builder clearScannerId() { bitField0_ = (bitField0_ & ~0x00000002); scannerId_ = 0L; onChanged(); return this; } // optional bool more_results = 3; private boolean moreResults_ ; /** * optional bool more_results = 3; */ public boolean hasMoreResults() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool more_results = 3; */ public boolean getMoreResults() { return moreResults_; } /** * optional bool more_results = 3; */ public Builder setMoreResults(boolean value) { bitField0_ |= 0x00000004; moreResults_ = value; onChanged(); return this; } /** * optional bool more_results = 3; */ public Builder clearMoreResults() { bitField0_ = (bitField0_ & ~0x00000004); moreResults_ = false; onChanged(); return this; } // optional uint32 ttl = 4; private int ttl_ ; /** * optional uint32 ttl = 4; */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 ttl = 4; */ public int getTtl() { return ttl_; } /** * optional uint32 ttl = 4; */ public Builder setTtl(int value) { bitField0_ |= 0x00000008; ttl_ = value; onChanged(); return this; } /** * optional uint32 ttl = 4; */ public Builder clearTtl() { bitField0_ = (bitField0_ & ~0x00000008); ttl_ = 0; onChanged(); return this; } // repeated .hbase.pb.Result results = 5; private java.util.List results_ = java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultsBuilder_; /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { return resultsBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public int getResultsCount() { if (resultsBuilder_ == null) { return results_.size(); } else { return resultsBuilder_.getCount(); } } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResults(int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder setResults( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.set(index, value); onChanged(); } else { resultsBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder setResults( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder addResults(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(value); onChanged(); } else { resultsBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder addResults( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(index, value); onChanged(); } else { resultsBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder addResults( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder addResults( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); super.addAll(values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { resultsBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public Builder removeResults(int index) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.remove(index); onChanged(); } else { resultsBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder getResultsBuilder( int index) { return getResultsFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public java.util.List getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(results_); } } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()); } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder addResultsBuilder( int index) { return getResultsFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()); } /** * repeated .hbase.pb.Result results = 5; * *
       * If cells are not carried in an accompanying cellblock, then they are pb'd here.
       * This field is mutually exclusive with cells_per_result (since the Cells will
       * be inside the pb'd Result)
       * 
*/ public java.util.List getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( results_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; } // optional bool stale = 6; private boolean stale_ ; /** * optional bool stale = 6; */ public boolean hasStale() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool stale = 6; */ public boolean getStale() { return stale_; } /** * optional bool stale = 6; */ public Builder setStale(boolean value) { bitField0_ |= 0x00000020; stale_ = value; onChanged(); return this; } /** * optional bool stale = 6; */ public Builder clearStale() { bitField0_ = (bitField0_ & ~0x00000020); stale_ = false; onChanged(); return this; } // repeated bool partial_flag_per_result = 7; private java.util.List partialFlagPerResult_ = java.util.Collections.emptyList(); private void ensurePartialFlagPerResultIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { partialFlagPerResult_ = new java.util.ArrayList(partialFlagPerResult_); bitField0_ |= 0x00000040; } } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public java.util.List getPartialFlagPerResultList() { return java.util.Collections.unmodifiableList(partialFlagPerResult_); } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public int getPartialFlagPerResultCount() { return partialFlagPerResult_.size(); } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public boolean getPartialFlagPerResult(int index) { return partialFlagPerResult_.get(index); } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public Builder setPartialFlagPerResult( int index, boolean value) { ensurePartialFlagPerResultIsMutable(); partialFlagPerResult_.set(index, value); onChanged(); return this; } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public Builder addPartialFlagPerResult(boolean value) { ensurePartialFlagPerResultIsMutable(); partialFlagPerResult_.add(value); onChanged(); return this; } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public Builder addAllPartialFlagPerResult( java.lang.Iterable values) { ensurePartialFlagPerResultIsMutable(); super.addAll(values, partialFlagPerResult_); onChanged(); return this; } /** * repeated bool partial_flag_per_result = 7; * *
       * This field is filled in if we are doing cellblocks. In the event that a row
       * could not fit all of its cells into a single RPC chunk, the results will be
       * returned as partials, and reconstructed into a complete result on the client
       * side. This field is a list of flags indicating whether or not the result
       * that the cells belong to is a partial result. For example, if this field
       * has false, false, true in it, then we know that on the client side, we need to
       * make another RPC request since the last result was only a partial.
       * 
*/ public Builder clearPartialFlagPerResult() { partialFlagPerResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } // optional bool more_results_in_region = 8; private boolean moreResultsInRegion_ ; /** * optional bool more_results_in_region = 8; * *
       * A server may choose to limit the number of results returned to the client for
       * reasons such as the size in bytes or quantity of results accumulated. This field
       * will true when more results exist in the current region.
       * 
*/ public boolean hasMoreResultsInRegion() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional bool more_results_in_region = 8; * *
       * A server may choose to limit the number of results returned to the client for
       * reasons such as the size in bytes or quantity of results accumulated. This field
       * will true when more results exist in the current region.
       * 
*/ public boolean getMoreResultsInRegion() { return moreResultsInRegion_; } /** * optional bool more_results_in_region = 8; * *
       * A server may choose to limit the number of results returned to the client for
       * reasons such as the size in bytes or quantity of results accumulated. This field
       * will true when more results exist in the current region.
       * 
*/ public Builder setMoreResultsInRegion(boolean value) { bitField0_ |= 0x00000080; moreResultsInRegion_ = value; onChanged(); return this; } /** * optional bool more_results_in_region = 8; * *
       * A server may choose to limit the number of results returned to the client for
       * reasons such as the size in bytes or quantity of results accumulated. This field
       * will true when more results exist in the current region.
       * 
*/ public Builder clearMoreResultsInRegion() { bitField0_ = (bitField0_ & ~0x00000080); moreResultsInRegion_ = false; onChanged(); return this; } // optional bool heartbeat_message = 9; private boolean heartbeatMessage_ ; /** * optional bool heartbeat_message = 9; * *
       * This field is filled in if the server is sending back a heartbeat message.
       * Heartbeat messages are sent back to the client to prevent the scanner from
       * timing out. Seeing a heartbeat message communicates to the Client that the
       * server would have continued to scan had the time limit not been reached.
       * 
*/ public boolean hasHeartbeatMessage() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional bool heartbeat_message = 9; * *
       * This field is filled in if the server is sending back a heartbeat message.
       * Heartbeat messages are sent back to the client to prevent the scanner from
       * timing out. Seeing a heartbeat message communicates to the Client that the
       * server would have continued to scan had the time limit not been reached.
       * 
*/ public boolean getHeartbeatMessage() { return heartbeatMessage_; } /** * optional bool heartbeat_message = 9; * *
       * This field is filled in if the server is sending back a heartbeat message.
       * Heartbeat messages are sent back to the client to prevent the scanner from
       * timing out. Seeing a heartbeat message communicates to the Client that the
       * server would have continued to scan had the time limit not been reached.
       * 
*/ public Builder setHeartbeatMessage(boolean value) { bitField0_ |= 0x00000100; heartbeatMessage_ = value; onChanged(); return this; } /** * optional bool heartbeat_message = 9; * *
       * This field is filled in if the server is sending back a heartbeat message.
       * Heartbeat messages are sent back to the client to prevent the scanner from
       * timing out. Seeing a heartbeat message communicates to the Client that the
       * server would have continued to scan had the time limit not been reached.
       * 
*/ public Builder clearHeartbeatMessage() { bitField0_ = (bitField0_ & ~0x00000100); heartbeatMessage_ = false; onChanged(); return this; } // optional .hbase.pb.ScanMetrics scan_metrics = 10; private org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder> scanMetricsBuilder_; /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public boolean hasScanMetrics() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics getScanMetrics() { if (scanMetricsBuilder_ == null) { return scanMetrics_; } else { return scanMetricsBuilder_.getMessage(); } } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public Builder setScanMetrics(org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics value) { if (scanMetricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scanMetrics_ = value; onChanged(); } else { scanMetricsBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public Builder setScanMetrics( org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder builderForValue) { if (scanMetricsBuilder_ == null) { scanMetrics_ = builderForValue.build(); onChanged(); } else { scanMetricsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public Builder mergeScanMetrics(org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics value) { if (scanMetricsBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && scanMetrics_ != org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance()) { scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.newBuilder(scanMetrics_).mergeFrom(value).buildPartial(); } else { scanMetrics_ = value; } onChanged(); } else { scanMetricsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public Builder clearScanMetrics() { if (scanMetricsBuilder_ == null) { scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance(); onChanged(); } else { scanMetricsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder getScanMetricsBuilder() { bitField0_ |= 0x00000200; onChanged(); return getScanMetricsFieldBuilder().getBuilder(); } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder getScanMetricsOrBuilder() { if (scanMetricsBuilder_ != null) { return scanMetricsBuilder_.getMessageOrBuilder(); } else { return scanMetrics_; } } /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * *
       * This field is filled in if the client has requested that scan metrics be tracked.
       * The metrics tracked here are sent back to the client to be tracked together with
       * the existing client side metrics.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder> getScanMetricsFieldBuilder() { if (scanMetricsBuilder_ == null) { scanMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder>( scanMetrics_, getParentForChildren(), isClean()); scanMetrics_ = null; } return scanMetricsBuilder_; } // optional uint64 mvcc_read_point = 11 [default = 0]; private long mvccReadPoint_ ; /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
       * The mvcc read point which is used to open the scanner at server side. Client can
       * make use of this mvcc_read_point when restarting a scanner to get a consistent view
       * of a row.
       * 
*/ public boolean hasMvccReadPoint() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
       * The mvcc read point which is used to open the scanner at server side. Client can
       * make use of this mvcc_read_point when restarting a scanner to get a consistent view
       * of a row.
       * 
*/ public long getMvccReadPoint() { return mvccReadPoint_; } /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
       * The mvcc read point which is used to open the scanner at server side. Client can
       * make use of this mvcc_read_point when restarting a scanner to get a consistent view
       * of a row.
       * 
*/ public Builder setMvccReadPoint(long value) { bitField0_ |= 0x00000400; mvccReadPoint_ = value; onChanged(); return this; } /** * optional uint64 mvcc_read_point = 11 [default = 0]; * *
       * The mvcc read point which is used to open the scanner at server side. Client can
       * make use of this mvcc_read_point when restarting a scanner to get a consistent view
       * of a row.
       * 
*/ public Builder clearMvccReadPoint() { bitField0_ = (bitField0_ & ~0x00000400); mvccReadPoint_ = 0L; onChanged(); return this; } // optional .hbase.pb.Cursor cursor = 12; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor cursor_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder> cursorBuilder_; /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public boolean hasCursor() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor getCursor() { if (cursorBuilder_ == null) { return cursor_; } else { return cursorBuilder_.getMessage(); } } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public Builder setCursor(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor value) { if (cursorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cursor_ = value; onChanged(); } else { cursorBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public Builder setCursor( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder builderForValue) { if (cursorBuilder_ == null) { cursor_ = builderForValue.build(); onChanged(); } else { cursorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public Builder mergeCursor(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor value) { if (cursorBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && cursor_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance()) { cursor_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.newBuilder(cursor_).mergeFrom(value).buildPartial(); } else { cursor_ = value; } onChanged(); } else { cursorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public Builder clearCursor() { if (cursorBuilder_ == null) { cursor_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.getDefaultInstance(); onChanged(); } else { cursorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder getCursorBuilder() { bitField0_ |= 0x00000800; onChanged(); return getCursorFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder getCursorOrBuilder() { if (cursorBuilder_ != null) { return cursorBuilder_.getMessageOrBuilder(); } else { return cursor_; } } /** * optional .hbase.pb.Cursor cursor = 12; * *
       * If the Scan need cursor, return the row key we are scanning in heartbeat message.
       * If the Scan doesn't need a cursor, don't set this field to reduce network IO.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder> getCursorFieldBuilder() { if (cursorBuilder_ == null) { cursorBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Cursor.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CursorOrBuilder>( cursor_, getParentForChildren(), isClean()); cursor_ = null; } return cursorBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.ScanResponse) } static { defaultInstance = new ScanResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.ScanResponse) } public interface BulkLoadHFileRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ java.util.List getFamilyPathList(); /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index); /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ int getFamilyPathCount(); /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ java.util.List getFamilyPathOrBuilderList(); /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder( int index); // optional bool assign_seq_num = 3; /** * optional bool assign_seq_num = 3; */ boolean hasAssignSeqNum(); /** * optional bool assign_seq_num = 3; */ boolean getAssignSeqNum(); // optional .hbase.pb.DelegationToken fs_token = 4; /** * optional .hbase.pb.DelegationToken fs_token = 4; */ boolean hasFsToken(); /** * optional .hbase.pb.DelegationToken fs_token = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken getFsToken(); /** * optional .hbase.pb.DelegationToken fs_token = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder getFsTokenOrBuilder(); // optional string bulk_token = 5; /** * optional string bulk_token = 5; */ boolean hasBulkToken(); /** * optional string bulk_token = 5; */ java.lang.String getBulkToken(); /** * optional string bulk_token = 5; */ com.google.protobuf.ByteString getBulkTokenBytes(); // optional bool copy_file = 6 [default = false]; /** * optional bool copy_file = 6 [default = false]; */ boolean hasCopyFile(); /** * optional bool copy_file = 6 [default = false]; */ boolean getCopyFile(); } /** * Protobuf type {@code hbase.pb.BulkLoadHFileRequest} * *
   **
   * Atomically bulk load multiple HFiles (say from different column families)
   * into an open region.
   * 
*/ @javax.annotation.Generated("proto") public static final class BulkLoadHFileRequest extends com.google.protobuf.GeneratedMessage implements BulkLoadHFileRequestOrBuilder { // Use BulkLoadHFileRequest.newBuilder() to construct. private BulkLoadHFileRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkLoadHFileRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkLoadHFileRequest defaultInstance; public static BulkLoadHFileRequest getDefaultInstance() { return defaultInstance; } public BulkLoadHFileRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkLoadHFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { familyPath_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } familyPath_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.PARSER, extensionRegistry)); break; } case 24: { bitField0_ |= 0x00000002; assignSeqNum_ = input.readBool(); break; } case 34: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = fsToken_.toBuilder(); } fsToken_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(fsToken_); fsToken_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 42: { bitField0_ |= 0x00000008; bulkToken_ = input.readBytes(); break; } case 48: { bitField0_ |= 0x00000010; copyFile_ = 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { familyPath_ = java.util.Collections.unmodifiableList(familyPath_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkLoadHFileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkLoadHFileRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface FamilyPathOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes family = 1; /** * required bytes family = 1; */ boolean hasFamily(); /** * required bytes family = 1; */ com.google.protobuf.ByteString getFamily(); // required string path = 2; /** * required string path = 2; */ boolean hasPath(); /** * required string path = 2; */ java.lang.String getPath(); /** * required string path = 2; */ com.google.protobuf.ByteString getPathBytes(); } /** * Protobuf type {@code hbase.pb.BulkLoadHFileRequest.FamilyPath} */ @javax.annotation.Generated("proto") public static final class FamilyPath extends com.google.protobuf.GeneratedMessage implements FamilyPathOrBuilder { // Use FamilyPath.newBuilder() to construct. private FamilyPath(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private FamilyPath(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final FamilyPath defaultInstance; public static FamilyPath getDefaultInstance() { return defaultInstance; } public FamilyPath getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FamilyPath( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; family_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; path_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FamilyPath parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FamilyPath(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } // required string path = 2; public static final int PATH_FIELD_NUMBER = 2; private java.lang.Object path_; /** * required string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; 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()) { path_ = s; } return s; } } /** * required string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { family_ = com.google.protobuf.ByteString.EMPTY; path_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFamily()) { memoizedIsInitialized = 0; return false; } if (!hasPath()) { 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, family_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getPathBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, family_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPathBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath) obj; boolean result = true; result = result && (hasFamily() == other.hasFamily()); if (hasFamily()) { result = result && getFamily() .equals(other.getFamily()); } result = result && (hasPath() == other.hasPath()); if (hasPath()) { result = result && getPath() .equals(other.getPath()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFamily()) { hash = (37 * hash) + FAMILY_FIELD_NUMBER; hash = (53 * hash) + getFamily().hashCode(); } if (hasPath()) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.BulkLoadHFileRequest.FamilyPath} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); family_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); path_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.family_ = family_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.path_ = path_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance()) return this; if (other.hasFamily()) { setFamily(other.getFamily()); } if (other.hasPath()) { bitField0_ |= 0x00000002; path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasFamily()) { return false; } if (!hasPath()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; */ public boolean hasFamily() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes family = 1; */ public com.google.protobuf.ByteString getFamily() { return family_; } /** * required bytes family = 1; */ public Builder setFamily(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; family_ = value; onChanged(); return this; } /** * required bytes family = 1; */ public Builder clearFamily() { bitField0_ = (bitField0_ & ~0x00000001); family_ = getDefaultInstance().getFamily(); onChanged(); return this; } // required string path = 2; private java.lang.Object path_ = ""; /** * required string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string path = 2; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } /** * required string path = 2; */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000002); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * required string path = 2; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.BulkLoadHFileRequest.FamilyPath) } static { defaultInstance = new FamilyPath(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadHFileRequest.FamilyPath) } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; public static final int FAMILY_PATH_FIELD_NUMBER = 2; private java.util.List familyPath_; /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public java.util.List getFamilyPathList() { return familyPath_; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public java.util.List getFamilyPathOrBuilderList() { return familyPath_; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public int getFamilyPathCount() { return familyPath_.size(); } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) { return familyPath_.get(index); } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder( int index) { return familyPath_.get(index); } // optional bool assign_seq_num = 3; public static final int ASSIGN_SEQ_NUM_FIELD_NUMBER = 3; private boolean assignSeqNum_; /** * optional bool assign_seq_num = 3; */ public boolean hasAssignSeqNum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool assign_seq_num = 3; */ public boolean getAssignSeqNum() { return assignSeqNum_; } // optional .hbase.pb.DelegationToken fs_token = 4; public static final int FS_TOKEN_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken fsToken_; /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public boolean hasFsToken() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken getFsToken() { return fsToken_; } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder getFsTokenOrBuilder() { return fsToken_; } // optional string bulk_token = 5; public static final int BULK_TOKEN_FIELD_NUMBER = 5; private java.lang.Object bulkToken_; /** * optional string bulk_token = 5; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string bulk_token = 5; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; 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()) { bulkToken_ = s; } return s; } } /** * optional string bulk_token = 5; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bool copy_file = 6 [default = false]; public static final int COPY_FILE_FIELD_NUMBER = 6; private boolean copyFile_; /** * optional bool copy_file = 6 [default = false]; */ public boolean hasCopyFile() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional bool copy_file = 6 [default = false]; */ public boolean getCopyFile() { return copyFile_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); familyPath_ = java.util.Collections.emptyList(); assignSeqNum_ = false; fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); bulkToken_ = ""; copyFile_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getFamilyPathCount(); i++) { if (!getFamilyPath(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, region_); } for (int i = 0; i < familyPath_.size(); i++) { output.writeMessage(2, familyPath_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, assignSeqNum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(4, fsToken_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(5, getBulkTokenBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(6, copyFile_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } for (int i = 0; i < familyPath_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, familyPath_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, assignSeqNum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, fsToken_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getBulkTokenBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, copyFile_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && getFamilyPathList() .equals(other.getFamilyPathList()); result = result && (hasAssignSeqNum() == other.hasAssignSeqNum()); if (hasAssignSeqNum()) { result = result && (getAssignSeqNum() == other.getAssignSeqNum()); } result = result && (hasFsToken() == other.hasFsToken()); if (hasFsToken()) { result = result && getFsToken() .equals(other.getFsToken()); } result = result && (hasBulkToken() == other.hasBulkToken()); if (hasBulkToken()) { result = result && getBulkToken() .equals(other.getBulkToken()); } result = result && (hasCopyFile() == other.hasCopyFile()); if (hasCopyFile()) { result = result && (getCopyFile() == other.getCopyFile()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (getFamilyPathCount() > 0) { hash = (37 * hash) + FAMILY_PATH_FIELD_NUMBER; hash = (53 * hash) + getFamilyPathList().hashCode(); } if (hasAssignSeqNum()) { hash = (37 * hash) + ASSIGN_SEQ_NUM_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getAssignSeqNum()); } if (hasFsToken()) { hash = (37 * hash) + FS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getFsToken().hashCode(); } if (hasBulkToken()) { hash = (37 * hash) + BULK_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getBulkToken().hashCode(); } if (hasCopyFile()) { hash = (37 * hash) + COPY_FILE_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getCopyFile()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.BulkLoadHFileRequest} * *
     **
     * Atomically bulk load multiple HFiles (say from different column families)
     * into an open region.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getFamilyPathFieldBuilder(); getFsTokenFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (familyPathBuilder_ == null) { familyPath_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { familyPathBuilder_.clear(); } assignSeqNum_ = false; bitField0_ = (bitField0_ & ~0x00000004); if (fsTokenBuilder_ == null) { fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); } else { fsTokenBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); bulkToken_ = ""; bitField0_ = (bitField0_ & ~0x00000010); copyFile_ = false; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (familyPathBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { familyPath_ = java.util.Collections.unmodifiableList(familyPath_); bitField0_ = (bitField0_ & ~0x00000002); } result.familyPath_ = familyPath_; } else { result.familyPath_ = familyPathBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.assignSeqNum_ = assignSeqNum_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } if (fsTokenBuilder_ == null) { result.fsToken_ = fsToken_; } else { result.fsToken_ = fsTokenBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.bulkToken_ = bulkToken_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000010; } result.copyFile_ = copyFile_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (familyPathBuilder_ == null) { if (!other.familyPath_.isEmpty()) { if (familyPath_.isEmpty()) { familyPath_ = other.familyPath_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFamilyPathIsMutable(); familyPath_.addAll(other.familyPath_); } onChanged(); } } else { if (!other.familyPath_.isEmpty()) { if (familyPathBuilder_.isEmpty()) { familyPathBuilder_.dispose(); familyPathBuilder_ = null; familyPath_ = other.familyPath_; bitField0_ = (bitField0_ & ~0x00000002); familyPathBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFamilyPathFieldBuilder() : null; } else { familyPathBuilder_.addAllMessages(other.familyPath_); } } } if (other.hasAssignSeqNum()) { setAssignSeqNum(other.getAssignSeqNum()); } if (other.hasFsToken()) { mergeFsToken(other.getFsToken()); } if (other.hasBulkToken()) { bitField0_ |= 0x00000010; bulkToken_ = other.bulkToken_; onChanged(); } if (other.hasCopyFile()) { setCopyFile(other.getCopyFile()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!getRegion().isInitialized()) { return false; } for (int i = 0; i < getFamilyPathCount(); i++) { if (!getFamilyPath(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; private java.util.List familyPath_ = java.util.Collections.emptyList(); private void ensureFamilyPathIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { familyPath_ = new java.util.ArrayList(familyPath_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder> familyPathBuilder_; /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public java.util.List getFamilyPathList() { if (familyPathBuilder_ == null) { return java.util.Collections.unmodifiableList(familyPath_); } else { return familyPathBuilder_.getMessageList(); } } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public int getFamilyPathCount() { if (familyPathBuilder_ == null) { return familyPath_.size(); } else { return familyPathBuilder_.getCount(); } } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) { if (familyPathBuilder_ == null) { return familyPath_.get(index); } else { return familyPathBuilder_.getMessage(index); } } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder setFamilyPath( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) { if (familyPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFamilyPathIsMutable(); familyPath_.set(index, value); onChanged(); } else { familyPathBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder setFamilyPath( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); familyPath_.set(index, builderForValue.build()); onChanged(); } else { familyPathBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder addFamilyPath(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) { if (familyPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFamilyPathIsMutable(); familyPath_.add(value); onChanged(); } else { familyPathBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder addFamilyPath( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) { if (familyPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFamilyPathIsMutable(); familyPath_.add(index, value); onChanged(); } else { familyPathBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder addFamilyPath( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); familyPath_.add(builderForValue.build()); onChanged(); } else { familyPathBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder addFamilyPath( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); familyPath_.add(index, builderForValue.build()); onChanged(); } else { familyPathBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder addAllFamilyPath( java.lang.Iterable values) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); super.addAll(values, familyPath_); onChanged(); } else { familyPathBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder clearFamilyPath() { if (familyPathBuilder_ == null) { familyPath_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { familyPathBuilder_.clear(); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public Builder removeFamilyPath(int index) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); familyPath_.remove(index); onChanged(); } else { familyPathBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder getFamilyPathBuilder( int index) { return getFamilyPathFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder( int index) { if (familyPathBuilder_ == null) { return familyPath_.get(index); } else { return familyPathBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public java.util.List getFamilyPathOrBuilderList() { if (familyPathBuilder_ != null) { return familyPathBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(familyPath_); } } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder() { return getFamilyPathFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance()); } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder( int index) { return getFamilyPathFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance()); } /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ public java.util.List getFamilyPathBuilderList() { return getFamilyPathFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder> getFamilyPathFieldBuilder() { if (familyPathBuilder_ == null) { familyPathBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>( familyPath_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); familyPath_ = null; } return familyPathBuilder_; } // optional bool assign_seq_num = 3; private boolean assignSeqNum_ ; /** * optional bool assign_seq_num = 3; */ public boolean hasAssignSeqNum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool assign_seq_num = 3; */ public boolean getAssignSeqNum() { return assignSeqNum_; } /** * optional bool assign_seq_num = 3; */ public Builder setAssignSeqNum(boolean value) { bitField0_ |= 0x00000004; assignSeqNum_ = value; onChanged(); return this; } /** * optional bool assign_seq_num = 3; */ public Builder clearAssignSeqNum() { bitField0_ = (bitField0_ & ~0x00000004); assignSeqNum_ = false; onChanged(); return this; } // optional .hbase.pb.DelegationToken fs_token = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder> fsTokenBuilder_; /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public boolean hasFsToken() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken getFsToken() { if (fsTokenBuilder_ == null) { return fsToken_; } else { return fsTokenBuilder_.getMessage(); } } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public Builder setFsToken(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken value) { if (fsTokenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fsToken_ = value; onChanged(); } else { fsTokenBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public Builder setFsToken( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder builderForValue) { if (fsTokenBuilder_ == null) { fsToken_ = builderForValue.build(); onChanged(); } else { fsTokenBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public Builder mergeFsToken(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken value) { if (fsTokenBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && fsToken_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance()) { fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.newBuilder(fsToken_).mergeFrom(value).buildPartial(); } else { fsToken_ = value; } onChanged(); } else { fsTokenBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public Builder clearFsToken() { if (fsTokenBuilder_ == null) { fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); onChanged(); } else { fsTokenBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder getFsTokenBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFsTokenFieldBuilder().getBuilder(); } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder getFsTokenOrBuilder() { if (fsTokenBuilder_ != null) { return fsTokenBuilder_.getMessageOrBuilder(); } else { return fsToken_; } } /** * optional .hbase.pb.DelegationToken fs_token = 4; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder> getFsTokenFieldBuilder() { if (fsTokenBuilder_ == null) { fsTokenBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder>( fsToken_, getParentForChildren(), isClean()); fsToken_ = null; } return fsTokenBuilder_; } // optional string bulk_token = 5; private java.lang.Object bulkToken_ = ""; /** * optional string bulk_token = 5; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string bulk_token = 5; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); bulkToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string bulk_token = 5; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string bulk_token = 5; */ public Builder setBulkToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; bulkToken_ = value; onChanged(); return this; } /** * optional string bulk_token = 5; */ public Builder clearBulkToken() { bitField0_ = (bitField0_ & ~0x00000010); bulkToken_ = getDefaultInstance().getBulkToken(); onChanged(); return this; } /** * optional string bulk_token = 5; */ public Builder setBulkTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; bulkToken_ = value; onChanged(); return this; } // optional bool copy_file = 6 [default = false]; private boolean copyFile_ ; /** * optional bool copy_file = 6 [default = false]; */ public boolean hasCopyFile() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool copy_file = 6 [default = false]; */ public boolean getCopyFile() { return copyFile_; } /** * optional bool copy_file = 6 [default = false]; */ public Builder setCopyFile(boolean value) { bitField0_ |= 0x00000020; copyFile_ = value; onChanged(); return this; } /** * optional bool copy_file = 6 [default = false]; */ public Builder clearCopyFile() { bitField0_ = (bitField0_ & ~0x00000020); copyFile_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.BulkLoadHFileRequest) } static { defaultInstance = new BulkLoadHFileRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadHFileRequest) } public interface BulkLoadHFileResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bool loaded = 1; /** * required bool loaded = 1; */ boolean hasLoaded(); /** * required bool loaded = 1; */ boolean getLoaded(); } /** * Protobuf type {@code hbase.pb.BulkLoadHFileResponse} */ @javax.annotation.Generated("proto") public static final class BulkLoadHFileResponse extends com.google.protobuf.GeneratedMessage implements BulkLoadHFileResponseOrBuilder { // Use BulkLoadHFileResponse.newBuilder() to construct. private BulkLoadHFileResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkLoadHFileResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkLoadHFileResponse defaultInstance; public static BulkLoadHFileResponse getDefaultInstance() { return defaultInstance; } public BulkLoadHFileResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkLoadHFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; loaded_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkLoadHFileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkLoadHFileResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bool loaded = 1; public static final int LOADED_FIELD_NUMBER = 1; private boolean loaded_; /** * required bool loaded = 1; */ public boolean hasLoaded() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bool loaded = 1; */ public boolean getLoaded() { return loaded_; } private void initFields() { loaded_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasLoaded()) { 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.writeBool(1, loaded_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, loaded_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse) obj; boolean result = true; result = result && (hasLoaded() == other.hasLoaded()); if (hasLoaded()) { result = result && (getLoaded() == other.getLoaded()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLoaded()) { hash = (37 * hash) + LOADED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getLoaded()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.BulkLoadHFileResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); loaded_ = false; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.loaded_ = loaded_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance()) return this; if (other.hasLoaded()) { setLoaded(other.getLoaded()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasLoaded()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bool loaded = 1; private boolean loaded_ ; /** * required bool loaded = 1; */ public boolean hasLoaded() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bool loaded = 1; */ public boolean getLoaded() { return loaded_; } /** * required bool loaded = 1; */ public Builder setLoaded(boolean value) { bitField0_ |= 0x00000001; loaded_ = value; onChanged(); return this; } /** * required bool loaded = 1; */ public Builder clearLoaded() { bitField0_ = (bitField0_ & ~0x00000001); loaded_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.BulkLoadHFileResponse) } static { defaultInstance = new BulkLoadHFileResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadHFileResponse) } public interface DelegationTokenOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes identifier = 1; /** * optional bytes identifier = 1; */ boolean hasIdentifier(); /** * optional bytes identifier = 1; */ com.google.protobuf.ByteString getIdentifier(); // optional bytes password = 2; /** * optional bytes password = 2; */ boolean hasPassword(); /** * optional bytes password = 2; */ com.google.protobuf.ByteString getPassword(); // optional string kind = 3; /** * optional string kind = 3; */ boolean hasKind(); /** * optional string kind = 3; */ java.lang.String getKind(); /** * optional string kind = 3; */ com.google.protobuf.ByteString getKindBytes(); // optional string service = 4; /** * optional string service = 4; */ boolean hasService(); /** * optional string service = 4; */ java.lang.String getService(); /** * optional string service = 4; */ com.google.protobuf.ByteString getServiceBytes(); } /** * Protobuf type {@code hbase.pb.DelegationToken} */ @javax.annotation.Generated("proto") public static final class DelegationToken extends com.google.protobuf.GeneratedMessage implements DelegationTokenOrBuilder { // Use DelegationToken.newBuilder() to construct. private DelegationToken(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DelegationToken(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DelegationToken defaultInstance; public static DelegationToken getDefaultInstance() { return defaultInstance; } public DelegationToken getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelegationToken( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; identifier_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; password_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; kind_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; service_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DelegationToken parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelegationToken(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes identifier = 1; public static final int IDENTIFIER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString identifier_; /** * optional bytes identifier = 1; */ public boolean hasIdentifier() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes identifier = 1; */ public com.google.protobuf.ByteString getIdentifier() { return identifier_; } // optional bytes password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private com.google.protobuf.ByteString password_; /** * optional bytes password = 2; */ public boolean hasPassword() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes password = 2; */ public com.google.protobuf.ByteString getPassword() { return password_; } // optional string kind = 3; public static final int KIND_FIELD_NUMBER = 3; private java.lang.Object kind_; /** * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; 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()) { kind_ = s; } return s; } } /** * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string service = 4; public static final int SERVICE_FIELD_NUMBER = 4; private java.lang.Object service_; /** * optional string service = 4; */ public boolean hasService() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string service = 4; */ public java.lang.String getService() { java.lang.Object ref = service_; 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()) { service_ = s; } return s; } } /** * optional string service = 4; */ public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { identifier_ = com.google.protobuf.ByteString.EMPTY; password_ = com.google.protobuf.ByteString.EMPTY; kind_ = ""; service_ = ""; } 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, identifier_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, password_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getKindBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getServiceBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, identifier_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, password_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getKindBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getServiceBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken) obj; boolean result = true; result = result && (hasIdentifier() == other.hasIdentifier()); if (hasIdentifier()) { result = result && getIdentifier() .equals(other.getIdentifier()); } result = result && (hasPassword() == other.hasPassword()); if (hasPassword()) { result = result && getPassword() .equals(other.getPassword()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind() .equals(other.getKind()); } result = result && (hasService() == other.hasService()); if (hasService()) { result = result && getService() .equals(other.getService()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasPassword()) { hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } if (hasService()) { hash = (37 * hash) + SERVICE_FIELD_NUMBER; hash = (53 * hash) + getService().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.DelegationToken} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); identifier_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); password_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000004); service_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.identifier_ = identifier_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.password_ = password_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.service_ = service_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance()) return this; if (other.hasIdentifier()) { setIdentifier(other.getIdentifier()); } if (other.hasPassword()) { setPassword(other.getPassword()); } if (other.hasKind()) { bitField0_ |= 0x00000004; kind_ = other.kind_; onChanged(); } if (other.hasService()) { bitField0_ |= 0x00000008; service_ = other.service_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes identifier = 1; private com.google.protobuf.ByteString identifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes identifier = 1; */ public boolean hasIdentifier() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes identifier = 1; */ public com.google.protobuf.ByteString getIdentifier() { return identifier_; } /** * optional bytes identifier = 1; */ public Builder setIdentifier(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; identifier_ = value; onChanged(); return this; } /** * optional bytes identifier = 1; */ public Builder clearIdentifier() { bitField0_ = (bitField0_ & ~0x00000001); identifier_ = getDefaultInstance().getIdentifier(); onChanged(); return this; } // optional bytes password = 2; private com.google.protobuf.ByteString password_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes password = 2; */ public boolean hasPassword() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes password = 2; */ public com.google.protobuf.ByteString getPassword() { return password_; } /** * optional bytes password = 2; */ public Builder setPassword(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; password_ = value; onChanged(); return this; } /** * optional bytes password = 2; */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); password_ = getDefaultInstance().getPassword(); onChanged(); return this; } // optional string kind = 3; private java.lang.Object kind_ = ""; /** * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); kind_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string kind = 3; */ public Builder setKind( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } /** * optional string kind = 3; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000004); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** * optional string kind = 3; */ public Builder setKindBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } // optional string service = 4; private java.lang.Object service_ = ""; /** * optional string service = 4; */ public boolean hasService() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string service = 4; */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); service_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string service = 4; */ public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string service = 4; */ public Builder setService( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; service_ = value; onChanged(); return this; } /** * optional string service = 4; */ public Builder clearService() { bitField0_ = (bitField0_ & ~0x00000008); service_ = getDefaultInstance().getService(); onChanged(); return this; } /** * optional string service = 4; */ public Builder setServiceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; service_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.DelegationToken) } static { defaultInstance = new DelegationToken(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.DelegationToken) } public interface PrepareBulkLoadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.TableName table_name = 1; /** * required .hbase.pb.TableName table_name = 1; */ boolean hasTableName(); /** * required .hbase.pb.TableName table_name = 1; */ org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName getTableName(); /** * required .hbase.pb.TableName table_name = 1; */ org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder getTableNameOrBuilder(); // optional .hbase.pb.RegionSpecifier region = 2; /** * optional .hbase.pb.RegionSpecifier region = 2; */ boolean hasRegion(); /** * optional .hbase.pb.RegionSpecifier region = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * optional .hbase.pb.RegionSpecifier region = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); } /** * Protobuf type {@code hbase.pb.PrepareBulkLoadRequest} */ @javax.annotation.Generated("proto") public static final class PrepareBulkLoadRequest extends com.google.protobuf.GeneratedMessage implements PrepareBulkLoadRequestOrBuilder { // Use PrepareBulkLoadRequest.newBuilder() to construct. private PrepareBulkLoadRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PrepareBulkLoadRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final PrepareBulkLoadRequest defaultInstance; public static PrepareBulkLoadRequest getDefaultInstance() { return defaultInstance; } public PrepareBulkLoadRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrepareBulkLoadRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = tableName_.toBuilder(); } tableName_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableName_); tableName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PrepareBulkLoadRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PrepareBulkLoadRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName tableName_; /** * required .hbase.pb.TableName table_name = 1; */ public boolean hasTableName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.TableName table_name = 1; */ public org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName getTableName() { return tableName_; } /** * required .hbase.pb.TableName table_name = 1; */ public org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder getTableNameOrBuilder() { return tableName_; } // optional .hbase.pb.RegionSpecifier region = 2; public static final int REGION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * optional .hbase.pb.RegionSpecifier region = 2; */ public boolean hasRegion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } private void initFields() { tableName_ = org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.getDefaultInstance(); region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasTableName()) { memoizedIsInitialized = 0; return false; } if (!getTableName().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasRegion()) { if (!getRegion().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_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, region_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tableName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, region_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest) obj; boolean result = true; result = result && (hasTableName() == other.hasTableName()); if (hasTableName()) { result = result && getTableName() .equals(other.getTableName()); } result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.PrepareBulkLoadRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTableNameFieldBuilder(); getRegionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (tableNameBuilder_ == null) { tableName_ = org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.getDefaultInstance(); } else { tableNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (tableNameBuilder_ == null) { result.tableName_ = tableName_; } else { result.tableName_ = tableNameBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.getDefaultInstance()) return this; if (other.hasTableName()) { mergeTableName(other.getTableName()); } if (other.hasRegion()) { mergeRegion(other.getRegion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasTableName()) { return false; } if (!getTableName().isInitialized()) { return false; } if (hasRegion()) { if (!getRegion().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder> tableNameBuilder_; /** * required .hbase.pb.TableName table_name = 1; */ public boolean hasTableName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.TableName table_name = 1; */ public org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName getTableName() { if (tableNameBuilder_ == null) { return tableName_; } else { return tableNameBuilder_.getMessage(); } } /** * required .hbase.pb.TableName table_name = 1; */ public Builder setTableName(org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName value) { if (tableNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableName_ = value; onChanged(); } else { tableNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.TableName table_name = 1; */ public Builder setTableName( org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder builderForValue) { if (tableNameBuilder_ == null) { tableName_ = builderForValue.build(); onChanged(); } else { tableNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.TableName table_name = 1; */ public Builder mergeTableName(org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName value) { if (tableNameBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && tableName_ != org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.getDefaultInstance()) { tableName_ = org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.newBuilder(tableName_).mergeFrom(value).buildPartial(); } else { tableName_ = value; } onChanged(); } else { tableNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.TableName table_name = 1; */ public Builder clearTableName() { if (tableNameBuilder_ == null) { tableName_ = org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.getDefaultInstance(); onChanged(); } else { tableNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.TableName table_name = 1; */ public org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder getTableNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTableNameFieldBuilder().getBuilder(); } /** * required .hbase.pb.TableName table_name = 1; */ public org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder getTableNameOrBuilder() { if (tableNameBuilder_ != null) { return tableNameBuilder_.getMessageOrBuilder(); } else { return tableName_; } } /** * required .hbase.pb.TableName table_name = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder> getTableNameFieldBuilder() { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.TableProtos.TableNameOrBuilder>( tableName_, getParentForChildren(), isClean()); tableName_ = null; } return tableNameBuilder_; } // optional .hbase.pb.RegionSpecifier region = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * optional .hbase.pb.RegionSpecifier region = 2; */ public boolean hasRegion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * optional .hbase.pb.RegionSpecifier region = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.PrepareBulkLoadRequest) } static { defaultInstance = new PrepareBulkLoadRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.PrepareBulkLoadRequest) } public interface PrepareBulkLoadResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string bulk_token = 1; /** * required string bulk_token = 1; */ boolean hasBulkToken(); /** * required string bulk_token = 1; */ java.lang.String getBulkToken(); /** * required string bulk_token = 1; */ com.google.protobuf.ByteString getBulkTokenBytes(); } /** * Protobuf type {@code hbase.pb.PrepareBulkLoadResponse} */ @javax.annotation.Generated("proto") public static final class PrepareBulkLoadResponse extends com.google.protobuf.GeneratedMessage implements PrepareBulkLoadResponseOrBuilder { // Use PrepareBulkLoadResponse.newBuilder() to construct. private PrepareBulkLoadResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PrepareBulkLoadResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final PrepareBulkLoadResponse defaultInstance; public static PrepareBulkLoadResponse getDefaultInstance() { return defaultInstance; } public PrepareBulkLoadResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrepareBulkLoadResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; bulkToken_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public PrepareBulkLoadResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PrepareBulkLoadResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required string bulk_token = 1; public static final int BULK_TOKEN_FIELD_NUMBER = 1; private java.lang.Object bulkToken_; /** * required string bulk_token = 1; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string bulk_token = 1; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; 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()) { bulkToken_ = s; } return s; } } /** * required string bulk_token = 1; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { bulkToken_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasBulkToken()) { 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, getBulkTokenBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getBulkTokenBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse) obj; boolean result = true; result = result && (hasBulkToken() == other.hasBulkToken()); if (hasBulkToken()) { result = result && getBulkToken() .equals(other.getBulkToken()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasBulkToken()) { hash = (37 * hash) + BULK_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getBulkToken().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.PrepareBulkLoadResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); bulkToken_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.bulkToken_ = bulkToken_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance()) return this; if (other.hasBulkToken()) { bitField0_ |= 0x00000001; bulkToken_ = other.bulkToken_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasBulkToken()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string bulk_token = 1; private java.lang.Object bulkToken_ = ""; /** * required string bulk_token = 1; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string bulk_token = 1; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); bulkToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string bulk_token = 1; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string bulk_token = 1; */ public Builder setBulkToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; bulkToken_ = value; onChanged(); return this; } /** * required string bulk_token = 1; */ public Builder clearBulkToken() { bitField0_ = (bitField0_ & ~0x00000001); bulkToken_ = getDefaultInstance().getBulkToken(); onChanged(); return this; } /** * required string bulk_token = 1; */ public Builder setBulkTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; bulkToken_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.PrepareBulkLoadResponse) } static { defaultInstance = new PrepareBulkLoadResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.PrepareBulkLoadResponse) } public interface CleanupBulkLoadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required string bulk_token = 1; /** * required string bulk_token = 1; */ boolean hasBulkToken(); /** * required string bulk_token = 1; */ java.lang.String getBulkToken(); /** * required string bulk_token = 1; */ com.google.protobuf.ByteString getBulkTokenBytes(); // optional .hbase.pb.RegionSpecifier region = 2; /** * optional .hbase.pb.RegionSpecifier region = 2; */ boolean hasRegion(); /** * optional .hbase.pb.RegionSpecifier region = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * optional .hbase.pb.RegionSpecifier region = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); } /** * Protobuf type {@code hbase.pb.CleanupBulkLoadRequest} */ @javax.annotation.Generated("proto") public static final class CleanupBulkLoadRequest extends com.google.protobuf.GeneratedMessage implements CleanupBulkLoadRequestOrBuilder { // Use CleanupBulkLoadRequest.newBuilder() to construct. private CleanupBulkLoadRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CleanupBulkLoadRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CleanupBulkLoadRequest defaultInstance; public static CleanupBulkLoadRequest getDefaultInstance() { return defaultInstance; } public CleanupBulkLoadRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CleanupBulkLoadRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; bulkToken_ = input.readBytes(); break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CleanupBulkLoadRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CleanupBulkLoadRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required string bulk_token = 1; public static final int BULK_TOKEN_FIELD_NUMBER = 1; private java.lang.Object bulkToken_; /** * required string bulk_token = 1; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string bulk_token = 1; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; 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()) { bulkToken_ = s; } return s; } } /** * required string bulk_token = 1; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional .hbase.pb.RegionSpecifier region = 2; public static final int REGION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * optional .hbase.pb.RegionSpecifier region = 2; */ public boolean hasRegion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } private void initFields() { bulkToken_ = ""; region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasBulkToken()) { memoizedIsInitialized = 0; return false; } if (hasRegion()) { if (!getRegion().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, getBulkTokenBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, region_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getBulkTokenBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, region_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest) obj; boolean result = true; result = result && (hasBulkToken() == other.hasBulkToken()); if (hasBulkToken()) { result = result && getBulkToken() .equals(other.getBulkToken()); } result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasBulkToken()) { hash = (37 * hash) + BULK_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getBulkToken().hashCode(); } if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CleanupBulkLoadRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); bulkToken_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.bulkToken_ = bulkToken_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.getDefaultInstance()) return this; if (other.hasBulkToken()) { bitField0_ |= 0x00000001; bulkToken_ = other.bulkToken_; onChanged(); } if (other.hasRegion()) { mergeRegion(other.getRegion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasBulkToken()) { return false; } if (hasRegion()) { if (!getRegion().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required string bulk_token = 1; private java.lang.Object bulkToken_ = ""; /** * required string bulk_token = 1; */ public boolean hasBulkToken() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string bulk_token = 1; */ public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); bulkToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string bulk_token = 1; */ public com.google.protobuf.ByteString getBulkTokenBytes() { java.lang.Object ref = bulkToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bulkToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string bulk_token = 1; */ public Builder setBulkToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; bulkToken_ = value; onChanged(); return this; } /** * required string bulk_token = 1; */ public Builder clearBulkToken() { bitField0_ = (bitField0_ & ~0x00000001); bulkToken_ = getDefaultInstance().getBulkToken(); onChanged(); return this; } /** * required string bulk_token = 1; */ public Builder setBulkTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; bulkToken_ = value; onChanged(); return this; } // optional .hbase.pb.RegionSpecifier region = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * optional .hbase.pb.RegionSpecifier region = 2; */ public boolean hasRegion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.RegionSpecifier region = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * optional .hbase.pb.RegionSpecifier region = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.CleanupBulkLoadRequest) } static { defaultInstance = new CleanupBulkLoadRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CleanupBulkLoadRequest) } public interface CleanupBulkLoadResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.CleanupBulkLoadResponse} */ @javax.annotation.Generated("proto") public static final class CleanupBulkLoadResponse extends com.google.protobuf.GeneratedMessage implements CleanupBulkLoadResponseOrBuilder { // Use CleanupBulkLoadResponse.newBuilder() to construct. private CleanupBulkLoadResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CleanupBulkLoadResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CleanupBulkLoadResponse defaultInstance; public static CleanupBulkLoadResponse getDefaultInstance() { return defaultInstance; } public CleanupBulkLoadResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CleanupBulkLoadResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CleanupBulkLoadResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CleanupBulkLoadResponse(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(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse) obj; boolean result = true; result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CleanupBulkLoadResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.CleanupBulkLoadResponse) } static { defaultInstance = new CleanupBulkLoadResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CleanupBulkLoadResponse) } public interface CoprocessorServiceCallOrBuilder extends com.google.protobuf.MessageOrBuilder { // required bytes row = 1; /** * required bytes row = 1; */ boolean hasRow(); /** * required bytes row = 1; */ com.google.protobuf.ByteString getRow(); // required string service_name = 2; /** * required string service_name = 2; */ boolean hasServiceName(); /** * required string service_name = 2; */ java.lang.String getServiceName(); /** * required string service_name = 2; */ com.google.protobuf.ByteString getServiceNameBytes(); // required string method_name = 3; /** * required string method_name = 3; */ boolean hasMethodName(); /** * required string method_name = 3; */ java.lang.String getMethodName(); /** * required string method_name = 3; */ com.google.protobuf.ByteString getMethodNameBytes(); // required bytes request = 4; /** * required bytes request = 4; */ boolean hasRequest(); /** * required bytes request = 4; */ com.google.protobuf.ByteString getRequest(); } /** * Protobuf type {@code hbase.pb.CoprocessorServiceCall} */ @javax.annotation.Generated("proto") public static final class CoprocessorServiceCall extends com.google.protobuf.GeneratedMessage implements CoprocessorServiceCallOrBuilder { // Use CoprocessorServiceCall.newBuilder() to construct. private CoprocessorServiceCall(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CoprocessorServiceCall(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CoprocessorServiceCall defaultInstance; public static CoprocessorServiceCall getDefaultInstance() { return defaultInstance; } public CoprocessorServiceCall getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CoprocessorServiceCall( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; row_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; serviceName_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; methodName_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; request_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CoprocessorServiceCall parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CoprocessorServiceCall(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } // required string service_name = 2; public static final int SERVICE_NAME_FIELD_NUMBER = 2; private java.lang.Object serviceName_; /** * required string service_name = 2; */ public boolean hasServiceName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string service_name = 2; */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; 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()) { serviceName_ = s; } return s; } } /** * required string service_name = 2; */ public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required string method_name = 3; public static final int METHOD_NAME_FIELD_NUMBER = 3; private java.lang.Object methodName_; /** * required string method_name = 3; */ public boolean hasMethodName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string method_name = 3; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; 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()) { methodName_ = s; } return s; } } /** * required string method_name = 3; */ public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // required bytes request = 4; public static final int REQUEST_FIELD_NUMBER = 4; private com.google.protobuf.ByteString request_; /** * required bytes request = 4; */ public boolean hasRequest() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required bytes request = 4; */ public com.google.protobuf.ByteString getRequest() { return request_; } private void initFields() { row_ = com.google.protobuf.ByteString.EMPTY; serviceName_ = ""; methodName_ = ""; request_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRow()) { memoizedIsInitialized = 0; return false; } if (!hasServiceName()) { memoizedIsInitialized = 0; return false; } if (!hasMethodName()) { memoizedIsInitialized = 0; return false; } if (!hasRequest()) { 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, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getServiceNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getMethodNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, request_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, row_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getServiceNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMethodNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, request_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall) obj; boolean result = true; result = result && (hasRow() == other.hasRow()); if (hasRow()) { result = result && getRow() .equals(other.getRow()); } result = result && (hasServiceName() == other.hasServiceName()); if (hasServiceName()) { result = result && getServiceName() .equals(other.getServiceName()); } result = result && (hasMethodName() == other.hasMethodName()); if (hasMethodName()) { result = result && getMethodName() .equals(other.getMethodName()); } result = result && (hasRequest() == other.hasRequest()); if (hasRequest()) { result = result && getRequest() .equals(other.getRequest()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRow()) { hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); } if (hasServiceName()) { hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER; hash = (53 * hash) + getServiceName().hashCode(); } if (hasMethodName()) { hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); } if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CoprocessorServiceCall} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); row_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); serviceName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); methodName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); request_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.row_ = row_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.serviceName_ = serviceName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.methodName_ = methodName_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.request_ = request_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance()) return this; if (other.hasRow()) { setRow(other.getRow()); } if (other.hasServiceName()) { bitField0_ |= 0x00000002; serviceName_ = other.serviceName_; onChanged(); } if (other.hasMethodName()) { bitField0_ |= 0x00000004; methodName_ = other.methodName_; onChanged(); } if (other.hasRequest()) { setRequest(other.getRequest()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRow()) { return false; } if (!hasServiceName()) { return false; } if (!hasMethodName()) { return false; } if (!hasRequest()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; */ public boolean hasRow() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required bytes row = 1; */ public com.google.protobuf.ByteString getRow() { return row_; } /** * required bytes row = 1; */ public Builder setRow(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; row_ = value; onChanged(); return this; } /** * required bytes row = 1; */ public Builder clearRow() { bitField0_ = (bitField0_ & ~0x00000001); row_ = getDefaultInstance().getRow(); onChanged(); return this; } // required string service_name = 2; private java.lang.Object serviceName_ = ""; /** * required string service_name = 2; */ public boolean hasServiceName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string service_name = 2; */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); serviceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string service_name = 2; */ public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string service_name = 2; */ public Builder setServiceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serviceName_ = value; onChanged(); return this; } /** * required string service_name = 2; */ public Builder clearServiceName() { bitField0_ = (bitField0_ & ~0x00000002); serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** * required string service_name = 2; */ public Builder setServiceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serviceName_ = value; onChanged(); return this; } // required string method_name = 3; private java.lang.Object methodName_ = ""; /** * required string method_name = 3; */ public boolean hasMethodName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string method_name = 3; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); methodName_ = s; return s; } else { return (java.lang.String) ref; } } /** * required string method_name = 3; */ public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string method_name = 3; */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; methodName_ = value; onChanged(); return this; } /** * required string method_name = 3; */ public Builder clearMethodName() { bitField0_ = (bitField0_ & ~0x00000004); methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * required string method_name = 3; */ public Builder setMethodNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; methodName_ = value; onChanged(); return this; } // required bytes request = 4; private com.google.protobuf.ByteString request_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes request = 4; */ public boolean hasRequest() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required bytes request = 4; */ public com.google.protobuf.ByteString getRequest() { return request_; } /** * required bytes request = 4; */ public Builder setRequest(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; request_ = value; onChanged(); return this; } /** * required bytes request = 4; */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000008); request_ = getDefaultInstance().getRequest(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.CoprocessorServiceCall) } static { defaultInstance = new CoprocessorServiceCall(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceCall) } public interface CoprocessorServiceResultOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional .hbase.pb.NameBytesPair value = 1; /** * optional .hbase.pb.NameBytesPair value = 1; */ boolean hasValue(); /** * optional .hbase.pb.NameBytesPair value = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue(); /** * optional .hbase.pb.NameBytesPair value = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code hbase.pb.CoprocessorServiceResult} */ @javax.annotation.Generated("proto") public static final class CoprocessorServiceResult extends com.google.protobuf.GeneratedMessage implements CoprocessorServiceResultOrBuilder { // Use CoprocessorServiceResult.newBuilder() to construct. private CoprocessorServiceResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CoprocessorServiceResult(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CoprocessorServiceResult defaultInstance; public static CoprocessorServiceResult getDefaultInstance() { return defaultInstance; } public CoprocessorServiceResult getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CoprocessorServiceResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CoprocessorServiceResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CoprocessorServiceResult(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .hbase.pb.NameBytesPair value = 1; public static final int VALUE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_; /** * optional .hbase.pb.NameBytesPair value = 1; */ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.NameBytesPair value = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue() { return value_; } /** * optional .hbase.pb.NameBytesPair value = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder() { return value_; } private void initFields() { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasValue()) { if (!getValue().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, value_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, value_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult) obj; boolean result = true; result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CoprocessorServiceResult} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (valueBuilder_ == null) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance()) return this; if (other.hasValue()) { mergeValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasValue()) { if (!getValue().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .hbase.pb.NameBytesPair value = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> valueBuilder_; /** * optional .hbase.pb.NameBytesPair value = 1; */ public boolean hasValue() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.NameBytesPair value = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue() { if (valueBuilder_ == null) { return value_; } else { return valueBuilder_.getMessage(); } } /** * optional .hbase.pb.NameBytesPair value = 1; */ public Builder setValue(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.NameBytesPair value = 1; */ public Builder setValue( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.NameBytesPair value = 1; */ public Builder mergeValue(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && value_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .hbase.pb.NameBytesPair value = 1; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); onChanged(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .hbase.pb.NameBytesPair value = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * optional .hbase.pb.NameBytesPair value = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_; } } /** * optional .hbase.pb.NameBytesPair value = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( value_, getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.CoprocessorServiceResult) } static { defaultInstance = new CoprocessorServiceResult(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceResult) } public interface CoprocessorServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // required .hbase.pb.CoprocessorServiceCall call = 2; /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ boolean hasCall(); /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getCall(); /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getCallOrBuilder(); } /** * Protobuf type {@code hbase.pb.CoprocessorServiceRequest} */ @javax.annotation.Generated("proto") public static final class CoprocessorServiceRequest extends com.google.protobuf.GeneratedMessage implements CoprocessorServiceRequestOrBuilder { // Use CoprocessorServiceRequest.newBuilder() to construct. private CoprocessorServiceRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CoprocessorServiceRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CoprocessorServiceRequest defaultInstance; public static CoprocessorServiceRequest getDefaultInstance() { return defaultInstance; } public CoprocessorServiceRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CoprocessorServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = call_.toBuilder(); } call_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(call_); call_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CoprocessorServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CoprocessorServiceRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // required .hbase.pb.CoprocessorServiceCall call = 2; public static final int CALL_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall call_; /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public boolean hasCall() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getCall() { return call_; } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getCallOrBuilder() { return call_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!hasCall()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getCall().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, call_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, call_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasCall() == other.hasCall()); if (hasCall()) { result = result && getCall() .equals(other.getCall()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasCall()) { hash = (37 * hash) + CALL_FIELD_NUMBER; hash = (53 * hash) + getCall().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CoprocessorServiceRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getCallFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (callBuilder_ == null) { call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); } else { callBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (callBuilder_ == null) { result.call_ = call_; } else { result.call_ = callBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasCall()) { mergeCall(other.getCall()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!hasCall()) { return false; } if (!getRegion().isInitialized()) { return false; } if (!getCall().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // required .hbase.pb.CoprocessorServiceCall call = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> callBuilder_; /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public boolean hasCall() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getCall() { if (callBuilder_ == null) { return call_; } else { return callBuilder_.getMessage(); } } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public Builder setCall(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall value) { if (callBuilder_ == null) { if (value == null) { throw new NullPointerException(); } call_ = value; onChanged(); } else { callBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public Builder setCall( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder builderForValue) { if (callBuilder_ == null) { call_ = builderForValue.build(); onChanged(); } else { callBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public Builder mergeCall(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall value) { if (callBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && call_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance()) { call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.newBuilder(call_).mergeFrom(value).buildPartial(); } else { call_ = value; } onChanged(); } else { callBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public Builder clearCall() { if (callBuilder_ == null) { call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); onChanged(); } else { callBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder getCallBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCallFieldBuilder().getBuilder(); } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getCallOrBuilder() { if (callBuilder_ != null) { return callBuilder_.getMessageOrBuilder(); } else { return call_; } } /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> getCallFieldBuilder() { if (callBuilder_ == null) { callBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder>( call_, getParentForChildren(), isClean()); call_ = null; } return callBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.CoprocessorServiceRequest) } static { defaultInstance = new CoprocessorServiceRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceRequest) } public interface CoprocessorServiceResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // required .hbase.pb.NameBytesPair value = 2; /** * required .hbase.pb.NameBytesPair value = 2; */ boolean hasValue(); /** * required .hbase.pb.NameBytesPair value = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue(); /** * required .hbase.pb.NameBytesPair value = 2; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code hbase.pb.CoprocessorServiceResponse} */ @javax.annotation.Generated("proto") public static final class CoprocessorServiceResponse extends com.google.protobuf.GeneratedMessage implements CoprocessorServiceResponseOrBuilder { // Use CoprocessorServiceResponse.newBuilder() to construct. private CoprocessorServiceResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CoprocessorServiceResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CoprocessorServiceResponse defaultInstance; public static CoprocessorServiceResponse getDefaultInstance() { return defaultInstance; } public CoprocessorServiceResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CoprocessorServiceResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CoprocessorServiceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CoprocessorServiceResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // required .hbase.pb.NameBytesPair value = 2; public static final int VALUE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_; /** * required .hbase.pb.NameBytesPair value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.NameBytesPair value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue() { return value_; } /** * required .hbase.pb.NameBytesPair value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder() { return value_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getValue().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, value_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, value_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CoprocessorServiceResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (valueBuilder_ == null) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasValue()) { mergeValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!hasValue()) { return false; } if (!getRegion().isInitialized()) { return false; } if (!getValue().isInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // required .hbase.pb.NameBytesPair value = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> valueBuilder_; /** * required .hbase.pb.NameBytesPair value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .hbase.pb.NameBytesPair value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getValue() { if (valueBuilder_ == null) { return value_; } else { return valueBuilder_.getMessage(); } } /** * required .hbase.pb.NameBytesPair value = 2; */ public Builder setValue(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.NameBytesPair value = 2; */ public Builder setValue( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.NameBytesPair value = 2; */ public Builder mergeValue(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && value_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * required .hbase.pb.NameBytesPair value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); onChanged(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * required .hbase.pb.NameBytesPair value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * required .hbase.pb.NameBytesPair value = 2; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_; } } /** * required .hbase.pb.NameBytesPair value = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( value_, getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.CoprocessorServiceResponse) } static { defaultInstance = new CoprocessorServiceResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceResponse) } public interface ActionOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional uint32 index = 1; /** * optional uint32 index = 1; * *
     * If part of a multi action, useful aligning
     * result with what was originally submitted.
     * 
*/ boolean hasIndex(); /** * optional uint32 index = 1; * *
     * If part of a multi action, useful aligning
     * result with what was originally submitted.
     * 
*/ int getIndex(); // optional .hbase.pb.MutationProto mutation = 2; /** * optional .hbase.pb.MutationProto mutation = 2; */ boolean hasMutation(); /** * optional .hbase.pb.MutationProto mutation = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation(); /** * optional .hbase.pb.MutationProto mutation = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder(); // optional .hbase.pb.Get get = 3; /** * optional .hbase.pb.Get get = 3; */ boolean hasGet(); /** * optional .hbase.pb.Get get = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet(); /** * optional .hbase.pb.Get get = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder(); // optional .hbase.pb.CoprocessorServiceCall service_call = 4; /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ boolean hasServiceCall(); /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getServiceCall(); /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getServiceCallOrBuilder(); } /** * Protobuf type {@code hbase.pb.Action} * *
   * Either a Get or a Mutation
   * 
*/ @javax.annotation.Generated("proto") public static final class Action extends com.google.protobuf.GeneratedMessage implements ActionOrBuilder { // Use Action.newBuilder() to construct. private Action(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Action(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Action defaultInstance; public static Action getDefaultInstance() { return defaultInstance; } public Action getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Action( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; index_ = input.readUInt32(); break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = mutation_.toBuilder(); } mutation_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mutation_); mutation_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = get_.toBuilder(); } get_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(get_); get_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = serviceCall_.toBuilder(); } serviceCall_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(serviceCall_); serviceCall_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Action parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Action(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint32 index = 1; public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** * optional uint32 index = 1; * *
     * If part of a multi action, useful aligning
     * result with what was originally submitted.
     * 
*/ public boolean hasIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 index = 1; * *
     * If part of a multi action, useful aligning
     * result with what was originally submitted.
     * 
*/ public int getIndex() { return index_; } // optional .hbase.pb.MutationProto mutation = 2; public static final int MUTATION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_; /** * optional .hbase.pb.MutationProto mutation = 2; */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation() { return mutation_; } /** * optional .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder() { return mutation_; } // optional .hbase.pb.Get get = 3; public static final int GET_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_; /** * optional .hbase.pb.Get get = 3; */ public boolean hasGet() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Get get = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() { return get_; } /** * optional .hbase.pb.Get get = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder() { return get_; } // optional .hbase.pb.CoprocessorServiceCall service_call = 4; public static final int SERVICE_CALL_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall serviceCall_; /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public boolean hasServiceCall() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getServiceCall() { return serviceCall_; } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getServiceCallOrBuilder() { return serviceCall_; } private void initFields() { index_ = 0; mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasMutation()) { if (!getMutation().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasGet()) { if (!getGet().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasServiceCall()) { if (!getServiceCall().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.writeUInt32(1, index_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, mutation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, get_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, serviceCall_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, index_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, mutation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, get_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, serviceCall_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action) obj; boolean result = true; result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && (getIndex() == other.getIndex()); } result = result && (hasMutation() == other.hasMutation()); if (hasMutation()) { result = result && getMutation() .equals(other.getMutation()); } result = result && (hasGet() == other.hasGet()); if (hasGet()) { result = result && getGet() .equals(other.getGet()); } result = result && (hasServiceCall() == other.hasServiceCall()); if (hasServiceCall()) { result = result && getServiceCall() .equals(other.getServiceCall()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasIndex()) { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); } if (hasMutation()) { hash = (37 * hash) + MUTATION_FIELD_NUMBER; hash = (53 * hash) + getMutation().hashCode(); } if (hasGet()) { hash = (37 * hash) + GET_FIELD_NUMBER; hash = (53 * hash) + getGet().hashCode(); } if (hasServiceCall()) { hash = (37 * hash) + SERVICE_CALL_FIELD_NUMBER; hash = (53 * hash) + getServiceCall().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.Action} * *
     * Either a Get or a Mutation
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMutationFieldBuilder(); getGetFieldBuilder(); getServiceCallFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); index_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (mutationBuilder_ == null) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); } else { mutationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (getBuilder_ == null) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); } else { getBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (serviceCallBuilder_ == null) { serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); } else { serviceCallBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.index_ = index_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (mutationBuilder_ == null) { result.mutation_ = mutation_; } else { result.mutation_ = mutationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (getBuilder_ == null) { result.get_ = get_; } else { result.get_ = getBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (serviceCallBuilder_ == null) { result.serviceCall_ = serviceCall_; } else { result.serviceCall_ = serviceCallBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.getDefaultInstance()) return this; if (other.hasIndex()) { setIndex(other.getIndex()); } if (other.hasMutation()) { mergeMutation(other.getMutation()); } if (other.hasGet()) { mergeGet(other.getGet()); } if (other.hasServiceCall()) { mergeServiceCall(other.getServiceCall()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasMutation()) { if (!getMutation().isInitialized()) { return false; } } if (hasGet()) { if (!getGet().isInitialized()) { return false; } } if (hasServiceCall()) { if (!getServiceCall().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint32 index = 1; private int index_ ; /** * optional uint32 index = 1; * *
       * If part of a multi action, useful aligning
       * result with what was originally submitted.
       * 
*/ public boolean hasIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 index = 1; * *
       * If part of a multi action, useful aligning
       * result with what was originally submitted.
       * 
*/ public int getIndex() { return index_; } /** * optional uint32 index = 1; * *
       * If part of a multi action, useful aligning
       * result with what was originally submitted.
       * 
*/ public Builder setIndex(int value) { bitField0_ |= 0x00000001; index_ = value; onChanged(); return this; } /** * optional uint32 index = 1; * *
       * If part of a multi action, useful aligning
       * result with what was originally submitted.
       * 
*/ public Builder clearIndex() { bitField0_ = (bitField0_ & ~0x00000001); index_ = 0; onChanged(); return this; } // optional .hbase.pb.MutationProto mutation = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> mutationBuilder_; /** * optional .hbase.pb.MutationProto mutation = 2; */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto getMutation() { if (mutationBuilder_ == null) { return mutation_; } else { return mutationBuilder_.getMessage(); } } /** * optional .hbase.pb.MutationProto mutation = 2; */ public Builder setMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto value) { if (mutationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mutation_ = value; onChanged(); } else { mutationBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.MutationProto mutation = 2; */ public Builder setMutation( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder builderForValue) { if (mutationBuilder_ == null) { mutation_ = builderForValue.build(); onChanged(); } else { mutationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.MutationProto mutation = 2; */ public Builder mergeMutation(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto value) { if (mutationBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && mutation_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance()) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.newBuilder(mutation_).mergeFrom(value).buildPartial(); } else { mutation_ = value; } onChanged(); } else { mutationBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.MutationProto mutation = 2; */ public Builder clearMutation() { if (mutationBuilder_ == null) { mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); onChanged(); } else { mutationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder getMutationBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMutationFieldBuilder().getBuilder(); } /** * optional .hbase.pb.MutationProto mutation = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder() { if (mutationBuilder_ != null) { return mutationBuilder_.getMessageOrBuilder(); } else { return mutation_; } } /** * optional .hbase.pb.MutationProto mutation = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> getMutationFieldBuilder() { if (mutationBuilder_ == null) { mutationBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder>( mutation_, getParentForChildren(), isClean()); mutation_ = null; } return mutationBuilder_; } // optional .hbase.pb.Get get = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getBuilder_; /** * optional .hbase.pb.Get get = 3; */ public boolean hasGet() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Get get = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get getGet() { if (getBuilder_ == null) { return get_; } else { return getBuilder_.getMessage(); } } /** * optional .hbase.pb.Get get = 3; */ public Builder setGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get value) { if (getBuilder_ == null) { if (value == null) { throw new NullPointerException(); } get_ = value; onChanged(); } else { getBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Get get = 3; */ public Builder setGet( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder builderForValue) { if (getBuilder_ == null) { get_ = builderForValue.build(); onChanged(); } else { getBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Get get = 3; */ public Builder mergeGet(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get value) { if (getBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && get_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance()) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.newBuilder(get_).mergeFrom(value).buildPartial(); } else { get_ = value; } onChanged(); } else { getBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Get get = 3; */ public Builder clearGet() { if (getBuilder_ == null) { get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); onChanged(); } else { getBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .hbase.pb.Get get = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder getGetBuilder() { bitField0_ |= 0x00000004; onChanged(); return getGetFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Get get = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder() { if (getBuilder_ != null) { return getBuilder_.getMessageOrBuilder(); } else { return get_; } } /** * optional .hbase.pb.Get get = 3; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getGetFieldBuilder() { if (getBuilder_ == null) { getBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder>( get_, getParentForChildren(), isClean()); get_ = null; } return getBuilder_; } // optional .hbase.pb.CoprocessorServiceCall service_call = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> serviceCallBuilder_; /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public boolean hasServiceCall() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall getServiceCall() { if (serviceCallBuilder_ == null) { return serviceCall_; } else { return serviceCallBuilder_.getMessage(); } } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public Builder setServiceCall(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall value) { if (serviceCallBuilder_ == null) { if (value == null) { throw new NullPointerException(); } serviceCall_ = value; onChanged(); } else { serviceCallBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public Builder setServiceCall( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder builderForValue) { if (serviceCallBuilder_ == null) { serviceCall_ = builderForValue.build(); onChanged(); } else { serviceCallBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public Builder mergeServiceCall(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall value) { if (serviceCallBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && serviceCall_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance()) { serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.newBuilder(serviceCall_).mergeFrom(value).buildPartial(); } else { serviceCall_ = value; } onChanged(); } else { serviceCallBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public Builder clearServiceCall() { if (serviceCallBuilder_ == null) { serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); onChanged(); } else { serviceCallBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder getServiceCallBuilder() { bitField0_ |= 0x00000008; onChanged(); return getServiceCallFieldBuilder().getBuilder(); } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder getServiceCallOrBuilder() { if (serviceCallBuilder_ != null) { return serviceCallBuilder_.getMessageOrBuilder(); } else { return serviceCall_; } } /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> getServiceCallFieldBuilder() { if (serviceCallBuilder_ == null) { serviceCallBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder>( serviceCall_, getParentForChildren(), isClean()); serviceCall_ = null; } return serviceCallBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.Action) } static { defaultInstance = new Action(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.Action) } public interface RegionActionOrBuilder extends com.google.protobuf.MessageOrBuilder { // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ boolean hasRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(); /** * required .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); // optional bool atomic = 2; /** * optional bool atomic = 2; * *
     * When set, run mutations as atomic unit.
     * 
*/ boolean hasAtomic(); /** * optional bool atomic = 2; * *
     * When set, run mutations as atomic unit.
     * 
*/ boolean getAtomic(); // repeated .hbase.pb.Action action = 3; /** * repeated .hbase.pb.Action action = 3; */ java.util.List getActionList(); /** * repeated .hbase.pb.Action action = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action getAction(int index); /** * repeated .hbase.pb.Action action = 3; */ int getActionCount(); /** * repeated .hbase.pb.Action action = 3; */ java.util.List getActionOrBuilderList(); /** * repeated .hbase.pb.Action action = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder getActionOrBuilder( int index); // optional .hbase.pb.Condition condition = 4; /** * optional .hbase.pb.Condition condition = 4; */ boolean hasCondition(); /** * optional .hbase.pb.Condition condition = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition(); /** * optional .hbase.pb.Condition condition = 4; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder(); } /** * Protobuf type {@code hbase.pb.RegionAction} * *
   **
   * Actions to run against a Region.
   * 
*/ @javax.annotation.Generated("proto") public static final class RegionAction extends com.google.protobuf.GeneratedMessage implements RegionActionOrBuilder { // Use RegionAction.newBuilder() to construct. private RegionAction(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RegionAction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RegionAction defaultInstance; public static RegionAction getDefaultInstance() { return defaultInstance; } public RegionAction getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegionAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = region_.toBuilder(); } region_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(region_); region_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; atomic_ = input.readBool(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } action_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.PARSER, extensionRegistry)); break; } case 34: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = condition_.toBuilder(); } condition_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(condition_); condition_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; 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_ & 0x00000004) == 0x00000004)) { action_ = java.util.Collections.unmodifiableList(action_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RegionAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegionAction(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { return region_; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { return region_; } // optional bool atomic = 2; public static final int ATOMIC_FIELD_NUMBER = 2; private boolean atomic_; /** * optional bool atomic = 2; * *
     * When set, run mutations as atomic unit.
     * 
*/ public boolean hasAtomic() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool atomic = 2; * *
     * When set, run mutations as atomic unit.
     * 
*/ public boolean getAtomic() { return atomic_; } // repeated .hbase.pb.Action action = 3; public static final int ACTION_FIELD_NUMBER = 3; private java.util.List action_; /** * repeated .hbase.pb.Action action = 3; */ public java.util.List getActionList() { return action_; } /** * repeated .hbase.pb.Action action = 3; */ public java.util.List getActionOrBuilderList() { return action_; } /** * repeated .hbase.pb.Action action = 3; */ public int getActionCount() { return action_.size(); } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action getAction(int index) { return action_.get(index); } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder getActionOrBuilder( int index) { return action_.get(index); } // optional .hbase.pb.Condition condition = 4; public static final int CONDITION_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_; /** * optional .hbase.pb.Condition condition = 4; */ public boolean hasCondition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Condition condition = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { return condition_; } /** * optional .hbase.pb.Condition condition = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { return condition_; } private void initFields() { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); atomic_ = false; action_ = java.util.Collections.emptyList(); condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasRegion()) { memoizedIsInitialized = 0; return false; } if (!getRegion().isInitialized()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getActionCount(); i++) { if (!getAction(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCondition()) { if (!getCondition().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, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, atomic_); } for (int i = 0; i < action_.size(); i++) { output.writeMessage(3, action_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(4, condition_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, atomic_); } for (int i = 0; i < action_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, action_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, condition_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction) obj; boolean result = true; result = result && (hasRegion() == other.hasRegion()); if (hasRegion()) { result = result && getRegion() .equals(other.getRegion()); } result = result && (hasAtomic() == other.hasAtomic()); if (hasAtomic()) { result = result && (getAtomic() == other.getAtomic()); } result = result && getActionList() .equals(other.getActionList()); result = result && (hasCondition() == other.hasCondition()); if (hasCondition()) { result = result && getCondition() .equals(other.getCondition()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); } if (hasAtomic()) { hash = (37 * hash) + ATOMIC_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getAtomic()); } if (getActionCount() > 0) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + getActionList().hashCode(); } if (hasCondition()) { hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + getCondition().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.RegionAction} * *
     **
     * Actions to run against a Region.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getActionFieldBuilder(); getConditionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); atomic_ = false; bitField0_ = (bitField0_ & ~0x00000002); if (actionBuilder_ == null) { action_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { actionBuilder_.clear(); } if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (regionBuilder_ == null) { result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.atomic_ = atomic_; if (actionBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { action_ = java.util.Collections.unmodifiableList(action_); bitField0_ = (bitField0_ & ~0x00000004); } result.action_ = action_; } else { result.action_ = actionBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } if (conditionBuilder_ == null) { result.condition_ = condition_; } else { result.condition_ = conditionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.getDefaultInstance()) return this; if (other.hasRegion()) { mergeRegion(other.getRegion()); } if (other.hasAtomic()) { setAtomic(other.getAtomic()); } if (actionBuilder_ == null) { if (!other.action_.isEmpty()) { if (action_.isEmpty()) { action_ = other.action_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureActionIsMutable(); action_.addAll(other.action_); } onChanged(); } } else { if (!other.action_.isEmpty()) { if (actionBuilder_.isEmpty()) { actionBuilder_.dispose(); actionBuilder_ = null; action_ = other.action_; bitField0_ = (bitField0_ & ~0x00000004); actionBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getActionFieldBuilder() : null; } else { actionBuilder_.addAllMessages(other.action_); } } } if (other.hasCondition()) { mergeCondition(other.getCondition()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasRegion()) { return false; } if (!getRegion().isInitialized()) { return false; } for (int i = 0; i < getActionCount(); i++) { if (!getAction(i).isInitialized()) { return false; } } if (hasCondition()) { if (!getCondition().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * required .hbase.pb.RegionSpecifier region = 1; */ public boolean hasRegion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() { if (regionBuilder_ == null) { return region_; } else { return regionBuilder_.getMessage(); } } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); } else { regionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { region_ = builderForValue.build(); onChanged(); } else { regionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder mergeRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && region_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(region_).mergeFrom(value).buildPartial(); } else { region_ = value; } onChanged(); } else { regionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); onChanged(); } else { regionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRegionFieldBuilder().getBuilder(); } /** * required .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilder(); } else { return region_; } } /** * required .hbase.pb.RegionSpecifier region = 1; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // optional bool atomic = 2; private boolean atomic_ ; /** * optional bool atomic = 2; * *
       * When set, run mutations as atomic unit.
       * 
*/ public boolean hasAtomic() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool atomic = 2; * *
       * When set, run mutations as atomic unit.
       * 
*/ public boolean getAtomic() { return atomic_; } /** * optional bool atomic = 2; * *
       * When set, run mutations as atomic unit.
       * 
*/ public Builder setAtomic(boolean value) { bitField0_ |= 0x00000002; atomic_ = value; onChanged(); return this; } /** * optional bool atomic = 2; * *
       * When set, run mutations as atomic unit.
       * 
*/ public Builder clearAtomic() { bitField0_ = (bitField0_ & ~0x00000002); atomic_ = false; onChanged(); return this; } // repeated .hbase.pb.Action action = 3; private java.util.List action_ = java.util.Collections.emptyList(); private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { action_ = new java.util.ArrayList(action_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder> actionBuilder_; /** * repeated .hbase.pb.Action action = 3; */ public java.util.List getActionList() { if (actionBuilder_ == null) { return java.util.Collections.unmodifiableList(action_); } else { return actionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Action action = 3; */ public int getActionCount() { if (actionBuilder_ == null) { return action_.size(); } else { return actionBuilder_.getCount(); } } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action getAction(int index) { if (actionBuilder_ == null) { return action_.get(index); } else { return actionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Action action = 3; */ public Builder setAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action value) { if (actionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionIsMutable(); action_.set(index, value); onChanged(); } else { actionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder setAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder builderForValue) { if (actionBuilder_ == null) { ensureActionIsMutable(); action_.set(index, builderForValue.build()); onChanged(); } else { actionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder addAction(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action value) { if (actionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionIsMutable(); action_.add(value); onChanged(); } else { actionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder addAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action value) { if (actionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionIsMutable(); action_.add(index, value); onChanged(); } else { actionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder addAction( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder builderForValue) { if (actionBuilder_ == null) { ensureActionIsMutable(); action_.add(builderForValue.build()); onChanged(); } else { actionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder addAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder builderForValue) { if (actionBuilder_ == null) { ensureActionIsMutable(); action_.add(index, builderForValue.build()); onChanged(); } else { actionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder addAllAction( java.lang.Iterable values) { if (actionBuilder_ == null) { ensureActionIsMutable(); super.addAll(values, action_); onChanged(); } else { actionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder clearAction() { if (actionBuilder_ == null) { action_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { actionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public Builder removeAction(int index) { if (actionBuilder_ == null) { ensureActionIsMutable(); action_.remove(index); onChanged(); } else { actionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder getActionBuilder( int index) { return getActionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder getActionOrBuilder( int index) { if (actionBuilder_ == null) { return action_.get(index); } else { return actionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Action action = 3; */ public java.util.List getActionOrBuilderList() { if (actionBuilder_ != null) { return actionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(action_); } } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder addActionBuilder() { return getActionFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.getDefaultInstance()); } /** * repeated .hbase.pb.Action action = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder addActionBuilder( int index) { return getActionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.getDefaultInstance()); } /** * repeated .hbase.pb.Action action = 3; */ public java.util.List getActionBuilderList() { return getActionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { actionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder>( action_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); action_ = null; } return actionBuilder_; } // optional .hbase.pb.Condition condition = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> conditionBuilder_; /** * optional .hbase.pb.Condition condition = 4; */ public boolean hasCondition() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.Condition condition = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { if (conditionBuilder_ == null) { return condition_; } else { return conditionBuilder_.getMessage(); } } /** * optional .hbase.pb.Condition condition = 4; */ public Builder setCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } condition_ = value; onChanged(); } else { conditionBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Condition condition = 4; */ public Builder setCondition( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); } else { conditionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Condition condition = 4; */ public Builder mergeCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && condition_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance()) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.newBuilder(condition_).mergeFrom(value).buildPartial(); } else { condition_ = value; } onChanged(); } else { conditionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.Condition condition = 4; */ public Builder clearCondition() { if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); onChanged(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .hbase.pb.Condition condition = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder getConditionBuilder() { bitField0_ |= 0x00000008; onChanged(); return getConditionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Condition condition = 4; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { return condition_; } } /** * optional .hbase.pb.Condition condition = 4; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { conditionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder>( condition_, getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.RegionAction) } static { defaultInstance = new RegionAction(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.RegionAction) } public interface RegionLoadStatsOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int32 memStoreLoad = 1 [default = 0]; /** * optional int32 memStoreLoad = 1 [default = 0]; * *
     * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
     * 
*/ boolean hasMemStoreLoad(); /** * optional int32 memStoreLoad = 1 [default = 0]; * *
     * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
     * 
*/ int getMemStoreLoad(); // optional int32 heapOccupancy = 2 [default = 0]; /** * optional int32 heapOccupancy = 2 [default = 0]; * *
     * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
     * We can move this to "ServerLoadStats" should we develop them.
     * 
*/ boolean hasHeapOccupancy(); /** * optional int32 heapOccupancy = 2 [default = 0]; * *
     * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
     * We can move this to "ServerLoadStats" should we develop them.
     * 
*/ int getHeapOccupancy(); // optional int32 compactionPressure = 3 [default = 0]; /** * optional int32 compactionPressure = 3 [default = 0]; * *
     * Compaction pressure. Guaranteed to be positive, between 0 and 100.
     * 
*/ boolean hasCompactionPressure(); /** * optional int32 compactionPressure = 3 [default = 0]; * *
     * Compaction pressure. Guaranteed to be positive, between 0 and 100.
     * 
*/ int getCompactionPressure(); } /** * Protobuf type {@code hbase.pb.RegionLoadStats} * *
   *
   * Statistics about the current load on the region
   * 
*/ @javax.annotation.Generated("proto") public static final class RegionLoadStats extends com.google.protobuf.GeneratedMessage implements RegionLoadStatsOrBuilder { // Use RegionLoadStats.newBuilder() to construct. private RegionLoadStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RegionLoadStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RegionLoadStats defaultInstance; public static RegionLoadStats getDefaultInstance() { return defaultInstance; } public RegionLoadStats getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegionLoadStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; memStoreLoad_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; heapOccupancy_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; compactionPressure_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RegionLoadStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegionLoadStats(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional int32 memStoreLoad = 1 [default = 0]; public static final int MEMSTORELOAD_FIELD_NUMBER = 1; private int memStoreLoad_; /** * optional int32 memStoreLoad = 1 [default = 0]; * *
     * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
     * 
*/ public boolean hasMemStoreLoad() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 memStoreLoad = 1 [default = 0]; * *
     * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
     * 
*/ public int getMemStoreLoad() { return memStoreLoad_; } // optional int32 heapOccupancy = 2 [default = 0]; public static final int HEAPOCCUPANCY_FIELD_NUMBER = 2; private int heapOccupancy_; /** * optional int32 heapOccupancy = 2 [default = 0]; * *
     * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
     * We can move this to "ServerLoadStats" should we develop them.
     * 
*/ public boolean hasHeapOccupancy() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 heapOccupancy = 2 [default = 0]; * *
     * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
     * We can move this to "ServerLoadStats" should we develop them.
     * 
*/ public int getHeapOccupancy() { return heapOccupancy_; } // optional int32 compactionPressure = 3 [default = 0]; public static final int COMPACTIONPRESSURE_FIELD_NUMBER = 3; private int compactionPressure_; /** * optional int32 compactionPressure = 3 [default = 0]; * *
     * Compaction pressure. Guaranteed to be positive, between 0 and 100.
     * 
*/ public boolean hasCompactionPressure() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 compactionPressure = 3 [default = 0]; * *
     * Compaction pressure. Guaranteed to be positive, between 0 and 100.
     * 
*/ public int getCompactionPressure() { return compactionPressure_; } private void initFields() { memStoreLoad_ = 0; heapOccupancy_ = 0; compactionPressure_ = 0; } 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.writeInt32(1, memStoreLoad_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, heapOccupancy_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, compactionPressure_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, memStoreLoad_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, heapOccupancy_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, compactionPressure_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats) obj; boolean result = true; result = result && (hasMemStoreLoad() == other.hasMemStoreLoad()); if (hasMemStoreLoad()) { result = result && (getMemStoreLoad() == other.getMemStoreLoad()); } result = result && (hasHeapOccupancy() == other.hasHeapOccupancy()); if (hasHeapOccupancy()) { result = result && (getHeapOccupancy() == other.getHeapOccupancy()); } result = result && (hasCompactionPressure() == other.hasCompactionPressure()); if (hasCompactionPressure()) { result = result && (getCompactionPressure() == other.getCompactionPressure()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasMemStoreLoad()) { hash = (37 * hash) + MEMSTORELOAD_FIELD_NUMBER; hash = (53 * hash) + getMemStoreLoad(); } if (hasHeapOccupancy()) { hash = (37 * hash) + HEAPOCCUPANCY_FIELD_NUMBER; hash = (53 * hash) + getHeapOccupancy(); } if (hasCompactionPressure()) { hash = (37 * hash) + COMPACTIONPRESSURE_FIELD_NUMBER; hash = (53 * hash) + getCompactionPressure(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.RegionLoadStats} * *
     *
     * Statistics about the current load on the region
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); memStoreLoad_ = 0; bitField0_ = (bitField0_ & ~0x00000001); heapOccupancy_ = 0; bitField0_ = (bitField0_ & ~0x00000002); compactionPressure_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.memStoreLoad_ = memStoreLoad_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.heapOccupancy_ = heapOccupancy_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.compactionPressure_ = compactionPressure_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance()) return this; if (other.hasMemStoreLoad()) { setMemStoreLoad(other.getMemStoreLoad()); } if (other.hasHeapOccupancy()) { setHeapOccupancy(other.getHeapOccupancy()); } if (other.hasCompactionPressure()) { setCompactionPressure(other.getCompactionPressure()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int32 memStoreLoad = 1 [default = 0]; private int memStoreLoad_ ; /** * optional int32 memStoreLoad = 1 [default = 0]; * *
       * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
       * 
*/ public boolean hasMemStoreLoad() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 memStoreLoad = 1 [default = 0]; * *
       * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
       * 
*/ public int getMemStoreLoad() { return memStoreLoad_; } /** * optional int32 memStoreLoad = 1 [default = 0]; * *
       * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
       * 
*/ public Builder setMemStoreLoad(int value) { bitField0_ |= 0x00000001; memStoreLoad_ = value; onChanged(); return this; } /** * optional int32 memStoreLoad = 1 [default = 0]; * *
       * Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
       * 
*/ public Builder clearMemStoreLoad() { bitField0_ = (bitField0_ & ~0x00000001); memStoreLoad_ = 0; onChanged(); return this; } // optional int32 heapOccupancy = 2 [default = 0]; private int heapOccupancy_ ; /** * optional int32 heapOccupancy = 2 [default = 0]; * *
       * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
       * We can move this to "ServerLoadStats" should we develop them.
       * 
*/ public boolean hasHeapOccupancy() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 heapOccupancy = 2 [default = 0]; * *
       * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
       * We can move this to "ServerLoadStats" should we develop them.
       * 
*/ public int getHeapOccupancy() { return heapOccupancy_; } /** * optional int32 heapOccupancy = 2 [default = 0]; * *
       * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
       * We can move this to "ServerLoadStats" should we develop them.
       * 
*/ public Builder setHeapOccupancy(int value) { bitField0_ |= 0x00000002; heapOccupancy_ = value; onChanged(); return this; } /** * optional int32 heapOccupancy = 2 [default = 0]; * *
       * Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100.
       * We can move this to "ServerLoadStats" should we develop them.
       * 
*/ public Builder clearHeapOccupancy() { bitField0_ = (bitField0_ & ~0x00000002); heapOccupancy_ = 0; onChanged(); return this; } // optional int32 compactionPressure = 3 [default = 0]; private int compactionPressure_ ; /** * optional int32 compactionPressure = 3 [default = 0]; * *
       * Compaction pressure. Guaranteed to be positive, between 0 and 100.
       * 
*/ public boolean hasCompactionPressure() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 compactionPressure = 3 [default = 0]; * *
       * Compaction pressure. Guaranteed to be positive, between 0 and 100.
       * 
*/ public int getCompactionPressure() { return compactionPressure_; } /** * optional int32 compactionPressure = 3 [default = 0]; * *
       * Compaction pressure. Guaranteed to be positive, between 0 and 100.
       * 
*/ public Builder setCompactionPressure(int value) { bitField0_ |= 0x00000004; compactionPressure_ = value; onChanged(); return this; } /** * optional int32 compactionPressure = 3 [default = 0]; * *
       * Compaction pressure. Guaranteed to be positive, between 0 and 100.
       * 
*/ public Builder clearCompactionPressure() { bitField0_ = (bitField0_ & ~0x00000004); compactionPressure_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.RegionLoadStats) } static { defaultInstance = new RegionLoadStats(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.RegionLoadStats) } public interface MultiRegionLoadStatsOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.RegionSpecifier region = 1; /** * repeated .hbase.pb.RegionSpecifier region = 1; */ java.util.List getRegionList(); /** * repeated .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(int index); /** * repeated .hbase.pb.RegionSpecifier region = 1; */ int getRegionCount(); /** * repeated .hbase.pb.RegionSpecifier region = 1; */ java.util.List getRegionOrBuilderList(); /** * repeated .hbase.pb.RegionSpecifier region = 1; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder( int index); // repeated .hbase.pb.RegionLoadStats stat = 2; /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ java.util.List getStatList(); /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getStat(int index); /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ int getStatCount(); /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ java.util.List getStatOrBuilderList(); /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getStatOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.MultiRegionLoadStats} */ @javax.annotation.Generated("proto") public static final class MultiRegionLoadStats extends com.google.protobuf.GeneratedMessage implements MultiRegionLoadStatsOrBuilder { // Use MultiRegionLoadStats.newBuilder() to construct. private MultiRegionLoadStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MultiRegionLoadStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MultiRegionLoadStats defaultInstance; public static MultiRegionLoadStats getDefaultInstance() { return defaultInstance; } public MultiRegionLoadStats getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MultiRegionLoadStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { region_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } region_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { stat_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } stat_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.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)) { region_ = java.util.Collections.unmodifiableList(region_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { stat_ = java.util.Collections.unmodifiableList(stat_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MultiRegionLoadStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MultiRegionLoadStats(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private java.util.List region_; /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public java.util.List getRegionList() { return region_; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public java.util.List getRegionOrBuilderList() { return region_; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public int getRegionCount() { return region_.size(); } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(int index) { return region_.get(index); } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder( int index) { return region_.get(index); } // repeated .hbase.pb.RegionLoadStats stat = 2; public static final int STAT_FIELD_NUMBER = 2; private java.util.List stat_; /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public java.util.List getStatList() { return stat_; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public java.util.List getStatOrBuilderList() { return stat_; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public int getStatCount() { return stat_.size(); } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getStat(int index) { return stat_.get(index); } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getStatOrBuilder( int index) { return stat_.get(index); } private void initFields() { region_ = java.util.Collections.emptyList(); stat_ = 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 < getRegionCount(); i++) { if (!getRegion(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 < region_.size(); i++) { output.writeMessage(1, region_.get(i)); } for (int i = 0; i < stat_.size(); i++) { output.writeMessage(2, stat_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < region_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, region_.get(i)); } for (int i = 0; i < stat_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, stat_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats) obj; boolean result = true; result = result && getRegionList() .equals(other.getRegionList()); result = result && getStatList() .equals(other.getStatList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getRegionCount() > 0) { hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegionList().hashCode(); } if (getStatCount() > 0) { hash = (37 * hash) + STAT_FIELD_NUMBER; hash = (53 * hash) + getStatList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MultiRegionLoadStats} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionFieldBuilder(); getStatFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionBuilder_ == null) { region_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { regionBuilder_.clear(); } if (statBuilder_ == null) { stat_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { statBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats(this); int from_bitField0_ = bitField0_; if (regionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { region_ = java.util.Collections.unmodifiableList(region_); bitField0_ = (bitField0_ & ~0x00000001); } result.region_ = region_; } else { result.region_ = regionBuilder_.build(); } if (statBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { stat_ = java.util.Collections.unmodifiableList(stat_); bitField0_ = (bitField0_ & ~0x00000002); } result.stat_ = stat_; } else { result.stat_ = statBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance()) return this; if (regionBuilder_ == null) { if (!other.region_.isEmpty()) { if (region_.isEmpty()) { region_ = other.region_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRegionIsMutable(); region_.addAll(other.region_); } onChanged(); } } else { if (!other.region_.isEmpty()) { if (regionBuilder_.isEmpty()) { regionBuilder_.dispose(); regionBuilder_ = null; region_ = other.region_; bitField0_ = (bitField0_ & ~0x00000001); regionBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRegionFieldBuilder() : null; } else { regionBuilder_.addAllMessages(other.region_); } } } if (statBuilder_ == null) { if (!other.stat_.isEmpty()) { if (stat_.isEmpty()) { stat_ = other.stat_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatIsMutable(); stat_.addAll(other.stat_); } onChanged(); } } else { if (!other.stat_.isEmpty()) { if (statBuilder_.isEmpty()) { statBuilder_.dispose(); statBuilder_ = null; stat_ = other.stat_; bitField0_ = (bitField0_ & ~0x00000002); statBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStatFieldBuilder() : null; } else { statBuilder_.addAllMessages(other.stat_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getRegionCount(); i++) { if (!getRegion(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.RegionSpecifier region = 1; private java.util.List region_ = java.util.Collections.emptyList(); private void ensureRegionIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { region_ = new java.util.ArrayList(region_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public java.util.List getRegionList() { if (regionBuilder_ == null) { return java.util.Collections.unmodifiableList(region_); } else { return regionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public int getRegionCount() { if (regionBuilder_ == null) { return region_.size(); } else { return regionBuilder_.getCount(); } } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion(int index) { if (regionBuilder_ == null) { return region_.get(index); } else { return regionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionIsMutable(); region_.set(index, value); onChanged(); } else { regionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder setRegion( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { ensureRegionIsMutable(); region_.set(index, builderForValue.build()); onChanged(); } else { regionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder addRegion(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionIsMutable(); region_.add(value); onChanged(); } else { regionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder addRegion( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) { if (regionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionIsMutable(); region_.add(index, value); onChanged(); } else { regionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder addRegion( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { ensureRegionIsMutable(); region_.add(builderForValue.build()); onChanged(); } else { regionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder addRegion( int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) { if (regionBuilder_ == null) { ensureRegionIsMutable(); region_.add(index, builderForValue.build()); onChanged(); } else { regionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder addAllRegion( java.lang.Iterable values) { if (regionBuilder_ == null) { ensureRegionIsMutable(); super.addAll(values, region_); onChanged(); } else { regionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder clearRegion() { if (regionBuilder_ == null) { region_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { regionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public Builder removeRegion(int index) { if (regionBuilder_ == null) { ensureRegionIsMutable(); region_.remove(index); onChanged(); } else { regionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionBuilder( int index) { return getRegionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder( int index) { if (regionBuilder_ == null) { return region_.get(index); } else { return regionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public java.util.List getRegionOrBuilderList() { if (regionBuilder_ != null) { return regionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(region_); } } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder addRegionBuilder() { return getRegionFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()); } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder addRegionBuilder( int index) { return getRegionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()); } /** * repeated .hbase.pb.RegionSpecifier region = 1; */ public java.util.List getRegionBuilderList() { return getRegionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> getRegionFieldBuilder() { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( region_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); region_ = null; } return regionBuilder_; } // repeated .hbase.pb.RegionLoadStats stat = 2; private java.util.List stat_ = java.util.Collections.emptyList(); private void ensureStatIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { stat_ = new java.util.ArrayList(stat_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder> statBuilder_; /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public java.util.List getStatList() { if (statBuilder_ == null) { return java.util.Collections.unmodifiableList(stat_); } else { return statBuilder_.getMessageList(); } } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public int getStatCount() { if (statBuilder_ == null) { return stat_.size(); } else { return statBuilder_.getCount(); } } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getStat(int index) { if (statBuilder_ == null) { return stat_.get(index); } else { return statBuilder_.getMessage(index); } } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder setStat( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats value) { if (statBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatIsMutable(); stat_.set(index, value); onChanged(); } else { statBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder setStat( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder builderForValue) { if (statBuilder_ == null) { ensureStatIsMutable(); stat_.set(index, builderForValue.build()); onChanged(); } else { statBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder addStat(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats value) { if (statBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatIsMutable(); stat_.add(value); onChanged(); } else { statBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder addStat( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats value) { if (statBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatIsMutable(); stat_.add(index, value); onChanged(); } else { statBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder addStat( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder builderForValue) { if (statBuilder_ == null) { ensureStatIsMutable(); stat_.add(builderForValue.build()); onChanged(); } else { statBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder addStat( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder builderForValue) { if (statBuilder_ == null) { ensureStatIsMutable(); stat_.add(index, builderForValue.build()); onChanged(); } else { statBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder addAllStat( java.lang.Iterable values) { if (statBuilder_ == null) { ensureStatIsMutable(); super.addAll(values, stat_); onChanged(); } else { statBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder clearStat() { if (statBuilder_ == null) { stat_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { statBuilder_.clear(); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public Builder removeStat(int index) { if (statBuilder_ == null) { ensureStatIsMutable(); stat_.remove(index); onChanged(); } else { statBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder getStatBuilder( int index) { return getStatFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getStatOrBuilder( int index) { if (statBuilder_ == null) { return stat_.get(index); } else { return statBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public java.util.List getStatOrBuilderList() { if (statBuilder_ != null) { return statBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stat_); } } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder addStatBuilder() { return getStatFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance()); } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder addStatBuilder( int index) { return getStatFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance()); } /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ public java.util.List getStatBuilderList() { return getStatFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder> getStatFieldBuilder() { if (statBuilder_ == null) { statBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder>( stat_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); stat_ = null; } return statBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.MultiRegionLoadStats) } static { defaultInstance = new MultiRegionLoadStats(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MultiRegionLoadStats) } public interface ResultOrExceptionOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional uint32 index = 1; /** * optional uint32 index = 1; * *
     * If part of a multi call, save original index of the list of all
     * passed so can align this response w/ original request.
     * 
*/ boolean hasIndex(); /** * optional uint32 index = 1; * *
     * If part of a multi call, save original index of the list of all
     * passed so can align this response w/ original request.
     * 
*/ int getIndex(); // optional .hbase.pb.Result result = 2; /** * optional .hbase.pb.Result result = 2; */ boolean hasResult(); /** * optional .hbase.pb.Result result = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult(); /** * optional .hbase.pb.Result result = 2; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder(); // optional .hbase.pb.NameBytesPair exception = 3; /** * optional .hbase.pb.NameBytesPair exception = 3; */ boolean hasException(); /** * optional .hbase.pb.NameBytesPair exception = 3; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException(); /** * optional .hbase.pb.NameBytesPair exception = 3; */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder(); // optional .hbase.pb.CoprocessorServiceResult service_result = 4; /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ boolean hasServiceResult(); /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult getServiceResult(); /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder(); // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated boolean hasLoadStats(); /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getLoadStats(); /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getLoadStatsOrBuilder(); } /** * Protobuf type {@code hbase.pb.ResultOrException} * *
   **
   * Either a Result or an Exception NameBytesPair (keyed by
   * exception name whose value is the exception stringified)
   * or maybe empty if no result and no exception.
   * 
*/ @javax.annotation.Generated("proto") public static final class ResultOrException extends com.google.protobuf.GeneratedMessage implements ResultOrExceptionOrBuilder { // Use ResultOrException.newBuilder() to construct. private ResultOrException(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ResultOrException(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ResultOrException defaultInstance; public static ResultOrException getDefaultInstance() { return defaultInstance; } public ResultOrException getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResultOrException( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; index_ = input.readUInt32(); break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = exception_.toBuilder(); } exception_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exception_); exception_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = serviceResult_.toBuilder(); } serviceResult_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(serviceResult_); serviceResult_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = loadStats_.toBuilder(); } loadStats_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(loadStats_); loadStats_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ResultOrException parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResultOrException(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint32 index = 1; public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** * optional uint32 index = 1; * *
     * If part of a multi call, save original index of the list of all
     * passed so can align this response w/ original request.
     * 
*/ public boolean hasIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 index = 1; * *
     * If part of a multi call, save original index of the list of all
     * passed so can align this response w/ original request.
     * 
*/ public int getIndex() { return index_; } // optional .hbase.pb.Result result = 2; public static final int RESULT_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** * optional .hbase.pb.Result result = 2; */ public boolean hasResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Result result = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { return result_; } /** * optional .hbase.pb.Result result = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { return result_; } // optional .hbase.pb.NameBytesPair exception = 3; public static final int EXCEPTION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_; /** * optional .hbase.pb.NameBytesPair exception = 3; */ public boolean hasException() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException() { return exception_; } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder() { return exception_; } // optional .hbase.pb.CoprocessorServiceResult service_result = 4; public static final int SERVICE_RESULT_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult serviceResult_; /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ public boolean hasServiceResult() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult getServiceResult() { return serviceResult_; } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
     * result if this was a coprocessor service call
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder() { return serviceResult_; } // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; public static final int LOADSTATS_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats loadStats_; /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated public boolean hasLoadStats() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getLoadStats() { return loadStats_; } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
     * current load on the region
     * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getLoadStatsOrBuilder() { return loadStats_; } private void initFields() { index_ = 0; result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasException()) { if (!getException().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasServiceResult()) { if (!getServiceResult().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.writeUInt32(1, index_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, result_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, exception_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, serviceResult_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, loadStats_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, index_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, result_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, exception_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, serviceResult_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, loadStats_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException) obj; boolean result = true; result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && (getIndex() == other.getIndex()); } result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && (hasException() == other.hasException()); if (hasException()) { result = result && getException() .equals(other.getException()); } result = result && (hasServiceResult() == other.hasServiceResult()); if (hasServiceResult()) { result = result && getServiceResult() .equals(other.getServiceResult()); } result = result && (hasLoadStats() == other.hasLoadStats()); if (hasLoadStats()) { result = result && getLoadStats() .equals(other.getLoadStats()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasIndex()) { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } if (hasException()) { hash = (37 * hash) + EXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getException().hashCode(); } if (hasServiceResult()) { hash = (37 * hash) + SERVICE_RESULT_FIELD_NUMBER; hash = (53 * hash) + getServiceResult().hashCode(); } if (hasLoadStats()) { hash = (37 * hash) + LOADSTATS_FIELD_NUMBER; hash = (53 * hash) + getLoadStats().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.ResultOrException} * *
     **
     * Either a Result or an Exception NameBytesPair (keyed by
     * exception name whose value is the exception stringified)
     * or maybe empty if no result and no exception.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResultFieldBuilder(); getExceptionFieldBuilder(); getServiceResultFieldBuilder(); getLoadStatsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); index_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (exceptionBuilder_ == null) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } else { exceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (serviceResultBuilder_ == null) { serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); } else { serviceResultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (loadStatsBuilder_ == null) { loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); } else { loadStatsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.index_ = index_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (exceptionBuilder_ == null) { result.exception_ = exception_; } else { result.exception_ = exceptionBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (serviceResultBuilder_ == null) { result.serviceResult_ = serviceResult_; } else { result.serviceResult_ = serviceResultBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (loadStatsBuilder_ == null) { result.loadStats_ = loadStats_; } else { result.loadStats_ = loadStatsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.getDefaultInstance()) return this; if (other.hasIndex()) { setIndex(other.getIndex()); } if (other.hasResult()) { mergeResult(other.getResult()); } if (other.hasException()) { mergeException(other.getException()); } if (other.hasServiceResult()) { mergeServiceResult(other.getServiceResult()); } if (other.hasLoadStats()) { mergeLoadStats(other.getLoadStats()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasException()) { if (!getException().isInitialized()) { return false; } } if (hasServiceResult()) { if (!getServiceResult().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint32 index = 1; private int index_ ; /** * optional uint32 index = 1; * *
       * If part of a multi call, save original index of the list of all
       * passed so can align this response w/ original request.
       * 
*/ public boolean hasIndex() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 index = 1; * *
       * If part of a multi call, save original index of the list of all
       * passed so can align this response w/ original request.
       * 
*/ public int getIndex() { return index_; } /** * optional uint32 index = 1; * *
       * If part of a multi call, save original index of the list of all
       * passed so can align this response w/ original request.
       * 
*/ public Builder setIndex(int value) { bitField0_ |= 0x00000001; index_ = value; onChanged(); return this; } /** * optional uint32 index = 1; * *
       * If part of a multi call, save original index of the list of all
       * passed so can align this response w/ original request.
       * 
*/ public Builder clearIndex() { bitField0_ = (bitField0_ & ~0x00000001); index_ = 0; onChanged(); return this; } // optional .hbase.pb.Result result = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; /** * optional .hbase.pb.Result result = 2; */ public boolean hasResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Result result = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result getResult() { if (resultBuilder_ == null) { return result_; } else { return resultBuilder_.getMessage(); } } /** * optional .hbase.pb.Result result = 2; */ public Builder setResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Result result = 2; */ public Builder setResult( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Result result = 2; */ public Builder mergeResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && result_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance()) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.Result result = 2; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); onChanged(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.Result result = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder getResultBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResultFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Result result = 2; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_; } } /** * optional .hbase.pb.Result result = 2; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( result_, getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } // optional .hbase.pb.NameBytesPair exception = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> exceptionBuilder_; /** * optional .hbase.pb.NameBytesPair exception = 3; */ public boolean hasException() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException() { if (exceptionBuilder_ == null) { return exception_; } else { return exceptionBuilder_.getMessage(); } } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public Builder setException(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (exceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exception_ = value; onChanged(); } else { exceptionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public Builder setException( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (exceptionBuilder_ == null) { exception_ = builderForValue.build(); onChanged(); } else { exceptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public Builder mergeException(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (exceptionBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && exception_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.newBuilder(exception_).mergeFrom(value).buildPartial(); } else { exception_ = value; } onChanged(); } else { exceptionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public Builder clearException() { if (exceptionBuilder_ == null) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); onChanged(); } else { exceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getExceptionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getExceptionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.NameBytesPair exception = 3; */ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder() { if (exceptionBuilder_ != null) { return exceptionBuilder_.getMessageOrBuilder(); } else { return exception_; } } /** * optional .hbase.pb.NameBytesPair exception = 3; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( exception_, getParentForChildren(), isClean()); exception_ = null; } return exceptionBuilder_; } // optional .hbase.pb.CoprocessorServiceResult service_result = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder> serviceResultBuilder_; /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public boolean hasServiceResult() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult getServiceResult() { if (serviceResultBuilder_ == null) { return serviceResult_; } else { return serviceResultBuilder_.getMessage(); } } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public Builder setServiceResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult value) { if (serviceResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } serviceResult_ = value; onChanged(); } else { serviceResultBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public Builder setServiceResult( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder builderForValue) { if (serviceResultBuilder_ == null) { serviceResult_ = builderForValue.build(); onChanged(); } else { serviceResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public Builder mergeServiceResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult value) { if (serviceResultBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && serviceResult_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance()) { serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.newBuilder(serviceResult_).mergeFrom(value).buildPartial(); } else { serviceResult_ = value; } onChanged(); } else { serviceResultBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public Builder clearServiceResult() { if (serviceResultBuilder_ == null) { serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); onChanged(); } else { serviceResultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder getServiceResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getServiceResultFieldBuilder().getBuilder(); } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder() { if (serviceResultBuilder_ != null) { return serviceResultBuilder_.getMessageOrBuilder(); } else { return serviceResult_; } } /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * *
       * result if this was a coprocessor service call
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder> getServiceResultFieldBuilder() { if (serviceResultBuilder_ == null) { serviceResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder>( serviceResult_, getParentForChildren(), isClean()); serviceResult_ = null; } return serviceResultBuilder_; } // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder> loadStatsBuilder_; /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public boolean hasLoadStats() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats getLoadStats() { if (loadStatsBuilder_ == null) { return loadStats_; } else { return loadStatsBuilder_.getMessage(); } } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public Builder setLoadStats(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats value) { if (loadStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } loadStats_ = value; onChanged(); } else { loadStatsBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public Builder setLoadStats( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder builderForValue) { if (loadStatsBuilder_ == null) { loadStats_ = builderForValue.build(); onChanged(); } else { loadStatsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public Builder mergeLoadStats(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats value) { if (loadStatsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && loadStats_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance()) { loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.newBuilder(loadStats_).mergeFrom(value).buildPartial(); } else { loadStats_ = value; } onChanged(); } else { loadStatsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public Builder clearLoadStats() { if (loadStatsBuilder_ == null) { loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); onChanged(); } else { loadStatsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder getLoadStatsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getLoadStatsFieldBuilder().getBuilder(); } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder getLoadStatsOrBuilder() { if (loadStatsBuilder_ != null) { return loadStatsBuilder_.getMessageOrBuilder(); } else { return loadStats_; } } /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * *
       * current load on the region
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder> getLoadStatsFieldBuilder() { if (loadStatsBuilder_ == null) { loadStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder>( loadStats_, getParentForChildren(), isClean()); loadStats_ = null; } return loadStatsBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.ResultOrException) } static { defaultInstance = new ResultOrException(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.ResultOrException) } public interface RegionActionResultOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.ResultOrException resultOrException = 1; /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ java.util.List getResultOrExceptionList(); /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException getResultOrException(int index); /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ int getResultOrExceptionCount(); /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ java.util.List getResultOrExceptionOrBuilderList(); /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder getResultOrExceptionOrBuilder( int index); // optional .hbase.pb.NameBytesPair exception = 2; /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ boolean hasException(); /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException(); /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder(); // optional bool processed = 3; /** * optional bool processed = 3; */ boolean hasProcessed(); /** * optional bool processed = 3; */ boolean getProcessed(); } /** * Protobuf type {@code hbase.pb.RegionActionResult} * *
   **
   * The result of a RegionAction.
   * 
*/ @javax.annotation.Generated("proto") public static final class RegionActionResult extends com.google.protobuf.GeneratedMessage implements RegionActionResultOrBuilder { // Use RegionActionResult.newBuilder() to construct. private RegionActionResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RegionActionResult(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RegionActionResult defaultInstance; public static RegionActionResult getDefaultInstance() { return defaultInstance; } public RegionActionResult getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegionActionResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { resultOrException_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } resultOrException_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.PARSER, extensionRegistry)); break; } case 18: { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = exception_.toBuilder(); } exception_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exception_); exception_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 24: { bitField0_ |= 0x00000002; processed_ = 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { resultOrException_ = java.util.Collections.unmodifiableList(resultOrException_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RegionActionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegionActionResult(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .hbase.pb.ResultOrException resultOrException = 1; public static final int RESULTOREXCEPTION_FIELD_NUMBER = 1; private java.util.List resultOrException_; /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public java.util.List getResultOrExceptionList() { return resultOrException_; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public java.util.List getResultOrExceptionOrBuilderList() { return resultOrException_; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public int getResultOrExceptionCount() { return resultOrException_.size(); } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException getResultOrException(int index) { return resultOrException_.get(index); } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder getResultOrExceptionOrBuilder( int index) { return resultOrException_.get(index); } // optional .hbase.pb.NameBytesPair exception = 2; public static final int EXCEPTION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_; /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ public boolean hasException() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException() { return exception_; } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
     * If the operation failed globally for this region, this exception is set
     * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder() { return exception_; } // optional bool processed = 3; public static final int PROCESSED_FIELD_NUMBER = 3; private boolean processed_; /** * optional bool processed = 3; */ public boolean hasProcessed() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool processed = 3; */ public boolean getProcessed() { return processed_; } private void initFields() { resultOrException_ = java.util.Collections.emptyList(); exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); processed_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getResultOrExceptionCount(); i++) { if (!getResultOrException(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasException()) { if (!getException().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 < resultOrException_.size(); i++) { output.writeMessage(1, resultOrException_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, exception_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(3, processed_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < resultOrException_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, resultOrException_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, exception_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, processed_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult) obj; boolean result = true; result = result && getResultOrExceptionList() .equals(other.getResultOrExceptionList()); result = result && (hasException() == other.hasException()); if (hasException()) { result = result && getException() .equals(other.getException()); } result = result && (hasProcessed() == other.hasProcessed()); if (hasProcessed()) { result = result && (getProcessed() == other.getProcessed()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getResultOrExceptionCount() > 0) { hash = (37 * hash) + RESULTOREXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getResultOrExceptionList().hashCode(); } if (hasException()) { hash = (37 * hash) + EXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getException().hashCode(); } if (hasProcessed()) { hash = (37 * hash) + PROCESSED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getProcessed()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.RegionActionResult} * *
     **
     * The result of a RegionAction.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResultOrExceptionFieldBuilder(); getExceptionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (resultOrExceptionBuilder_ == null) { resultOrException_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { resultOrExceptionBuilder_.clear(); } if (exceptionBuilder_ == null) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); } else { exceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); processed_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (resultOrExceptionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { resultOrException_ = java.util.Collections.unmodifiableList(resultOrException_); bitField0_ = (bitField0_ & ~0x00000001); } result.resultOrException_ = resultOrException_; } else { result.resultOrException_ = resultOrExceptionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } if (exceptionBuilder_ == null) { result.exception_ = exception_; } else { result.exception_ = exceptionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.processed_ = processed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance()) return this; if (resultOrExceptionBuilder_ == null) { if (!other.resultOrException_.isEmpty()) { if (resultOrException_.isEmpty()) { resultOrException_ = other.resultOrException_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultOrExceptionIsMutable(); resultOrException_.addAll(other.resultOrException_); } onChanged(); } } else { if (!other.resultOrException_.isEmpty()) { if (resultOrExceptionBuilder_.isEmpty()) { resultOrExceptionBuilder_.dispose(); resultOrExceptionBuilder_ = null; resultOrException_ = other.resultOrException_; bitField0_ = (bitField0_ & ~0x00000001); resultOrExceptionBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getResultOrExceptionFieldBuilder() : null; } else { resultOrExceptionBuilder_.addAllMessages(other.resultOrException_); } } } if (other.hasException()) { mergeException(other.getException()); } if (other.hasProcessed()) { setProcessed(other.getProcessed()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getResultOrExceptionCount(); i++) { if (!getResultOrException(i).isInitialized()) { return false; } } if (hasException()) { if (!getException().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.ResultOrException resultOrException = 1; private java.util.List resultOrException_ = java.util.Collections.emptyList(); private void ensureResultOrExceptionIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { resultOrException_ = new java.util.ArrayList(resultOrException_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder> resultOrExceptionBuilder_; /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public java.util.List getResultOrExceptionList() { if (resultOrExceptionBuilder_ == null) { return java.util.Collections.unmodifiableList(resultOrException_); } else { return resultOrExceptionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public int getResultOrExceptionCount() { if (resultOrExceptionBuilder_ == null) { return resultOrException_.size(); } else { return resultOrExceptionBuilder_.getCount(); } } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException getResultOrException(int index) { if (resultOrExceptionBuilder_ == null) { return resultOrException_.get(index); } else { return resultOrExceptionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder setResultOrException( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException value) { if (resultOrExceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultOrExceptionIsMutable(); resultOrException_.set(index, value); onChanged(); } else { resultOrExceptionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder setResultOrException( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder builderForValue) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); resultOrException_.set(index, builderForValue.build()); onChanged(); } else { resultOrExceptionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder addResultOrException(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException value) { if (resultOrExceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultOrExceptionIsMutable(); resultOrException_.add(value); onChanged(); } else { resultOrExceptionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder addResultOrException( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException value) { if (resultOrExceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultOrExceptionIsMutable(); resultOrException_.add(index, value); onChanged(); } else { resultOrExceptionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder addResultOrException( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder builderForValue) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); resultOrException_.add(builderForValue.build()); onChanged(); } else { resultOrExceptionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder addResultOrException( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder builderForValue) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); resultOrException_.add(index, builderForValue.build()); onChanged(); } else { resultOrExceptionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder addAllResultOrException( java.lang.Iterable values) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); super.addAll(values, resultOrException_); onChanged(); } else { resultOrExceptionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder clearResultOrException() { if (resultOrExceptionBuilder_ == null) { resultOrException_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultOrExceptionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public Builder removeResultOrException(int index) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); resultOrException_.remove(index); onChanged(); } else { resultOrExceptionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder getResultOrExceptionBuilder( int index) { return getResultOrExceptionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder getResultOrExceptionOrBuilder( int index) { if (resultOrExceptionBuilder_ == null) { return resultOrException_.get(index); } else { return resultOrExceptionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public java.util.List getResultOrExceptionOrBuilderList() { if (resultOrExceptionBuilder_ != null) { return resultOrExceptionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(resultOrException_); } } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder addResultOrExceptionBuilder() { return getResultOrExceptionFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.getDefaultInstance()); } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder addResultOrExceptionBuilder( int index) { return getResultOrExceptionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.getDefaultInstance()); } /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ public java.util.List getResultOrExceptionBuilderList() { return getResultOrExceptionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder> getResultOrExceptionFieldBuilder() { if (resultOrExceptionBuilder_ == null) { resultOrExceptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrException.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder>( resultOrException_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); resultOrException_ = null; } return resultOrExceptionBuilder_; } // optional .hbase.pb.NameBytesPair exception = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> exceptionBuilder_; /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public boolean hasException() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair getException() { if (exceptionBuilder_ == null) { return exception_; } else { return exceptionBuilder_.getMessage(); } } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public Builder setException(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (exceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exception_ = value; onChanged(); } else { exceptionBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public Builder setException( org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder builderForValue) { if (exceptionBuilder_ == null) { exception_ = builderForValue.build(); onChanged(); } else { exceptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public Builder mergeException(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value) { if (exceptionBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && exception_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance()) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.newBuilder(exception_).mergeFrom(value).buildPartial(); } else { exception_ = value; } onChanged(); } else { exceptionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public Builder clearException() { if (exceptionBuilder_ == null) { exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); onChanged(); } else { exceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder getExceptionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExceptionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder() { if (exceptionBuilder_ != null) { return exceptionBuilder_.getMessageOrBuilder(); } else { return exception_; } } /** * optional .hbase.pb.NameBytesPair exception = 2; * *
       * If the operation failed globally for this region, this exception is set
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( exception_, getParentForChildren(), isClean()); exception_ = null; } return exceptionBuilder_; } // optional bool processed = 3; private boolean processed_ ; /** * optional bool processed = 3; */ public boolean hasProcessed() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool processed = 3; */ public boolean getProcessed() { return processed_; } /** * optional bool processed = 3; */ public Builder setProcessed(boolean value) { bitField0_ |= 0x00000004; processed_ = value; onChanged(); return this; } /** * optional bool processed = 3; */ public Builder clearProcessed() { bitField0_ = (bitField0_ & ~0x00000004); processed_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:hbase.pb.RegionActionResult) } static { defaultInstance = new RegionActionResult(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.RegionActionResult) } public interface MultiRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.RegionAction regionAction = 1; /** * repeated .hbase.pb.RegionAction regionAction = 1; */ java.util.List getRegionActionList(); /** * repeated .hbase.pb.RegionAction regionAction = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction getRegionAction(int index); /** * repeated .hbase.pb.RegionAction regionAction = 1; */ int getRegionActionCount(); /** * repeated .hbase.pb.RegionAction regionAction = 1; */ java.util.List getRegionActionOrBuilderList(); /** * repeated .hbase.pb.RegionAction regionAction = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder getRegionActionOrBuilder( int index); // optional uint64 nonceGroup = 2; /** * optional uint64 nonceGroup = 2; */ boolean hasNonceGroup(); /** * optional uint64 nonceGroup = 2; */ long getNonceGroup(); // optional .hbase.pb.Condition condition = 3 [deprecated = true]; /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated boolean hasCondition(); /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition(); /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder(); } /** * Protobuf type {@code hbase.pb.MultiRequest} * *
   **
   * Execute a list of actions on a given region in order.
   * Nothing prevents a request to contains a set of RegionAction on the same region.
   * For this reason, the matching between the MultiRequest and the MultiResponse is not
   *  done by the region specifier but by keeping the order of the RegionActionResult vs.
   *  the order of the RegionAction.
   * 
*/ @javax.annotation.Generated("proto") public static final class MultiRequest extends com.google.protobuf.GeneratedMessage implements MultiRequestOrBuilder { // Use MultiRequest.newBuilder() to construct. private MultiRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MultiRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MultiRequest defaultInstance; public static MultiRequest getDefaultInstance() { return defaultInstance; } public MultiRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MultiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { regionAction_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } regionAction_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; nonceGroup_ = input.readUInt64(); break; } case 26: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = condition_.toBuilder(); } condition_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(condition_); condition_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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)) { regionAction_ = java.util.Collections.unmodifiableList(regionAction_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MultiRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MultiRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .hbase.pb.RegionAction regionAction = 1; public static final int REGIONACTION_FIELD_NUMBER = 1; private java.util.List regionAction_; /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public java.util.List getRegionActionList() { return regionAction_; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public java.util.List getRegionActionOrBuilderList() { return regionAction_; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public int getRegionActionCount() { return regionAction_.size(); } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction getRegionAction(int index) { return regionAction_.get(index); } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder getRegionActionOrBuilder( int index) { return regionAction_.get(index); } // optional uint64 nonceGroup = 2; public static final int NONCEGROUP_FIELD_NUMBER = 2; private long nonceGroup_; /** * optional uint64 nonceGroup = 2; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 nonceGroup = 2; */ public long getNonceGroup() { return nonceGroup_; } // optional .hbase.pb.Condition condition = 3 [deprecated = true]; public static final int CONDITION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_; /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated public boolean hasCondition() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { return condition_; } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
     * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
     * it in the future.
     * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { return condition_; } private void initFields() { regionAction_ = java.util.Collections.emptyList(); nonceGroup_ = 0L; condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getRegionActionCount(); i++) { if (!getRegionAction(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCondition()) { if (!getCondition().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 < regionAction_.size(); i++) { output.writeMessage(1, regionAction_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(2, nonceGroup_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(3, condition_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < regionAction_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, regionAction_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, nonceGroup_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, condition_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest) obj; boolean result = true; result = result && getRegionActionList() .equals(other.getRegionActionList()); result = result && (hasNonceGroup() == other.hasNonceGroup()); if (hasNonceGroup()) { result = result && (getNonceGroup() == other.getNonceGroup()); } result = result && (hasCondition() == other.hasCondition()); if (hasCondition()) { result = result && getCondition() .equals(other.getCondition()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getRegionActionCount() > 0) { hash = (37 * hash) + REGIONACTION_FIELD_NUMBER; hash = (53 * hash) + getRegionActionList().hashCode(); } if (hasNonceGroup()) { hash = (37 * hash) + NONCEGROUP_FIELD_NUMBER; hash = (53 * hash) + hashLong(getNonceGroup()); } if (hasCondition()) { hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + getCondition().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MultiRequest} * *
     **
     * Execute a list of actions on a given region in order.
     * Nothing prevents a request to contains a set of RegionAction on the same region.
     * For this reason, the matching between the MultiRequest and the MultiResponse is not
     *  done by the region specifier but by keeping the order of the RegionActionResult vs.
     *  the order of the RegionAction.
     * 
*/ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionActionFieldBuilder(); getConditionFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionActionBuilder_ == null) { regionAction_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { regionActionBuilder_.clear(); } nonceGroup_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (regionActionBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { regionAction_ = java.util.Collections.unmodifiableList(regionAction_); bitField0_ = (bitField0_ & ~0x00000001); } result.regionAction_ = regionAction_; } else { result.regionAction_ = regionActionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.nonceGroup_ = nonceGroup_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } if (conditionBuilder_ == null) { result.condition_ = condition_; } else { result.condition_ = conditionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.getDefaultInstance()) return this; if (regionActionBuilder_ == null) { if (!other.regionAction_.isEmpty()) { if (regionAction_.isEmpty()) { regionAction_ = other.regionAction_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRegionActionIsMutable(); regionAction_.addAll(other.regionAction_); } onChanged(); } } else { if (!other.regionAction_.isEmpty()) { if (regionActionBuilder_.isEmpty()) { regionActionBuilder_.dispose(); regionActionBuilder_ = null; regionAction_ = other.regionAction_; bitField0_ = (bitField0_ & ~0x00000001); regionActionBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRegionActionFieldBuilder() : null; } else { regionActionBuilder_.addAllMessages(other.regionAction_); } } } if (other.hasNonceGroup()) { setNonceGroup(other.getNonceGroup()); } if (other.hasCondition()) { mergeCondition(other.getCondition()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getRegionActionCount(); i++) { if (!getRegionAction(i).isInitialized()) { return false; } } if (hasCondition()) { if (!getCondition().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.RegionAction regionAction = 1; private java.util.List regionAction_ = java.util.Collections.emptyList(); private void ensureRegionActionIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { regionAction_ = new java.util.ArrayList(regionAction_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder> regionActionBuilder_; /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public java.util.List getRegionActionList() { if (regionActionBuilder_ == null) { return java.util.Collections.unmodifiableList(regionAction_); } else { return regionActionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public int getRegionActionCount() { if (regionActionBuilder_ == null) { return regionAction_.size(); } else { return regionActionBuilder_.getCount(); } } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction getRegionAction(int index) { if (regionActionBuilder_ == null) { return regionAction_.get(index); } else { return regionActionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder setRegionAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction value) { if (regionActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionIsMutable(); regionAction_.set(index, value); onChanged(); } else { regionActionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder setRegionAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder builderForValue) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); regionAction_.set(index, builderForValue.build()); onChanged(); } else { regionActionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder addRegionAction(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction value) { if (regionActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionIsMutable(); regionAction_.add(value); onChanged(); } else { regionActionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder addRegionAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction value) { if (regionActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionIsMutable(); regionAction_.add(index, value); onChanged(); } else { regionActionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder addRegionAction( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder builderForValue) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); regionAction_.add(builderForValue.build()); onChanged(); } else { regionActionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder addRegionAction( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder builderForValue) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); regionAction_.add(index, builderForValue.build()); onChanged(); } else { regionActionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder addAllRegionAction( java.lang.Iterable values) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); super.addAll(values, regionAction_); onChanged(); } else { regionActionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder clearRegionAction() { if (regionActionBuilder_ == null) { regionAction_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { regionActionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public Builder removeRegionAction(int index) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); regionAction_.remove(index); onChanged(); } else { regionActionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder getRegionActionBuilder( int index) { return getRegionActionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder getRegionActionOrBuilder( int index) { if (regionActionBuilder_ == null) { return regionAction_.get(index); } else { return regionActionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public java.util.List getRegionActionOrBuilderList() { if (regionActionBuilder_ != null) { return regionActionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(regionAction_); } } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder addRegionActionBuilder() { return getRegionActionFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.getDefaultInstance()); } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder addRegionActionBuilder( int index) { return getRegionActionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.getDefaultInstance()); } /** * repeated .hbase.pb.RegionAction regionAction = 1; */ public java.util.List getRegionActionBuilderList() { return getRegionActionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder> getRegionActionFieldBuilder() { if (regionActionBuilder_ == null) { regionActionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder>( regionAction_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); regionAction_ = null; } return regionActionBuilder_; } // optional uint64 nonceGroup = 2; private long nonceGroup_ ; /** * optional uint64 nonceGroup = 2; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 nonceGroup = 2; */ public long getNonceGroup() { return nonceGroup_; } /** * optional uint64 nonceGroup = 2; */ public Builder setNonceGroup(long value) { bitField0_ |= 0x00000002; nonceGroup_ = value; onChanged(); return this; } /** * optional uint64 nonceGroup = 2; */ public Builder clearNonceGroup() { bitField0_ = (bitField0_ & ~0x00000002); nonceGroup_ = 0L; onChanged(); return this; } // optional .hbase.pb.Condition condition = 3 [deprecated = true]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> conditionBuilder_; /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public boolean hasCondition() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition getCondition() { if (conditionBuilder_ == null) { return condition_; } else { return conditionBuilder_.getMessage(); } } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public Builder setCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } condition_ = value; onChanged(); } else { conditionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public Builder setCondition( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); } else { conditionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public Builder mergeCondition(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition value) { if (conditionBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && condition_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance()) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.newBuilder(condition_).mergeFrom(value).buildPartial(); } else { condition_ = value; } onChanged(); } else { conditionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public Builder clearCondition() { if (conditionBuilder_ == null) { condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); onChanged(); } else { conditionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder getConditionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConditionFieldBuilder().getBuilder(); } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ @java.lang.Deprecated public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { return condition_; } } /** * optional .hbase.pb.Condition condition = 3 [deprecated = true]; * *
       * Moved this to RegionAction in HBASE-8458. Keep it for backward compatibility. Need to remove
       * it in the future.
       * 
*/ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { conditionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder>( condition_, getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.MultiRequest) } static { defaultInstance = new MultiRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MultiRequest) } public interface MultiResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { // repeated .hbase.pb.RegionActionResult regionActionResult = 1; /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ java.util.List getRegionActionResultList(); /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getRegionActionResult(int index); /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ int getRegionActionResultCount(); /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ java.util.List getRegionActionResultOrBuilderList(); /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getRegionActionResultOrBuilder( int index); // optional bool processed = 2 [deprecated = true]; /** * optional bool processed = 2 [deprecated = true]; * *
     * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
     * remove it in the future.
     * 
*/ @java.lang.Deprecated boolean hasProcessed(); /** * optional bool processed = 2 [deprecated = true]; * *
     * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
     * remove it in the future.
     * 
*/ @java.lang.Deprecated boolean getProcessed(); // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ boolean hasRegionStatistics(); /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats getRegionStatistics(); /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder getRegionStatisticsOrBuilder(); } /** * Protobuf type {@code hbase.pb.MultiResponse} */ @javax.annotation.Generated("proto") public static final class MultiResponse extends com.google.protobuf.GeneratedMessage implements MultiResponseOrBuilder { // Use MultiResponse.newBuilder() to construct. private MultiResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MultiResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MultiResponse defaultInstance; public static MultiResponse getDefaultInstance() { return defaultInstance; } public MultiResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MultiResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { regionActionResult_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } regionActionResult_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; processed_ = input.readBool(); break; } case 26: { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = regionStatistics_.toBuilder(); } regionStatistics_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(regionStatistics_); regionStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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)) { regionActionResult_ = java.util.Collections.unmodifiableList(regionActionResult_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MultiResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MultiResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .hbase.pb.RegionActionResult regionActionResult = 1; public static final int REGIONACTIONRESULT_FIELD_NUMBER = 1; private java.util.List regionActionResult_; /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public java.util.List getRegionActionResultList() { return regionActionResult_; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public java.util.List getRegionActionResultOrBuilderList() { return regionActionResult_; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public int getRegionActionResultCount() { return regionActionResult_.size(); } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getRegionActionResult(int index) { return regionActionResult_.get(index); } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getRegionActionResultOrBuilder( int index) { return regionActionResult_.get(index); } // optional bool processed = 2 [deprecated = true]; public static final int PROCESSED_FIELD_NUMBER = 2; private boolean processed_; /** * optional bool processed = 2 [deprecated = true]; * *
     * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
     * remove it in the future.
     * 
*/ @java.lang.Deprecated public boolean hasProcessed() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bool processed = 2 [deprecated = true]; * *
     * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
     * remove it in the future.
     * 
*/ @java.lang.Deprecated public boolean getProcessed() { return processed_; } // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; public static final int REGIONSTATISTICS_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats regionStatistics_; /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public boolean hasRegionStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats getRegionStatistics() { return regionStatistics_; } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder getRegionStatisticsOrBuilder() { return regionStatistics_; } private void initFields() { regionActionResult_ = java.util.Collections.emptyList(); processed_ = false; regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; for (int i = 0; i < getRegionActionResultCount(); i++) { if (!getRegionActionResult(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasRegionStatistics()) { if (!getRegionStatistics().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 < regionActionResult_.size(); i++) { output.writeMessage(1, regionActionResult_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(2, processed_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(3, regionStatistics_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < regionActionResult_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, regionActionResult_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, processed_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, regionStatistics_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse other = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse) obj; boolean result = true; result = result && getRegionActionResultList() .equals(other.getRegionActionResultList()); result = result && (hasProcessed() == other.hasProcessed()); if (hasProcessed()) { result = result && (getProcessed() == other.getProcessed()); } result = result && (hasRegionStatistics() == other.hasRegionStatistics()); if (hasRegionStatistics()) { result = result && getRegionStatistics() .equals(other.getRegionStatistics()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getRegionActionResultCount() > 0) { hash = (37 * hash) + REGIONACTIONRESULT_FIELD_NUMBER; hash = (53 * hash) + getRegionActionResultList().hashCode(); } if (hasProcessed()) { hash = (37 * hash) + PROCESSED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getProcessed()); } if (hasRegionStatistics()) { hash = (37 * hash) + REGIONSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getRegionStatistics().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse 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.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.MultiResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRegionActionResultFieldBuilder(); getRegionStatisticsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (regionActionResultBuilder_ == null) { regionActionResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { regionActionResultBuilder_.clear(); } processed_ = false; bitField0_ = (bitField0_ & ~0x00000002); if (regionStatisticsBuilder_ == null) { regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); } else { regionStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_descriptor; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance(); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse build() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (regionActionResultBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { regionActionResult_ = java.util.Collections.unmodifiableList(regionActionResult_); bitField0_ = (bitField0_ & ~0x00000001); } result.regionActionResult_ = regionActionResult_; } else { result.regionActionResult_ = regionActionResultBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.processed_ = processed_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } if (regionStatisticsBuilder_ == null) { result.regionStatistics_ = regionStatistics_; } else { result.regionStatistics_ = regionStatisticsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse) { return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance()) return this; if (regionActionResultBuilder_ == null) { if (!other.regionActionResult_.isEmpty()) { if (regionActionResult_.isEmpty()) { regionActionResult_ = other.regionActionResult_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRegionActionResultIsMutable(); regionActionResult_.addAll(other.regionActionResult_); } onChanged(); } } else { if (!other.regionActionResult_.isEmpty()) { if (regionActionResultBuilder_.isEmpty()) { regionActionResultBuilder_.dispose(); regionActionResultBuilder_ = null; regionActionResult_ = other.regionActionResult_; bitField0_ = (bitField0_ & ~0x00000001); regionActionResultBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRegionActionResultFieldBuilder() : null; } else { regionActionResultBuilder_.addAllMessages(other.regionActionResult_); } } } if (other.hasProcessed()) { setProcessed(other.getProcessed()); } if (other.hasRegionStatistics()) { mergeRegionStatistics(other.getRegionStatistics()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getRegionActionResultCount(); i++) { if (!getRegionActionResult(i).isInitialized()) { return false; } } if (hasRegionStatistics()) { if (!getRegionStatistics().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .hbase.pb.RegionActionResult regionActionResult = 1; private java.util.List regionActionResult_ = java.util.Collections.emptyList(); private void ensureRegionActionResultIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { regionActionResult_ = new java.util.ArrayList(regionActionResult_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder> regionActionResultBuilder_; /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public java.util.List getRegionActionResultList() { if (regionActionResultBuilder_ == null) { return java.util.Collections.unmodifiableList(regionActionResult_); } else { return regionActionResultBuilder_.getMessageList(); } } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public int getRegionActionResultCount() { if (regionActionResultBuilder_ == null) { return regionActionResult_.size(); } else { return regionActionResultBuilder_.getCount(); } } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getRegionActionResult(int index) { if (regionActionResultBuilder_ == null) { return regionActionResult_.get(index); } else { return regionActionResultBuilder_.getMessage(index); } } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder setRegionActionResult( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) { if (regionActionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionResultIsMutable(); regionActionResult_.set(index, value); onChanged(); } else { regionActionResultBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder setRegionActionResult( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); regionActionResult_.set(index, builderForValue.build()); onChanged(); } else { regionActionResultBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder addRegionActionResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) { if (regionActionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionResultIsMutable(); regionActionResult_.add(value); onChanged(); } else { regionActionResultBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder addRegionActionResult( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) { if (regionActionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegionActionResultIsMutable(); regionActionResult_.add(index, value); onChanged(); } else { regionActionResultBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder addRegionActionResult( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); regionActionResult_.add(builderForValue.build()); onChanged(); } else { regionActionResultBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder addRegionActionResult( int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); regionActionResult_.add(index, builderForValue.build()); onChanged(); } else { regionActionResultBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder addAllRegionActionResult( java.lang.Iterable values) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); super.addAll(values, regionActionResult_); onChanged(); } else { regionActionResultBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder clearRegionActionResult() { if (regionActionResultBuilder_ == null) { regionActionResult_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { regionActionResultBuilder_.clear(); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public Builder removeRegionActionResult(int index) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); regionActionResult_.remove(index); onChanged(); } else { regionActionResultBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder getRegionActionResultBuilder( int index) { return getRegionActionResultFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getRegionActionResultOrBuilder( int index) { if (regionActionResultBuilder_ == null) { return regionActionResult_.get(index); } else { return regionActionResultBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public java.util.List getRegionActionResultOrBuilderList() { if (regionActionResultBuilder_ != null) { return regionActionResultBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(regionActionResult_); } } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder addRegionActionResultBuilder() { return getRegionActionResultFieldBuilder().addBuilder( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance()); } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder addRegionActionResultBuilder( int index) { return getRegionActionResultFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance()); } /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ public java.util.List getRegionActionResultBuilderList() { return getRegionActionResultFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder> getRegionActionResultFieldBuilder() { if (regionActionResultBuilder_ == null) { regionActionResultBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>( regionActionResult_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); regionActionResult_ = null; } return regionActionResultBuilder_; } // optional bool processed = 2 [deprecated = true]; private boolean processed_ ; /** * optional bool processed = 2 [deprecated = true]; * *
       * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
       * remove it in the future.
       * 
*/ @java.lang.Deprecated public boolean hasProcessed() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool processed = 2 [deprecated = true]; * *
       * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
       * remove it in the future.
       * 
*/ @java.lang.Deprecated public boolean getProcessed() { return processed_; } /** * optional bool processed = 2 [deprecated = true]; * *
       * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
       * remove it in the future.
       * 
*/ @java.lang.Deprecated public Builder setProcessed(boolean value) { bitField0_ |= 0x00000002; processed_ = value; onChanged(); return this; } /** * optional bool processed = 2 [deprecated = true]; * *
       * Moved this to RegionActionResult in HBASE-8458. Keep it for backward compatibility. Need to
       * remove it in the future.
       * 
*/ @java.lang.Deprecated public Builder clearProcessed() { bitField0_ = (bitField0_ & ~0x00000002); processed_ = false; onChanged(); return this; } // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder> regionStatisticsBuilder_; /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public boolean hasRegionStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats getRegionStatistics() { if (regionStatisticsBuilder_ == null) { return regionStatistics_; } else { return regionStatisticsBuilder_.getMessage(); } } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public Builder setRegionStatistics(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats value) { if (regionStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } regionStatistics_ = value; onChanged(); } else { regionStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public Builder setRegionStatistics( org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder builderForValue) { if (regionStatisticsBuilder_ == null) { regionStatistics_ = builderForValue.build(); onChanged(); } else { regionStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public Builder mergeRegionStatistics(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats value) { if (regionStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && regionStatistics_ != org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance()) { regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.newBuilder(regionStatistics_).mergeFrom(value).buildPartial(); } else { regionStatistics_ = value; } onChanged(); } else { regionStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public Builder clearRegionStatistics() { if (regionStatisticsBuilder_ == null) { regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); onChanged(); } else { regionStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder getRegionStatisticsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getRegionStatisticsFieldBuilder().getBuilder(); } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder getRegionStatisticsOrBuilder() { if (regionStatisticsBuilder_ != null) { return regionStatisticsBuilder_.getMessageOrBuilder(); } else { return regionStatistics_; } } /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder> getRegionStatisticsFieldBuilder() { if (regionStatisticsBuilder_ == null) { regionStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder>( regionStatistics_, getParentForChildren(), isClean()); regionStatistics_ = null; } return regionStatisticsBuilder_; } // @@protoc_insertion_point(builder_scope:hbase.pb.MultiResponse) } static { defaultInstance = new MultiResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:hbase.pb.MultiResponse) } /** * Protobuf service {@code hbase.pb.ClientService} */ public static abstract class ClientService implements com.google.protobuf.Service { protected ClientService() {} public interface Interface { /** * rpc Get(.hbase.pb.GetRequest) returns (.hbase.pb.GetResponse); */ public abstract void get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request, com.google.protobuf.RpcCallback done); /** * rpc Mutate(.hbase.pb.MutateRequest) returns (.hbase.pb.MutateResponse); */ public abstract void mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request, com.google.protobuf.RpcCallback done); /** * rpc Scan(.hbase.pb.ScanRequest) returns (.hbase.pb.ScanResponse); */ public abstract void scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request, com.google.protobuf.RpcCallback done); /** * rpc BulkLoadHFile(.hbase.pb.BulkLoadHFileRequest) returns (.hbase.pb.BulkLoadHFileResponse); */ public abstract void bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request, com.google.protobuf.RpcCallback done); /** * rpc PrepareBulkLoad(.hbase.pb.PrepareBulkLoadRequest) returns (.hbase.pb.PrepareBulkLoadResponse); */ public abstract void prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request, com.google.protobuf.RpcCallback done); /** * rpc CleanupBulkLoad(.hbase.pb.CleanupBulkLoadRequest) returns (.hbase.pb.CleanupBulkLoadResponse); */ public abstract void cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request, com.google.protobuf.RpcCallback done); /** * rpc ExecService(.hbase.pb.CoprocessorServiceRequest) returns (.hbase.pb.CoprocessorServiceResponse); */ public abstract void execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done); /** * rpc ExecRegionServerService(.hbase.pb.CoprocessorServiceRequest) returns (.hbase.pb.CoprocessorServiceResponse); */ public abstract void execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done); /** * rpc Multi(.hbase.pb.MultiRequest) returns (.hbase.pb.MultiResponse); */ public abstract void multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request, com.google.protobuf.RpcCallback done); } public static com.google.protobuf.Service newReflectiveService( final Interface impl) { return new ClientService() { @java.lang.Override public void get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request, com.google.protobuf.RpcCallback done) { impl.get(controller, request, done); } @java.lang.Override public void mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request, com.google.protobuf.RpcCallback done) { impl.mutate(controller, request, done); } @java.lang.Override public void scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request, com.google.protobuf.RpcCallback done) { impl.scan(controller, request, done); } @java.lang.Override public void bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request, com.google.protobuf.RpcCallback done) { impl.bulkLoadHFile(controller, request, done); } @java.lang.Override public void prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request, com.google.protobuf.RpcCallback done) { impl.prepareBulkLoad(controller, request, done); } @java.lang.Override public void cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request, com.google.protobuf.RpcCallback done) { impl.cleanupBulkLoad(controller, request, done); } @java.lang.Override public void execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done) { impl.execService(controller, request, done); } @java.lang.Override public void execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done) { impl.execRegionServerService(controller, request, done); } @java.lang.Override public void multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request, com.google.protobuf.RpcCallback done) { impl.multi(controller, request, done); } }; } public static com.google.protobuf.BlockingService newReflectiveBlockingService(final BlockingInterface impl) { return new com.google.protobuf.BlockingService() { public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final com.google.protobuf.Message callBlockingMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request) throws com.google.protobuf.ServiceException { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callBlockingMethod() given method descriptor for " + "wrong service type."); } switch(method.getIndex()) { case 0: return impl.get(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest)request); case 1: return impl.mutate(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest)request); case 2: return impl.scan(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest)request); case 3: return impl.bulkLoadHFile(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest)request); case 4: return impl.prepareBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest)request); case 5: return impl.cleanupBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest)request); case 6: return impl.execService(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)request); case 7: return impl.execRegionServerService(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)request); case 8: return impl.multi(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest)request); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.getDefaultInstance(); case 4: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.getDefaultInstance(); case 5: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.getDefaultInstance(); case 6: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance(); case 7: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance(); case 8: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance(); case 4: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance(); case 5: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance(); case 6: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(); case 7: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(); case 8: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } }; } /** * rpc Get(.hbase.pb.GetRequest) returns (.hbase.pb.GetResponse); */ public abstract void get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request, com.google.protobuf.RpcCallback done); /** * rpc Mutate(.hbase.pb.MutateRequest) returns (.hbase.pb.MutateResponse); */ public abstract void mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request, com.google.protobuf.RpcCallback done); /** * rpc Scan(.hbase.pb.ScanRequest) returns (.hbase.pb.ScanResponse); */ public abstract void scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request, com.google.protobuf.RpcCallback done); /** * rpc BulkLoadHFile(.hbase.pb.BulkLoadHFileRequest) returns (.hbase.pb.BulkLoadHFileResponse); */ public abstract void bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request, com.google.protobuf.RpcCallback done); /** * rpc PrepareBulkLoad(.hbase.pb.PrepareBulkLoadRequest) returns (.hbase.pb.PrepareBulkLoadResponse); */ public abstract void prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request, com.google.protobuf.RpcCallback done); /** * rpc CleanupBulkLoad(.hbase.pb.CleanupBulkLoadRequest) returns (.hbase.pb.CleanupBulkLoadResponse); */ public abstract void cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request, com.google.protobuf.RpcCallback done); /** * rpc ExecService(.hbase.pb.CoprocessorServiceRequest) returns (.hbase.pb.CoprocessorServiceResponse); */ public abstract void execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done); /** * rpc ExecRegionServerService(.hbase.pb.CoprocessorServiceRequest) returns (.hbase.pb.CoprocessorServiceResponse); */ public abstract void execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done); /** * rpc Multi(.hbase.pb.MultiRequest) returns (.hbase.pb.MultiResponse); */ public abstract void multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request, com.google.protobuf.RpcCallback done); public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor().getServices().get(0); } public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final void callMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback< com.google.protobuf.Message> done) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callMethod() given method descriptor for wrong " + "service type."); } switch(method.getIndex()) { case 0: this.get(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 1: this.mutate(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 2: this.scan(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 3: this.bulkLoadHFile(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 4: this.prepareBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 5: this.cleanupBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 6: this.execService(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 7: this.execRegionServerService(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 8: this.multi(controller, (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest)request, com.google.protobuf.RpcUtil.specializeCallback( done)); return; default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.getDefaultInstance(); case 4: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest.getDefaultInstance(); case 5: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest.getDefaultInstance(); case 6: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance(); case 7: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest.getDefaultInstance(); case 8: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance(); case 4: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance(); case 5: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance(); case 6: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(); case 7: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(); case 8: return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public static Stub newStub( com.google.protobuf.RpcChannel channel) { return new Stub(channel); } @javax.annotation.Generated("proto") public static final class Stub extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService implements Interface { private Stub(com.google.protobuf.RpcChannel channel) { this.channel = channel; } private final com.google.protobuf.RpcChannel channel; public com.google.protobuf.RpcChannel getChannel() { return channel; } public void get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance())); } public void mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(1), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance())); } public void scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(2), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance())); } public void bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(3), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance())); } public void prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(4), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance())); } public void cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(5), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance())); } public void execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(6), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance())); } public void execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(7), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance())); } public void multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request, com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(8), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.class, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance())); } } public static BlockingInterface newBlockingStub( com.google.protobuf.BlockingRpcChannel channel) { return new BlockingStub(channel); } public interface BlockingInterface { public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) throws com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request) throws com.google.protobuf.ServiceException; } private static final class BlockingStub implements BlockingInterface { private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) { this.channel = channel; } private final com.google.protobuf.BlockingRpcChannel channel; public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse get( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse mutate( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(1), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse scan( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(2), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse bulkLoadHFile( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(3), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse prepareBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(4), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse cleanupBulkLoad( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(5), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse execService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(6), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse execRegionServerService( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(7), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse multi( com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest request) throws com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(8), controller, request, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse.getDefaultInstance()); } } // @@protoc_insertion_point(class_scope:hbase.pb.ClientService) } private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Authorizations_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Authorizations_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CellVisibility_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CellVisibility_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Column_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Column_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Get_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Get_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Result_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Result_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Condition_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Condition_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutateRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutateResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Scan_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Scan_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ScanRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ScanRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Cursor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Cursor_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ScanResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ScanResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_DelegationToken_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_DelegationToken_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceCall_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceResult_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Action_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Action_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionAction_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionAction_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionLoadStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRegionLoadStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ResultOrException_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ResultOrException_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionActionResult_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionActionResult_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRequest_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\014Client.proto\022\010hbase.pb\032\013Table.proto\032\013H" + "Base.proto\032\014Filter.proto\032\nCell.proto\032\020Co" + "mparator.proto\032\017MapReduce.proto\"\037\n\016Autho" + "rizations\022\r\n\005label\030\001 \003(\t\"$\n\016CellVisibili" + "ty\022\022\n\nexpression\030\001 \002(\t\"+\n\006Column\022\016\n\006fami" + "ly\030\001 \002(\014\022\021\n\tqualifier\030\002 \003(\014\"\341\003\n\003Get\022\013\n\003r" + "ow\030\001 \002(\014\022 \n\006column\030\002 \003(\0132\020.hbase.pb.Colu" + "mn\022*\n\tattribute\030\003 \003(\0132\027.hbase.pb.NameByt" + "esPair\022 \n\006filter\030\004 \001(\0132\020.hbase.pb.Filter" + "\022\'\n\ntime_range\030\005 \001(\0132\023.hbase.pb.TimeRang", "e\022\027\n\014max_versions\030\006 \001(\r:\0011\022\032\n\014cache_bloc" + "ks\030\007 \001(\010:\004true\022\023\n\013store_limit\030\010 \001(\r\022\024\n\014s" + "tore_offset\030\t \001(\r\022\035\n\016existence_only\030\n \001(" + "\010:\005false\022!\n\022closest_row_before\030\013 \001(\010:\005fa" + "lse\0222\n\013consistency\030\014 \001(\0162\025.hbase.pb.Cons" + "istency:\006STRONG\0226\n\rcf_time_range\030\r \003(\0132\037" + ".hbase.pb.ColumnFamilyTimeRange\022&\n\036load_" + "column_families_on_demand\030\016 \001(\010\"\203\001\n\006Resu" + "lt\022\034\n\004cell\030\001 \003(\0132\016.hbase.pb.Cell\022\035\n\025asso" + "ciated_cell_count\030\002 \001(\005\022\016\n\006exists\030\003 \001(\010\022", "\024\n\005stale\030\004 \001(\010:\005false\022\026\n\007partial\030\005 \001(\010:\005" + "false\"S\n\nGetRequest\022)\n\006region\030\001 \002(\0132\031.hb" + "ase.pb.RegionSpecifier\022\032\n\003get\030\002 \002(\0132\r.hb" + "ase.pb.Get\"/\n\013GetResponse\022 \n\006result\030\001 \001(" + "\0132\020.hbase.pb.Result\"\335\001\n\tCondition\022\013\n\003row" + "\030\001 \002(\014\022\016\n\006family\030\002 \001(\014\022\021\n\tqualifier\030\003 \001(" + "\014\022+\n\014compare_type\030\004 \001(\0162\025.hbase.pb.Compa" + "reType\022(\n\ncomparator\030\005 \001(\0132\024.hbase.pb.Co" + "mparator\022\'\n\ntime_range\030\006 \001(\0132\023.hbase.pb." + "TimeRange\022 \n\006filter\030\007 \001(\0132\020.hbase.pb.Fil", "ter\"\364\006\n\rMutationProto\022\013\n\003row\030\001 \001(\014\0229\n\013mu" + "tate_type\030\002 \001(\0162$.hbase.pb.MutationProto" + ".MutationType\0229\n\014column_value\030\003 \003(\0132#.hb" + "ase.pb.MutationProto.ColumnValue\022\021\n\ttime" + "stamp\030\004 \001(\004\022*\n\tattribute\030\005 \003(\0132\027.hbase.p" + "b.NameBytesPair\022C\n\ndurability\030\006 \001(\0162\".hb" + "ase.pb.MutationProto.Durability:\013USE_DEF" + "AULT\022\'\n\ntime_range\030\007 \001(\0132\023.hbase.pb.Time" + "Range\022\035\n\025associated_cell_count\030\010 \001(\005\022\r\n\005" + "nonce\030\t \001(\004\032\371\001\n\013ColumnValue\022\016\n\006family\030\001 ", "\002(\014\022K\n\017qualifier_value\030\002 \003(\01322.hbase.pb." + "MutationProto.ColumnValue.QualifierValue" + "\032\214\001\n\016QualifierValue\022\021\n\tqualifier\030\001 \001(\014\022\r" + "\n\005value\030\002 \001(\014\022\021\n\ttimestamp\030\003 \001(\004\0227\n\013dele" + "te_type\030\004 \001(\0162\".hbase.pb.MutationProto.D" + "eleteType\022\014\n\004tags\030\005 \001(\014\"W\n\nDurability\022\017\n" + "\013USE_DEFAULT\020\000\022\014\n\010SKIP_WAL\020\001\022\r\n\tASYNC_WA" + "L\020\002\022\014\n\010SYNC_WAL\020\003\022\r\n\tFSYNC_WAL\020\004\">\n\014Muta" + "tionType\022\n\n\006APPEND\020\000\022\r\n\tINCREMENT\020\001\022\007\n\003P" + "UT\020\002\022\n\n\006DELETE\020\003\"p\n\nDeleteType\022\026\n\022DELETE", "_ONE_VERSION\020\000\022\034\n\030DELETE_MULTIPLE_VERSIO" + "NS\020\001\022\021\n\rDELETE_FAMILY\020\002\022\031\n\025DELETE_FAMILY" + "_VERSION\020\003\"\242\001\n\rMutateRequest\022)\n\006region\030\001" + " \002(\0132\031.hbase.pb.RegionSpecifier\022)\n\010mutat" + "ion\030\002 \002(\0132\027.hbase.pb.MutationProto\022&\n\tco" + "ndition\030\003 \001(\0132\023.hbase.pb.Condition\022\023\n\013no" + "nce_group\030\004 \001(\004\"E\n\016MutateResponse\022 \n\006res" + "ult\030\001 \001(\0132\020.hbase.pb.Result\022\021\n\tprocessed" + "\030\002 \001(\010\"\246\006\n\004Scan\022 \n\006column\030\001 \003(\0132\020.hbase." + "pb.Column\022*\n\tattribute\030\002 \003(\0132\027.hbase.pb.", "NameBytesPair\022\021\n\tstart_row\030\003 \001(\014\022\020\n\010stop" + "_row\030\004 \001(\014\022 \n\006filter\030\005 \001(\0132\020.hbase.pb.Fi" + "lter\022\'\n\ntime_range\030\006 \001(\0132\023.hbase.pb.Time" + "Range\022\027\n\014max_versions\030\007 \001(\r:\0011\022\032\n\014cache_" + "blocks\030\010 \001(\010:\004true\022\022\n\nbatch_size\030\t \001(\r\022\027" + "\n\017max_result_size\030\n \001(\004\022\023\n\013store_limit\030\013" + " \001(\r\022\024\n\014store_offset\030\014 \001(\r\022&\n\036load_colum" + "n_families_on_demand\030\r \001(\010\022\021\n\005small\030\016 \001(" + "\010B\002\030\001\022\027\n\010reversed\030\017 \001(\010:\005false\0222\n\013consis" + "tency\030\020 \001(\0162\025.hbase.pb.Consistency:\006STRO", "NG\022\017\n\007caching\030\021 \001(\r\022\035\n\025allow_partial_res" + "ults\030\022 \001(\010\0226\n\rcf_time_range\030\023 \003(\0132\037.hbas" + "e.pb.ColumnFamilyTimeRange\022\032\n\017mvcc_read_" + "point\030\024 \001(\004:\0010\022\037\n\021include_start_row\030\025 \001(" + "\010:\004true\022\037\n\020include_stop_row\030\026 \001(\010:\005false" + "\0222\n\010readType\030\027 \001(\0162\027.hbase.pb.Scan.ReadT" + "ype:\007DEFAULT\022!\n\022need_cursor_result\030\030 \001(\010" + ":\005false\".\n\010ReadType\022\013\n\007DEFAULT\020\000\022\n\n\006STRE" + "AM\020\001\022\t\n\005PREAD\020\002\"\300\002\n\013ScanRequest\022)\n\006regio" + "n\030\001 \001(\0132\031.hbase.pb.RegionSpecifier\022\034\n\004sc", "an\030\002 \001(\0132\016.hbase.pb.Scan\022\022\n\nscanner_id\030\003" + " \001(\004\022\026\n\016number_of_rows\030\004 \001(\r\022\025\n\rclose_sc" + "anner\030\005 \001(\010\022\025\n\rnext_call_seq\030\006 \001(\004\022\037\n\027cl" + "ient_handles_partials\030\007 \001(\010\022!\n\031client_ha" + "ndles_heartbeats\030\010 \001(\010\022\032\n\022track_scan_met" + "rics\030\t \001(\010\022\024\n\005renew\030\n \001(\010:\005false\022\030\n\rlimi" + "t_of_rows\030\013 \001(\r:\0010\"\025\n\006Cursor\022\013\n\003row\030\001 \001(" + "\014\"\330\002\n\014ScanResponse\022\030\n\020cells_per_result\030\001" + " \003(\r\022\022\n\nscanner_id\030\002 \001(\004\022\024\n\014more_results" + "\030\003 \001(\010\022\013\n\003ttl\030\004 \001(\r\022!\n\007results\030\005 \003(\0132\020.h", "base.pb.Result\022\r\n\005stale\030\006 \001(\010\022\037\n\027partial" + "_flag_per_result\030\007 \003(\010\022\036\n\026more_results_i" + "n_region\030\010 \001(\010\022\031\n\021heartbeat_message\030\t \001(" + "\010\022+\n\014scan_metrics\030\n \001(\0132\025.hbase.pb.ScanM" + "etrics\022\032\n\017mvcc_read_point\030\013 \001(\004:\0010\022 \n\006cu" + "rsor\030\014 \001(\0132\020.hbase.pb.Cursor\"\240\002\n\024BulkLoa" + "dHFileRequest\022)\n\006region\030\001 \002(\0132\031.hbase.pb" + ".RegionSpecifier\022>\n\013family_path\030\002 \003(\0132)." + "hbase.pb.BulkLoadHFileRequest.FamilyPath" + "\022\026\n\016assign_seq_num\030\003 \001(\010\022+\n\010fs_token\030\004 \001", "(\0132\031.hbase.pb.DelegationToken\022\022\n\nbulk_to" + "ken\030\005 \001(\t\022\030\n\tcopy_file\030\006 \001(\010:\005false\032*\n\nF" + "amilyPath\022\016\n\006family\030\001 \002(\014\022\014\n\004path\030\002 \002(\t\"" + "\'\n\025BulkLoadHFileResponse\022\016\n\006loaded\030\001 \002(\010" + "\"V\n\017DelegationToken\022\022\n\nidentifier\030\001 \001(\014\022" + "\020\n\010password\030\002 \001(\014\022\014\n\004kind\030\003 \001(\t\022\017\n\007servi" + "ce\030\004 \001(\t\"l\n\026PrepareBulkLoadRequest\022\'\n\nta" + "ble_name\030\001 \002(\0132\023.hbase.pb.TableName\022)\n\006r" + "egion\030\002 \001(\0132\031.hbase.pb.RegionSpecifier\"-" + "\n\027PrepareBulkLoadResponse\022\022\n\nbulk_token\030", "\001 \002(\t\"W\n\026CleanupBulkLoadRequest\022\022\n\nbulk_" + "token\030\001 \002(\t\022)\n\006region\030\002 \001(\0132\031.hbase.pb.R" + "egionSpecifier\"\031\n\027CleanupBulkLoadRespons" + "e\"a\n\026CoprocessorServiceCall\022\013\n\003row\030\001 \002(\014" + "\022\024\n\014service_name\030\002 \002(\t\022\023\n\013method_name\030\003 " + "\002(\t\022\017\n\007request\030\004 \002(\014\"B\n\030CoprocessorServi" + "ceResult\022&\n\005value\030\001 \001(\0132\027.hbase.pb.NameB" + "ytesPair\"v\n\031CoprocessorServiceRequest\022)\n" + "\006region\030\001 \002(\0132\031.hbase.pb.RegionSpecifier" + "\022.\n\004call\030\002 \002(\0132 .hbase.pb.CoprocessorSer", "viceCall\"o\n\032CoprocessorServiceResponse\022)" + "\n\006region\030\001 \002(\0132\031.hbase.pb.RegionSpecifie" + "r\022&\n\005value\030\002 \002(\0132\027.hbase.pb.NameBytesPai" + "r\"\226\001\n\006Action\022\r\n\005index\030\001 \001(\r\022)\n\010mutation\030" + "\002 \001(\0132\027.hbase.pb.MutationProto\022\032\n\003get\030\003 " + "\001(\0132\r.hbase.pb.Get\0226\n\014service_call\030\004 \001(\013" + "2 .hbase.pb.CoprocessorServiceCall\"\223\001\n\014R" + "egionAction\022)\n\006region\030\001 \002(\0132\031.hbase.pb.R" + "egionSpecifier\022\016\n\006atomic\030\002 \001(\010\022 \n\006action" + "\030\003 \003(\0132\020.hbase.pb.Action\022&\n\tcondition\030\004 ", "\001(\0132\023.hbase.pb.Condition\"c\n\017RegionLoadSt" + "ats\022\027\n\014memStoreLoad\030\001 \001(\005:\0010\022\030\n\rheapOccu" + "pancy\030\002 \001(\005:\0010\022\035\n\022compactionPressure\030\003 \001" + "(\005:\0010\"j\n\024MultiRegionLoadStats\022)\n\006region\030" + "\001 \003(\0132\031.hbase.pb.RegionSpecifier\022\'\n\004stat" + "\030\002 \003(\0132\031.hbase.pb.RegionLoadStats\"\336\001\n\021Re" + "sultOrException\022\r\n\005index\030\001 \001(\r\022 \n\006result" + "\030\002 \001(\0132\020.hbase.pb.Result\022*\n\texception\030\003 " + "\001(\0132\027.hbase.pb.NameBytesPair\022:\n\016service_" + "result\030\004 \001(\0132\".hbase.pb.CoprocessorServi", "ceResult\0220\n\tloadStats\030\005 \001(\0132\031.hbase.pb.R" + "egionLoadStatsB\002\030\001\"\213\001\n\022RegionActionResul" + "t\0226\n\021resultOrException\030\001 \003(\0132\033.hbase.pb." + "ResultOrException\022*\n\texception\030\002 \001(\0132\027.h" + "base.pb.NameBytesPair\022\021\n\tprocessed\030\003 \001(\010" + "\"|\n\014MultiRequest\022,\n\014regionAction\030\001 \003(\0132\026" + ".hbase.pb.RegionAction\022\022\n\nnonceGroup\030\002 \001" + "(\004\022*\n\tcondition\030\003 \001(\0132\023.hbase.pb.Conditi" + "onB\002\030\001\"\232\001\n\rMultiResponse\0228\n\022regionAction" + "Result\030\001 \003(\0132\034.hbase.pb.RegionActionResu", "lt\022\025\n\tprocessed\030\002 \001(\010B\002\030\001\0228\n\020regionStati" + "stics\030\003 \001(\0132\036.hbase.pb.MultiRegionLoadSt" + "ats*\'\n\013Consistency\022\n\n\006STRONG\020\000\022\014\n\010TIMELI" + "NE\020\0012\263\005\n\rClientService\0222\n\003Get\022\024.hbase.pb" + ".GetRequest\032\025.hbase.pb.GetResponse\022;\n\006Mu" + "tate\022\027.hbase.pb.MutateRequest\032\030.hbase.pb" + ".MutateResponse\0225\n\004Scan\022\025.hbase.pb.ScanR" + "equest\032\026.hbase.pb.ScanResponse\022P\n\rBulkLo" + "adHFile\022\036.hbase.pb.BulkLoadHFileRequest\032" + "\037.hbase.pb.BulkLoadHFileResponse\022V\n\017Prep", "areBulkLoad\022 .hbase.pb.PrepareBulkLoadRe" + "quest\032!.hbase.pb.PrepareBulkLoadResponse" + "\022V\n\017CleanupBulkLoad\022 .hbase.pb.CleanupBu" + "lkLoadRequest\032!.hbase.pb.CleanupBulkLoad" + "Response\022X\n\013ExecService\022#.hbase.pb.Copro" + "cessorServiceRequest\032$.hbase.pb.Coproces" + "sorServiceResponse\022d\n\027ExecRegionServerSe" + "rvice\022#.hbase.pb.CoprocessorServiceReque" + "st\032$.hbase.pb.CoprocessorServiceResponse" + "\0228\n\005Multi\022\026.hbase.pb.MultiRequest\032\027.hbas", "e.pb.MultiResponseBB\n*org.apache.hadoop." + "hbase.protobuf.generatedB\014ClientProtosH\001" + "\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_hbase_pb_Authorizations_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_hbase_pb_Authorizations_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Authorizations_descriptor, new java.lang.String[] { "Label", }); internal_static_hbase_pb_CellVisibility_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_hbase_pb_CellVisibility_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CellVisibility_descriptor, new java.lang.String[] { "Expression", }); internal_static_hbase_pb_Column_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_hbase_pb_Column_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Column_descriptor, new java.lang.String[] { "Family", "Qualifier", }); internal_static_hbase_pb_Get_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_hbase_pb_Get_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Get_descriptor, new java.lang.String[] { "Row", "Column", "Attribute", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "StoreLimit", "StoreOffset", "ExistenceOnly", "ClosestRowBefore", "Consistency", "CfTimeRange", "LoadColumnFamiliesOnDemand", }); internal_static_hbase_pb_Result_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_hbase_pb_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Result_descriptor, new java.lang.String[] { "Cell", "AssociatedCellCount", "Exists", "Stale", "Partial", }); internal_static_hbase_pb_GetRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_hbase_pb_GetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_GetRequest_descriptor, new java.lang.String[] { "Region", "Get", }); internal_static_hbase_pb_GetResponse_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_hbase_pb_GetResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_GetResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_hbase_pb_Condition_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_hbase_pb_Condition_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Condition_descriptor, new java.lang.String[] { "Row", "Family", "Qualifier", "CompareType", "Comparator", "TimeRange", "Filter", }); internal_static_hbase_pb_MutationProto_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_hbase_pb_MutationProto_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MutationProto_descriptor, new java.lang.String[] { "Row", "MutateType", "ColumnValue", "Timestamp", "Attribute", "Durability", "TimeRange", "AssociatedCellCount", "Nonce", }); internal_static_hbase_pb_MutationProto_ColumnValue_descriptor = internal_static_hbase_pb_MutationProto_descriptor.getNestedTypes().get(0); internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MutationProto_ColumnValue_descriptor, new java.lang.String[] { "Family", "QualifierValue", }); internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor = internal_static_hbase_pb_MutationProto_ColumnValue_descriptor.getNestedTypes().get(0); internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor, new java.lang.String[] { "Qualifier", "Value", "Timestamp", "DeleteType", "Tags", }); internal_static_hbase_pb_MutateRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_hbase_pb_MutateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MutateRequest_descriptor, new java.lang.String[] { "Region", "Mutation", "Condition", "NonceGroup", }); internal_static_hbase_pb_MutateResponse_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_hbase_pb_MutateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MutateResponse_descriptor, new java.lang.String[] { "Result", "Processed", }); internal_static_hbase_pb_Scan_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_hbase_pb_Scan_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Scan_descriptor, new java.lang.String[] { "Column", "Attribute", "StartRow", "StopRow", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "BatchSize", "MaxResultSize", "StoreLimit", "StoreOffset", "LoadColumnFamiliesOnDemand", "Small", "Reversed", "Consistency", "Caching", "AllowPartialResults", "CfTimeRange", "MvccReadPoint", "IncludeStartRow", "IncludeStopRow", "ReadType", "NeedCursorResult", }); internal_static_hbase_pb_ScanRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_hbase_pb_ScanRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_ScanRequest_descriptor, new java.lang.String[] { "Region", "Scan", "ScannerId", "NumberOfRows", "CloseScanner", "NextCallSeq", "ClientHandlesPartials", "ClientHandlesHeartbeats", "TrackScanMetrics", "Renew", "LimitOfRows", }); internal_static_hbase_pb_Cursor_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_hbase_pb_Cursor_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Cursor_descriptor, new java.lang.String[] { "Row", }); internal_static_hbase_pb_ScanResponse_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_hbase_pb_ScanResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_ScanResponse_descriptor, new java.lang.String[] { "CellsPerResult", "ScannerId", "MoreResults", "Ttl", "Results", "Stale", "PartialFlagPerResult", "MoreResultsInRegion", "HeartbeatMessage", "ScanMetrics", "MvccReadPoint", "Cursor", }); internal_static_hbase_pb_BulkLoadHFileRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_BulkLoadHFileRequest_descriptor, new java.lang.String[] { "Region", "FamilyPath", "AssignSeqNum", "FsToken", "BulkToken", "CopyFile", }); internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor = internal_static_hbase_pb_BulkLoadHFileRequest_descriptor.getNestedTypes().get(0); internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor, new java.lang.String[] { "Family", "Path", }); internal_static_hbase_pb_BulkLoadHFileResponse_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_BulkLoadHFileResponse_descriptor, new java.lang.String[] { "Loaded", }); internal_static_hbase_pb_DelegationToken_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_hbase_pb_DelegationToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_DelegationToken_descriptor, new java.lang.String[] { "Identifier", "Password", "Kind", "Service", }); internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor, new java.lang.String[] { "TableName", "Region", }); internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor, new java.lang.String[] { "BulkToken", }); internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor, new java.lang.String[] { "BulkToken", "Region", }); internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor, new java.lang.String[] { }); internal_static_hbase_pb_CoprocessorServiceCall_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CoprocessorServiceCall_descriptor, new java.lang.String[] { "Row", "ServiceName", "MethodName", "Request", }); internal_static_hbase_pb_CoprocessorServiceResult_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CoprocessorServiceResult_descriptor, new java.lang.String[] { "Value", }); internal_static_hbase_pb_CoprocessorServiceRequest_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CoprocessorServiceRequest_descriptor, new java.lang.String[] { "Region", "Call", }); internal_static_hbase_pb_CoprocessorServiceResponse_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_CoprocessorServiceResponse_descriptor, new java.lang.String[] { "Region", "Value", }); internal_static_hbase_pb_Action_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_hbase_pb_Action_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_Action_descriptor, new java.lang.String[] { "Index", "Mutation", "Get", "ServiceCall", }); internal_static_hbase_pb_RegionAction_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_hbase_pb_RegionAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_RegionAction_descriptor, new java.lang.String[] { "Region", "Atomic", "Action", "Condition", }); internal_static_hbase_pb_RegionLoadStats_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_RegionLoadStats_descriptor, new java.lang.String[] { "MemStoreLoad", "HeapOccupancy", "CompactionPressure", }); internal_static_hbase_pb_MultiRegionLoadStats_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MultiRegionLoadStats_descriptor, new java.lang.String[] { "Region", "Stat", }); internal_static_hbase_pb_ResultOrException_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_hbase_pb_ResultOrException_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_ResultOrException_descriptor, new java.lang.String[] { "Index", "Result", "Exception", "ServiceResult", "LoadStats", }); internal_static_hbase_pb_RegionActionResult_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_hbase_pb_RegionActionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_RegionActionResult_descriptor, new java.lang.String[] { "ResultOrException", "Exception", "Processed", }); internal_static_hbase_pb_MultiRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_hbase_pb_MultiRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MultiRequest_descriptor, new java.lang.String[] { "RegionAction", "NonceGroup", "Condition", }); internal_static_hbase_pb_MultiResponse_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_hbase_pb_MultiResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_hbase_pb_MultiResponse_descriptor, new java.lang.String[] { "RegionActionResult", "Processed", "RegionStatistics", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.TableProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.FilterProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.CellProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.getDescriptor(), }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy