/** * <pre> * Number of bytes allocated, or de-allocated if negative. * </pre> * * <code>int64 alloc_bytes = 2;</code> */ public Builder clearAllocBytes() { allocBytes_ = 0L; onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The timestamp of the operation. * </pre> * * <code>int64 alloc_micros = 1;</code> */ public Builder setAllocMicros(long value) { allocMicros_ = value; onChanged(); return this; } /**
/** * <pre> * Number of bytes allocated, or de-allocated if negative. * </pre> * * <code>int64 alloc_bytes = 2;</code> */ public Builder setAllocBytes(long value) { allocBytes_ = value; onChanged(); return this; } /**
/** * <pre> * The timestamp of the operation. * </pre> * * <code>int64 alloc_micros = 1;</code> */ public Builder clearAllocMicros() { allocMicros_ = 0L; onChanged(); return this; }
public Builder mergeFrom(org.tensorflow.framework.AllocationRecord other) { if (other == org.tensorflow.framework.AllocationRecord.getDefaultInstance()) return this; if (other.getAllocMicros() != 0L) { setAllocMicros(other.getAllocMicros()); } if (other.getAllocBytes() != 0L) { setAllocBytes(other.getAllocBytes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * Number of bytes allocated, or de-allocated if negative. * </pre> * * <code>int64 alloc_bytes = 2;</code> */ public Builder clearAllocBytes() { allocBytes_ = 0L; onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The timestamp of the operation. * </pre> * * <code>int64 alloc_micros = 1;</code> */ public Builder setAllocMicros(long value) { allocMicros_ = value; onChanged(); return this; } /**
/** * <pre> * The timestamp of the operation. * </pre> * * <code>int64 alloc_micros = 1;</code> */ public Builder clearAllocMicros() { allocMicros_ = 0L; onChanged(); return this; }
/** * <pre> * Number of bytes allocated, or de-allocated if negative. * </pre> * * <code>int64 alloc_bytes = 2;</code> */ public Builder setAllocBytes(long value) { allocBytes_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.tensorflow.framework.AllocationRecord other) { if (other == org.tensorflow.framework.AllocationRecord.getDefaultInstance()) return this; if (other.getAllocMicros() != 0L) { setAllocMicros(other.getAllocMicros()); } if (other.getAllocBytes() != 0L) { setAllocBytes(other.getAllocBytes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }