Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Fuel_name = map[int32]string{ 0: "FUEL_UNKNOWN", 1: "GASOLINE", 2: "GAS", 3: "ELECTRICITY", } Fuel_value = map[string]int32{ "FUEL_UNKNOWN": 0, "GASOLINE": 1, "GAS": 2, "ELECTRICITY": 3, } )
Enum value maps for Fuel.
View Source
var ( Category_name = map[int32]string{ 0: "CATEGORY_UNKNOWN", 1: "A1", 2: "A", 3: "B1", 4: "B", 5: "C1", 6: "C", 7: "D1", 8: "D", 9: "BE", 10: "C1E", 11: "CE", 12: "D1E", 13: "DE", 14: "T", } Category_value = map[string]int32{ "CATEGORY_UNKNOWN": 0, "A1": 1, "A": 2, "B1": 3, "B": 4, "C1": 5, "C": 6, "D1": 7, "D": 8, "BE": 9, "C1E": 10, "CE": 11, "D1E": 12, "DE": 13, "T": 14, } )
Enum value maps for Category.
View Source
var File_proto_common_date_proto protoreflect.FileDescriptor
View Source
var File_proto_common_enums_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category int32
const ( Category_CATEGORY_UNKNOWN Category = 0 Category_A1 Category = 1 Category_A Category = 2 Category_B1 Category = 3 Category_B Category = 4 Category_C1 Category = 5 Category_C Category = 6 Category_D1 Category = 7 Category_D Category = 8 Category_BE Category = 9 Category_C1E Category = 10 Category_CE Category = 11 Category_D1E Category = 12 Category_DE Category = 13 Category_T Category = 14 )
func (Category) Descriptor ¶
func (Category) Descriptor() protoreflect.EnumDescriptor
func (Category) EnumDescriptor
deprecated
func (Category) Number ¶
func (x Category) Number() protoreflect.EnumNumber
func (Category) Type ¶
func (Category) Type() protoreflect.EnumType
type Date ¶
type Date struct { // Year of the date. Must be from 1 to 9999, or 0 to specify a date without // a year. Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` // Month of a year. Must be from 1 to 12, or 0 to specify a year without a // month and day. Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 // to specify a year by itself or a year and month where the day isn't // significant. Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
* A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
func (*Date) Descriptor
deprecated
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
type Fuel ¶
type Fuel int32
func (Fuel) Descriptor ¶
func (Fuel) Descriptor() protoreflect.EnumDescriptor
func (Fuel) EnumDescriptor
deprecated
func (Fuel) Number ¶
func (x Fuel) Number() protoreflect.EnumNumber
func (Fuel) Type ¶
func (Fuel) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.