proto_pflow

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

proto_pflow

Protocol for People Flow Data

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pflow_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Longitude   float64                `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Latitude    float64                `protobuf:"fixed64,3,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Z           float64                `protobuf:"fixed64,4,opt,name=z,proto3" json:"z,omitempty"`
	Type        string                 `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Elapsedtime float64                `protobuf:"fixed64,7,opt,name=elapsedtime,proto3" json:"elapsedtime,omitempty"`
	Option      []byte                 `protobuf:"bytes,8,opt,name=option,proto3" json:"option,omitempty"` // option
	Sid         uint32                 `protobuf:"varint,9,opt,name=sid,proto3" json:"sid,omitempty"`
	Height      uint32                 `protobuf:"varint,10,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetElapsedtime

func (x *Operation) GetElapsedtime() float64

func (*Operation) GetHeight added in v0.0.5

func (x *Operation) GetHeight() uint32

func (*Operation) GetId

func (x *Operation) GetId() uint32

func (*Operation) GetLatitude

func (x *Operation) GetLatitude() float64

func (*Operation) GetLongitude

func (x *Operation) GetLongitude() float64

func (*Operation) GetOption

func (x *Operation) GetOption() []byte

func (*Operation) GetSid added in v0.0.5

func (x *Operation) GetSid() uint32

func (*Operation) GetTimestamp

func (x *Operation) GetTimestamp() *timestamppb.Timestamp

func (*Operation) GetType

func (x *Operation) GetType() string

func (*Operation) GetZ

func (x *Operation) GetZ() float64

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type PFlow

type PFlow struct {
	Id        uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Area      string                 `protobuf:"bytes,2,opt,name=area,proto3" json:"area,omitempty"`
	Type      string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Operation []*Operation           `protobuf:"bytes,6,rep,name=operation,proto3" json:"operation,omitempty"` // message has several Operation data.
	Option    []byte                 `protobuf:"bytes,7,opt,name=option,proto3" json:"option,omitempty"`       // option
	// contains filtered or unexported fields
}

People Flow Service message

func (*PFlow) Descriptor deprecated

func (*PFlow) Descriptor() ([]byte, []int)

Deprecated: Use PFlow.ProtoReflect.Descriptor instead.

func (*PFlow) GetArea

func (x *PFlow) GetArea() string

func (*PFlow) GetEndTime

func (x *PFlow) GetEndTime() *timestamppb.Timestamp

func (*PFlow) GetId

func (x *PFlow) GetId() uint32

func (*PFlow) GetOperation

func (x *PFlow) GetOperation() []*Operation

func (*PFlow) GetOption

func (x *PFlow) GetOption() []byte

func (*PFlow) GetStartTime

func (x *PFlow) GetStartTime() *timestamppb.Timestamp

func (*PFlow) GetType

func (x *PFlow) GetType() string

func (*PFlow) ProtoMessage

func (*PFlow) ProtoMessage()

func (*PFlow) ProtoReflect

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

func (*PFlow) Reset

func (x *PFlow) Reset()

func (*PFlow) String

func (x *PFlow) String() string

Jump to

Keyboard shortcuts

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