proto_people_agent

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

proto_people_agent

People simulation agent for People counter

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pagent_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PAgent

type PAgent struct {
	Id    int32     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Point []float64 `protobuf:"fixed64,2,rep,packed,name=point,proto3" json:"point,omitempty"`
	// contains filtered or unexported fields
}

Agent Message (mainly for supply)

func (*PAgent) Descriptor deprecated

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

Deprecated: Use PAgent.ProtoReflect.Descriptor instead.

func (*PAgent) GetId

func (x *PAgent) GetId() int32

func (*PAgent) GetPoint

func (x *PAgent) GetPoint() []float64

func (*PAgent) ProtoMessage

func (*PAgent) ProtoMessage()

func (*PAgent) ProtoReflect added in v0.0.2

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

func (*PAgent) Reset

func (x *PAgent) Reset()

func (*PAgent) String

func (x *PAgent) String() string

type PAgents

type PAgents struct {
	Agents []*PAgent            `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	Ts     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*PAgents) Descriptor deprecated

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

Deprecated: Use PAgents.ProtoReflect.Descriptor instead.

func (*PAgents) GetAgents

func (x *PAgents) GetAgents() []*PAgent

func (*PAgents) GetTs added in v0.0.2

func (x *PAgents) GetTs() *timestamp.Timestamp

func (*PAgents) ProtoMessage

func (*PAgents) ProtoMessage()

func (*PAgents) ProtoReflect added in v0.0.2

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

func (*PAgents) Reset

func (x *PAgents) Reset()

func (*PAgents) String

func (x *PAgents) String() string

Jump to

Keyboard shortcuts

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