/** * <code>repeated .orc.proto.ColumnStatistics statistics = 7;</code> */ public Builder clearStatistics() { if (statisticsBuilder_ == null) { statistics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { statisticsBuilder_.clear(); } return this; } /**
/** * <code>repeated .orc.proto.UserMetadataItem metadata = 5;</code> */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { metadataBuilder_.clear(); } return this; } /**
/** * <code>repeated .orc.proto.StripeInformation stripes = 3;</code> */ public Builder removeStripes(int index) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.remove(index); onChanged(); } else { stripesBuilder_.remove(index); } return this; } /**
/** * <code>repeated .orc.proto.Type types = 4;</code> */ public Builder setTypes( int index, org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.set(index, builderForValue.build()); onChanged(); } else { typesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.UserMetadataItem metadata = 5;</code> */ public Builder addAllMetadata( java.lang.Iterable<? extends org.apache.orc.OrcProto.UserMetadataItem> values) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); super.addAll(values, metadata_); onChanged(); } else { metadataBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .orc.proto.UserMetadataItem metadata = 5;</code> */ public Builder addMetadata( int index, org.apache.orc.OrcProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.add(index, builderForValue.build()); onChanged(); } else { metadataBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.Type types = 4;</code> */ public Builder addTypes( int index, org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(index, builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.Type types = 4;</code> */ public Builder addTypes( org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.StripeInformation stripes = 3;</code> */ public Builder addStripes( int index, org.apache.orc.OrcProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(index, builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.Type types = 4;</code> */ public Builder addAllTypes( java.lang.Iterable<? extends org.apache.orc.OrcProto.Type> values) { if (typesBuilder_ == null) { ensureTypesIsMutable(); super.addAll(values, types_); onChanged(); } else { typesBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .orc.proto.StripeInformation stripes = 3;</code> */ public Builder addStripes( org.apache.orc.OrcProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .orc.proto.UserMetadataItem metadata = 5;</code> */ public Builder removeMetadata(int index) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.remove(index); onChanged(); } else { metadataBuilder_.remove(index); } return this; } /**
/** * <code>optional uint32 rowIndexStride = 8;</code> */ public Builder clearRowIndexStride() { bitField0_ = (bitField0_ & ~0x00000080); rowIndexStride_ = 0; onChanged(); return this; }
/** * <code>optional uint64 contentLength = 2;</code> */ public Builder clearContentLength() { bitField0_ = (bitField0_ & ~0x00000002); contentLength_ = 0L; onChanged(); return this; }
/** * <code>optional uint64 numberOfRows = 6;</code> */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000020); numberOfRows_ = 0L; onChanged(); return this; }
/** * <code>optional uint64 contentLength = 2;</code> */ public Builder setContentLength(long value) { bitField0_ |= 0x00000002; contentLength_ = value; onChanged(); return this; } /**
/** * <code>optional uint64 headerLength = 1;</code> */ public Builder clearHeaderLength() { bitField0_ = (bitField0_ & ~0x00000001); headerLength_ = 0L; onChanged(); return this; }
/** * <code>optional uint64 headerLength = 1;</code> */ public Builder setHeaderLength(long value) { bitField0_ |= 0x00000001; headerLength_ = value; onChanged(); return this; } /**
/** * <code>optional uint32 rowIndexStride = 8;</code> */ public Builder setRowIndexStride(int value) { bitField0_ |= 0x00000080; rowIndexStride_ = value; onChanged(); return this; } /**
/** * <code>optional uint64 numberOfRows = 6;</code> */ public Builder setNumberOfRows(long value) { bitField0_ |= 0x00000020; numberOfRows_ = value; onChanged(); return this; } /**