/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder setAllocationRecords( int index, org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.set(index, value); onChanged(); } else { allocationRecordsBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( int index, org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.add(index, value); onChanged(); } else { allocationRecordsBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords(org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.add(value); onChanged(); } else { allocationRecordsBuilder_.addMessage(value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAllocationRecordsIsMutable(); allocationRecords_.addAll(other.allocationRecords_);
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( int index, org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.add(index, value); onChanged(); } else { allocationRecordsBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder setAllocationRecords( int index, org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.set(index, value); onChanged(); } else { allocationRecordsBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords(org.tensorflow.framework.AllocationRecord value) { if (allocationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAllocationRecordsIsMutable(); allocationRecords_.add(value); onChanged(); } else { allocationRecordsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllAllocationRecords( java.lang.Iterable<? extends org.tensorflow.framework.AllocationRecord> values) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, allocationRecords_); onChanged(); } else { allocationRecordsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.add(builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder setAllocationRecords( int index, org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.set(index, builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder removeAllocationRecords(int index) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.remove(index); onChanged(); } else { allocationRecordsBuilder_.remove(index); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( int index, org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.add(index, builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAllocationRecordsIsMutable(); allocationRecords_.addAll(other.allocationRecords_);
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder setAllocationRecords( int index, org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.set(index, builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( int index, org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.add(index, builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllAllocationRecords( java.lang.Iterable<? extends org.tensorflow.framework.AllocationRecord> values) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); com.github.os72.protobuf351.AbstractMessageLite.Builder.addAll( values, allocationRecords_); onChanged(); } else { allocationRecordsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder removeAllocationRecords(int index) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.remove(index); onChanged(); } else { allocationRecordsBuilder_.remove(index); } return this; } /**
/** * <pre> * The allocation and deallocation timeline. * </pre> * * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code> */ public Builder addAllocationRecords( org.tensorflow.framework.AllocationRecord.Builder builderForValue) { if (allocationRecordsBuilder_ == null) { ensureAllocationRecordsIsMutable(); allocationRecords_.add(builderForValue.build()); onChanged(); } else { allocationRecordsBuilder_.addMessage(builderForValue.build()); } return this; } /**