/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder setShape( int index, org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.set(index, value); onChanged(); } else { shapeBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( int index, org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.add(index, value); onChanged(); } else { shapeBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape(org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.add(value); onChanged(); } else { shapeBuilder_.addMessage(value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000020); } else { ensureShapeIsMutable(); shape_.addAll(other.shape_);
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder setShape( int index, org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.set(index, value); onChanged(); } else { shapeBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( int index, org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.add(index, value); onChanged(); } else { shapeBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( int index, org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.add(index, builderForValue.build()); onChanged(); } else { shapeBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape(org.tensorflow.framework.TensorShapeProto value) { if (shapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureShapeIsMutable(); shape_.add(value); onChanged(); } else { shapeBuilder_.addMessage(value); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addAllShape( java.lang.Iterable<? extends org.tensorflow.framework.TensorShapeProto> values) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, shape_); onChanged(); } else { shapeBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.add(builderForValue.build()); onChanged(); } else { shapeBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder setShape( int index, org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.set(index, builderForValue.build()); onChanged(); } else { shapeBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder removeShape(int index) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.remove(index); onChanged(); } else { shapeBuilder_.remove(index); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000020); } else { ensureShapeIsMutable(); shape_.addAll(other.shape_);
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.add(builderForValue.build()); onChanged(); } else { shapeBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder setShape( int index, org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.set(index, builderForValue.build()); onChanged(); } else { shapeBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addShape( int index, org.tensorflow.framework.TensorShapeProto.Builder builderForValue) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.add(index, builderForValue.build()); onChanged(); } else { shapeBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder removeShape(int index) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); shape_.remove(index); onChanged(); } else { shapeBuilder_.remove(index); } return this; } /**
/** * <pre> * "list(shape)" * </pre> * * <code>repeated .tensorflow.TensorShapeProto shape = 7;</code> */ public Builder addAllShape( java.lang.Iterable<? extends org.tensorflow.framework.TensorShapeProto> values) { if (shapeBuilder_ == null) { ensureShapeIsMutable(); com.github.os72.protobuf351.AbstractMessageLite.Builder.addAll( values, shape_); onChanged(); } else { shapeBuilder_.addAllMessages(values); } return this; } /**