/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder setTensor( int index, org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.set(index, value); onChanged(); } else { tensorBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( int index, org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.add(index, value); onChanged(); } else { tensorBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor(org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.add(value); onChanged(); } else { tensorBuilder_.addMessage(value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000040); } else { ensureTensorIsMutable(); tensor_.addAll(other.tensor_);
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( int index, org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.add(index, value); onChanged(); } else { tensorBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor(org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.add(value); onChanged(); } else { tensorBuilder_.addMessage(value); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder setTensor( int index, org.tensorflow.framework.TensorProto value) { if (tensorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTensorIsMutable(); tensor_.set(index, value); onChanged(); } else { tensorBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder removeTensor(int index) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.remove(index); onChanged(); } else { tensorBuilder_.remove(index); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( int index, org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.add(index, builderForValue.build()); onChanged(); } else { tensorBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder setTensor( int index, org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.set(index, builderForValue.build()); onChanged(); } else { tensorBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.add(builderForValue.build()); onChanged(); } else { tensorBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addAllTensor( java.lang.Iterable<? extends org.tensorflow.framework.TensorProto> values) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tensor_); onChanged(); } else { tensorBuilder_.addAllMessages(values); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000040); } else { ensureTensorIsMutable(); tensor_.addAll(other.tensor_);
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addAllTensor( java.lang.Iterable<? extends org.tensorflow.framework.TensorProto> values) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); com.github.os72.protobuf351.AbstractMessageLite.Builder.addAll( values, tensor_); onChanged(); } else { tensorBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder setTensor( int index, org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.set(index, builderForValue.build()); onChanged(); } else { tensorBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( int index, org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.add(index, builderForValue.build()); onChanged(); } else { tensorBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder removeTensor(int index) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.remove(index); onChanged(); } else { tensorBuilder_.remove(index); } return this; } /**
/** * <pre> * "list(tensor)" * </pre> * * <code>repeated .tensorflow.TensorProto tensor = 8;</code> */ public Builder addTensor( org.tensorflow.framework.TensorProto.Builder builderForValue) { if (tensorBuilder_ == null) { ensureTensorIsMutable(); tensor_.add(builderForValue.build()); onChanged(); } else { tensorBuilder_.addMessage(builderForValue.build()); } return this; } /**