livemap

package
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MarkerType_name = map[int32]string{
		0: "MARKER_TYPE_UNSPECIFIED",
		1: "MARKER_TYPE_DOT",
		2: "MARKER_TYPE_CIRCLE",
		3: "MARKER_TYPE_ICON",
	}
	MarkerType_value = map[string]int32{
		"MARKER_TYPE_UNSPECIFIED": 0,
		"MARKER_TYPE_DOT":         1,
		"MARKER_TYPE_CIRCLE":      2,
		"MARKER_TYPE_ICON":        3,
	}
)

Enum value maps for MarkerType.

View Source
var File_resources_livemap_livemap_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CircleMarker added in v0.8.0

type CircleMarker struct {
	Radius  int32    `protobuf:"varint,1,opt,name=radius,proto3" json:"radius,omitempty"`
	Oapcity *float32 `protobuf:"fixed32,2,opt,name=oapcity,proto3,oneof" json:"oapcity,omitempty"`
	// contains filtered or unexported fields
}

func (*CircleMarker) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CircleMarker.ProtoReflect.Descriptor instead.

func (*CircleMarker) GetOapcity added in v0.8.1

func (x *CircleMarker) GetOapcity() float32

func (*CircleMarker) GetRadius added in v0.8.0

func (x *CircleMarker) GetRadius() int32

func (*CircleMarker) ProtoMessage added in v0.8.0

func (*CircleMarker) ProtoMessage()

func (*CircleMarker) ProtoReflect added in v0.8.0

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

func (*CircleMarker) Reset added in v0.8.0

func (x *CircleMarker) Reset()

func (*CircleMarker) String added in v0.8.0

func (x *CircleMarker) String() string

func (*CircleMarker) Validate added in v0.8.0

func (m *CircleMarker) Validate() error

Validate checks the field values on CircleMarker 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 (*CircleMarker) ValidateAll added in v0.8.0

func (m *CircleMarker) ValidateAll() error

ValidateAll checks the field values on CircleMarker 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 CircleMarkerMultiError, or nil if none found.

type CircleMarkerMultiError added in v0.8.0

type CircleMarkerMultiError []error

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

func (CircleMarkerMultiError) AllErrors added in v0.8.0

func (m CircleMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CircleMarkerMultiError) Error added in v0.8.0

func (m CircleMarkerMultiError) Error() string

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

type CircleMarkerValidationError added in v0.8.0

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

CircleMarkerValidationError is the validation error returned by CircleMarker.Validate if the designated constraints aren't met.

func (CircleMarkerValidationError) Cause added in v0.8.0

Cause function returns cause value.

func (CircleMarkerValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (CircleMarkerValidationError) ErrorName added in v0.8.0

func (e CircleMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (CircleMarkerValidationError) Field added in v0.8.0

Field function returns field value.

func (CircleMarkerValidationError) Key added in v0.8.0

Key function returns key value.

func (CircleMarkerValidationError) Reason added in v0.8.0

Reason function returns reason value.

type Coords added in v0.8.1

type Coords struct {
	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*Coords) Descriptor deprecated added in v0.8.1

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

Deprecated: Use Coords.ProtoReflect.Descriptor instead.

func (*Coords) GetX added in v0.8.1

func (x *Coords) GetX() float64

func (*Coords) GetY added in v0.8.1

func (x *Coords) GetY() float64

func (*Coords) ProtoMessage added in v0.8.1

func (*Coords) ProtoMessage()

func (*Coords) ProtoReflect added in v0.8.1

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

func (*Coords) Reset added in v0.8.1

func (x *Coords) Reset()

func (*Coords) String added in v0.8.1

func (x *Coords) String() string

func (*Coords) Validate added in v0.8.1

func (m *Coords) Validate() error

Validate checks the field values on Coords 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 (*Coords) ValidateAll added in v0.8.1

func (m *Coords) ValidateAll() error

ValidateAll checks the field values on Coords 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 CoordsMultiError, or nil if none found.

type CoordsMultiError added in v0.8.1

type CoordsMultiError []error

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

func (CoordsMultiError) AllErrors added in v0.8.1

func (m CoordsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CoordsMultiError) Error added in v0.8.1

func (m CoordsMultiError) Error() string

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

type CoordsValidationError added in v0.8.1

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

CoordsValidationError is the validation error returned by Coords.Validate if the designated constraints aren't met.

func (CoordsValidationError) Cause added in v0.8.1

func (e CoordsValidationError) Cause() error

Cause function returns cause value.

func (CoordsValidationError) Error added in v0.8.1

func (e CoordsValidationError) Error() string

Error satisfies the builtin error interface

func (CoordsValidationError) ErrorName added in v0.8.1

func (e CoordsValidationError) ErrorName() string

ErrorName returns error name.

func (CoordsValidationError) Field added in v0.8.1

func (e CoordsValidationError) Field() string

Field function returns field value.

func (CoordsValidationError) Key added in v0.8.1

func (e CoordsValidationError) Key() bool

Key function returns key value.

func (CoordsValidationError) Reason added in v0.8.1

func (e CoordsValidationError) Reason() string

Reason function returns reason value.

type IconMarker added in v0.8.11

type IconMarker struct {
	Icon string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*IconMarker) Descriptor deprecated added in v0.8.11

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

Deprecated: Use IconMarker.ProtoReflect.Descriptor instead.

func (*IconMarker) GetIcon added in v0.8.11

func (x *IconMarker) GetIcon() string

func (*IconMarker) ProtoMessage added in v0.8.11

func (*IconMarker) ProtoMessage()

func (*IconMarker) ProtoReflect added in v0.8.11

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

func (*IconMarker) Reset added in v0.8.11

func (x *IconMarker) Reset()

func (*IconMarker) String added in v0.8.11

func (x *IconMarker) String() string

func (*IconMarker) Validate added in v0.8.11

func (m *IconMarker) Validate() error

Validate checks the field values on IconMarker 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 (*IconMarker) ValidateAll added in v0.8.11

func (m *IconMarker) ValidateAll() error

ValidateAll checks the field values on IconMarker 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 IconMarkerMultiError, or nil if none found.

type IconMarkerMultiError added in v0.8.11

type IconMarkerMultiError []error

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

func (IconMarkerMultiError) AllErrors added in v0.8.11

func (m IconMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IconMarkerMultiError) Error added in v0.8.11

func (m IconMarkerMultiError) Error() string

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

type IconMarkerValidationError added in v0.8.11

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

IconMarkerValidationError is the validation error returned by IconMarker.Validate if the designated constraints aren't met.

func (IconMarkerValidationError) Cause added in v0.8.11

func (e IconMarkerValidationError) Cause() error

Cause function returns cause value.

func (IconMarkerValidationError) Error added in v0.8.11

Error satisfies the builtin error interface

func (IconMarkerValidationError) ErrorName added in v0.8.11

func (e IconMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (IconMarkerValidationError) Field added in v0.8.11

Field function returns field value.

func (IconMarkerValidationError) Key added in v0.8.11

Key function returns key value.

func (IconMarkerValidationError) Reason added in v0.8.11

func (e IconMarkerValidationError) Reason() string

Reason function returns reason value.

type Marker added in v0.8.1

type Marker struct {
	Info      *MarkerInfo      `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Type      MarkerType       `protobuf:"varint,2,opt,name=type,proto3,enum=resources.livemap.MarkerType" json:"type,omitempty" alias:"markerType"` // @gotags: alias:"markerType"
	Data      *MarkerData      `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"markerData"`                              // @gotags: alias:"markerData"
	CreatorId *int32           `protobuf:"varint,4,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
	Creator   *users.UserShort `protobuf:"bytes,5,opt,name=creator,proto3,oneof" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

func (*Marker) Descriptor deprecated added in v0.8.1

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

Deprecated: Use Marker.ProtoReflect.Descriptor instead.

func (*Marker) GetCreator added in v0.8.1

func (x *Marker) GetCreator() *users.UserShort

func (*Marker) GetCreatorId added in v0.8.1

func (x *Marker) GetCreatorId() int32

func (*Marker) GetData added in v0.8.1

func (x *Marker) GetData() *MarkerData

func (*Marker) GetInfo added in v0.8.1

func (x *Marker) GetInfo() *MarkerInfo

func (*Marker) GetType added in v0.8.1

func (x *Marker) GetType() MarkerType

func (*Marker) ProtoMessage added in v0.8.1

func (*Marker) ProtoMessage()

func (*Marker) ProtoReflect added in v0.8.1

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

func (*Marker) Reset added in v0.8.1

func (x *Marker) Reset()

func (*Marker) String added in v0.8.1

func (x *Marker) String() string

func (*Marker) Validate added in v0.8.1

func (m *Marker) Validate() error

Validate checks the field values on Marker 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 (*Marker) ValidateAll added in v0.8.1

func (m *Marker) ValidateAll() error

ValidateAll checks the field values on Marker 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 MarkerMultiError, or nil if none found.

type MarkerData added in v0.8.1

type MarkerData struct {

	// Types that are assignable to Data:
	//
	//	*MarkerData_Circle
	//	*MarkerData_Icon
	Data isMarkerData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*MarkerData) Descriptor deprecated added in v0.8.1

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

Deprecated: Use MarkerData.ProtoReflect.Descriptor instead.

func (*MarkerData) GetCircle added in v0.8.1

func (x *MarkerData) GetCircle() *CircleMarker

func (*MarkerData) GetData added in v0.8.1

func (m *MarkerData) GetData() isMarkerData_Data

func (*MarkerData) GetIcon added in v0.8.11

func (x *MarkerData) GetIcon() *IconMarker

func (*MarkerData) ProtoMessage added in v0.8.1

func (*MarkerData) ProtoMessage()

func (*MarkerData) ProtoReflect added in v0.8.1

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

func (*MarkerData) Reset added in v0.8.1

func (x *MarkerData) Reset()

func (*MarkerData) Scan added in v0.8.1

func (x *MarkerData) Scan(value any) error

func (*MarkerData) String added in v0.8.1

func (x *MarkerData) String() string

func (*MarkerData) Validate added in v0.8.1

func (m *MarkerData) Validate() error

Validate checks the field values on MarkerData 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 (*MarkerData) ValidateAll added in v0.8.1

func (m *MarkerData) ValidateAll() error

ValidateAll checks the field values on MarkerData 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 MarkerDataMultiError, or nil if none found.

func (*MarkerData) Value added in v0.8.1

func (x *MarkerData) Value() (driver.Value, error)

Scan implements driver.Valuer for protobuf Data.

type MarkerDataMultiError added in v0.8.1

type MarkerDataMultiError []error

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

func (MarkerDataMultiError) AllErrors added in v0.8.1

func (m MarkerDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerDataMultiError) Error added in v0.8.1

func (m MarkerDataMultiError) Error() string

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

type MarkerDataValidationError added in v0.8.1

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

MarkerDataValidationError is the validation error returned by MarkerData.Validate if the designated constraints aren't met.

func (MarkerDataValidationError) Cause added in v0.8.1

func (e MarkerDataValidationError) Cause() error

Cause function returns cause value.

func (MarkerDataValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (MarkerDataValidationError) ErrorName added in v0.8.1

func (e MarkerDataValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerDataValidationError) Field added in v0.8.1

Field function returns field value.

func (MarkerDataValidationError) Key added in v0.8.1

Key function returns key value.

func (MarkerDataValidationError) Reason added in v0.8.1

func (e MarkerDataValidationError) Reason() string

Reason function returns reason value.

type MarkerData_Circle added in v0.8.1

type MarkerData_Circle struct {
	Circle *CircleMarker `protobuf:"bytes,3,opt,name=circle,proto3,oneof"`
}

type MarkerData_Icon added in v0.8.11

type MarkerData_Icon struct {
	Icon *IconMarker `protobuf:"bytes,4,opt,name=icon,proto3,oneof"`
}

type MarkerInfo added in v0.8.1

type MarkerInfo struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Job       string               `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
	// @sanitize
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// @sanitize
	Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	X           float64 `protobuf:"fixed64,7,opt,name=x,proto3" json:"x,omitempty"`
	Y           float64 `protobuf:"fixed64,8,opt,name=y,proto3" json:"y,omitempty"`
	// @sanitize
	Postal *string `protobuf:"bytes,9,opt,name=postal,proto3,oneof" json:"postal,omitempty"`
	Color  *string `protobuf:"bytes,10,opt,name=color,proto3,oneof" json:"color,omitempty"`
	Icon   *string `protobuf:"bytes,11,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkerInfo) Descriptor deprecated added in v0.8.1

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

Deprecated: Use MarkerInfo.ProtoReflect.Descriptor instead.

func (*MarkerInfo) GetColor added in v0.8.1

func (x *MarkerInfo) GetColor() string

func (*MarkerInfo) GetCreatedAt added in v0.8.1

func (x *MarkerInfo) GetCreatedAt() *timestamp.Timestamp

func (*MarkerInfo) GetDescription added in v0.8.1

func (x *MarkerInfo) GetDescription() string

func (*MarkerInfo) GetIcon added in v0.8.1

func (x *MarkerInfo) GetIcon() string

func (*MarkerInfo) GetId added in v0.8.1

func (x *MarkerInfo) GetId() uint64

func (*MarkerInfo) GetJob added in v0.8.1

func (x *MarkerInfo) GetJob() string

func (*MarkerInfo) GetName added in v0.8.1

func (x *MarkerInfo) GetName() string

func (*MarkerInfo) GetPostal added in v0.8.1

func (x *MarkerInfo) GetPostal() string

func (*MarkerInfo) GetUpdatedAt added in v0.8.1

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

func (*MarkerInfo) GetX added in v0.8.1

func (x *MarkerInfo) GetX() float64

func (*MarkerInfo) GetY added in v0.8.1

func (x *MarkerInfo) GetY() float64

func (*MarkerInfo) ProtoMessage added in v0.8.1

func (*MarkerInfo) ProtoMessage()

func (*MarkerInfo) ProtoReflect added in v0.8.1

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

func (*MarkerInfo) Reset added in v0.8.1

func (x *MarkerInfo) Reset()

func (*MarkerInfo) Sanitize added in v0.8.1

func (m *MarkerInfo) Sanitize() error

func (*MarkerInfo) String added in v0.8.1

func (x *MarkerInfo) String() string

func (*MarkerInfo) Validate added in v0.8.1

func (m *MarkerInfo) Validate() error

Validate checks the field values on MarkerInfo 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 (*MarkerInfo) ValidateAll added in v0.8.1

func (m *MarkerInfo) ValidateAll() error

ValidateAll checks the field values on MarkerInfo 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 MarkerInfoMultiError, or nil if none found.

type MarkerInfoMultiError added in v0.8.1

type MarkerInfoMultiError []error

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

func (MarkerInfoMultiError) AllErrors added in v0.8.1

func (m MarkerInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerInfoMultiError) Error added in v0.8.1

func (m MarkerInfoMultiError) Error() string

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

type MarkerInfoValidationError added in v0.8.1

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

MarkerInfoValidationError is the validation error returned by MarkerInfo.Validate if the designated constraints aren't met.

func (MarkerInfoValidationError) Cause added in v0.8.1

func (e MarkerInfoValidationError) Cause() error

Cause function returns cause value.

func (MarkerInfoValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (MarkerInfoValidationError) ErrorName added in v0.8.1

func (e MarkerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerInfoValidationError) Field added in v0.8.1

Field function returns field value.

func (MarkerInfoValidationError) Key added in v0.8.1

Key function returns key value.

func (MarkerInfoValidationError) Reason added in v0.8.1

func (e MarkerInfoValidationError) Reason() string

Reason function returns reason value.

type MarkerMultiError added in v0.8.1

type MarkerMultiError []error

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

func (MarkerMultiError) AllErrors added in v0.8.1

func (m MarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerMultiError) Error added in v0.8.1

func (m MarkerMultiError) Error() string

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

type MarkerType added in v0.8.3

type MarkerType int32
const (
	MarkerType_MARKER_TYPE_UNSPECIFIED MarkerType = 0
	MarkerType_MARKER_TYPE_DOT         MarkerType = 1
	MarkerType_MARKER_TYPE_CIRCLE      MarkerType = 2
	MarkerType_MARKER_TYPE_ICON        MarkerType = 3
)

func (MarkerType) Descriptor added in v0.8.3

func (MarkerType) Descriptor() protoreflect.EnumDescriptor

func (MarkerType) Enum added in v0.8.3

func (x MarkerType) Enum() *MarkerType

func (MarkerType) EnumDescriptor deprecated added in v0.8.3

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

Deprecated: Use MarkerType.Descriptor instead.

func (MarkerType) Number added in v0.8.3

func (x MarkerType) Number() protoreflect.EnumNumber

func (MarkerType) String added in v0.8.3

func (x MarkerType) String() string

func (MarkerType) Type added in v0.8.3

type MarkerValidationError added in v0.8.1

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

MarkerValidationError is the validation error returned by Marker.Validate if the designated constraints aren't met.

func (MarkerValidationError) Cause added in v0.8.1

func (e MarkerValidationError) Cause() error

Cause function returns cause value.

func (MarkerValidationError) Error added in v0.8.1

func (e MarkerValidationError) Error() string

Error satisfies the builtin error interface

func (MarkerValidationError) ErrorName added in v0.8.1

func (e MarkerValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerValidationError) Field added in v0.8.1

func (e MarkerValidationError) Field() string

Field function returns field value.

func (MarkerValidationError) Key added in v0.8.1

func (e MarkerValidationError) Key() bool

Key function returns key value.

func (MarkerValidationError) Reason added in v0.8.1

func (e MarkerValidationError) Reason() string

Reason function returns reason value.

type UserMarker

type UserMarker struct {
	Info   *MarkerInfo      `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	UserId int32            `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	User   *users.UserShort `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" alias:"user"` // @gotags: alias:"user"
	UnitId *uint64          `protobuf:"varint,4,opt,name=unit_id,json=unitId,proto3,oneof" json:"unit_id,omitempty"`
	Unit   *centrum.Unit    `protobuf:"bytes,5,opt,name=unit,proto3,oneof" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMarker) Descriptor deprecated

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

Deprecated: Use UserMarker.ProtoReflect.Descriptor instead.

func (*UserMarker) GetInfo added in v0.8.1

func (x *UserMarker) GetInfo() *MarkerInfo

func (*UserMarker) GetUnit added in v0.8.0

func (x *UserMarker) GetUnit() *centrum.Unit

func (*UserMarker) GetUnitId added in v0.8.0

func (x *UserMarker) GetUnitId() uint64

func (*UserMarker) GetUser

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

func (*UserMarker) GetUserId added in v0.8.0

func (x *UserMarker) GetUserId() int32

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