pb

package
v0.6.0-rc37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_tzinfo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLat

func (x *Point) GetLat() float32

func (*Point) GetLng

func (x *Point) GetLng() float32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type Polygon

type Polygon struct {
	Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

func (*Polygon) Descriptor deprecated

func (*Polygon) Descriptor() ([]byte, []int)

Deprecated: Use Polygon.ProtoReflect.Descriptor instead.

func (*Polygon) GetPoints

func (x *Polygon) GetPoints() []*Point

func (*Polygon) ProtoMessage

func (*Polygon) ProtoMessage()

func (*Polygon) ProtoReflect

func (x *Polygon) ProtoReflect() protoreflect.Message

func (*Polygon) Reset

func (x *Polygon) Reset()

func (*Polygon) String

func (x *Polygon) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Timezone.ProtoReflect.Descriptor instead.

func (*Timezone) GetName

func (x *Timezone) GetName() string

func (*Timezone) GetPolygons

func (x *Timezone) GetPolygons() []*Polygon

func (*Timezone) ProtoMessage

func (*Timezone) ProtoMessage()

func (*Timezone) ProtoReflect

func (x *Timezone) ProtoReflect() protoreflect.Message

func (*Timezone) Reset

func (x *Timezone) Reset()

func (*Timezone) String

func (x *Timezone) String() string

type Timezones

type Timezones struct {
	Timezones []*Timezone `protobuf:"bytes,1,rep,name=timezones,proto3" json:"timezones,omitempty"`
	// contains filtered or unexported fields
}

func (*Timezones) Descriptor deprecated

func (*Timezones) Descriptor() ([]byte, []int)

Deprecated: Use Timezones.ProtoReflect.Descriptor instead.

func (*Timezones) GetTimezones

func (x *Timezones) GetTimezones() []*Timezone

func (*Timezones) ProtoMessage

func (*Timezones) ProtoMessage()

func (*Timezones) ProtoReflect

func (x *Timezones) ProtoReflect() protoreflect.Message

func (*Timezones) Reset

func (x *Timezones) Reset()

func (*Timezones) String

func (x *Timezones) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL