You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

258 lines
9.1 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.29.0
// protoc v3.14.0
// source: api/mapService/mapService.proto
package mapService
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GetDrivingInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
}
func (x *GetDrivingInfoReq) Reset() {
*x = GetDrivingInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_api_mapService_mapService_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetDrivingInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDrivingInfoReq) ProtoMessage() {}
func (x *GetDrivingInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_api_mapService_mapService_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDrivingInfoReq.ProtoReflect.Descriptor instead.
func (*GetDrivingInfoReq) Descriptor() ([]byte, []int) {
return file_api_mapService_mapService_proto_rawDescGZIP(), []int{0}
}
func (x *GetDrivingInfoReq) GetOrigin() string {
if x != nil {
return x.Origin
}
return ""
}
func (x *GetDrivingInfoReq) GetDestination() string {
if x != nil {
return x.Destination
}
return ""
}
type GetDrivingInfoReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
Distance string `protobuf:"bytes,3,opt,name=distance,proto3" json:"distance,omitempty"`
Duration string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"`
}
func (x *GetDrivingInfoReply) Reset() {
*x = GetDrivingInfoReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_mapService_mapService_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetDrivingInfoReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDrivingInfoReply) ProtoMessage() {}
func (x *GetDrivingInfoReply) ProtoReflect() protoreflect.Message {
mi := &file_api_mapService_mapService_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDrivingInfoReply.ProtoReflect.Descriptor instead.
func (*GetDrivingInfoReply) Descriptor() ([]byte, []int) {
return file_api_mapService_mapService_proto_rawDescGZIP(), []int{1}
}
func (x *GetDrivingInfoReply) GetOrigin() string {
if x != nil {
return x.Origin
}
return ""
}
func (x *GetDrivingInfoReply) GetDestination() string {
if x != nil {
return x.Destination
}
return ""
}
func (x *GetDrivingInfoReply) GetDistance() string {
if x != nil {
return x.Distance
}
return ""
}
func (x *GetDrivingInfoReply) GetDuration() string {
if x != nil {
return x.Duration
}
return ""
}
var File_api_mapService_mapService_proto protoreflect.FileDescriptor
var file_api_mapService_mapService_proto_rawDesc = []byte{
0x0a, 0x1f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x2f, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x22, 0x4d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49,
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x20,
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x87, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49,
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67,
0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1a,
0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x66, 0x0a, 0x0a, 0x4d, 0x61,
0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44,
0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x44,
0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47,
0x65, 0x74, 0x44, 0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x70,
0x6c, 0x79, 0x42, 0x25, 0x5a, 0x23, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3b, 0x6d,
0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_api_mapService_mapService_proto_rawDescOnce sync.Once
file_api_mapService_mapService_proto_rawDescData = file_api_mapService_mapService_proto_rawDesc
)
func file_api_mapService_mapService_proto_rawDescGZIP() []byte {
file_api_mapService_mapService_proto_rawDescOnce.Do(func() {
file_api_mapService_mapService_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_mapService_mapService_proto_rawDescData)
})
return file_api_mapService_mapService_proto_rawDescData
}
var file_api_mapService_mapService_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_api_mapService_mapService_proto_goTypes = []interface{}{
(*GetDrivingInfoReq)(nil), // 0: api.mapService.GetDrivingInfoReq
(*GetDrivingInfoReply)(nil), // 1: api.mapService.GetDrivingInfoReply
}
var file_api_mapService_mapService_proto_depIdxs = []int32{
0, // 0: api.mapService.MapService.GetDrivingInfo:input_type -> api.mapService.GetDrivingInfoReq
1, // 1: api.mapService.MapService.GetDrivingInfo:output_type -> api.mapService.GetDrivingInfoReply
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_api_mapService_mapService_proto_init() }
func file_api_mapService_mapService_proto_init() {
if File_api_mapService_mapService_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_api_mapService_mapService_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetDrivingInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_mapService_mapService_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetDrivingInfoReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_mapService_mapService_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_api_mapService_mapService_proto_goTypes,
DependencyIndexes: file_api_mapService_mapService_proto_depIdxs,
MessageInfos: file_api_mapService_mapService_proto_msgTypes,
}.Build()
File_api_mapService_mapService_proto = out.File
file_api_mapService_mapService_proto_rawDesc = nil
file_api_mapService_mapService_proto_goTypes = nil
file_api_mapService_mapService_proto_depIdxs = nil
}