/** * <code>optional float bearing = 3;</code> * * <pre> * Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. * This can be the compass bearing, or the direction towards the next stop * or intermediate location. * This should not be direction deduced from the sequence of previous * positions, which can be computed from previous data. * </pre> */ public Builder clearBearing() { bitField0_ = (bitField0_ & ~0x00000004); bearing_ = 0F; onChanged(); return this; }
/** * <code>optional float bearing = 3;</code> * * <pre> * Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. * This can be the compass bearing, or the direction towards the next stop * or intermediate location. * This should not be direction deduced from the sequence of previous * positions, which can be computed from previous data. * </pre> */ public Builder setBearing(float value) { bitField0_ |= 0x00000004; bearing_ = value; onChanged(); return this; } /**
/** * <code>optional double odometer = 4;</code> * * <pre> * Odometer value, in meters. * </pre> */ public Builder setOdometer(double value) { bitField0_ |= 0x00000008; odometer_ = value; onChanged(); return this; } /**
/** * <code>required float latitude = 1;</code> * * <pre> * Degrees North, in the WGS-84 coordinate system. * </pre> */ public Builder setLatitude(float value) { bitField0_ |= 0x00000001; latitude_ = value; onChanged(); return this; } /**
/** * <code>optional double odometer = 4;</code> * * <pre> * Odometer value, in meters. * </pre> */ public Builder clearOdometer() { bitField0_ = (bitField0_ & ~0x00000008); odometer_ = 0D; onChanged(); return this; }
/** * <code>required float longitude = 2;</code> * * <pre> * Degrees East, in the WGS-84 coordinate system. * </pre> */ public Builder setLongitude(float value) { bitField0_ |= 0x00000002; longitude_ = value; onChanged(); return this; } /**
/** * <code>optional float speed = 5;</code> * * <pre> * Momentary speed measured by the vehicle, in meters per second. * </pre> */ public Builder setSpeed(float value) { bitField0_ |= 0x00000010; speed_ = value; onChanged(); return this; } /**
/** * <code>optional float speed = 5;</code> * * <pre> * Momentary speed measured by the vehicle, in meters per second. * </pre> */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00000010); speed_ = 0F; onChanged(); return this; }
/** * <code>required float latitude = 1;</code> * * <pre> * Degrees North, in the WGS-84 coordinate system. * </pre> */ public Builder clearLatitude() { bitField0_ = (bitField0_ & ~0x00000001); latitude_ = 0F; onChanged(); return this; }
/** * <code>required float longitude = 2;</code> * * <pre> * Degrees East, in the WGS-84 coordinate system. * </pre> */ public Builder clearLongitude() { bitField0_ = (bitField0_ & ~0x00000002); longitude_ = 0F; onChanged(); return this; }
/** * <code>optional float bearing = 3;</code> * * <pre> * Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. * This can be the compass bearing, or the direction towards the next stop * or intermediate location. * This should not be direction deduced from the sequence of previous * positions, which can be computed from previous data. * </pre> */ public Builder setBearing(float value) { bitField0_ |= 0x00000004; bearing_ = value; onChanged(); return this; } /**
/** * <code>optional float bearing = 3;</code> * * <pre> * Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. * This can be the compass bearing, or the direction towards the next stop * or intermediate location. * This should not be direction deduced from the sequence of previous * positions, which can be computed from previous data. * </pre> */ public Builder clearBearing() { bitField0_ = (bitField0_ & ~0x00000004); bearing_ = 0F; onChanged(); return this; }
/** * <code>optional float speed = 5;</code> * * <pre> * Momentary speed measured by the vehicle, in meters per second. * </pre> */ public Builder setSpeed(float value) { bitField0_ |= 0x00000010; speed_ = value; onChanged(); return this; } /**
/** * <code>optional float speed = 5;</code> * * <pre> * Momentary speed measured by the vehicle, in meters per second. * </pre> */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00000010); speed_ = 0F; onChanged(); return this; }
/** * <code>optional double odometer = 4;</code> * * <pre> * Odometer value, in meters. * </pre> */ public Builder clearOdometer() { bitField0_ = (bitField0_ & ~0x00000008); odometer_ = 0D; onChanged(); return this; }
/** * <code>optional double odometer = 4;</code> * * <pre> * Odometer value, in meters. * </pre> */ public Builder setOdometer(double value) { bitField0_ |= 0x00000008; odometer_ = value; onChanged(); return this; } /**
/** * <code>required float longitude = 2;</code> * * <pre> * Degrees East, in the WGS-84 coordinate system. * </pre> */ public Builder setLongitude(float value) { bitField0_ |= 0x00000002; longitude_ = value; onChanged(); return this; } /**
/** * <code>required float latitude = 1;</code> * * <pre> * Degrees North, in the WGS-84 coordinate system. * </pre> */ public Builder setLatitude(float value) { bitField0_ |= 0x00000001; latitude_ = value; onChanged(); return this; } /**
/** * <code>required float longitude = 2;</code> * * <pre> * Degrees East, in the WGS-84 coordinate system. * </pre> */ public Builder clearLongitude() { bitField0_ = (bitField0_ & ~0x00000002); longitude_ = 0F; onChanged(); return this; }
/** * <code>required float latitude = 1;</code> * * <pre> * Degrees North, in the WGS-84 coordinate system. * </pre> */ public Builder clearLatitude() { bitField0_ = (bitField0_ & ~0x00000001); latitude_ = 0F; onChanged(); return this; }