types

package module
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

types

This Go module is a set of common types represented as Google Protocol Buffers.


Status

ci GitHub GitHub issues GitHub last commit


Usage

To use this module, execute the following command:

go get -u github.com/sixafter/types

In your Go code, you can import the module as follows.

package main

import (
    "github.com/sixafter/types"
)

The use of Go vendoring is RECOMMENDED.

Contributing

This is an open source project run by volunteers, and contributions are welcome! Check out the Issues page to see if your idea has already been mentioned. Feel free to raise an issue or submit a pull request.

License

The code is licensed under the permissive Apache v2.0 license. Read this for a summary.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GeospatialElevation_GeodeticDatum_name = map[int32]string{
		0: "SEA_LEVEL",
		1: "WGS_84",
	}
	GeospatialElevation_GeodeticDatum_value = map[string]int32{
		"SEA_LEVEL": 0,
		"WGS_84":    1,
	}
)

Enum value maps for GeospatialElevation_GeodeticDatum.

View Source
var File_compass_heading_proto protoreflect.FileDescriptor
View Source
var File_country_proto protoreflect.FileDescriptor
View Source
var File_country_subdivision_proto protoreflect.FileDescriptor
View Source
var File_email_address_proto protoreflect.FileDescriptor
View Source
var File_entity_metadata_proto protoreflect.FileDescriptor
View Source
var File_geofence_proto protoreflect.FileDescriptor
View Source
var File_geographic_region_proto protoreflect.FileDescriptor
View Source
var File_geospatial_coordinate_proto protoreflect.FileDescriptor
View Source
var File_geospatial_elevation_proto protoreflect.FileDescriptor
View Source
var File_geospatial_location_proto protoreflect.FileDescriptor
View Source
var File_map_point_proto protoreflect.FileDescriptor
View Source
var File_polygon_proto protoreflect.FileDescriptor
View Source
var File_radial_geofence_proto protoreflect.FileDescriptor
View Source
var File_temporal_range_proto protoreflect.FileDescriptor
View Source
var File_time_zone_proto protoreflect.FileDescriptor
View Source
var File_version_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CompassHeading

type CompassHeading struct {

	// The heading (measured in degrees) relative to magnetic north.
	MagneticHeading float32 `protobuf:"fixed32,1,opt,name=magnetic_heading,json=magneticHeading,proto3" json:"magnetic_heading,omitempty"`
	// The heading (measured in degrees) relative to true north.
	TrueHeading float32 `protobuf:"fixed32,2,opt,name=true_heading,json=trueHeading,proto3" json:"true_heading,omitempty"`
	// The maximum deviation (measured in degrees) between the reported heading
	// and the true geomagnetic heading.
	HeadingAccuracy float32 `protobuf:"fixed32,3,opt,name=heading_accuracy,json=headingAccuracy,proto3" json:"heading_accuracy,omitempty"`
	// The time at which this heading was determined.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The geomagnetic data (measured in microteslas) for the x-axis.
	X float32 `protobuf:"fixed32,5,opt,name=x,proto3" json:"x,omitempty"`
	// The geomagnetic data (measured in microteslas) for the y-axis.
	Y float32 `protobuf:"fixed32,6,opt,name=y,proto3" json:"y,omitempty"`
	// The geomagnetic data (measured in microteslas) for the z-axis.
	Z float32 `protobuf:"fixed32,7,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

The heading of an object in the Compass Geodetic System (CGS).

func (*CompassHeading) Descriptor deprecated

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

Deprecated: Use CompassHeading.ProtoReflect.Descriptor instead.

func (*CompassHeading) GetHeadingAccuracy

func (x *CompassHeading) GetHeadingAccuracy() float32

func (*CompassHeading) GetMagneticHeading

func (x *CompassHeading) GetMagneticHeading() float32

func (*CompassHeading) GetTimestamp

func (x *CompassHeading) GetTimestamp() *timestamppb.Timestamp

func (*CompassHeading) GetTrueHeading

func (x *CompassHeading) GetTrueHeading() float32

func (*CompassHeading) GetX

func (x *CompassHeading) GetX() float32

func (*CompassHeading) GetY

func (x *CompassHeading) GetY() float32

func (*CompassHeading) GetZ

func (x *CompassHeading) GetZ() float32

func (*CompassHeading) ProtoMessage

func (*CompassHeading) ProtoMessage()

func (*CompassHeading) ProtoReflect

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

func (*CompassHeading) Reset

func (x *CompassHeading) Reset()

func (*CompassHeading) String

func (x *CompassHeading) String() string

type Country

type Country struct {

	// The name of the country.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The formal name of the country.
	FormalName string `protobuf:"bytes,2,opt,name=formal_name,json=formalName,proto3" json:"formal_name,omitempty"`
	// The alphabetic 2-code for the country.
	AlphabeticCode_2 string `protobuf:"bytes,3,opt,name=alphabetic_code_2,json=alphabeticCode2,proto3" json:"alphabetic_code_2,omitempty"`
	// The alphabetic 3-code for the country.
	AlphabeticCode_3 string `protobuf:"bytes,4,opt,name=alphabetic_code_3,json=alphabeticCode3,proto3" json:"alphabetic_code_3,omitempty"`
	// The numeric code for the country.
	NumericCode uint32 `protobuf:"varint,5,opt,name=numeric_code,json=numericCode,proto3" json:"numeric_code,omitempty"`
	// contains filtered or unexported fields
}

A country as defined by the ISO-3166-1 standard.

func (*Country) Descriptor deprecated

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

Deprecated: Use Country.ProtoReflect.Descriptor instead.

func (*Country) GetAlphabeticCode_2

func (x *Country) GetAlphabeticCode_2() string

func (*Country) GetAlphabeticCode_3

func (x *Country) GetAlphabeticCode_3() string

func (*Country) GetFormalName

func (x *Country) GetFormalName() string

func (*Country) GetName

func (x *Country) GetName() string

func (*Country) GetNumericCode

func (x *Country) GetNumericCode() uint32

func (*Country) ProtoMessage

func (*Country) ProtoMessage()

func (*Country) ProtoReflect

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

func (*Country) Reset

func (x *Country) Reset()

func (*Country) String

func (x *Country) String() string

type CountrySubdivision

type CountrySubdivision struct {

	// The name of the country.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The formal name of the country.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

A subdivision as defined by the ISO-3166-2 standard.

func (*CountrySubdivision) Descriptor deprecated

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

Deprecated: Use CountrySubdivision.ProtoReflect.Descriptor instead.

func (*CountrySubdivision) GetCode

func (x *CountrySubdivision) GetCode() string

func (*CountrySubdivision) GetName

func (x *CountrySubdivision) GetName() string

func (*CountrySubdivision) ProtoMessage

func (*CountrySubdivision) ProtoMessage()

func (*CountrySubdivision) ProtoReflect

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

func (*CountrySubdivision) Reset

func (x *CountrySubdivision) Reset()

func (*CountrySubdivision) String

func (x *CountrySubdivision) String() string

type EmailAddress

type EmailAddress struct {

	// The local part.
	LocalPart string `protobuf:"bytes,1,opt,name=local_part,json=localPart,proto3" json:"local_part,omitempty"`
	// The domain part.
	DomainPart string `protobuf:"bytes,2,opt,name=domain_part,json=domainPart,proto3" json:"domain_part,omitempty"`
	// contains filtered or unexported fields
}

An electronic mail (email) address as defined by RFC 5322.

func (*EmailAddress) Descriptor deprecated

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

Deprecated: Use EmailAddress.ProtoReflect.Descriptor instead.

func (*EmailAddress) GetDomainPart

func (x *EmailAddress) GetDomainPart() string

func (*EmailAddress) GetLocalPart

func (x *EmailAddress) GetLocalPart() string

func (*EmailAddress) ProtoMessage

func (*EmailAddress) ProtoMessage()

func (*EmailAddress) ProtoReflect

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

func (*EmailAddress) Reset

func (x *EmailAddress) Reset()

func (*EmailAddress) String

func (x *EmailAddress) String() string

type EntityMetadata

type EntityMetadata struct {

	// The timestamp at which the related entity was created.
	CreatedOn *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"`
	// The timestamp at which the related entity was last modified.
	ModifiedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=modified_on,json=modifiedOn,proto3" json:"modified_on,omitempty"`
	// A Boolean value indicating whether the related entity is deleted.
	Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// A Boolean value indicating the ephemeral nature of the entity.
	Ephemeral bool `protobuf:"varint,4,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	// A Boolean value indicating if the entity can be synchronized with external sources.
	Replicable bool `protobuf:"varint,5,opt,name=replicable,proto3" json:"replicable,omitempty"`
	// A Boolean value indicating if the entity is immutable.
	Immutable bool `protobuf:"varint,6,opt,name=immutable,proto3" json:"immutable,omitempty"`
	// The Semantic Version v2.0 compliant version of the entity.
	Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// A set of tags.
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// A Boolean value indicating if the entity was synthesized (or is synthetic).
	Synthesized bool `protobuf:"varint,9,opt,name=synthesized,proto3" json:"synthesized,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityMetadata) Descriptor deprecated

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

Deprecated: Use EntityMetadata.ProtoReflect.Descriptor instead.

func (*EntityMetadata) GetCreatedOn

func (x *EntityMetadata) GetCreatedOn() *timestamppb.Timestamp

func (*EntityMetadata) GetDeleted

func (x *EntityMetadata) GetDeleted() bool

func (*EntityMetadata) GetEphemeral

func (x *EntityMetadata) GetEphemeral() bool

func (*EntityMetadata) GetImmutable

func (x *EntityMetadata) GetImmutable() bool

func (*EntityMetadata) GetModifiedOn

func (x *EntityMetadata) GetModifiedOn() *timestamppb.Timestamp

func (*EntityMetadata) GetReplicable

func (x *EntityMetadata) GetReplicable() bool

func (*EntityMetadata) GetSynthesized

func (x *EntityMetadata) GetSynthesized() bool

func (*EntityMetadata) GetTags

func (x *EntityMetadata) GetTags() []string

func (*EntityMetadata) GetVersion

func (x *EntityMetadata) GetVersion() *Version

func (*EntityMetadata) ProtoMessage

func (*EntityMetadata) ProtoMessage()

func (*EntityMetadata) ProtoReflect

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

func (*EntityMetadata) Reset

func (x *EntityMetadata) Reset()

func (*EntityMetadata) String

func (x *EntityMetadata) String() string

type Geofence

type Geofence struct {

	// The name of the geofence.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The set of polygons that define the geofence.
	Polygon []*Polygon `protobuf:"bytes,2,rep,name=polygon,proto3" json:"polygon,omitempty"`
	// contains filtered or unexported fields
}

A geofence is a virtual perimeter for a real-world geographic area.

func (*Geofence) Descriptor deprecated

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

Deprecated: Use Geofence.ProtoReflect.Descriptor instead.

func (*Geofence) GetName

func (x *Geofence) GetName() string

func (*Geofence) GetPolygon

func (x *Geofence) GetPolygon() []*Polygon

func (*Geofence) ProtoMessage

func (*Geofence) ProtoMessage()

func (*Geofence) ProtoReflect

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

func (*Geofence) Reset

func (x *Geofence) Reset()

func (*Geofence) String

func (x *Geofence) String() string

type GeographicRegion

type GeographicRegion struct {

	// The name of the region.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The formal name of the region.
	FormalName string `protobuf:"bytes,2,opt,name=formal_name,json=formalName,proto3" json:"formal_name,omitempty"`
	// The numeric code for the region.
	NumericCode uint32 `protobuf:"varint,3,opt,name=numeric_code,json=numericCode,proto3" json:"numeric_code,omitempty"`
	// The country for the region.
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// The country subdivision for the region.
	CountrySubdivision string `protobuf:"bytes,5,opt,name=country_subdivision,json=countrySubdivision,proto3" json:"country_subdivision,omitempty"`
	// contains filtered or unexported fields
}

ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1

func (*GeographicRegion) Descriptor deprecated

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

Deprecated: Use GeographicRegion.ProtoReflect.Descriptor instead.

func (*GeographicRegion) GetCountry

func (x *GeographicRegion) GetCountry() string

func (*GeographicRegion) GetCountrySubdivision

func (x *GeographicRegion) GetCountrySubdivision() string

func (*GeographicRegion) GetFormalName

func (x *GeographicRegion) GetFormalName() string

func (*GeographicRegion) GetName

func (x *GeographicRegion) GetName() string

func (*GeographicRegion) GetNumericCode

func (x *GeographicRegion) GetNumericCode() uint32

func (*GeographicRegion) ProtoMessage

func (*GeographicRegion) ProtoMessage()

func (*GeographicRegion) ProtoReflect

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

func (*GeographicRegion) Reset

func (x *GeographicRegion) Reset()

func (*GeographicRegion) String

func (x *GeographicRegion) String() string

type GeospatialCoordinate

type GeospatialCoordinate struct {

	// Distance north or south of the equator measured in degrees up to 90
	// degrees.
	Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Distance measured in degrees east or west from an imaginary line (called
	// the prime meridian) that is measured from the North Pole to the South Pole
	// and that passes through Greenwich, England.
	Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// The geospatial elevation.
	Elevation *GeospatialElevation `protobuf:"bytes,3,opt,name=elevation,proto3" json:"elevation,omitempty"`
	// contains filtered or unexported fields
}

Represents a geospatial, or global positioning satellite (GPS), coordinate.

func (*GeospatialCoordinate) Descriptor deprecated

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

Deprecated: Use GeospatialCoordinate.ProtoReflect.Descriptor instead.

func (*GeospatialCoordinate) GetElevation

func (x *GeospatialCoordinate) GetElevation() *GeospatialElevation

func (*GeospatialCoordinate) GetLatitude

func (x *GeospatialCoordinate) GetLatitude() float64

func (*GeospatialCoordinate) GetLongitude

func (x *GeospatialCoordinate) GetLongitude() float64

func (*GeospatialCoordinate) ProtoMessage

func (*GeospatialCoordinate) ProtoMessage()

func (*GeospatialCoordinate) ProtoReflect

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

func (*GeospatialCoordinate) Reset

func (x *GeospatialCoordinate) Reset()

func (*GeospatialCoordinate) String

func (x *GeospatialCoordinate) String() string

type GeospatialElevation

type GeospatialElevation struct {

	// A reference point.
	Datum GeospatialElevation_GeodeticDatum `protobuf:"varint,1,opt,name=datum,proto3,enum=types.GeospatialElevation_GeodeticDatum" json:"datum,omitempty"`
	// The positive or negative vertical elevation in relation to the datum.
	Altitude float64 `protobuf:"fixed64,2,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// contains filtered or unexported fields
}

The vertical direction, between a reference datum and a point or object.

func (*GeospatialElevation) Descriptor deprecated

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

Deprecated: Use GeospatialElevation.ProtoReflect.Descriptor instead.

func (*GeospatialElevation) GetAltitude

func (x *GeospatialElevation) GetAltitude() float64

func (*GeospatialElevation) GetDatum

func (*GeospatialElevation) ProtoMessage

func (*GeospatialElevation) ProtoMessage()

func (*GeospatialElevation) ProtoReflect

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

func (*GeospatialElevation) Reset

func (x *GeospatialElevation) Reset()

func (*GeospatialElevation) String

func (x *GeospatialElevation) String() string

type GeospatialElevation_GeodeticDatum

type GeospatialElevation_GeodeticDatum int32

A reference system or an approximation of the Earth's surface against which positional measurements are made for computing locations.

const (
	// The altitude above mean sea level associated with a location, measured in meters.
	GeospatialElevation_SEA_LEVEL GeospatialElevation_GeodeticDatum = 0
	// The altitude as a height above the World Geodetic System 1984 (WGS84) ellipsoid, measured in meters.
	GeospatialElevation_WGS_84 GeospatialElevation_GeodeticDatum = 1
)

func (GeospatialElevation_GeodeticDatum) Descriptor

func (GeospatialElevation_GeodeticDatum) Enum

func (GeospatialElevation_GeodeticDatum) EnumDescriptor deprecated

func (GeospatialElevation_GeodeticDatum) EnumDescriptor() ([]byte, []int)

Deprecated: Use GeospatialElevation_GeodeticDatum.Descriptor instead.

func (GeospatialElevation_GeodeticDatum) Number

func (GeospatialElevation_GeodeticDatum) String

func (GeospatialElevation_GeodeticDatum) Type

type GeospatialLocation

type GeospatialLocation struct {

	// The geographical coordinate information.
	Coordinate *GeospatialCoordinate `protobuf:"bytes,1,opt,name=coordinate,proto3" json:"coordinate,omitempty"`
	// The azimuth (orientation) of the user’s device, relative to true or
	// magnetic north.
	Heading *CompassHeading `protobuf:"bytes,2,opt,name=heading,proto3" json:"heading,omitempty"`
	// The direction in which the device is traveling, measured in degrees and
	// relative to due north.
	//
	// Course information reflects the speed and direction in which a device is
	// moving and is available only on devices with GPS hardware. Don’t confuse
	// course information with heading information. Course direction reflects the
	// direction in which the device is moving and is independent of the device’s
	// physical orientation. The most common use of course information is in
	// navigation apps.
	Course float64 `protobuf:"fixed64,3,opt,name=course,proto3" json:"course,omitempty"`
	// The instantaneous speed of the device, measured in meters per second.
	Speed float32 `protobuf:"fixed32,4,opt,name=speed,proto3" json:"speed,omitempty"`
	// The time at which this location was determined.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Spatial or temporal scale refers to the extent of the area or the duration of time.

func (*GeospatialLocation) Descriptor deprecated

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

Deprecated: Use GeospatialLocation.ProtoReflect.Descriptor instead.

func (*GeospatialLocation) GetCoordinate

func (x *GeospatialLocation) GetCoordinate() *GeospatialCoordinate

func (*GeospatialLocation) GetCourse

func (x *GeospatialLocation) GetCourse() float64

func (*GeospatialLocation) GetHeading

func (x *GeospatialLocation) GetHeading() *CompassHeading

func (*GeospatialLocation) GetSpeed

func (x *GeospatialLocation) GetSpeed() float32

func (*GeospatialLocation) GetTimestamp

func (x *GeospatialLocation) GetTimestamp() *timestamppb.Timestamp

func (*GeospatialLocation) ProtoMessage

func (*GeospatialLocation) ProtoMessage()

func (*GeospatialLocation) ProtoReflect

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

func (*GeospatialLocation) Reset

func (x *GeospatialLocation) Reset()

func (*GeospatialLocation) String

func (x *GeospatialLocation) String() string

type MapPoint

type MapPoint struct {

	// The location of the point along the x-axis of the map.
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	// The location of the point along the y-axis of the map.
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	// The geospatial coordinate that corresponds to the specified map point.
	Coordinate *GeospatialCoordinate `protobuf:"bytes,3,opt,name=coordinate,proto3" json:"coordinate,omitempty"`
	// contains filtered or unexported fields
}

If you project the curved surface of the globe onto a flat surface, what you get is a two-dimensional version of a map where longitude lines appear to be parallel. Such maps are often used to show the entire surface of the globe all at once. A map_point data structure represents a point on this two-dimensional map.

func (*MapPoint) Descriptor deprecated

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

Deprecated: Use MapPoint.ProtoReflect.Descriptor instead.

func (*MapPoint) GetCoordinate

func (x *MapPoint) GetCoordinate() *GeospatialCoordinate

func (*MapPoint) GetX

func (x *MapPoint) GetX() float32

func (*MapPoint) GetY

func (x *MapPoint) GetY() float32

func (*MapPoint) ProtoMessage

func (*MapPoint) ProtoMessage()

func (*MapPoint) ProtoReflect

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

func (*MapPoint) Reset

func (x *MapPoint) Reset()

func (*MapPoint) String

func (x *MapPoint) String() string

type Polygon

type Polygon struct {

	// A set of map points.
	Points []*MapPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

A closed polygon shape.

The points you add to this overlay are connected end-to-end in the order you provide them. The first and last points are connected to each other to create a closed shape.

func (*Polygon) Descriptor deprecated

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

Deprecated: Use Polygon.ProtoReflect.Descriptor instead.

func (*Polygon) GetPoints

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

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 RadialGeofence

type RadialGeofence struct {

	// The name of this geofence.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The geospatial coordinate representing the center of a circle.
	Center *GeospatialCoordinate `protobuf:"bytes,2,opt,name=center,proto3" json:"center,omitempty"`
	// A distance measurement (measured in meters) from the coordinate.
	Radius float64 `protobuf:"fixed64,3,opt,name=radius,proto3" json:"radius,omitempty"`
	// contains filtered or unexported fields
}

A geofence is a virtual perimeter for a real-world geographic area.

func (*RadialGeofence) Descriptor deprecated

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

Deprecated: Use RadialGeofence.ProtoReflect.Descriptor instead.

func (*RadialGeofence) GetCenter

func (x *RadialGeofence) GetCenter() *GeospatialCoordinate

func (*RadialGeofence) GetName

func (x *RadialGeofence) GetName() string

func (*RadialGeofence) GetRadius

func (x *RadialGeofence) GetRadius() float64

func (*RadialGeofence) ProtoMessage

func (*RadialGeofence) ProtoMessage()

func (*RadialGeofence) ProtoReflect

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

func (*RadialGeofence) Reset

func (x *RadialGeofence) Reset()

func (*RadialGeofence) String

func (x *RadialGeofence) String() string

type TemporalRange

type TemporalRange struct {

	// In chronology and periodization, an epoch or reference epoch is an instant
	// in time chosen as the origin of a particular calendar era. The "epoch"
	// serves as a reference point from which time is measured.
	Epoch *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	// A temporal duration.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Spatial or temporal scale refers to the extent of the area or the duration of time.

func (*TemporalRange) Descriptor deprecated

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

Deprecated: Use TemporalRange.ProtoReflect.Descriptor instead.

func (*TemporalRange) GetDuration

func (x *TemporalRange) GetDuration() *durationpb.Duration

func (*TemporalRange) GetEpoch

func (x *TemporalRange) GetEpoch() *timestamppb.Timestamp

func (*TemporalRange) ProtoMessage

func (*TemporalRange) ProtoMessage()

func (*TemporalRange) ProtoReflect

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

func (*TemporalRange) Reset

func (x *TemporalRange) Reset()

func (*TemporalRange) String

func (x *TemporalRange) String() string

type TimeZone

type TimeZone struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Abbreviation string `protobuf:"bytes,2,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"`
	// The Standard Time (STD) offset from UTC in hours and minutes.
	UtcOffsetStd *TimeZone_TimeOffset `protobuf:"bytes,3,opt,name=utc_offset_std,json=utcOffsetStd,proto3" json:"utc_offset_std,omitempty"`
	// The Daylight Saving Time (DST) offset from UTC in hours and minutes.
	UtcOffsetDst *TimeZone_TimeOffset `protobuf:"bytes,4,opt,name=utc_offset_dst,json=utcOffsetDst,proto3" json:"utc_offset_dst,omitempty"`
	// contains filtered or unexported fields
}

A time zone is an area which observes a uniform standard time for legal, commercial and social purposes.

func (*TimeZone) Descriptor deprecated

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

Deprecated: Use TimeZone.ProtoReflect.Descriptor instead.

func (*TimeZone) GetAbbreviation

func (x *TimeZone) GetAbbreviation() string

func (*TimeZone) GetName

func (x *TimeZone) GetName() string

func (*TimeZone) GetUtcOffsetDst

func (x *TimeZone) GetUtcOffsetDst() *TimeZone_TimeOffset

func (*TimeZone) GetUtcOffsetStd

func (x *TimeZone) GetUtcOffsetStd() *TimeZone_TimeOffset

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 TimeZone_TimeOffset

type TimeZone_TimeOffset struct {

	// The offset in hours.
	Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"`
	// The offset in minutes.
	Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeZone_TimeOffset) Descriptor deprecated

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

Deprecated: Use TimeZone_TimeOffset.ProtoReflect.Descriptor instead.

func (*TimeZone_TimeOffset) GetHours

func (x *TimeZone_TimeOffset) GetHours() int32

func (*TimeZone_TimeOffset) GetMinutes

func (x *TimeZone_TimeOffset) GetMinutes() int32

func (*TimeZone_TimeOffset) ProtoMessage

func (*TimeZone_TimeOffset) ProtoMessage()

func (*TimeZone_TimeOffset) ProtoReflect

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

func (*TimeZone_TimeOffset) Reset

func (x *TimeZone_TimeOffset) Reset()

func (*TimeZone_TimeOffset) String

func (x *TimeZone_TimeOffset) String() string

type Uri

type Uri struct {

	// The scheme component of this URI.
	Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// The fragment component of this URI.
	Fragment string `protobuf:"bytes,2,opt,name=fragment,proto3" json:"fragment,omitempty"`
	// The host component of this URI.
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// The port number of this URI.
	Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// The query component of this URI.
	Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// The authority component of this URI.
	Authority string `protobuf:"bytes,6,opt,name=authority,proto3" json:"authority,omitempty"`
	// The user-information component of this URI.
	UserInfo string `protobuf:"bytes,7,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

Represents a Uniform Resource Identifier (URI) as defined by s defined by [RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax](http://www.ietf.org/rfc/rfc2396.txt), amended by [RFC 2732: Format for Literal IPv6 Addresses in URLs](http://www.ietf.org/rfc/rfc2732.txt).

func (*Uri) Descriptor deprecated

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

Deprecated: Use Uri.ProtoReflect.Descriptor instead.

func (*Uri) GetAuthority

func (x *Uri) GetAuthority() string

func (*Uri) GetFragment

func (x *Uri) GetFragment() string

func (*Uri) GetHost

func (x *Uri) GetHost() string

func (*Uri) GetPort

func (x *Uri) GetPort() int32

func (*Uri) GetQuery

func (x *Uri) GetQuery() string

func (*Uri) GetScheme

func (x *Uri) GetScheme() string

func (*Uri) GetUserInfo

func (x *Uri) GetUserInfo() string

func (*Uri) ProtoMessage

func (*Uri) ProtoMessage()

func (*Uri) ProtoReflect

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

func (*Uri) Reset

func (x *Uri) Reset()

func (*Uri) String

func (x *Uri) String() string

type Url

type Url struct {

	// The protocol component of this URI.
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// The host component of this URL.
	Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// The path component of this URL.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// The port number of this URL.
	Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// The file component of this URL.
	File string `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"`
	// The query component of this URL.
	Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
	// The authority component of this URL.
	Authority string `protobuf:"bytes,7,opt,name=authority,proto3" json:"authority,omitempty"`
	// The user-information component of this URL.
	UserInfo string `protobuf:"bytes,8,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// The ref, also known as the anchor, component of this URL.
	Ref string `protobuf:"bytes,9,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

Represents a Uniform Resource Locator (URL).

func (*Url) Descriptor deprecated

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

Deprecated: Use Url.ProtoReflect.Descriptor instead.

func (*Url) GetAuthority

func (x *Url) GetAuthority() string

func (*Url) GetFile

func (x *Url) GetFile() string

func (*Url) GetHost

func (x *Url) GetHost() string

func (*Url) GetPath

func (x *Url) GetPath() string

func (*Url) GetPort

func (x *Url) GetPort() int32

func (*Url) GetProtocol

func (x *Url) GetProtocol() string

func (*Url) GetQuery

func (x *Url) GetQuery() string

func (*Url) GetRef

func (x *Url) GetRef() string

func (*Url) GetUserInfo

func (x *Url) GetUserInfo() string

func (*Url) ProtoMessage

func (*Url) ProtoMessage()

func (*Url) ProtoReflect

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

func (*Url) Reset

func (x *Url) Reset()

func (*Url) String

func (x *Url) String() string

type Version

type Version struct {

	// Major version zero (0.y.z) is for initial development. Anything MAY change
	// at any time. The public API SHOULD NOT be considered stable.
	Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	// Minor version Y (x.Y.z | x > 0) MUST be incremented if new, backwards compatible
	// functionality is introduced to the public API. It MUST be incremented if any
	// public API functionality is marked as deprecated. It MAY be incremented if
	// substantial new functionality or improvements are introduced within the private
	// code. It MAY include patch level changes. Patch version MUST be reset to 0 when
	// minor version is incremented.
	Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible
	// bug fixes are introduced. A bug fix is defined as an internal change that fixes
	// incorrect behavior.
	Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// A pre-release version MAY be denoted by appending a hyphen and a series of dot
	// separated identifiers immediately following the patch version. Identifiers MUST
	// comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]. Identifiers MUST NOT
	// be empty. Numeric identifiers MUST NOT include leading zeroes. Pre-release
	// versions have a lower precedence than the associated normal version.
	//
	// A pre-release version indicates that the version is unstable and might not satisfy
	// the intended compatibility requirements as denoted by its associated normal version.
	//
	// Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92, 1.0.0-x-y-z.–.
	Prerelease string `protobuf:"bytes,4,opt,name=prerelease,proto3" json:"prerelease,omitempty"`
	// Build metadata MAY be denoted by appending a plus sign and a series of dot separated
	// identifiers immediately following the patch or pre-release version. Identifiers MUST
	// comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]. Identifiers MUST NOT be
	// empty.
	//
	// Build metadata MUST be ignored when determining version precedence. Thus two
	// versions that differ only in the build metadata, have the same precedence.
	//
	// Examples: 1.0.0-alpha+001, 1.0.0+20130313144700, 1.0.0-beta+exp.sha.5114f85,
	// 1.0.0+21AF26D3—-117B344092BD.
	BuildMetadata string `protobuf:"bytes,5,opt,name=build_metadata,json=buildMetadata,proto3" json:"build_metadata,omitempty"`
	// contains filtered or unexported fields
}

A Semantic Versioning 2.0.0 compliant version number. See https://semver.org See the Backus-Naur form at https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetBuildMetadata

func (x *Version) GetBuildMetadata() string

func (*Version) GetMajor

func (x *Version) GetMajor() uint32

func (*Version) GetMinor

func (x *Version) GetMinor() uint32

func (*Version) GetPatch

func (x *Version) GetPatch() uint32

func (*Version) GetPrerelease

func (x *Version) GetPrerelease() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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