Documentation ¶
Index ¶
- Variables
- type Department
- type Fuel
- type Owner
- type Owner_Entity
- func (Owner_Entity) Descriptor() protoreflect.EnumDescriptor
- func (x Owner_Entity) Enum() *Owner_Entity
- func (Owner_Entity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Owner_Entity) Number() protoreflect.EnumNumber
- func (x Owner_Entity) String() string
- func (Owner_Entity) Type() protoreflect.EnumType
- type Owner_Territory
- func (*Owner_Territory) Descriptor() ([]byte, []int)deprecated
- func (x *Owner_Territory) GetCode() int32
- func (x *Owner_Territory) GetFullName() int32
- func (*Owner_Territory) ProtoMessage()
- func (x *Owner_Territory) ProtoReflect() protoreflect.Message
- func (x *Owner_Territory) Reset()
- func (x *Owner_Territory) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetBody() string
- func (x *Record) GetBrand() string
- func (x *Record) GetCapacity() int32
- func (x *Record) GetColor() string
- func (x *Record) GetDate() string
- func (x *Record) GetDepartment() *Department
- func (x *Record) GetFuel() []Fuel
- func (x *Record) GetKind() string
- func (x *Record) GetModel() string
- func (x *Record) GetNumber() string
- func (x *Record) GetOwnWeight() int32
- func (x *Record) GetOwner() *Owner
- func (x *Record) GetPurpose() string
- func (x *Record) GetRegAddrKoatuu() string
- func (x *Record) GetRegistration() string
- func (x *Record) GetRegistrationCode() string
- func (x *Record) GetTotalWeight() int32
- func (x *Record) GetYear() int32
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Fuel_name = map[int32]string{ 0: "UNKNOWN", 1: "GASOLINE", 2: "GAS", 3: "ELECTRICITY", } Fuel_value = map[string]int32{ "UNKNOWN": 0, "GASOLINE": 1, "GAS": 2, "ELECTRICITY": 3, } )
Enum value maps for Fuel.
View Source
var ( Owner_Entity_name = map[int32]string{ 0: "UNKNOWN", 1: "INDIVIDUAL", 2: "LEGAL", } Owner_Entity_value = map[string]int32{ "UNKNOWN": 0, "INDIVIDUAL": 1, "LEGAL": 2, } )
Enum value maps for Owner_Entity.
View Source
var File_proto_operation_operation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Department ¶
type Department struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Department) Descriptor
deprecated
func (*Department) Descriptor() ([]byte, []int)
Deprecated: Use Department.ProtoReflect.Descriptor instead.
func (*Department) GetCode ¶
func (x *Department) GetCode() int32
func (*Department) GetName ¶
func (x *Department) GetName() string
func (*Department) ProtoMessage ¶
func (*Department) ProtoMessage()
func (*Department) ProtoReflect ¶
func (x *Department) ProtoReflect() protoreflect.Message
func (*Department) Reset ¶
func (x *Department) Reset()
func (*Department) String ¶
func (x *Department) String() string
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
type Owner ¶
type Owner struct { Entity Owner_Entity `protobuf:"varint,1,opt,name=entity,proto3,enum=operation.Owner_Entity" json:"entity,omitempty"` Registration *Owner_Territory `protobuf:"bytes,2,opt,name=registration,proto3" json:"registration,omitempty"` // contains filtered or unexported fields }
func (*Owner) Descriptor
deprecated
func (*Owner) GetEntity ¶
func (x *Owner) GetEntity() Owner_Entity
func (*Owner) GetRegistration ¶
func (x *Owner) GetRegistration() *Owner_Territory
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type Owner_Entity ¶
type Owner_Entity int32
const ( Owner_UNKNOWN Owner_Entity = 0 Owner_INDIVIDUAL Owner_Entity = 1 Owner_LEGAL Owner_Entity = 2 )
func (Owner_Entity) Descriptor ¶
func (Owner_Entity) Descriptor() protoreflect.EnumDescriptor
func (Owner_Entity) Enum ¶
func (x Owner_Entity) Enum() *Owner_Entity
func (Owner_Entity) EnumDescriptor
deprecated
func (Owner_Entity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Owner_Entity.Descriptor instead.
func (Owner_Entity) Number ¶
func (x Owner_Entity) Number() protoreflect.EnumNumber
func (Owner_Entity) String ¶
func (x Owner_Entity) String() string
func (Owner_Entity) Type ¶
func (Owner_Entity) Type() protoreflect.EnumType
type Owner_Territory ¶
type Owner_Territory struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` FullName int32 `protobuf:"varint,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // contains filtered or unexported fields }
func (*Owner_Territory) Descriptor
deprecated
func (*Owner_Territory) Descriptor() ([]byte, []int)
Deprecated: Use Owner_Territory.ProtoReflect.Descriptor instead.
func (*Owner_Territory) GetCode ¶
func (x *Owner_Territory) GetCode() int32
func (*Owner_Territory) GetFullName ¶
func (x *Owner_Territory) GetFullName() int32
func (*Owner_Territory) ProtoMessage ¶
func (*Owner_Territory) ProtoMessage()
func (*Owner_Territory) ProtoReflect ¶
func (x *Owner_Territory) ProtoReflect() protoreflect.Message
func (*Owner_Territory) Reset ¶
func (x *Owner_Territory) Reset()
func (*Owner_Territory) String ¶
func (x *Owner_Territory) String() string
type Record ¶
type Record struct { Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Capacity int32 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` Date string `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"` Department *Department `protobuf:"bytes,7,opt,name=department,proto3" json:"department,omitempty"` Fuel []Fuel `protobuf:"varint,8,rep,packed,name=fuel,proto3,enum=operation.Fuel" json:"fuel,omitempty"` Kind string `protobuf:"bytes,9,opt,name=kind,proto3" json:"kind,omitempty"` Number string `protobuf:"bytes,10,opt,name=number,proto3" json:"number,omitempty"` OwnWeight int32 `protobuf:"varint,11,opt,name=own_weight,json=ownWeight,proto3" json:"own_weight,omitempty"` Owner *Owner `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"` Purpose string `protobuf:"bytes,14,opt,name=purpose,proto3" json:"purpose,omitempty"` RegAddrKoatuu string `protobuf:"bytes,15,opt,name=reg_addr_koatuu,json=regAddrKoatuu,proto3" json:"reg_addr_koatuu,omitempty"` Registration string `protobuf:"bytes,16,opt,name=registration,proto3" json:"registration,omitempty"` RegistrationCode string `protobuf:"bytes,17,opt,name=registration_code,json=registrationCode,proto3" json:"registration_code,omitempty"` TotalWeight int32 `protobuf:"varint,18,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"` Year int32 `protobuf:"varint,19,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetCapacity ¶
func (*Record) GetDepartment ¶
func (x *Record) GetDepartment() *Department
func (*Record) GetOwnWeight ¶
func (*Record) GetPurpose ¶
func (*Record) GetRegAddrKoatuu ¶
func (*Record) GetRegistration ¶
func (*Record) GetRegistrationCode ¶
func (*Record) GetTotalWeight ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.