livemap

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 24 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
View Source
var File_resources_livemap_tracker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CircleMarker

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

func (*CircleMarker) Descriptor deprecated

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

Deprecated: Use CircleMarker.ProtoReflect.Descriptor instead.

func (*CircleMarker) GetOpacity

func (x *CircleMarker) GetOpacity() float32

func (*CircleMarker) GetRadius

func (x *CircleMarker) GetRadius() int32

func (*CircleMarker) ProtoMessage

func (*CircleMarker) ProtoMessage()

func (*CircleMarker) ProtoReflect

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

func (*CircleMarker) Reset

func (x *CircleMarker) Reset()

func (*CircleMarker) String

func (x *CircleMarker) String() string

func (*CircleMarker) Validate

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

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

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

func (m CircleMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CircleMarkerMultiError) Error

func (m CircleMarkerMultiError) Error() string

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

type CircleMarkerValidationError

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

Cause function returns cause value.

func (CircleMarkerValidationError) Error

Error satisfies the builtin error interface

func (CircleMarkerValidationError) ErrorName

func (e CircleMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (CircleMarkerValidationError) Field

Field function returns field value.

func (CircleMarkerValidationError) Key

Key function returns key value.

func (CircleMarkerValidationError) Reason

Reason function returns reason value.

type Coords

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

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

Deprecated: Use Coords.ProtoReflect.Descriptor instead.

func (*Coords) GetX

func (x *Coords) GetX() float64

func (*Coords) GetY

func (x *Coords) GetY() float64

func (*Coords) ProtoMessage

func (*Coords) ProtoMessage()

func (*Coords) ProtoReflect

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

func (*Coords) Reset

func (x *Coords) Reset()

func (*Coords) String

func (x *Coords) String() string

func (*Coords) Validate

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

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

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

func (m CoordsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CoordsMultiError) Error

func (m CoordsMultiError) Error() string

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

type CoordsValidationError

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

func (e CoordsValidationError) Cause() error

Cause function returns cause value.

func (CoordsValidationError) Error

func (e CoordsValidationError) Error() string

Error satisfies the builtin error interface

func (CoordsValidationError) ErrorName

func (e CoordsValidationError) ErrorName() string

ErrorName returns error name.

func (CoordsValidationError) Field

func (e CoordsValidationError) Field() string

Field function returns field value.

func (CoordsValidationError) Key

func (e CoordsValidationError) Key() bool

Key function returns key value.

func (CoordsValidationError) Reason

func (e CoordsValidationError) Reason() string

Reason function returns reason value.

type IconMarker

type IconMarker struct {

	// @sanitize: method=StripTags
	Icon string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*IconMarker) Descriptor deprecated

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

Deprecated: Use IconMarker.ProtoReflect.Descriptor instead.

func (*IconMarker) GetIcon

func (x *IconMarker) GetIcon() string

func (*IconMarker) ProtoMessage

func (*IconMarker) ProtoMessage()

func (*IconMarker) ProtoReflect

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

func (*IconMarker) Reset

func (x *IconMarker) Reset()

func (*IconMarker) Sanitize added in v0.9.2

func (m *IconMarker) Sanitize() error

func (*IconMarker) String

func (x *IconMarker) String() string

func (*IconMarker) Validate

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

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

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

func (m IconMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IconMarkerMultiError) Error

func (m IconMarkerMultiError) Error() string

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

type IconMarkerValidationError

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

func (e IconMarkerValidationError) Cause() error

Cause function returns cause value.

func (IconMarkerValidationError) Error

Error satisfies the builtin error interface

func (IconMarkerValidationError) ErrorName

func (e IconMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (IconMarkerValidationError) Field

Field function returns field value.

func (IconMarkerValidationError) Key

Key function returns key value.

func (IconMarkerValidationError) Reason

func (e IconMarkerValidationError) Reason() string

Reason function returns reason value.

type MarkerData

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

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

Deprecated: Use MarkerData.ProtoReflect.Descriptor instead.

func (*MarkerData) GetCircle

func (x *MarkerData) GetCircle() *CircleMarker

func (*MarkerData) GetData

func (m *MarkerData) GetData() isMarkerData_Data

func (*MarkerData) GetIcon

func (x *MarkerData) GetIcon() *IconMarker

func (*MarkerData) ProtoMessage

func (*MarkerData) ProtoMessage()

func (*MarkerData) ProtoReflect

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

func (*MarkerData) Reset

func (x *MarkerData) Reset()

func (*MarkerData) Scan

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

Scan implements driver.Valuer for protobuf MarkerData.

func (*MarkerData) String

func (x *MarkerData) String() string

func (*MarkerData) Validate

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

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

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

Value marshals the value into driver.Valuer.

type MarkerDataMultiError

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

func (m MarkerDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerDataMultiError) Error

func (m MarkerDataMultiError) Error() string

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

type MarkerDataValidationError

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

func (e MarkerDataValidationError) Cause() error

Cause function returns cause value.

func (MarkerDataValidationError) Error

Error satisfies the builtin error interface

func (MarkerDataValidationError) ErrorName

func (e MarkerDataValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerDataValidationError) Field

Field function returns field value.

func (MarkerDataValidationError) Key

Key function returns key value.

func (MarkerDataValidationError) Reason

func (e MarkerDataValidationError) Reason() string

Reason function returns reason value.

type MarkerData_Circle

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

type MarkerData_Icon

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

type MarkerInfo

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"`
	JobLabel  string               `protobuf:"bytes,12,opt,name=job_label,json=jobLabel,proto3" json:"job_label,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"`
	// @sanitize: method=StripTags
	Color *string `protobuf:"bytes,10,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// @sanitize: method=StripTags
	Icon *string `protobuf:"bytes,11,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkerInfo) Descriptor deprecated

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

Deprecated: Use MarkerInfo.ProtoReflect.Descriptor instead.

func (*MarkerInfo) GetColor

func (x *MarkerInfo) GetColor() string

func (*MarkerInfo) GetCreatedAt

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

func (*MarkerInfo) GetDescription

func (x *MarkerInfo) GetDescription() string

func (*MarkerInfo) GetIcon

func (x *MarkerInfo) GetIcon() string

func (*MarkerInfo) GetId

func (x *MarkerInfo) GetId() uint64

func (*MarkerInfo) GetJob

func (x *MarkerInfo) GetJob() string

func (*MarkerInfo) GetJobLabel

func (x *MarkerInfo) GetJobLabel() string

func (*MarkerInfo) GetName

func (x *MarkerInfo) GetName() string

func (*MarkerInfo) GetPostal

func (x *MarkerInfo) GetPostal() string

func (*MarkerInfo) GetUpdatedAt

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

func (*MarkerInfo) GetX

func (x *MarkerInfo) GetX() float64

func (*MarkerInfo) GetY

func (x *MarkerInfo) GetY() float64

func (*MarkerInfo) ProtoMessage

func (*MarkerInfo) ProtoMessage()

func (*MarkerInfo) ProtoReflect

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

func (*MarkerInfo) Reset

func (x *MarkerInfo) Reset()

func (*MarkerInfo) Sanitize

func (m *MarkerInfo) Sanitize() error

func (*MarkerInfo) SetJobLabel

func (x *MarkerInfo) SetJobLabel(label string)

func (*MarkerInfo) String

func (x *MarkerInfo) String() string

func (*MarkerInfo) Validate

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

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

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

func (m MarkerInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerInfoMultiError) Error

func (m MarkerInfoMultiError) Error() string

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

type MarkerInfoValidationError

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

func (e MarkerInfoValidationError) Cause() error

Cause function returns cause value.

func (MarkerInfoValidationError) Error

Error satisfies the builtin error interface

func (MarkerInfoValidationError) ErrorName

func (e MarkerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerInfoValidationError) Field

Field function returns field value.

func (MarkerInfoValidationError) Key

Key function returns key value.

func (MarkerInfoValidationError) Reason

func (e MarkerInfoValidationError) Reason() string

Reason function returns reason value.

type MarkerMarker

type MarkerMarker 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"
	ExpiresAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	Data      *MarkerData          `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" alias:"markerData"` // @gotags: alias:"markerData"
	CreatorId *int32               `protobuf:"varint,5,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
	Creator   *users.UserShort     `protobuf:"bytes,6,opt,name=creator,proto3,oneof" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkerMarker) Descriptor deprecated

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

Deprecated: Use MarkerMarker.ProtoReflect.Descriptor instead.

func (*MarkerMarker) GetCreator

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

func (*MarkerMarker) GetCreatorId

func (x *MarkerMarker) GetCreatorId() int32

func (*MarkerMarker) GetData

func (x *MarkerMarker) GetData() *MarkerData

func (*MarkerMarker) GetExpiresAt

func (x *MarkerMarker) GetExpiresAt() *timestamp.Timestamp

func (*MarkerMarker) GetInfo

func (x *MarkerMarker) GetInfo() *MarkerInfo

func (*MarkerMarker) GetType

func (x *MarkerMarker) GetType() MarkerType

func (*MarkerMarker) ProtoMessage

func (*MarkerMarker) ProtoMessage()

func (*MarkerMarker) ProtoReflect

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

func (*MarkerMarker) Reset

func (x *MarkerMarker) Reset()

func (*MarkerMarker) String

func (x *MarkerMarker) String() string

func (*MarkerMarker) Validate

func (m *MarkerMarker) Validate() error

Validate checks the field values on MarkerMarker 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 (*MarkerMarker) ValidateAll

func (m *MarkerMarker) ValidateAll() error

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

type MarkerMarkerMultiError

type MarkerMarkerMultiError []error

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

func (MarkerMarkerMultiError) AllErrors

func (m MarkerMarkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerMarkerMultiError) Error

func (m MarkerMarkerMultiError) Error() string

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

type MarkerMarkerValidationError

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

MarkerMarkerValidationError is the validation error returned by MarkerMarker.Validate if the designated constraints aren't met.

func (MarkerMarkerValidationError) Cause

Cause function returns cause value.

func (MarkerMarkerValidationError) Error

Error satisfies the builtin error interface

func (MarkerMarkerValidationError) ErrorName

func (e MarkerMarkerValidationError) ErrorName() string

ErrorName returns error name.

func (MarkerMarkerValidationError) Field

Field function returns field value.

func (MarkerMarkerValidationError) Key

Key function returns key value.

func (MarkerMarkerValidationError) Reason

Reason function returns reason value.

type MarkerType

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

func (MarkerType) Descriptor() protoreflect.EnumDescriptor

func (MarkerType) Enum

func (x MarkerType) Enum() *MarkerType

func (MarkerType) EnumDescriptor deprecated

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

Deprecated: Use MarkerType.Descriptor instead.

func (MarkerType) Number

func (x MarkerType) Number() protoreflect.EnumNumber

func (MarkerType) String

func (x MarkerType) String() string

func (MarkerType) Type

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

func (x *UserMarker) GetInfo() *MarkerInfo

func (*UserMarker) GetUnit

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

func (*UserMarker) GetUnitId

func (x *UserMarker) GetUnitId() uint64

func (*UserMarker) GetUser

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

func (*UserMarker) GetUserId

func (x *UserMarker) GetUserId() int32

func (*UserMarker) Merge

func (x *UserMarker) Merge(in *UserMarker) *UserMarker

func (*UserMarker) Point

func (x *UserMarker) Point() orb.Point

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.

type UsersUpdateEvent

type UsersUpdateEvent struct {
	Added   []*UserMarker `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"`
	Removed []*UserMarker `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

func (*UsersUpdateEvent) Descriptor deprecated

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

Deprecated: Use UsersUpdateEvent.ProtoReflect.Descriptor instead.

func (*UsersUpdateEvent) GetAdded

func (x *UsersUpdateEvent) GetAdded() []*UserMarker

func (*UsersUpdateEvent) GetRemoved

func (x *UsersUpdateEvent) GetRemoved() []*UserMarker

func (*UsersUpdateEvent) ProtoMessage

func (*UsersUpdateEvent) ProtoMessage()

func (*UsersUpdateEvent) ProtoReflect

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

func (*UsersUpdateEvent) Reset

func (x *UsersUpdateEvent) Reset()

func (*UsersUpdateEvent) String

func (x *UsersUpdateEvent) String() string

func (*UsersUpdateEvent) Validate

func (m *UsersUpdateEvent) Validate() error

Validate checks the field values on UsersUpdateEvent 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 (*UsersUpdateEvent) ValidateAll

func (m *UsersUpdateEvent) ValidateAll() error

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

type UsersUpdateEventMultiError

type UsersUpdateEventMultiError []error

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

func (UsersUpdateEventMultiError) AllErrors

func (m UsersUpdateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersUpdateEventMultiError) Error

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

type UsersUpdateEventValidationError

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

UsersUpdateEventValidationError is the validation error returned by UsersUpdateEvent.Validate if the designated constraints aren't met.

func (UsersUpdateEventValidationError) Cause

Cause function returns cause value.

func (UsersUpdateEventValidationError) Error

Error satisfies the builtin error interface

func (UsersUpdateEventValidationError) ErrorName

ErrorName returns error name.

func (UsersUpdateEventValidationError) Field

Field function returns field value.

func (UsersUpdateEventValidationError) Key

Key function returns key value.

func (UsersUpdateEventValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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