livemap

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resources_livemap_livemap_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DispatchMarker

type DispatchMarker struct {
	X         float32              `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty" alias:"x"`                                         // @gotags: alias:"x"
	Y         float32              `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty" alias:"y"`                                         // @gotags: alias:"y"
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at"
	Id        int32                `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	Job       string               `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty" alias:"job"`                                       // @gotags: alias:"job"
	JobLabel  *string              `protobuf:"bytes,6,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label"
	Name      string               `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Icon      string               `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
	IconColor string               `protobuf:"bytes,9,opt,name=icon_color,json=iconColor,proto3" json:"icon_color,omitempty" alias:"icon_color"` // @gotags: alias:"icon_color"
	Popup     string               `protobuf:"bytes,10,opt,name=popup,proto3" json:"popup,omitempty"`
	Active    bool                 `protobuf:"varint,11,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchMarker) Descriptor deprecated

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

Deprecated: Use DispatchMarker.ProtoReflect.Descriptor instead.

func (*DispatchMarker) GetActive

func (x *DispatchMarker) GetActive() bool

func (*DispatchMarker) GetIcon

func (x *DispatchMarker) GetIcon() string

func (*DispatchMarker) GetIconColor

func (x *DispatchMarker) GetIconColor() string

func (*DispatchMarker) GetId

func (x *DispatchMarker) GetId() int32

func (*DispatchMarker) GetJob

func (x *DispatchMarker) GetJob() string

func (*DispatchMarker) GetJobLabel

func (x *DispatchMarker) GetJobLabel() string

func (*DispatchMarker) GetName

func (x *DispatchMarker) GetName() string

func (*DispatchMarker) GetPopup

func (x *DispatchMarker) GetPopup() string

func (*DispatchMarker) GetUpdatedAt

func (x *DispatchMarker) GetUpdatedAt() *timestamp.Timestamp

func (*DispatchMarker) GetX

func (x *DispatchMarker) GetX() float32

func (*DispatchMarker) GetY

func (x *DispatchMarker) GetY() float32

func (*DispatchMarker) ProtoMessage

func (*DispatchMarker) ProtoMessage()

func (*DispatchMarker) ProtoReflect

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

func (*DispatchMarker) Reset

func (x *DispatchMarker) Reset()

func (*DispatchMarker) SetJobLabel

func (x *DispatchMarker) SetJobLabel(label string)

func (*DispatchMarker) String

func (x *DispatchMarker) String() string

func (*DispatchMarker) Validate

func (m *DispatchMarker) Validate() error

Validate checks the field values on DispatchMarker with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DispatchMarker) ValidateAll

func (m *DispatchMarker) ValidateAll() error

ValidateAll checks the field values on DispatchMarker with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DispatchMarkerMultiError, or nil if none found.

type DispatchMarkerMultiError

type DispatchMarkerMultiError []error

DispatchMarkerMultiError is an error wrapping multiple validation errors returned by DispatchMarker.ValidateAll() if the designated constraints aren't met.

func (DispatchMarkerMultiError) AllErrors

func (m DispatchMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchMarkerMultiError) Error

func (m DispatchMarkerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DispatchMarkerValidationError

type DispatchMarkerValidationError struct {
	// contains filtered or unexported fields
}

DispatchMarkerValidationError is the validation error returned by DispatchMarker.Validate if the designated constraints aren't met.

func (DispatchMarkerValidationError) Cause

Cause function returns cause value.

func (DispatchMarkerValidationError) Error

Error satisfies the builtin error interface

func (DispatchMarkerValidationError) ErrorName

func (e DispatchMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (DispatchMarkerValidationError) Field

Field function returns field value.

func (DispatchMarkerValidationError) Key

Key function returns key value.

func (DispatchMarkerValidationError) Reason

Reason function returns reason value.

type UserMarker

type UserMarker struct {
	X         float32              `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty" alias:"x"`                                         // @gotags: alias:"x"
	Y         float32              `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty" alias:"y"`                                         // @gotags: alias:"y"
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at"
	Id        int32                `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	Name      string               `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Icon      string               `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	IconColor string               `protobuf:"bytes,7,opt,name=icon_color,json=iconColor,proto3" json:"icon_color,omitempty" alias:"icon_color"` // @gotags: alias:"icon_color"
	User      *users.UserShort     `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty" alias:"user"`                                  // @gotags: alias:"user"
	// contains filtered or unexported fields
}

func (*UserMarker) Descriptor deprecated

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

Deprecated: Use UserMarker.ProtoReflect.Descriptor instead.

func (*UserMarker) GetIcon

func (x *UserMarker) GetIcon() string

func (*UserMarker) GetIconColor

func (x *UserMarker) GetIconColor() string

func (*UserMarker) GetId

func (x *UserMarker) GetId() int32

func (*UserMarker) GetName

func (x *UserMarker) GetName() string

func (*UserMarker) GetUpdatedAt

func (x *UserMarker) GetUpdatedAt() *timestamp.Timestamp

func (*UserMarker) GetUser

func (x *UserMarker) GetUser() *users.UserShort

func (*UserMarker) GetX

func (x *UserMarker) GetX() float32

func (*UserMarker) GetY

func (x *UserMarker) GetY() float32

func (*UserMarker) ProtoMessage

func (*UserMarker) ProtoMessage()

func (*UserMarker) ProtoReflect

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

func (*UserMarker) Reset

func (x *UserMarker) Reset()

func (*UserMarker) String

func (x *UserMarker) String() string

func (*UserMarker) Validate

func (m *UserMarker) Validate() error

Validate checks the field values on UserMarker with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserMarker) ValidateAll

func (m *UserMarker) ValidateAll() error

ValidateAll checks the field values on UserMarker with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMarkerMultiError, or nil if none found.

type UserMarkerMultiError

type UserMarkerMultiError []error

UserMarkerMultiError is an error wrapping multiple validation errors returned by UserMarker.ValidateAll() if the designated constraints aren't met.

func (UserMarkerMultiError) AllErrors

func (m UserMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMarkerMultiError) Error

func (m UserMarkerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserMarkerValidationError

type UserMarkerValidationError struct {
	// contains filtered or unexported fields
}

UserMarkerValidationError is the validation error returned by UserMarker.Validate if the designated constraints aren't met.

func (UserMarkerValidationError) Cause

func (e UserMarkerValidationError) Cause() error

Cause function returns cause value.

func (UserMarkerValidationError) Error

Error satisfies the builtin error interface

func (UserMarkerValidationError) ErrorName

func (e UserMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (UserMarkerValidationError) Field

Field function returns field value.

func (UserMarkerValidationError) Key

Key function returns key value.

func (UserMarkerValidationError) Reason

func (e UserMarkerValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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