proto_recommend

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 3 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

proto_recommend

Created for Joint Research with Hitachi in AY 2023.

Prerequisites

Build

for Go lang
protoc -I . --go_out=paths=source_relative:. recommend.proto

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_recommend_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Recommend

type Recommend struct {
	RecommendId         uint32           `protobuf:"varint,1,opt,name=recommend_id,json=recommendId,proto3" json:"recommend_id,omitempty"`
	RecommendName       string           `protobuf:"bytes,2,opt,name=recommend_name,json=recommendName,proto3" json:"recommend_name,omitempty"`
	RecommendSteps      []*RecommendStep `protobuf:"bytes,3,rep,name=recommend_steps,json=recommendSteps,proto3" json:"recommend_steps,omitempty"`
	DemandDepartureTime uint32           `protobuf:"varint,4,opt,name=demand_departure_time,json=demandDepartureTime,proto3" json:"demand_departure_time,omitempty"`
	// contains filtered or unexported fields
}

Recommend service message

func (*Recommend) Descriptor deprecated

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

Deprecated: Use Recommend.ProtoReflect.Descriptor instead.

func (*Recommend) GetDemandDepartureTime added in v0.0.3

func (x *Recommend) GetDemandDepartureTime() uint32

func (*Recommend) GetRecommendId

func (x *Recommend) GetRecommendId() uint32

func (*Recommend) GetRecommendName

func (x *Recommend) GetRecommendName() string

func (*Recommend) GetRecommendSteps

func (x *Recommend) GetRecommendSteps() []*RecommendStep

func (*Recommend) ProtoMessage

func (*Recommend) ProtoMessage()

func (*Recommend) ProtoReflect

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

func (*Recommend) Reset

func (x *Recommend) Reset()

func (*Recommend) String

func (x *Recommend) String() string

type RecommendStep

type RecommendStep struct {
	TransitOrder  uint32                 `protobuf:"varint,1,opt,name=transit_order,json=transitOrder,proto3" json:"transit_order,omitempty"`
	MobilityType  string                 `protobuf:"bytes,2,opt,name=mobility_type,json=mobilityType,proto3" json:"mobility_type,omitempty"`
	FromStationId string                 `protobuf:"bytes,3,opt,name=from_station_id,json=fromStationId,proto3" json:"from_station_id,omitempty"`
	ToStationId   string                 `protobuf:"bytes,4,opt,name=to_station_id,json=toStationId,proto3" json:"to_station_id,omitempty"`
	Ts            *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ts,proto3" json:"ts,omitempty"`
	IsAsap        bool                   `protobuf:"varint,6,opt,name=is_asap,json=isAsap,proto3" json:"is_asap,omitempty"`
	// contains filtered or unexported fields
}

func (*RecommendStep) Descriptor deprecated

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

Deprecated: Use RecommendStep.ProtoReflect.Descriptor instead.

func (*RecommendStep) GetFromStationId

func (x *RecommendStep) GetFromStationId() string

func (*RecommendStep) GetIsAsap

func (x *RecommendStep) GetIsAsap() bool

func (*RecommendStep) GetMobilityType

func (x *RecommendStep) GetMobilityType() string

func (*RecommendStep) GetToStationId

func (x *RecommendStep) GetToStationId() string

func (*RecommendStep) GetTransitOrder

func (x *RecommendStep) GetTransitOrder() uint32

func (*RecommendStep) GetTs

func (x *RecommendStep) GetTs() *timestamppb.Timestamp

func (*RecommendStep) ProtoMessage

func (*RecommendStep) ProtoMessage()

func (*RecommendStep) ProtoReflect

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

func (*RecommendStep) Reset

func (x *RecommendStep) Reset()

func (*RecommendStep) String

func (x *RecommendStep) String() string

Jump to

Keyboard shortcuts

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