1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/type/latlng.proto
3
4package latlng
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11)
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
23
24// An object representing a latitude/longitude pair. This is expressed as a pair
25// of doubles representing degrees latitude and degrees longitude. Unless
26// specified otherwise, this must conform to the
27// <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
28// standard</a>. Values must be within normalized ranges.
29type LatLng struct {
30	// The latitude in degrees. It must be in the range [-90.0, +90.0].
31	Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
32	// The longitude in degrees. It must be in the range [-180.0, +180.0].
33	Longitude            float64  `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
34	XXX_NoUnkeyedLiteral struct{} `json:"-"`
35	XXX_unrecognized     []byte   `json:"-"`
36	XXX_sizecache        int32    `json:"-"`
37}
38
39func (m *LatLng) Reset()         { *m = LatLng{} }
40func (m *LatLng) String() string { return proto.CompactTextString(m) }
41func (*LatLng) ProtoMessage()    {}
42func (*LatLng) Descriptor() ([]byte, []int) {
43	return fileDescriptor_a087c9a103c281a9, []int{0}
44}
45
46func (m *LatLng) XXX_Unmarshal(b []byte) error {
47	return xxx_messageInfo_LatLng.Unmarshal(m, b)
48}
49func (m *LatLng) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
50	return xxx_messageInfo_LatLng.Marshal(b, m, deterministic)
51}
52func (m *LatLng) XXX_Merge(src proto.Message) {
53	xxx_messageInfo_LatLng.Merge(m, src)
54}
55func (m *LatLng) XXX_Size() int {
56	return xxx_messageInfo_LatLng.Size(m)
57}
58func (m *LatLng) XXX_DiscardUnknown() {
59	xxx_messageInfo_LatLng.DiscardUnknown(m)
60}
61
62var xxx_messageInfo_LatLng proto.InternalMessageInfo
63
64func (m *LatLng) GetLatitude() float64 {
65	if m != nil {
66		return m.Latitude
67	}
68	return 0
69}
70
71func (m *LatLng) GetLongitude() float64 {
72	if m != nil {
73		return m.Longitude
74	}
75	return 0
76}
77
78func init() {
79	proto.RegisterType((*LatLng)(nil), "google.type.LatLng")
80}
81
82func init() { proto.RegisterFile("google/type/latlng.proto", fileDescriptor_a087c9a103c281a9) }
83
84var fileDescriptor_a087c9a103c281a9 = []byte{
85	// 168 bytes of a gzipped FileDescriptorProto
86	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xcf, 0xcf, 0x4f,
87	0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0xcf, 0x49, 0x2c, 0xc9, 0xc9, 0x4b, 0xd7, 0x2b,
88	0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0xc8, 0xe8, 0x81, 0x64, 0x94, 0x9c, 0xb8, 0xd8, 0x7c,
89	0x12, 0x4b, 0x7c, 0xf2, 0xd2, 0x85, 0xa4, 0xb8, 0x38, 0x72, 0x12, 0x4b, 0x32, 0x4b, 0x4a, 0x53,
90	0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x18, 0x83, 0xe0, 0x7c, 0x21, 0x19, 0x2e, 0xce, 0x9c, 0xfc,
91	0xbc, 0x74, 0x88, 0x24, 0x13, 0x58, 0x12, 0x21, 0xe0, 0x94, 0xcc, 0xc5, 0x9f, 0x9c, 0x9f, 0xab,
92	0x87, 0x64, 0xac, 0x13, 0x37, 0xc4, 0xd0, 0x00, 0x90, 0x85, 0x01, 0x8c, 0x51, 0x16, 0x50, 0xb9,
93	0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x73,
94	0xf4, 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, 0xc8, 0x6e, 0xb5, 0x86, 0x50, 0x3f, 0x18, 0x19, 0x17,
95	0x31, 0x31, 0xbb, 0x87, 0x04, 0x24, 0xb1, 0x81, 0x55, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff,
96	0xc0, 0x7b, 0xd0, 0x8b, 0xd8, 0x00, 0x00, 0x00,
97}
98