public Builder mergeFrom(org.tensorflow.framework.AllocationDescription other) { if (other == org.tensorflow.framework.AllocationDescription.getDefaultInstance()) return this; if (other.getRequestedBytes() != 0L) { setRequestedBytes(other.getRequestedBytes()); } if (other.getAllocatedBytes() != 0L) { setAllocatedBytes(other.getAllocatedBytes()); } if (!other.getAllocatorName().isEmpty()) { allocatorName_ = other.allocatorName_; onChanged(); } if (other.getAllocationId() != 0L) { setAllocationId(other.getAllocationId()); } if (other.getHasSingleReference() != false) { setHasSingleReference(other.getHasSingleReference()); } if (other.getPtr() != 0L) { setPtr(other.getPtr()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.tensorflow.framework.AllocationDescription other) { if (other == org.tensorflow.framework.AllocationDescription.getDefaultInstance()) return this; if (other.getRequestedBytes() != 0L) { setRequestedBytes(other.getRequestedBytes()); } if (other.getAllocatedBytes() != 0L) { setAllocatedBytes(other.getAllocatedBytes()); } if (!other.getAllocatorName().isEmpty()) { allocatorName_ = other.allocatorName_; onChanged(); } if (other.getAllocationId() != 0L) { setAllocationId(other.getAllocationId()); } if (other.getHasSingleReference() != false) { setHasSingleReference(other.getHasSingleReference()); } if (other.getPtr() != 0L) { setPtr(other.getPtr()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }