public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, memoryUse_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, memoryUse_); } getUnknownFields().writeTo(output); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasMemoryUse()) { hash = (37 * hash) + MEMORYUSE_FIELD_NUMBER; hash = (53 * hash) + hashLong(getMemoryUse()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.dremio.exec.proto.ExecProtos.HashAggSpill)) { return super.equals(obj); } com.dremio.exec.proto.ExecProtos.HashAggSpill other = (com.dremio.exec.proto.ExecProtos.HashAggSpill) obj; boolean result = true; result = result && (hasMemoryUse() == other.hasMemoryUse()); if (hasMemoryUse()) { result = result && (getMemoryUse() == other.getMemoryUse()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public Builder mergeFrom(com.dremio.exec.proto.ExecProtos.HashAggSpill other) { if (other == com.dremio.exec.proto.ExecProtos.HashAggSpill.getDefaultInstance()) return this; if (other.hasMemoryUse()) { setMemoryUse(other.getMemoryUse()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }