Documentation
¶
Index ¶
- Variables
- type Recommend
- func (*Recommend) Descriptor() ([]byte, []int)deprecated
- func (x *Recommend) GetDemandDepartureTime() uint32
- func (x *Recommend) GetRecommendId() uint32
- func (x *Recommend) GetRecommendName() string
- func (x *Recommend) GetRecommendSteps() []*RecommendStep
- func (*Recommend) ProtoMessage()
- func (x *Recommend) ProtoReflect() protoreflect.Message
- func (x *Recommend) Reset()
- func (x *Recommend) String() string
- type RecommendStep
- func (*RecommendStep) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendStep) GetFromStationId() string
- func (x *RecommendStep) GetIsAsap() bool
- func (x *RecommendStep) GetMobilityType() string
- func (x *RecommendStep) GetToStationId() string
- func (x *RecommendStep) GetTransitOrder() uint32
- func (x *RecommendStep) GetTs() *timestamppb.Timestamp
- func (*RecommendStep) ProtoMessage()
- func (x *RecommendStep) ProtoReflect() protoreflect.Message
- func (x *RecommendStep) Reset()
- func (x *RecommendStep) String() string
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) GetDemandDepartureTime ¶ added in v0.0.3
func (*Recommend) GetRecommendId ¶
func (*Recommend) GetRecommendName ¶
func (*Recommend) GetRecommendSteps ¶
func (x *Recommend) GetRecommendSteps() []*RecommendStep
func (*Recommend) ProtoMessage ¶
func (*Recommend) ProtoMessage()
func (*Recommend) ProtoReflect ¶
func (x *Recommend) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.