/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder setParagraphs(int index, com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.set(index, value); onChanged(); } else { paragraphsBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.add(value); onChanged(); } else { paragraphsBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(int index, com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.add(index, value); onChanged(); } else { paragraphsBuilder_.addMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParagraphsIsMutable(); paragraphs_.addAll(other.paragraphs_);
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.add(value); onChanged(); } else { paragraphsBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder setParagraphs(int index, com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.set(index, value); onChanged(); } else { paragraphsBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addAllParagraphs( java.lang.Iterable<? extends com.google.cloud.vision.v1.Paragraph> values) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paragraphs_); onChanged(); } else { paragraphsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs( int index, com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.add(index, builderForValue.build()); onChanged(); } else { paragraphsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(int index, com.google.cloud.vision.v1.Paragraph value) { if (paragraphsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParagraphsIsMutable(); paragraphs_.add(index, value); onChanged(); } else { paragraphsBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder removeParagraphs(int index) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.remove(index); onChanged(); } else { paragraphsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder setParagraphs( int index, com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.set(index, builderForValue.build()); onChanged(); } else { paragraphsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.add(builderForValue.build()); onChanged(); } else { paragraphsBuilder_.addMessage(builderForValue.build()); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParagraphsIsMutable(); paragraphs_.addAll(other.paragraphs_);
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder setParagraphs( int index, com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.set(index, builderForValue.build()); onChanged(); } else { paragraphsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addAllParagraphs( java.lang.Iterable<? extends com.google.cloud.vision.v1.Paragraph> values) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paragraphs_); onChanged(); } else { paragraphsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs( int index, com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.add(index, builderForValue.build()); onChanged(); } else { paragraphsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder removeParagraphs(int index) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.remove(index); onChanged(); } else { paragraphsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * List of paragraphs in this block (if this blocks is of type text). * </pre> * * <code>repeated .google.cloud.vision.v1.Paragraph paragraphs = 3;</code> */ public Builder addParagraphs(com.google.cloud.vision.v1.Paragraph.Builder builderForValue) { if (paragraphsBuilder_ == null) { ensureParagraphsIsMutable(); paragraphs_.add(builderForValue.build()); onChanged(); } else { paragraphsBuilder_.addMessage(builderForValue.build()); } return this; } /**