Versions in this module Expand all Collapse all v1 v1.0.0 Apr 3, 2020 Changes in this version + var TravelMode_name = map[int32]string + var TravelMode_value = map[string]int32 + func RegisterRoadsServiceServer(s *grpc.Server, srv RoadsServiceServer) + type ListNearestRoadsRequest struct + Points string + TravelMode TravelMode + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListNearestRoadsRequest) Descriptor() ([]byte, []int) + func (*ListNearestRoadsRequest) ProtoMessage() + func (m *ListNearestRoadsRequest) GetPoints() string + func (m *ListNearestRoadsRequest) GetTravelMode() TravelMode + func (m *ListNearestRoadsRequest) Reset() + func (m *ListNearestRoadsRequest) String() string + func (m *ListNearestRoadsRequest) XXX_DiscardUnknown() + func (m *ListNearestRoadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListNearestRoadsRequest) XXX_Merge(src proto.Message) + func (m *ListNearestRoadsRequest) XXX_Size() int + func (m *ListNearestRoadsRequest) XXX_Unmarshal(b []byte) error + type ListNearestRoadsResponse struct + SnappedPoints []*SnappedPoint + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListNearestRoadsResponse) Descriptor() ([]byte, []int) + func (*ListNearestRoadsResponse) ProtoMessage() + func (m *ListNearestRoadsResponse) GetSnappedPoints() []*SnappedPoint + func (m *ListNearestRoadsResponse) Reset() + func (m *ListNearestRoadsResponse) String() string + func (m *ListNearestRoadsResponse) XXX_DiscardUnknown() + func (m *ListNearestRoadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListNearestRoadsResponse) XXX_Merge(src proto.Message) + func (m *ListNearestRoadsResponse) XXX_Size() int + func (m *ListNearestRoadsResponse) XXX_Unmarshal(b []byte) error + type RoadsServiceClient interface + ListNearestRoads func(ctx context.Context, in *ListNearestRoadsRequest, opts ...grpc.CallOption) (*ListNearestRoadsResponse, error) + SnapToRoads func(ctx context.Context, in *SnapToRoadsRequest, opts ...grpc.CallOption) (*SnapToRoadsResponse, error) + func NewRoadsServiceClient(cc grpc.ClientConnInterface) RoadsServiceClient + type RoadsServiceServer interface + ListNearestRoads func(context.Context, *ListNearestRoadsRequest) (*ListNearestRoadsResponse, error) + SnapToRoads func(context.Context, *SnapToRoadsRequest) (*SnapToRoadsResponse, error) + type SnapToRoadsRequest struct + AssetId string + Interpolate bool + Path string + TravelMode TravelMode + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SnapToRoadsRequest) Descriptor() ([]byte, []int) + func (*SnapToRoadsRequest) ProtoMessage() + func (m *SnapToRoadsRequest) GetAssetId() string + func (m *SnapToRoadsRequest) GetInterpolate() bool + func (m *SnapToRoadsRequest) GetPath() string + func (m *SnapToRoadsRequest) GetTravelMode() TravelMode + func (m *SnapToRoadsRequest) Reset() + func (m *SnapToRoadsRequest) String() string + func (m *SnapToRoadsRequest) XXX_DiscardUnknown() + func (m *SnapToRoadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnapToRoadsRequest) XXX_Merge(src proto.Message) + func (m *SnapToRoadsRequest) XXX_Size() int + func (m *SnapToRoadsRequest) XXX_Unmarshal(b []byte) error + type SnapToRoadsResponse struct + SnappedPoints []*SnappedPoint + WarningMessage string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SnapToRoadsResponse) Descriptor() ([]byte, []int) + func (*SnapToRoadsResponse) ProtoMessage() + func (m *SnapToRoadsResponse) GetSnappedPoints() []*SnappedPoint + func (m *SnapToRoadsResponse) GetWarningMessage() string + func (m *SnapToRoadsResponse) Reset() + func (m *SnapToRoadsResponse) String() string + func (m *SnapToRoadsResponse) XXX_DiscardUnknown() + func (m *SnapToRoadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnapToRoadsResponse) XXX_Merge(src proto.Message) + func (m *SnapToRoadsResponse) XXX_Size() int + func (m *SnapToRoadsResponse) XXX_Unmarshal(b []byte) error + type SnappedPoint struct + Location *latlng.LatLng + OriginalIndex *wrappers.UInt32Value + PlaceId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SnappedPoint) Descriptor() ([]byte, []int) + func (*SnappedPoint) ProtoMessage() + func (m *SnappedPoint) GetLocation() *latlng.LatLng + func (m *SnappedPoint) GetOriginalIndex() *wrappers.UInt32Value + func (m *SnappedPoint) GetPlaceId() string + func (m *SnappedPoint) Reset() + func (m *SnappedPoint) String() string + func (m *SnappedPoint) XXX_DiscardUnknown() + func (m *SnappedPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnappedPoint) XXX_Merge(src proto.Message) + func (m *SnappedPoint) XXX_Size() int + func (m *SnappedPoint) XXX_Unmarshal(b []byte) error + type TravelMode int32 + const TravelMode_CYCLING + const TravelMode_DRIVING + const TravelMode_TRAVEL_MODE_UNSPECIFIED + const TravelMode_WALKING + func (TravelMode) EnumDescriptor() ([]byte, []int) + func (x TravelMode) String() string + type UnimplementedRoadsServiceServer struct + func (*UnimplementedRoadsServiceServer) ListNearestRoads(ctx context.Context, req *ListNearestRoadsRequest) (*ListNearestRoadsResponse, error) + func (*UnimplementedRoadsServiceServer) SnapToRoads(ctx context.Context, req *SnapToRoadsRequest) (*SnapToRoadsResponse, error)