Skip to content

Instantly share code, notes, and snippets.

@pioh
Last active February 7, 2017 16:04
Show Gist options
  • Save pioh/18b08ad446762f262a900b5d1e5f2817 to your computer and use it in GitHub Desktop.
Save pioh/18b08ad446762f262a900b5d1e5f2817 to your computer and use it in GitHub Desktop.
Example structs
[FlowIntencity]
HIGH = 'Высокий трафик'
MODERATE = 'Низкий трафик'
LOW = 'Средний трафик'
[Flooring]
ASPHALT_OR_CONCRETE_TILE = 'Асфальт или бетонная плитка'
PLAIN_CONCRETE = 'Бетон без покрытия'
CONCRETE_WITH_ANTIDUST_COATING = 'Бетонный пол с антипылевым покрытием'
syntax = "proto3";
enum FlowIntencity {
HIGH = 1;
MODERATE = 2;
LOW = 3;
}
enum Flooring {
ASPHALT_OR_CONCRETE_TILE = 1;
PLAIN_CONCRETE = 2;
CONCRETE_WITH_ANTIDUST_COATING = 3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment