operation

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 5 Imported by: 4

Documentation

Index

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
const (
	Fuel_UNKNOWN     Fuel = 0
	Fuel_GASOLINE    Fuel = 1
	Fuel_GAS         Fuel = 2
	Fuel_ELECTRICITY Fuel = 3
)

func (Fuel) Descriptor

func (Fuel) Descriptor() protoreflect.EnumDescriptor

func (Fuel) Enum

func (x Fuel) Enum() *Fuel

func (Fuel) EnumDescriptor deprecated

func (Fuel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Fuel.Descriptor instead.

func (Fuel) Number

func (x Fuel) Number() protoreflect.EnumNumber

func (Fuel) String

func (x Fuel) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

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

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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) 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 (Owner_Entity) String

func (x Owner_Entity) String() string

func (Owner_Entity) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetBody

func (x *Record) GetBody() string

func (*Record) GetBrand

func (x *Record) GetBrand() string

func (*Record) GetCapacity

func (x *Record) GetCapacity() int32

func (*Record) GetColor

func (x *Record) GetColor() string

func (*Record) GetDate

func (x *Record) GetDate() string

func (*Record) GetDepartment

func (x *Record) GetDepartment() *Department

func (*Record) GetFuel

func (x *Record) GetFuel() []Fuel

func (*Record) GetKind

func (x *Record) GetKind() string

func (*Record) GetModel

func (x *Record) GetModel() string

func (*Record) GetNumber

func (x *Record) GetNumber() string

func (*Record) GetOwnWeight

func (x *Record) GetOwnWeight() int32

func (*Record) GetOwner

func (x *Record) GetOwner() *Owner

func (*Record) GetPurpose

func (x *Record) GetPurpose() string

func (*Record) GetRegAddrKoatuu

func (x *Record) GetRegAddrKoatuu() string

func (*Record) GetRegistration

func (x *Record) GetRegistration() string

func (*Record) GetRegistrationCode

func (x *Record) GetRegistrationCode() string

func (*Record) GetTotalWeight

func (x *Record) GetTotalWeight() int32

func (*Record) GetYear

func (x *Record) GetYear() int32

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

func (x *Record) ProtoReflect() protoreflect.Message

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL