/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder addReferencedTensor( org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.add(builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder addReferencedTensor( int index, org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.add(index, builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder setReferencedTensor( int index, org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.set(index, builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * Information about the size and allocator used for the data * </pre> * * <code>.tensorflow.AllocationDescription allocation_description = 4;</code> */ public Builder setAllocationDescription( org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (allocationDescriptionBuilder_ == null) { allocationDescription_ = builderForValue.build(); onChanged(); } else { allocationDescriptionBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder addReferencedTensor( int index, org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.add(index, builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder addReferencedTensor( org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.add(builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .tensorflow.AllocationDescription referenced_tensor = 11;</code> */ public Builder setReferencedTensor( int index, org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (referencedTensorBuilder_ == null) { ensureReferencedTensorIsMutable(); referencedTensor_.set(index, builderForValue.build()); onChanged(); } else { referencedTensorBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * Information about the size and allocator used for the data * </pre> * * <code>.tensorflow.AllocationDescription allocation_description = 4;</code> */ public Builder setAllocationDescription( org.tensorflow.framework.AllocationDescription.Builder builderForValue) { if (allocationDescriptionBuilder_ == null) { allocationDescription_ = builderForValue.build(); onChanged(); } else { allocationDescriptionBuilder_.setMessage(builderForValue.build()); } return this; } /**