/** * <code>repeated uint32 subtypes = 2 [packed = true];</code> */ public Builder clearSubtypes() { subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; }
/** * <code>optional .orc.proto.Type.Kind kind = 1;</code> */ public Builder setKind(org.apache.orc.OrcProto.Type.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value; onChanged(); return this; } /**
/** * <code>repeated string fieldNames = 3;</code> */ public Builder addFieldNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } /**
/** * <code>repeated string fieldNames = 3;</code> */ public Builder setFieldNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated string fieldNames = 3;</code> */ public Builder addFieldNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; }
/** * <code>repeated string fieldNames = 3;</code> */ public Builder addAllFieldNames( java.lang.Iterable<java.lang.String> values) { ensureFieldNamesIsMutable(); super.addAll(values, fieldNames_); onChanged(); return this; } /**
/** * <code>repeated uint32 subtypes = 2 [packed = true];</code> */ public Builder addAllSubtypes( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSubtypesIsMutable(); super.addAll(values, subtypes_); onChanged(); return this; } /**
/** * <code>repeated uint32 subtypes = 2 [packed = true];</code> */ public Builder addSubtypes(int value) { ensureSubtypesIsMutable(); subtypes_.add(value); onChanged(); return this; } /**
/** * <code>repeated uint32 subtypes = 2 [packed = true];</code> */ public Builder setSubtypes( int index, int value) { ensureSubtypesIsMutable(); subtypes_.set(index, value); onChanged(); return this; } /**
/** * <code>optional .orc.proto.Type.Kind kind = 1;</code> */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN; onChanged(); return this; }
/** * <code>optional uint32 precision = 5;</code> */ public Builder clearPrecision() { bitField0_ = (bitField0_ & ~0x00000010); precision_ = 0; onChanged(); return this; }
/** * <code>optional uint32 maximumLength = 4;</code> */ public Builder clearMaximumLength() { bitField0_ = (bitField0_ & ~0x00000008); maximumLength_ = 0; onChanged(); return this; }
/** * <code>repeated string fieldNames = 3;</code> */ public Builder clearFieldNames() { fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /**
/** * <code>optional uint32 scale = 6;</code> */ public Builder clearScale() { bitField0_ = (bitField0_ & ~0x00000020); scale_ = 0; onChanged(); return this; }
/** * <code>optional uint32 precision = 5;</code> */ public Builder setPrecision(int value) { bitField0_ |= 0x00000010; precision_ = value; onChanged(); return this; } /**
/** * <code>optional uint32 maximumLength = 4;</code> */ public Builder setMaximumLength(int value) { bitField0_ |= 0x00000008; maximumLength_ = value; onChanged(); return this; } /**
/** * <code>optional uint32 scale = 6;</code> */ public Builder setScale(int value) { bitField0_ |= 0x00000020; scale_ = value; onChanged(); return this; } /**