@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPageSize()) { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getPageSize()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter other = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter) obj; boolean result = true; result = result && (hasPageSize() == other.hasPageSize()); if (hasPageSize()) { result = result && (getPageSize() == other.getPageSize()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
/** * @param pbBytes A pb serialized {@link PageFilter} instance * @return An instance of {@link PageFilter} made from <code>bytes</code> * @throws DeserializationException * @see #toByteArray */ public static PageFilter parseFrom(final byte [] pbBytes) throws DeserializationException { FilterProtos.PageFilter proto; try { proto = FilterProtos.PageFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new PageFilter(proto.getPageSize()); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPageSize()) { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashLong( getPageSize()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter.getDefaultInstance(); }
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter result = new org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.pageSize_ = pageSize_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter build() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPageSize()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
/** * @return The filter serialized using pb */ @Override public byte [] toByteArray() { FilterProtos.PageFilter.Builder builder = FilterProtos.PageFilter.newBuilder(); builder.setPageSize(this.pageSize); return builder.build().toByteArray(); }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter.getDefaultInstance()) return this; if (other.hasPageSize()) { setPageSize(other.getPageSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * @param pbBytes A pb serialized {@link PageFilter} instance * @return An instance of {@link PageFilter} made from <code>bytes</code> * @throws DeserializationException * @see #toByteArray */ public static PageFilter parseFrom(final byte [] pbBytes) throws DeserializationException { FilterProtos.PageFilter proto; try { proto = FilterProtos.PageFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new PageFilter(proto.getPageSize()); }
/** * @return The filter serialized using pb */ @Override public byte [] toByteArray() { FilterProtos.PageFilter.Builder builder = FilterProtos.PageFilter.newBuilder(); builder.setPageSize(this.pageSize); return builder.build().toByteArray(); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter other = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter) obj; boolean result = true; result = result && (hasPageSize() == other.hasPageSize()); if (hasPageSize()) { result = result && (getPageSize() == other.getPageSize()); } result = result && unknownFields.equals(other.unknownFields); return result; }
/** * @param pbBytes A pb serialized {@link PageFilter} instance * @return An instance of {@link PageFilter} made from <code>bytes</code> * @throws DeserializationException * @see #toByteArray */ public static PageFilter parseFrom(final byte [] pbBytes) throws DeserializationException { FilterProtos.PageFilter proto; try { proto = FilterProtos.PageFilter.parseFrom(pbBytes); } catch (InvalidProtocolBufferException e) { throw new DeserializationException(e); } return new PageFilter(proto.getPageSize()); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter.getDefaultInstance(); }
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter build() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter result = new org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.PageFilter(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.pageSize_ = pageSize_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPageSize()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }