Documentation ¶
Index ¶
- Variables
- type CompressMethod
- func (CompressMethod) Descriptor() protoreflect.EnumDescriptor
- func (x CompressMethod) Enum() *CompressMethod
- func (CompressMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompressMethod) Number() protoreflect.EnumNumber
- func (x CompressMethod) String() string
- func (CompressMethod) Type() protoreflect.EnumType
- type CompressedPolygon
- func (*CompressedPolygon) Descriptor() ([]byte, []int)deprecated
- func (x *CompressedPolygon) GetHoles() []*CompressedPolygon
- func (x *CompressedPolygon) GetPoints() []byte
- func (*CompressedPolygon) ProtoMessage()
- func (x *CompressedPolygon) ProtoReflect() protoreflect.Message
- func (x *CompressedPolygon) Reset()
- func (x *CompressedPolygon) String() string
- type CompressedTimezone
- func (*CompressedTimezone) Descriptor() ([]byte, []int)deprecated
- func (x *CompressedTimezone) GetData() []*CompressedPolygon
- func (x *CompressedTimezone) GetName() string
- func (*CompressedTimezone) ProtoMessage()
- func (x *CompressedTimezone) ProtoReflect() protoreflect.Message
- func (x *CompressedTimezone) Reset()
- func (x *CompressedTimezone) String() string
- type CompressedTimezones
- func (*CompressedTimezones) Descriptor() ([]byte, []int)deprecated
- func (x *CompressedTimezones) GetMethod() CompressMethod
- func (x *CompressedTimezones) GetTimezones() []*CompressedTimezone
- func (*CompressedTimezones) ProtoMessage()
- func (x *CompressedTimezones) ProtoReflect() protoreflect.Message
- func (x *CompressedTimezones) Reset()
- func (x *CompressedTimezones) String() string
- type Point
- type Polygon
- type Timezone
- type Timezones
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CompressMethod_name = map[int32]string{ 0: "Unknown", 1: "Polyline", } CompressMethod_value = map[string]int32{ "Unknown": 0, "Polyline": 1, } )
Enum value maps for CompressMethod.
View Source
var File_pb_tzinfo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompressMethod ¶ added in v0.8.0
type CompressMethod int32
const ( CompressMethod_Unknown CompressMethod = 0 CompressMethod_Polyline CompressMethod = 1 // https://developers.google.com/maps/documentation/utilities/polylinealgorithm )
func (CompressMethod) Descriptor ¶ added in v0.8.0
func (CompressMethod) Descriptor() protoreflect.EnumDescriptor
func (CompressMethod) Enum ¶ added in v0.8.0
func (x CompressMethod) Enum() *CompressMethod
func (CompressMethod) EnumDescriptor
deprecated
added in
v0.8.0
func (CompressMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompressMethod.Descriptor instead.
func (CompressMethod) Number ¶ added in v0.8.0
func (x CompressMethod) Number() protoreflect.EnumNumber
func (CompressMethod) String ¶ added in v0.8.0
func (x CompressMethod) String() string
func (CompressMethod) Type ¶ added in v0.8.0
func (CompressMethod) Type() protoreflect.EnumType
type CompressedPolygon ¶ added in v0.8.0
type CompressedPolygon struct { Points []byte `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"` Holes []*CompressedPolygon `protobuf:"bytes,2,rep,name=holes,proto3" json:"holes,omitempty"` // contains filtered or unexported fields }
func (*CompressedPolygon) Descriptor
deprecated
added in
v0.8.0
func (*CompressedPolygon) Descriptor() ([]byte, []int)
Deprecated: Use CompressedPolygon.ProtoReflect.Descriptor instead.
func (*CompressedPolygon) GetHoles ¶ added in v0.8.0
func (x *CompressedPolygon) GetHoles() []*CompressedPolygon
func (*CompressedPolygon) GetPoints ¶ added in v0.8.0
func (x *CompressedPolygon) GetPoints() []byte
func (*CompressedPolygon) ProtoMessage ¶ added in v0.8.0
func (*CompressedPolygon) ProtoMessage()
func (*CompressedPolygon) ProtoReflect ¶ added in v0.8.0
func (x *CompressedPolygon) ProtoReflect() protoreflect.Message
func (*CompressedPolygon) Reset ¶ added in v0.8.0
func (x *CompressedPolygon) Reset()
func (*CompressedPolygon) String ¶ added in v0.8.0
func (x *CompressedPolygon) String() string
type CompressedTimezone ¶ added in v0.8.0
type CompressedTimezone struct { Data []*CompressedPolygon `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
CompressedTimezonesItem designed for binary file as small as possible.
func (*CompressedTimezone) Descriptor
deprecated
added in
v0.8.0
func (*CompressedTimezone) Descriptor() ([]byte, []int)
Deprecated: Use CompressedTimezone.ProtoReflect.Descriptor instead.
func (*CompressedTimezone) GetData ¶ added in v0.8.0
func (x *CompressedTimezone) GetData() []*CompressedPolygon
func (*CompressedTimezone) GetName ¶ added in v0.8.0
func (x *CompressedTimezone) GetName() string
func (*CompressedTimezone) ProtoMessage ¶ added in v0.8.0
func (*CompressedTimezone) ProtoMessage()
func (*CompressedTimezone) ProtoReflect ¶ added in v0.8.0
func (x *CompressedTimezone) ProtoReflect() protoreflect.Message
func (*CompressedTimezone) Reset ¶ added in v0.8.0
func (x *CompressedTimezone) Reset()
func (*CompressedTimezone) String ¶ added in v0.8.0
func (x *CompressedTimezone) String() string
type CompressedTimezones ¶ added in v0.8.0
type CompressedTimezones struct { Method CompressMethod `protobuf:"varint,1,opt,name=method,proto3,enum=pb.CompressMethod" json:"method,omitempty"` Timezones []*CompressedTimezone `protobuf:"bytes,2,rep,name=timezones,proto3" json:"timezones,omitempty"` // contains filtered or unexported fields }
func (*CompressedTimezones) Descriptor
deprecated
added in
v0.8.0
func (*CompressedTimezones) Descriptor() ([]byte, []int)
Deprecated: Use CompressedTimezones.ProtoReflect.Descriptor instead.
func (*CompressedTimezones) GetMethod ¶ added in v0.8.0
func (x *CompressedTimezones) GetMethod() CompressMethod
func (*CompressedTimezones) GetTimezones ¶ added in v0.8.0
func (x *CompressedTimezones) GetTimezones() []*CompressedTimezone
func (*CompressedTimezones) ProtoMessage ¶ added in v0.8.0
func (*CompressedTimezones) ProtoMessage()
func (*CompressedTimezones) ProtoReflect ¶ added in v0.8.0
func (x *CompressedTimezones) ProtoReflect() protoreflect.Message
func (*CompressedTimezones) Reset ¶ added in v0.8.0
func (x *CompressedTimezones) Reset()
func (*CompressedTimezones) String ¶ added in v0.8.0
func (x *CompressedTimezones) String() string
type Point ¶
type Point struct { Lng float32 `protobuf:"fixed32,1,opt,name=lng,proto3" json:"lng,omitempty"` Lat float32 `protobuf:"fixed32,2,opt,name=lat,proto3" json:"lat,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type Polygon ¶
type Polygon struct { Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` Holes []*Polygon `protobuf:"bytes,2,rep,name=holes,proto3" json:"holes,omitempty"` // contains filtered or unexported fields }
func (*Polygon) Descriptor
deprecated
func (*Polygon) ProtoMessage ¶
func (*Polygon) ProtoMessage()
func (*Polygon) ProtoReflect ¶
func (x *Polygon) ProtoReflect() protoreflect.Message
type Timezone ¶
type Timezone struct { Polygons []*Polygon `protobuf:"bytes,1,rep,name=polygons,proto3" json:"polygons,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Timezone) Descriptor
deprecated
func (*Timezone) GetPolygons ¶
func (*Timezone) ProtoMessage ¶
func (*Timezone) ProtoMessage()
func (*Timezone) ProtoReflect ¶
func (x *Timezone) ProtoReflect() protoreflect.Message
type Timezones ¶
type Timezones struct { Timezones []*Timezone `protobuf:"bytes,1,rep,name=timezones,proto3" json:"timezones,omitempty"` Reuced bool `protobuf:"varint,2,opt,name=reuced,proto3" json:"reuced,omitempty"` // Reduced data will toggle neighbor search as plan b // contains filtered or unexported fields }
func (*Timezones) Descriptor
deprecated
func (*Timezones) GetTimezones ¶
func (*Timezones) ProtoMessage ¶
func (*Timezones) ProtoMessage()
func (*Timezones) ProtoReflect ¶
func (x *Timezones) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.