644 lines
25 KiB
Go
644 lines
25 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.1
|
|
// protoc v5.28.3
|
|
// source: helios/compass/compass.proto
|
|
|
|
package pbcompass
|
|
|
|
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 SearchPlacesRequest_SearchType int32
|
|
|
|
const (
|
|
SearchPlacesRequest_SEARCH_TYPE_UNSPECIFIED SearchPlacesRequest_SearchType = 0
|
|
// When we strictly want to search for a city, state, country
|
|
SearchPlacesRequest_SEARCH_TYPE_CITY SearchPlacesRequest_SearchType = 1
|
|
// When we want a full address like for a shipping address
|
|
SearchPlacesRequest_SEARCH_TYPE_ADDRESS SearchPlacesRequest_SearchType = 2
|
|
)
|
|
|
|
// Enum value maps for SearchPlacesRequest_SearchType.
|
|
var (
|
|
SearchPlacesRequest_SearchType_name = map[int32]string{
|
|
0: "SEARCH_TYPE_UNSPECIFIED",
|
|
1: "SEARCH_TYPE_CITY",
|
|
2: "SEARCH_TYPE_ADDRESS",
|
|
}
|
|
SearchPlacesRequest_SearchType_value = map[string]int32{
|
|
"SEARCH_TYPE_UNSPECIFIED": 0,
|
|
"SEARCH_TYPE_CITY": 1,
|
|
"SEARCH_TYPE_ADDRESS": 2,
|
|
}
|
|
)
|
|
|
|
func (x SearchPlacesRequest_SearchType) Enum() *SearchPlacesRequest_SearchType {
|
|
p := new(SearchPlacesRequest_SearchType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SearchPlacesRequest_SearchType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SearchPlacesRequest_SearchType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_helios_compass_compass_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SearchPlacesRequest_SearchType) Type() protoreflect.EnumType {
|
|
return &file_helios_compass_compass_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SearchPlacesRequest_SearchType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchPlacesRequest_SearchType.Descriptor instead.
|
|
func (SearchPlacesRequest_SearchType) EnumDescriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
type Coordinate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
|
|
Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
|
|
}
|
|
|
|
func (x *Coordinate) Reset() {
|
|
*x = Coordinate{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Coordinate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Coordinate) ProtoMessage() {}
|
|
|
|
func (x *Coordinate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Coordinate.ProtoReflect.Descriptor instead.
|
|
func (*Coordinate) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Coordinate) GetLatitude() float64 {
|
|
if x != nil {
|
|
return x.Latitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Coordinate) GetLongitude() float64 {
|
|
if x != nil {
|
|
return x.Longitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchPlacesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
SearchType SearchPlacesRequest_SearchType `protobuf:"varint,2,opt,name=search_type,json=searchType,proto3,enum=helios.compass.SearchPlacesRequest_SearchType" json:"search_type,omitempty"`
|
|
}
|
|
|
|
func (x *SearchPlacesRequest) Reset() {
|
|
*x = SearchPlacesRequest{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlacesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlacesRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchPlacesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchPlacesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlacesRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SearchPlacesRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlacesRequest) GetSearchType() SearchPlacesRequest_SearchType {
|
|
if x != nil {
|
|
return x.SearchType
|
|
}
|
|
return SearchPlacesRequest_SEARCH_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type SearchPlacesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Places []*SearchPlacesResponse_AutocompletePrediction `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
|
|
}
|
|
|
|
func (x *SearchPlacesResponse) Reset() {
|
|
*x = SearchPlacesResponse{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlacesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlacesResponse) ProtoMessage() {}
|
|
|
|
func (x *SearchPlacesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchPlacesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlacesResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SearchPlacesResponse) GetPlaces() []*SearchPlacesResponse_AutocompletePrediction {
|
|
if x != nil {
|
|
return x.Places
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPlaceByIdRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetPlaceByIdRequest) Reset() {
|
|
*x = GetPlaceByIdRequest{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaceByIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaceByIdRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPlaceByIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaceByIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaceByIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetPlaceByIdRequest) GetPlaceId() string {
|
|
if x != nil {
|
|
return x.PlaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPlaceByIdResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Coordinate *Coordinate `protobuf:"bytes,3,opt,name=coordinate,proto3" json:"coordinate,omitempty"`
|
|
}
|
|
|
|
func (x *GetPlaceByIdResponse) Reset() {
|
|
*x = GetPlaceByIdResponse{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaceByIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaceByIdResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPlaceByIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaceByIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaceByIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetPlaceByIdResponse) GetPlaceId() string {
|
|
if x != nil {
|
|
return x.PlaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPlaceByIdResponse) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPlaceByIdResponse) GetCoordinate() *Coordinate {
|
|
if x != nil {
|
|
return x.Coordinate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPlaceByIpRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
}
|
|
|
|
func (x *GetPlaceByIpRequest) Reset() {
|
|
*x = GetPlaceByIpRequest{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaceByIpRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaceByIpRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPlaceByIpRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaceByIpRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaceByIpRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetPlaceByIpRequest) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPlaceByIpResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Coordinate *Coordinate `protobuf:"bytes,3,opt,name=coordinate,proto3" json:"coordinate,omitempty"`
|
|
}
|
|
|
|
func (x *GetPlaceByIpResponse) Reset() {
|
|
*x = GetPlaceByIpResponse{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlaceByIpResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlaceByIpResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPlaceByIpResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlaceByIpResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPlaceByIpResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetPlaceByIpResponse) GetPlaceId() string {
|
|
if x != nil {
|
|
return x.PlaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPlaceByIpResponse) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPlaceByIpResponse) GetCoordinate() *Coordinate {
|
|
if x != nil {
|
|
return x.Coordinate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchPlacesResponse_AutocompletePrediction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
}
|
|
|
|
func (x *SearchPlacesResponse_AutocompletePrediction) Reset() {
|
|
*x = SearchPlacesResponse_AutocompletePrediction{}
|
|
mi := &file_helios_compass_compass_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlacesResponse_AutocompletePrediction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlacesResponse_AutocompletePrediction) ProtoMessage() {}
|
|
|
|
func (x *SearchPlacesResponse_AutocompletePrediction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_compass_compass_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchPlacesResponse_AutocompletePrediction.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlacesResponse_AutocompletePrediction) Descriptor() ([]byte, []int) {
|
|
return file_helios_compass_compass_proto_rawDescGZIP(), []int{2, 0}
|
|
}
|
|
|
|
func (x *SearchPlacesResponse_AutocompletePrediction) GetPlaceId() string {
|
|
if x != nil {
|
|
return x.PlaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchPlacesResponse_AutocompletePrediction) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_helios_compass_compass_proto protoreflect.FileDescriptor
|
|
|
|
var file_helios_compass_compass_proto_rawDesc = []byte{
|
|
0x0a, 0x1c, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73,
|
|
0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e,
|
|
0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x22, 0x46,
|
|
0x0a, 0x0a, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08,
|
|
0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67,
|
|
0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x6e,
|
|
0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0xd6, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63,
|
|
0x68, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
|
|
0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71,
|
|
0x75, 0x65, 0x72, 0x79, 0x12, 0x4f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74,
|
|
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x68, 0x65, 0x6c, 0x69,
|
|
0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
|
|
0x68, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53,
|
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63,
|
|
0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x54, 0x59,
|
|
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
|
|
0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
|
|
0x43, 0x49, 0x54, 0x59, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48,
|
|
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x22,
|
|
0xc3, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x63,
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f,
|
|
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
|
|
0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41,
|
|
0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x56, 0x0a,
|
|
0x16, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x65,
|
|
0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x63, 0x65,
|
|
0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
|
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63,
|
|
0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08,
|
|
0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50,
|
|
0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x19, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64,
|
|
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a,
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
|
|
0x61, 0x73, 0x73, 0x2e, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x0a,
|
|
0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65,
|
|
0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
|
|
0x70, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79,
|
|
0x49, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6c,
|
|
0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6c,
|
|
0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
|
|
0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x6f, 0x6f, 0x72,
|
|
0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68,
|
|
0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x43, 0x6f,
|
|
0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69,
|
|
0x6e, 0x61, 0x74, 0x65, 0x32, 0xa0, 0x02, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73,
|
|
0x12, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73,
|
|
0x12, 0x23, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73,
|
|
0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63,
|
|
0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61,
|
|
0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a,
|
|
0x0c, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x23, 0x2e,
|
|
0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x47,
|
|
0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x24, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
|
|
0x61, 0x73, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x64,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0c, 0x47, 0x65,
|
|
0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x70, 0x12, 0x23, 0x2e, 0x68, 0x65, 0x6c,
|
|
0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x50,
|
|
0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x24, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73,
|
|
0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x79, 0x49, 0x70, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75,
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 0x79, 0x2d, 0x6c, 0x69, 0x76, 0x65,
|
|
0x2f, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x2f, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x3b,
|
|
0x70, 0x62, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_helios_compass_compass_proto_rawDescOnce sync.Once
|
|
file_helios_compass_compass_proto_rawDescData = file_helios_compass_compass_proto_rawDesc
|
|
)
|
|
|
|
func file_helios_compass_compass_proto_rawDescGZIP() []byte {
|
|
file_helios_compass_compass_proto_rawDescOnce.Do(func() {
|
|
file_helios_compass_compass_proto_rawDescData = protoimpl.X.CompressGZIP(file_helios_compass_compass_proto_rawDescData)
|
|
})
|
|
return file_helios_compass_compass_proto_rawDescData
|
|
}
|
|
|
|
var file_helios_compass_compass_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_helios_compass_compass_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_helios_compass_compass_proto_goTypes = []any{
|
|
(SearchPlacesRequest_SearchType)(0), // 0: helios.compass.SearchPlacesRequest.SearchType
|
|
(*Coordinate)(nil), // 1: helios.compass.Coordinate
|
|
(*SearchPlacesRequest)(nil), // 2: helios.compass.SearchPlacesRequest
|
|
(*SearchPlacesResponse)(nil), // 3: helios.compass.SearchPlacesResponse
|
|
(*GetPlaceByIdRequest)(nil), // 4: helios.compass.GetPlaceByIdRequest
|
|
(*GetPlaceByIdResponse)(nil), // 5: helios.compass.GetPlaceByIdResponse
|
|
(*GetPlaceByIpRequest)(nil), // 6: helios.compass.GetPlaceByIpRequest
|
|
(*GetPlaceByIpResponse)(nil), // 7: helios.compass.GetPlaceByIpResponse
|
|
(*SearchPlacesResponse_AutocompletePrediction)(nil), // 8: helios.compass.SearchPlacesResponse.AutocompletePrediction
|
|
}
|
|
var file_helios_compass_compass_proto_depIdxs = []int32{
|
|
0, // 0: helios.compass.SearchPlacesRequest.search_type:type_name -> helios.compass.SearchPlacesRequest.SearchType
|
|
8, // 1: helios.compass.SearchPlacesResponse.places:type_name -> helios.compass.SearchPlacesResponse.AutocompletePrediction
|
|
1, // 2: helios.compass.GetPlaceByIdResponse.coordinate:type_name -> helios.compass.Coordinate
|
|
1, // 3: helios.compass.GetPlaceByIpResponse.coordinate:type_name -> helios.compass.Coordinate
|
|
2, // 4: helios.compass.Compass.SearchPlaces:input_type -> helios.compass.SearchPlacesRequest
|
|
4, // 5: helios.compass.Compass.GetPlaceById:input_type -> helios.compass.GetPlaceByIdRequest
|
|
6, // 6: helios.compass.Compass.GetPlaceByIp:input_type -> helios.compass.GetPlaceByIpRequest
|
|
3, // 7: helios.compass.Compass.SearchPlaces:output_type -> helios.compass.SearchPlacesResponse
|
|
5, // 8: helios.compass.Compass.GetPlaceById:output_type -> helios.compass.GetPlaceByIdResponse
|
|
7, // 9: helios.compass.Compass.GetPlaceByIp:output_type -> helios.compass.GetPlaceByIpResponse
|
|
7, // [7:10] is the sub-list for method output_type
|
|
4, // [4:7] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_helios_compass_compass_proto_init() }
|
|
func file_helios_compass_compass_proto_init() {
|
|
if File_helios_compass_compass_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_helios_compass_compass_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_helios_compass_compass_proto_goTypes,
|
|
DependencyIndexes: file_helios_compass_compass_proto_depIdxs,
|
|
EnumInfos: file_helios_compass_compass_proto_enumTypes,
|
|
MessageInfos: file_helios_compass_compass_proto_msgTypes,
|
|
}.Build()
|
|
File_helios_compass_compass_proto = out.File
|
|
file_helios_compass_compass_proto_rawDesc = nil
|
|
file_helios_compass_compass_proto_goTypes = nil
|
|
file_helios_compass_compass_proto_depIdxs = nil
|
|
}
|