/** * <code>required string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; }
/** * <code>optional bytes data = 4;</code> * * <pre> * not needed if len == 0, Attribute with name but no value * </pre> */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>optional uint32 len = 3;</code> */ public Builder clearLen() { len_ = 0; onChanged(); return this; }
/** * <code>optional bool unsigned = 6 [default = false];</code> */ public Builder setUnsigned(boolean value) { bitField0_ |= 0x00000020; unsigned_ = value; onChanged(); return this; } /**
/** * <code>required string name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional bytes data = 4;</code> * * <pre> * not needed if len == 0 * </pre> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000008); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>optional .Attribute.Type type = 2;</code> * * <pre> * < 5.0 * </pre> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
/** * <code>required uint32 len = 3;</code> */ public Builder clearLen() { bitField0_ = (bitField0_ & ~0x00000004); len_ = 0; onChanged(); return this; }
/** * <code>optional bool unsigned = 6;</code> * * <pre> * not used * </pre> */ public Builder clearUnsigned() { unsigned_ = false; onChanged(); return this; }
/** * <code>optional bool unsigned = 6 [default = false];</code> */ public Builder setUnsigned(boolean value) { bitField0_ |= 0x00000020; unsigned_ = value; onChanged(); return this; } /**
/** * <code>required .ncstream.Attribute.Type type = 2;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = ucar.nc2.stream.NcStreamProto.Attribute.Type.STRING; onChanged(); return this; }
/** * <code>required string name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>required uint32 len = 3;</code> */ public Builder setLen(int value) { bitField0_ |= 0x00000004; len_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional uint32 len = 3;</code> */ public Builder setLen(int value) { len_ = value; onChanged(); return this; } /**
/** * <code>optional bool unsigned = 6 [default = false];</code> */ public Builder clearUnsigned() { bitField0_ = (bitField0_ & ~0x00000020); unsigned_ = false; onChanged(); return this; }
/** * <code>required uint32 len = 3;</code> */ public Builder setLen(int value) { bitField0_ |= 0x00000004; len_ = value; onChanged(); return this; } /**
/** * <code>required .ncstream.Attribute.Type type = 2;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = ucar.nc2.stream.NcStreamProto.Attribute.Type.STRING; onChanged(); return this; }
/** * <code>optional bool unsigned = 6 [default = false];</code> */ public Builder clearUnsigned() { bitField0_ = (bitField0_ & ~0x00000020); unsigned_ = false; onChanged(); return this; }
/** * <code>required uint32 len = 3;</code> */ public Builder clearLen() { bitField0_ = (bitField0_ & ~0x00000004); len_ = 0; onChanged(); return this; }