github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/geo/geopb/geopb.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: geo/geopb/geopb.proto
     3  
     4  package geopb
     5  
     6  import proto "github.com/gogo/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  
    10  import encoding_binary "encoding/binary"
    11  
    12  import io "io"
    13  
    14  // Reference imports to suppress errors if they are not otherwise used.
    15  var _ = proto.Marshal
    16  var _ = fmt.Errorf
    17  var _ = math.Inf
    18  
    19  // This is a compile-time assertion to ensure that this generated file
    20  // is compatible with the proto package it is being compiled against.
    21  // A compilation error at this line likely means your copy of the
    22  // proto package needs to be updated.
    23  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    24  
    25  // Shape is the type of a spatial shape. Each of these corresponds to a
    26  // different representation and serialization format. For example, a Point is a
    27  // pair of doubles (or more than that for geometries with Z or N), a LineString
    28  // is an ordered series of Points, etc.
    29  type Shape int32
    30  
    31  const (
    32  	Shape_Unset           Shape = 0
    33  	Shape_Point           Shape = 1
    34  	Shape_LineString      Shape = 2
    35  	Shape_Polygon         Shape = 3
    36  	Shape_MultiPoint      Shape = 4
    37  	Shape_MultiLineString Shape = 5
    38  	Shape_MultiPolygon    Shape = 6
    39  	// Geometry can contain any type.
    40  	Shape_Geometry Shape = 7
    41  	// GeometryCollection can contain a list of any above type except for Geometry.
    42  	Shape_GeometryCollection Shape = 8
    43  )
    44  
    45  var Shape_name = map[int32]string{
    46  	0: "Unset",
    47  	1: "Point",
    48  	2: "LineString",
    49  	3: "Polygon",
    50  	4: "MultiPoint",
    51  	5: "MultiLineString",
    52  	6: "MultiPolygon",
    53  	7: "Geometry",
    54  	8: "GeometryCollection",
    55  }
    56  var Shape_value = map[string]int32{
    57  	"Unset":              0,
    58  	"Point":              1,
    59  	"LineString":         2,
    60  	"Polygon":            3,
    61  	"MultiPoint":         4,
    62  	"MultiLineString":    5,
    63  	"MultiPolygon":       6,
    64  	"Geometry":           7,
    65  	"GeometryCollection": 8,
    66  }
    67  
    68  func (x Shape) String() string {
    69  	return proto.EnumName(Shape_name, int32(x))
    70  }
    71  func (Shape) EnumDescriptor() ([]byte, []int) {
    72  	return fileDescriptor_geopb_b9b2328b838d758d, []int{0}
    73  }
    74  
    75  // SpatialObject represents a serialization of a Geospatial type.
    76  type SpatialObject struct {
    77  	// EWKB is the EWKB representation of the spatial object.
    78  	EWKB EWKB `protobuf:"bytes,1,opt,name=ewkb,proto3,casttype=EWKB" json:"ewkb,omitempty"`
    79  	// SRID is the denormalized SRID derived from the EWKB.
    80  	SRID SRID `protobuf:"varint,2,opt,name=srid,proto3,casttype=SRID" json:"srid,omitempty"`
    81  	// Shape is denormalized Shape derived from the EWKB.
    82  	Shape Shape `protobuf:"varint,3,opt,name=shape,proto3,enum=cockroach.geopb.Shape" json:"shape,omitempty"`
    83  	// BoundingBox is the bounding box of the SpatialObject.
    84  	BoundingBox *BoundingBox `protobuf:"bytes,4,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
    85  }
    86  
    87  func (m *SpatialObject) Reset()         { *m = SpatialObject{} }
    88  func (m *SpatialObject) String() string { return proto.CompactTextString(m) }
    89  func (*SpatialObject) ProtoMessage()    {}
    90  func (*SpatialObject) Descriptor() ([]byte, []int) {
    91  	return fileDescriptor_geopb_b9b2328b838d758d, []int{0}
    92  }
    93  func (m *SpatialObject) XXX_Unmarshal(b []byte) error {
    94  	return m.Unmarshal(b)
    95  }
    96  func (m *SpatialObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    97  	b = b[:cap(b)]
    98  	n, err := m.MarshalTo(b)
    99  	if err != nil {
   100  		return nil, err
   101  	}
   102  	return b[:n], nil
   103  }
   104  func (dst *SpatialObject) XXX_Merge(src proto.Message) {
   105  	xxx_messageInfo_SpatialObject.Merge(dst, src)
   106  }
   107  func (m *SpatialObject) XXX_Size() int {
   108  	return m.Size()
   109  }
   110  func (m *SpatialObject) XXX_DiscardUnknown() {
   111  	xxx_messageInfo_SpatialObject.DiscardUnknown(m)
   112  }
   113  
   114  var xxx_messageInfo_SpatialObject proto.InternalMessageInfo
   115  
   116  // BoundingBox represents the bounding box of a Geospatial type.
   117  type BoundingBox struct {
   118  	MinX float64 `protobuf:"fixed64,1,opt,name=min_x,json=minX,proto3" json:"min_x,omitempty"`
   119  	MinY float64 `protobuf:"fixed64,2,opt,name=min_y,json=minY,proto3" json:"min_y,omitempty"`
   120  	MaxX float64 `protobuf:"fixed64,3,opt,name=max_x,json=maxX,proto3" json:"max_x,omitempty"`
   121  	MaxY float64 `protobuf:"fixed64,4,opt,name=max_y,json=maxY,proto3" json:"max_y,omitempty"`
   122  }
   123  
   124  func (m *BoundingBox) Reset()         { *m = BoundingBox{} }
   125  func (m *BoundingBox) String() string { return proto.CompactTextString(m) }
   126  func (*BoundingBox) ProtoMessage()    {}
   127  func (*BoundingBox) Descriptor() ([]byte, []int) {
   128  	return fileDescriptor_geopb_b9b2328b838d758d, []int{1}
   129  }
   130  func (m *BoundingBox) XXX_Unmarshal(b []byte) error {
   131  	return m.Unmarshal(b)
   132  }
   133  func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   134  	b = b[:cap(b)]
   135  	n, err := m.MarshalTo(b)
   136  	if err != nil {
   137  		return nil, err
   138  	}
   139  	return b[:n], nil
   140  }
   141  func (dst *BoundingBox) XXX_Merge(src proto.Message) {
   142  	xxx_messageInfo_BoundingBox.Merge(dst, src)
   143  }
   144  func (m *BoundingBox) XXX_Size() int {
   145  	return m.Size()
   146  }
   147  func (m *BoundingBox) XXX_DiscardUnknown() {
   148  	xxx_messageInfo_BoundingBox.DiscardUnknown(m)
   149  }
   150  
   151  var xxx_messageInfo_BoundingBox proto.InternalMessageInfo
   152  
   153  func init() {
   154  	proto.RegisterType((*SpatialObject)(nil), "cockroach.geopb.SpatialObject")
   155  	proto.RegisterType((*BoundingBox)(nil), "cockroach.geopb.BoundingBox")
   156  	proto.RegisterEnum("cockroach.geopb.Shape", Shape_name, Shape_value)
   157  }
   158  func (m *SpatialObject) Marshal() (dAtA []byte, err error) {
   159  	size := m.Size()
   160  	dAtA = make([]byte, size)
   161  	n, err := m.MarshalTo(dAtA)
   162  	if err != nil {
   163  		return nil, err
   164  	}
   165  	return dAtA[:n], nil
   166  }
   167  
   168  func (m *SpatialObject) MarshalTo(dAtA []byte) (int, error) {
   169  	var i int
   170  	_ = i
   171  	var l int
   172  	_ = l
   173  	if len(m.EWKB) > 0 {
   174  		dAtA[i] = 0xa
   175  		i++
   176  		i = encodeVarintGeopb(dAtA, i, uint64(len(m.EWKB)))
   177  		i += copy(dAtA[i:], m.EWKB)
   178  	}
   179  	if m.SRID != 0 {
   180  		dAtA[i] = 0x10
   181  		i++
   182  		i = encodeVarintGeopb(dAtA, i, uint64(m.SRID))
   183  	}
   184  	if m.Shape != 0 {
   185  		dAtA[i] = 0x18
   186  		i++
   187  		i = encodeVarintGeopb(dAtA, i, uint64(m.Shape))
   188  	}
   189  	if m.BoundingBox != nil {
   190  		dAtA[i] = 0x22
   191  		i++
   192  		i = encodeVarintGeopb(dAtA, i, uint64(m.BoundingBox.Size()))
   193  		n1, err := m.BoundingBox.MarshalTo(dAtA[i:])
   194  		if err != nil {
   195  			return 0, err
   196  		}
   197  		i += n1
   198  	}
   199  	return i, nil
   200  }
   201  
   202  func (m *BoundingBox) Marshal() (dAtA []byte, err error) {
   203  	size := m.Size()
   204  	dAtA = make([]byte, size)
   205  	n, err := m.MarshalTo(dAtA)
   206  	if err != nil {
   207  		return nil, err
   208  	}
   209  	return dAtA[:n], nil
   210  }
   211  
   212  func (m *BoundingBox) MarshalTo(dAtA []byte) (int, error) {
   213  	var i int
   214  	_ = i
   215  	var l int
   216  	_ = l
   217  	if m.MinX != 0 {
   218  		dAtA[i] = 0x9
   219  		i++
   220  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MinX))))
   221  		i += 8
   222  	}
   223  	if m.MinY != 0 {
   224  		dAtA[i] = 0x11
   225  		i++
   226  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MinY))))
   227  		i += 8
   228  	}
   229  	if m.MaxX != 0 {
   230  		dAtA[i] = 0x19
   231  		i++
   232  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MaxX))))
   233  		i += 8
   234  	}
   235  	if m.MaxY != 0 {
   236  		dAtA[i] = 0x21
   237  		i++
   238  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MaxY))))
   239  		i += 8
   240  	}
   241  	return i, nil
   242  }
   243  
   244  func encodeVarintGeopb(dAtA []byte, offset int, v uint64) int {
   245  	for v >= 1<<7 {
   246  		dAtA[offset] = uint8(v&0x7f | 0x80)
   247  		v >>= 7
   248  		offset++
   249  	}
   250  	dAtA[offset] = uint8(v)
   251  	return offset + 1
   252  }
   253  func (m *SpatialObject) Size() (n int) {
   254  	if m == nil {
   255  		return 0
   256  	}
   257  	var l int
   258  	_ = l
   259  	l = len(m.EWKB)
   260  	if l > 0 {
   261  		n += 1 + l + sovGeopb(uint64(l))
   262  	}
   263  	if m.SRID != 0 {
   264  		n += 1 + sovGeopb(uint64(m.SRID))
   265  	}
   266  	if m.Shape != 0 {
   267  		n += 1 + sovGeopb(uint64(m.Shape))
   268  	}
   269  	if m.BoundingBox != nil {
   270  		l = m.BoundingBox.Size()
   271  		n += 1 + l + sovGeopb(uint64(l))
   272  	}
   273  	return n
   274  }
   275  
   276  func (m *BoundingBox) Size() (n int) {
   277  	if m == nil {
   278  		return 0
   279  	}
   280  	var l int
   281  	_ = l
   282  	if m.MinX != 0 {
   283  		n += 9
   284  	}
   285  	if m.MinY != 0 {
   286  		n += 9
   287  	}
   288  	if m.MaxX != 0 {
   289  		n += 9
   290  	}
   291  	if m.MaxY != 0 {
   292  		n += 9
   293  	}
   294  	return n
   295  }
   296  
   297  func sovGeopb(x uint64) (n int) {
   298  	for {
   299  		n++
   300  		x >>= 7
   301  		if x == 0 {
   302  			break
   303  		}
   304  	}
   305  	return n
   306  }
   307  func sozGeopb(x uint64) (n int) {
   308  	return sovGeopb(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   309  }
   310  func (m *SpatialObject) Unmarshal(dAtA []byte) error {
   311  	l := len(dAtA)
   312  	iNdEx := 0
   313  	for iNdEx < l {
   314  		preIndex := iNdEx
   315  		var wire uint64
   316  		for shift := uint(0); ; shift += 7 {
   317  			if shift >= 64 {
   318  				return ErrIntOverflowGeopb
   319  			}
   320  			if iNdEx >= l {
   321  				return io.ErrUnexpectedEOF
   322  			}
   323  			b := dAtA[iNdEx]
   324  			iNdEx++
   325  			wire |= (uint64(b) & 0x7F) << shift
   326  			if b < 0x80 {
   327  				break
   328  			}
   329  		}
   330  		fieldNum := int32(wire >> 3)
   331  		wireType := int(wire & 0x7)
   332  		if wireType == 4 {
   333  			return fmt.Errorf("proto: SpatialObject: wiretype end group for non-group")
   334  		}
   335  		if fieldNum <= 0 {
   336  			return fmt.Errorf("proto: SpatialObject: illegal tag %d (wire type %d)", fieldNum, wire)
   337  		}
   338  		switch fieldNum {
   339  		case 1:
   340  			if wireType != 2 {
   341  				return fmt.Errorf("proto: wrong wireType = %d for field EWKB", wireType)
   342  			}
   343  			var byteLen int
   344  			for shift := uint(0); ; shift += 7 {
   345  				if shift >= 64 {
   346  					return ErrIntOverflowGeopb
   347  				}
   348  				if iNdEx >= l {
   349  					return io.ErrUnexpectedEOF
   350  				}
   351  				b := dAtA[iNdEx]
   352  				iNdEx++
   353  				byteLen |= (int(b) & 0x7F) << shift
   354  				if b < 0x80 {
   355  					break
   356  				}
   357  			}
   358  			if byteLen < 0 {
   359  				return ErrInvalidLengthGeopb
   360  			}
   361  			postIndex := iNdEx + byteLen
   362  			if postIndex > l {
   363  				return io.ErrUnexpectedEOF
   364  			}
   365  			m.EWKB = append(m.EWKB[:0], dAtA[iNdEx:postIndex]...)
   366  			if m.EWKB == nil {
   367  				m.EWKB = []byte{}
   368  			}
   369  			iNdEx = postIndex
   370  		case 2:
   371  			if wireType != 0 {
   372  				return fmt.Errorf("proto: wrong wireType = %d for field SRID", wireType)
   373  			}
   374  			m.SRID = 0
   375  			for shift := uint(0); ; shift += 7 {
   376  				if shift >= 64 {
   377  					return ErrIntOverflowGeopb
   378  				}
   379  				if iNdEx >= l {
   380  					return io.ErrUnexpectedEOF
   381  				}
   382  				b := dAtA[iNdEx]
   383  				iNdEx++
   384  				m.SRID |= (SRID(b) & 0x7F) << shift
   385  				if b < 0x80 {
   386  					break
   387  				}
   388  			}
   389  		case 3:
   390  			if wireType != 0 {
   391  				return fmt.Errorf("proto: wrong wireType = %d for field Shape", wireType)
   392  			}
   393  			m.Shape = 0
   394  			for shift := uint(0); ; shift += 7 {
   395  				if shift >= 64 {
   396  					return ErrIntOverflowGeopb
   397  				}
   398  				if iNdEx >= l {
   399  					return io.ErrUnexpectedEOF
   400  				}
   401  				b := dAtA[iNdEx]
   402  				iNdEx++
   403  				m.Shape |= (Shape(b) & 0x7F) << shift
   404  				if b < 0x80 {
   405  					break
   406  				}
   407  			}
   408  		case 4:
   409  			if wireType != 2 {
   410  				return fmt.Errorf("proto: wrong wireType = %d for field BoundingBox", wireType)
   411  			}
   412  			var msglen int
   413  			for shift := uint(0); ; shift += 7 {
   414  				if shift >= 64 {
   415  					return ErrIntOverflowGeopb
   416  				}
   417  				if iNdEx >= l {
   418  					return io.ErrUnexpectedEOF
   419  				}
   420  				b := dAtA[iNdEx]
   421  				iNdEx++
   422  				msglen |= (int(b) & 0x7F) << shift
   423  				if b < 0x80 {
   424  					break
   425  				}
   426  			}
   427  			if msglen < 0 {
   428  				return ErrInvalidLengthGeopb
   429  			}
   430  			postIndex := iNdEx + msglen
   431  			if postIndex > l {
   432  				return io.ErrUnexpectedEOF
   433  			}
   434  			if m.BoundingBox == nil {
   435  				m.BoundingBox = &BoundingBox{}
   436  			}
   437  			if err := m.BoundingBox.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   438  				return err
   439  			}
   440  			iNdEx = postIndex
   441  		default:
   442  			iNdEx = preIndex
   443  			skippy, err := skipGeopb(dAtA[iNdEx:])
   444  			if err != nil {
   445  				return err
   446  			}
   447  			if skippy < 0 {
   448  				return ErrInvalidLengthGeopb
   449  			}
   450  			if (iNdEx + skippy) > l {
   451  				return io.ErrUnexpectedEOF
   452  			}
   453  			iNdEx += skippy
   454  		}
   455  	}
   456  
   457  	if iNdEx > l {
   458  		return io.ErrUnexpectedEOF
   459  	}
   460  	return nil
   461  }
   462  func (m *BoundingBox) Unmarshal(dAtA []byte) error {
   463  	l := len(dAtA)
   464  	iNdEx := 0
   465  	for iNdEx < l {
   466  		preIndex := iNdEx
   467  		var wire uint64
   468  		for shift := uint(0); ; shift += 7 {
   469  			if shift >= 64 {
   470  				return ErrIntOverflowGeopb
   471  			}
   472  			if iNdEx >= l {
   473  				return io.ErrUnexpectedEOF
   474  			}
   475  			b := dAtA[iNdEx]
   476  			iNdEx++
   477  			wire |= (uint64(b) & 0x7F) << shift
   478  			if b < 0x80 {
   479  				break
   480  			}
   481  		}
   482  		fieldNum := int32(wire >> 3)
   483  		wireType := int(wire & 0x7)
   484  		if wireType == 4 {
   485  			return fmt.Errorf("proto: BoundingBox: wiretype end group for non-group")
   486  		}
   487  		if fieldNum <= 0 {
   488  			return fmt.Errorf("proto: BoundingBox: illegal tag %d (wire type %d)", fieldNum, wire)
   489  		}
   490  		switch fieldNum {
   491  		case 1:
   492  			if wireType != 1 {
   493  				return fmt.Errorf("proto: wrong wireType = %d for field MinX", wireType)
   494  			}
   495  			var v uint64
   496  			if (iNdEx + 8) > l {
   497  				return io.ErrUnexpectedEOF
   498  			}
   499  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
   500  			iNdEx += 8
   501  			m.MinX = float64(math.Float64frombits(v))
   502  		case 2:
   503  			if wireType != 1 {
   504  				return fmt.Errorf("proto: wrong wireType = %d for field MinY", wireType)
   505  			}
   506  			var v uint64
   507  			if (iNdEx + 8) > l {
   508  				return io.ErrUnexpectedEOF
   509  			}
   510  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
   511  			iNdEx += 8
   512  			m.MinY = float64(math.Float64frombits(v))
   513  		case 3:
   514  			if wireType != 1 {
   515  				return fmt.Errorf("proto: wrong wireType = %d for field MaxX", wireType)
   516  			}
   517  			var v uint64
   518  			if (iNdEx + 8) > l {
   519  				return io.ErrUnexpectedEOF
   520  			}
   521  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
   522  			iNdEx += 8
   523  			m.MaxX = float64(math.Float64frombits(v))
   524  		case 4:
   525  			if wireType != 1 {
   526  				return fmt.Errorf("proto: wrong wireType = %d for field MaxY", wireType)
   527  			}
   528  			var v uint64
   529  			if (iNdEx + 8) > l {
   530  				return io.ErrUnexpectedEOF
   531  			}
   532  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
   533  			iNdEx += 8
   534  			m.MaxY = float64(math.Float64frombits(v))
   535  		default:
   536  			iNdEx = preIndex
   537  			skippy, err := skipGeopb(dAtA[iNdEx:])
   538  			if err != nil {
   539  				return err
   540  			}
   541  			if skippy < 0 {
   542  				return ErrInvalidLengthGeopb
   543  			}
   544  			if (iNdEx + skippy) > l {
   545  				return io.ErrUnexpectedEOF
   546  			}
   547  			iNdEx += skippy
   548  		}
   549  	}
   550  
   551  	if iNdEx > l {
   552  		return io.ErrUnexpectedEOF
   553  	}
   554  	return nil
   555  }
   556  func skipGeopb(dAtA []byte) (n int, err error) {
   557  	l := len(dAtA)
   558  	iNdEx := 0
   559  	for iNdEx < l {
   560  		var wire uint64
   561  		for shift := uint(0); ; shift += 7 {
   562  			if shift >= 64 {
   563  				return 0, ErrIntOverflowGeopb
   564  			}
   565  			if iNdEx >= l {
   566  				return 0, io.ErrUnexpectedEOF
   567  			}
   568  			b := dAtA[iNdEx]
   569  			iNdEx++
   570  			wire |= (uint64(b) & 0x7F) << shift
   571  			if b < 0x80 {
   572  				break
   573  			}
   574  		}
   575  		wireType := int(wire & 0x7)
   576  		switch wireType {
   577  		case 0:
   578  			for shift := uint(0); ; shift += 7 {
   579  				if shift >= 64 {
   580  					return 0, ErrIntOverflowGeopb
   581  				}
   582  				if iNdEx >= l {
   583  					return 0, io.ErrUnexpectedEOF
   584  				}
   585  				iNdEx++
   586  				if dAtA[iNdEx-1] < 0x80 {
   587  					break
   588  				}
   589  			}
   590  			return iNdEx, nil
   591  		case 1:
   592  			iNdEx += 8
   593  			return iNdEx, nil
   594  		case 2:
   595  			var length int
   596  			for shift := uint(0); ; shift += 7 {
   597  				if shift >= 64 {
   598  					return 0, ErrIntOverflowGeopb
   599  				}
   600  				if iNdEx >= l {
   601  					return 0, io.ErrUnexpectedEOF
   602  				}
   603  				b := dAtA[iNdEx]
   604  				iNdEx++
   605  				length |= (int(b) & 0x7F) << shift
   606  				if b < 0x80 {
   607  					break
   608  				}
   609  			}
   610  			iNdEx += length
   611  			if length < 0 {
   612  				return 0, ErrInvalidLengthGeopb
   613  			}
   614  			return iNdEx, nil
   615  		case 3:
   616  			for {
   617  				var innerWire uint64
   618  				var start int = iNdEx
   619  				for shift := uint(0); ; shift += 7 {
   620  					if shift >= 64 {
   621  						return 0, ErrIntOverflowGeopb
   622  					}
   623  					if iNdEx >= l {
   624  						return 0, io.ErrUnexpectedEOF
   625  					}
   626  					b := dAtA[iNdEx]
   627  					iNdEx++
   628  					innerWire |= (uint64(b) & 0x7F) << shift
   629  					if b < 0x80 {
   630  						break
   631  					}
   632  				}
   633  				innerWireType := int(innerWire & 0x7)
   634  				if innerWireType == 4 {
   635  					break
   636  				}
   637  				next, err := skipGeopb(dAtA[start:])
   638  				if err != nil {
   639  					return 0, err
   640  				}
   641  				iNdEx = start + next
   642  			}
   643  			return iNdEx, nil
   644  		case 4:
   645  			return iNdEx, nil
   646  		case 5:
   647  			iNdEx += 4
   648  			return iNdEx, nil
   649  		default:
   650  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
   651  		}
   652  	}
   653  	panic("unreachable")
   654  }
   655  
   656  var (
   657  	ErrInvalidLengthGeopb = fmt.Errorf("proto: negative length found during unmarshaling")
   658  	ErrIntOverflowGeopb   = fmt.Errorf("proto: integer overflow")
   659  )
   660  
   661  func init() { proto.RegisterFile("geo/geopb/geopb.proto", fileDescriptor_geopb_b9b2328b838d758d) }
   662  
   663  var fileDescriptor_geopb_b9b2328b838d758d = []byte{
   664  	// 406 bytes of a gzipped FileDescriptorProto
   665  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xd1, 0x6a, 0xd4, 0x40,
   666  	0x14, 0x86, 0x33, 0x6d, 0xd2, 0xd6, 0xb3, 0x6b, 0x3b, 0x4c, 0xb5, 0x2c, 0x22, 0x63, 0x28, 0x82,
   667  	0x41, 0x24, 0x85, 0xfa, 0x00, 0x42, 0x54, 0x44, 0x54, 0x2c, 0x09, 0x62, 0xeb, 0xcd, 0x92, 0xa4,
   668  	0x43, 0x3a, 0x36, 0x3b, 0x27, 0x64, 0xa7, 0x98, 0xbc, 0x85, 0x77, 0xbe, 0x52, 0xf1, 0xaa, 0x97,
   669  	0xbd, 0x12, 0xcd, 0xbe, 0x45, 0xaf, 0x24, 0x33, 0x59, 0x5c, 0xec, 0xcd, 0x9c, 0x73, 0xfe, 0xff,
   670  	0x3b, 0xf0, 0xcf, 0x0c, 0xdc, 0x2f, 0x04, 0x1e, 0x14, 0x02, 0xab, 0xcc, 0x9e, 0x61, 0x55, 0xa3,
   671  	0x46, 0xb6, 0x93, 0x63, 0x7e, 0x5e, 0x63, 0x9a, 0x9f, 0x85, 0x46, 0x7e, 0x70, 0xaf, 0xc0, 0x02,
   672  	0x8d, 0x77, 0xd0, 0x77, 0x16, 0xdb, 0xff, 0x49, 0xe0, 0x6e, 0x52, 0xa5, 0x5a, 0xa6, 0xe5, 0xc7,
   673  	0xec, 0xab, 0xc8, 0x35, 0x7b, 0x0c, 0xae, 0xf8, 0x76, 0x9e, 0x4d, 0x88, 0x4f, 0x82, 0x71, 0x44,
   674  	0xbb, 0x5f, 0x8f, 0xdc, 0xd7, 0x9f, 0xdf, 0x45, 0x37, 0x43, 0x8d, 0x8d, 0xdb, 0x53, 0xf3, 0x5a,
   675  	0x9e, 0x4e, 0xd6, 0x7c, 0x12, 0x78, 0x96, 0x4a, 0xe2, 0xb7, 0xaf, 0x6e, 0x86, 0x1a, 0x1b, 0x97,
   676  	0x3d, 0x03, 0x6f, 0x7e, 0x96, 0x56, 0x62, 0xb2, 0xee, 0x93, 0x60, 0xfb, 0x70, 0x2f, 0xfc, 0x2f,
   677  	0x54, 0x98, 0xf4, 0x6e, 0x6c, 0x21, 0xf6, 0x02, 0xc6, 0x19, 0x5e, 0xa8, 0x53, 0xa9, 0x8a, 0x69,
   678  	0x86, 0xcd, 0xc4, 0xf5, 0x49, 0x30, 0x3a, 0x7c, 0x78, 0x6b, 0x29, 0x1a, 0xa0, 0x08, 0x9b, 0x78,
   679  	0x94, 0xfd, 0x1b, 0xf6, 0x53, 0x18, 0xad, 0x78, 0x6c, 0x17, 0xbc, 0x99, 0x54, 0xd3, 0xc6, 0x5c,
   680  	0x85, 0xc4, 0xee, 0x4c, 0xaa, 0xe3, 0xa5, 0xd8, 0x9a, 0xe4, 0x56, 0x3c, 0x31, 0x62, 0xda, 0x4c,
   681  	0x1b, 0x93, 0xb3, 0x17, 0xd3, 0xe6, 0x78, 0x29, 0xb6, 0x26, 0x87, 0x15, 0x4f, 0x9e, 0xfe, 0x20,
   682  	0xe0, 0x99, 0xd0, 0xec, 0x0e, 0x78, 0x9f, 0xd4, 0x5c, 0x68, 0xea, 0xf4, 0xed, 0x11, 0x4a, 0xa5,
   683  	0x29, 0x61, 0xdb, 0x00, 0xef, 0xa5, 0x12, 0x89, 0xae, 0xa5, 0x2a, 0xe8, 0x1a, 0x1b, 0xc1, 0xe6,
   684  	0x11, 0x96, 0x6d, 0x81, 0x8a, 0xae, 0xf7, 0xe6, 0x87, 0x8b, 0x52, 0x4b, 0x0b, 0xbb, 0x6c, 0x17,
   685  	0x76, 0xcc, 0xbc, 0xb2, 0xe1, 0x31, 0x0a, 0xe3, 0x01, 0xb2, 0x6b, 0x1b, 0x6c, 0x0c, 0x5b, 0x6f,
   686  	0x04, 0xce, 0x84, 0xae, 0x5b, 0xba, 0xc9, 0xf6, 0x80, 0x2d, 0xa7, 0x97, 0x58, 0x96, 0x22, 0xd7,
   687  	0x12, 0x15, 0xdd, 0x8a, 0x9e, 0x5c, 0xfe, 0xe1, 0xce, 0x65, 0xc7, 0xc9, 0x55, 0xc7, 0xc9, 0x75,
   688  	0xc7, 0xc9, 0xef, 0x8e, 0x93, 0xef, 0x0b, 0xee, 0x5c, 0x2d, 0xb8, 0x73, 0xbd, 0xe0, 0xce, 0x17,
   689  	0xcf, 0x3c, 0x5f, 0xb6, 0x61, 0x7e, 0xfe, 0xf9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x51, 0xa8,
   690  	0xbe, 0x84, 0x39, 0x02, 0x00, 0x00,
   691  }