protobay demo demo.protobay.dev

acme/units

public

Generated from commit 550911f48675.

package acme.units.v1

Files: acme/units/v1/units.proto

Messages

message Temperature

Temperature pairs a numeric value with its temperature scale.
#FieldTypeDescription
1 value double
2 unit acme.units.v1.TemperatureUnit

message Distance

Distance pairs a numeric value with its length unit.
#FieldTypeDescription
1 value double
2 unit acme.units.v1.DistanceUnit

message Speed

Speed pairs a numeric value with its velocity unit.
#FieldTypeDescription
1 value double
2 unit acme.units.v1.SpeedUnit

Enums

enum TemperatureUnit

TemperatureUnit specifies the scale used for temperature measurements.
ValueNumberDescription
TEMPERATURE_UNIT_UNSPECIFIED0
TEMPERATURE_UNIT_CELSIUS1
TEMPERATURE_UNIT_FAHRENHEIT2
TEMPERATURE_UNIT_KELVIN3

enum DistanceUnit

DistanceUnit specifies the unit used for length or elevation measurements.
ValueNumberDescription
DISTANCE_UNIT_UNSPECIFIED0
DISTANCE_UNIT_METERS1
DISTANCE_UNIT_KILOMETERS2
DISTANCE_UNIT_MILES3
DISTANCE_UNIT_FEET4

enum SpeedUnit

SpeedUnit specifies the unit used for wind and velocity measurements.
ValueNumberDescription
SPEED_UNIT_UNSPECIFIED0
SPEED_UNIT_METERS_PER_SECOND1
SPEED_UNIT_KILOMETERS_PER_HOUR2
SPEED_UNIT_MILES_PER_HOUR3
SPEED_UNIT_KNOTS4