public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); } if (!other.getTitle().isEmpty()) { title_ = other.title_; onChanged(); } if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } onChanged(); return this; }
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (other.hasLocation()) { bitField0_ |= 0x00000001; location_ = other.location_; onChanged(); } if (other.hasTitle()) { bitField0_ |= 0x00000002; title_ = other.title_; onChanged(); } if (other.hasId()) { bitField0_ |= 0x00000004; id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Header other) { if (other == ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance()) return this; if (other.hasLocation()) { bitField0_ |= 0x00000001; location_ = other.location_; onChanged(); } if (other.hasTitle()) { bitField0_ |= 0x00000002; title_ = other.title_; onChanged(); } if (other.hasId()) { bitField0_ |= 0x00000004; id_ = other.id_; onChanged(); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string title = 2;</code> * * <pre> * ?? * </pre> */ public Builder clearTitle() { bitField0_ = (bitField0_ & ~0x00000002); title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /**
/** * <code>optional string id = 3;</code> * * <pre> * ?? * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000004); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>optional string title = 2;</code> * * <pre> * ?? * </pre> */ public Builder clearTitle() { bitField0_ = (bitField0_ & ~0x00000002); title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /**
public ucar.nc2.stream.NcStreamProto.Header getDefaultInstanceForType() { return ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance(); }
public ucar.nc2.stream.NcStreamProto.Header getDefaultInstanceForType() { return ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance(); }
/** * <code>optional string id = 3;</code> * * <pre> * ?? * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000004); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
public ucar.nc2.stream.NcStreamProto.Header getDefaultInstanceForType() { return ucar.nc2.stream.NcStreamProto.Header.getDefaultInstance(); }
/** * <code>optional string title = 2;</code> * * <pre> * ?? * </pre> */ public Builder clearTitle() { title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /**
/** * <code>optional string location = 1;</code> */ public Builder clearLocation() { location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /**
/** * <code>optional string location = 1;</code> */ public Builder clearLocation() { bitField0_ = (bitField0_ & ~0x00000001); location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /**
/** * <code>optional string location = 1;</code> */ public Builder clearLocation() { bitField0_ = (bitField0_ & ~0x00000001); location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /**
/** * <code>optional string id = 3;</code> * * <pre> * ?? * </pre> */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /**