public org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse result = new org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { firstPart_ = java.util.Collections.unmodifiableList(firstPart_); bitField0_ = (bitField0_ & ~0x00000001); } result.firstPart_ = firstPart_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.secondPart_ = secondPart_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
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.AggregateProtos.AggregateResponse.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); case 4: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); case 5: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); case 6: return org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getFirstPartCount() > 0) { hash = (37 * hash) + FIRST_PART_FIELD_NUMBER; hash = (53 * hash) + getFirstPartList().hashCode(); } if (hasSecondPart()) { hash = (37 * hash) + SECOND_PART_FIELD_NUMBER; hash = (53 * hash) + getSecondPart().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
com.facebook.presto.hbase.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hbase.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hbase.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < firstPart_.size(); i++) { dataSize += com.facebook.presto.hbase.$internal.com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(firstPart_.get(i)); } size += dataSize; size += 1 * getFirstPartList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hbase.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(2, secondPart_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < firstPart_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(firstPart_.get(i)); } size += dataSize; size += 1 * getFirstPartList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, secondPart_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@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.AggregateProtos.AggregateResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse other = (org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse) obj; boolean result = true; result = result && getFirstPartList() .equals(other.getFirstPartList()); result = result && (hasSecondPart() == other.hasSecondPart()); if (hasSecondPart()) { result = result && getSecondPart() .equals(other.getSecondPart()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < firstPart_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(firstPart_.get(i)); } size += dataSize; size += 1 * getFirstPartList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, secondPart_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse result = new org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { firstPart_ = java.util.Collections.unmodifiableList(firstPart_); bitField0_ = (bitField0_ & ~0x00000001); } result.firstPart_ = firstPart_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.secondPart_ = secondPart_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@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.AggregateProtos.AggregateResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse other = (org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse) obj; boolean result = true; result = result && getFirstPartList() .equals(other.getFirstPartList()); result = result && (hasSecondPart() == other.hasSecondPart()); if (hasSecondPart()) { result = result && getSecondPart() .equals(other.getSecondPart()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@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.AggregateProtos.AggregateResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse other = (org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse) obj; boolean result = true; result = result && getFirstPartList() .equals(other.getFirstPartList()); result = result && (hasSecondPart() == other.hasSecondPart()); if (hasSecondPart()) { result = result && getSecondPart() .equals(other.getSecondPart()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getFirstPartCount() > 0) { hash = (37 * hash) + FIRST_PART_FIELD_NUMBER; hash = (53 * hash) + getFirstPartList().hashCode(); } if (hasSecondPart()) { hash = (37 * hash) + SECOND_PART_FIELD_NUMBER; hash = (53 * hash) + getSecondPart().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance()) return this; if (!other.firstPart_.isEmpty()) { if (firstPart_.isEmpty()) { firstPart_ = other.firstPart_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFirstPartIsMutable(); firstPart_.addAll(other.firstPart_); } onChanged(); } if (other.hasSecondPart()) { setSecondPart(other.getSecondPart()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse result = new org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { firstPart_ = java.util.Collections.unmodifiableList(firstPart_); bitField0_ = (bitField0_ & ~0x00000001); } result.firstPart_ = firstPart_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.secondPart_ = secondPart_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getFirstPartCount() > 0) { hash = (37 * hash) + FIRST_PART_FIELD_NUMBER; hash = (53 * hash) + getFirstPartList().hashCode(); } if (hasSecondPart()) { hash = (37 * hash) + SECOND_PART_FIELD_NUMBER; hash = (53 * hash) + getSecondPart().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse buildPartial() { org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse result = new org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { firstPart_ = java.util.Collections.unmodifiableList(firstPart_); bitField0_ = (bitField0_ & ~0x00000001); } result.firstPart_ = firstPart_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.secondPart_ = secondPart_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getFirstPartCount() > 0) { hash = (37 * hash) + FIRST_PART_FIELD_NUMBER; hash = (53 * hash) + getFirstPartList().hashCode(); } if (hasSecondPart()) { hash = (37 * hash) + SECOND_PART_FIELD_NUMBER; hash = (53 * hash) + getSecondPart().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse other) { if (other == org.apache.hadoop.hbase.protobuf.generated.AggregateProtos.AggregateResponse.getDefaultInstance()) return this; if (!other.firstPart_.isEmpty()) { if (firstPart_.isEmpty()) { firstPart_ = other.firstPart_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFirstPartIsMutable(); firstPart_.addAll(other.firstPart_); } onChanged(); } if (other.hasSecondPart()) { setSecondPart(other.getSecondPart()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }