/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; }
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder setLicensePlateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; licensePlate_ = value; onChanged(); return this; }
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder setLicensePlate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; licensePlate_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.transit.realtime.GtfsRealtime.VehicleDescriptor other) { if (other == com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance()) return this; if (other.hasId()) { bitField0_ |= 0x00000001; id_ = other.id_; onChanged(); } if (other.hasLabel()) { bitField0_ |= 0x00000002; label_ = other.label_; onChanged(); } if (other.hasLicensePlate()) { bitField0_ |= 0x00000004; licensePlate_ = other.licensePlate_; onChanged(); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; }
/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /**
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /**
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder setLicensePlateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; licensePlate_ = value; onChanged(); return this; }
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; }
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder setLicensePlate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; licensePlate_ = value; onChanged(); return this; } /**
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /**
/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder clearLicensePlate() { bitField0_ = (bitField0_ & ~0x00000004); licensePlate_ = getDefaultInstance().getLicensePlate(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.transit.realtime.GtfsRealtime.VehicleDescriptor other) { if (other == com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance()) return this; if (other.hasId()) { bitField0_ |= 0x00000001; id_ = other.id_; onChanged(); } if (other.hasLabel()) { bitField0_ |= 0x00000002; label_ = other.label_; onChanged(); } if (other.hasLicensePlate()) { bitField0_ |= 0x00000004; licensePlate_ = other.licensePlate_; onChanged(); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /**
/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /**
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; }
/** * <code>optional string id = 1;</code> * * <pre> * Internal system identification of the vehicle. Should be unique per * vehicle, and can be used for tracking the vehicle as it proceeds through * the system. * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>optional string label = 2;</code> * * <pre> * User visible label, i.e., something that must be shown to the passenger to * help identify the correct vehicle. * </pre> */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /**
/** * <code>optional string license_plate = 3;</code> * * <pre> * The license plate of the vehicle. * </pre> */ public Builder clearLicensePlate() { bitField0_ = (bitField0_ & ~0x00000004); licensePlate_ = getDefaultInstance().getLicensePlate(); onChanged(); return this; } /**