Documentation
¶
Index ¶
- Variables
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetContent() []byte
- func (x *Attachment) GetType() string
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- func (m *Attachment) Validate() error
- func (m *Attachment) ValidateAll() error
- type AttachmentMultiError
- type AttachmentValidationError
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)deprecated
- func (x *Chat) GetAdmins() []string
- func (x *Chat) GetBotState() map[string]*structpb.Value
- func (x *Chat) GetCreated() int64
- func (x *Chat) GetDepartment() string
- func (x *Chat) GetGateways() []string
- func (x *Chat) GetMeta() *ChatMeta
- func (x *Chat) GetOwner() string
- func (x *Chat) GetResponsible() string
- func (x *Chat) GetRole() Role
- func (x *Chat) GetStatus() Status
- func (x *Chat) GetTopic() string
- func (x *Chat) GetUsers() []string
- func (x *Chat) GetUuid() string
- func (*Chat) ProtoMessage()
- func (x *Chat) ProtoReflect() protoreflect.Message
- func (x *Chat) Reset()
- func (x *Chat) String() string
- func (m *Chat) Validate() error
- func (m *Chat) ValidateAll() error
- type ChatMeta
- func (*ChatMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMeta) GetData() map[string]*structpb.Value
- func (x *ChatMeta) GetFirstMessage() *Message
- func (x *ChatMeta) GetLastMessage() *Message
- func (x *ChatMeta) GetUnread() int32
- func (*ChatMeta) ProtoMessage()
- func (x *ChatMeta) ProtoReflect() protoreflect.Message
- func (x *ChatMeta) Reset()
- func (x *ChatMeta) String() string
- func (m *ChatMeta) Validate() error
- func (m *ChatMeta) ValidateAll() error
- type ChatMetaMultiError
- type ChatMetaValidationError
- type ChatMultiError
- type ChatValidationError
- type Chats
- type ChatsMultiError
- type ChatsValidationError
- type CountChatsRequest
- func (*CountChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountChatsRequest) GetFilters() map[string]*structpb.Value
- func (*CountChatsRequest) ProtoMessage()
- func (x *CountChatsRequest) ProtoReflect() protoreflect.Message
- func (x *CountChatsRequest) Reset()
- func (x *CountChatsRequest) String() string
- func (m *CountChatsRequest) Validate() error
- func (m *CountChatsRequest) ValidateAll() error
- type CountChatsRequestMultiError
- type CountChatsRequestValidationError
- func (e CountChatsRequestValidationError) Cause() error
- func (e CountChatsRequestValidationError) Error() string
- func (e CountChatsRequestValidationError) ErrorName() string
- func (e CountChatsRequestValidationError) Field() string
- func (e CountChatsRequestValidationError) Key() bool
- func (e CountChatsRequestValidationError) Reason() string
- type CountChatsResponse
- func (*CountChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountChatsResponse) GetStatuses() map[int32]int64
- func (*CountChatsResponse) ProtoMessage()
- func (x *CountChatsResponse) ProtoReflect() protoreflect.Message
- func (x *CountChatsResponse) Reset()
- func (x *CountChatsResponse) String() string
- func (m *CountChatsResponse) Validate() error
- func (m *CountChatsResponse) ValidateAll() error
- type CountChatsResponseMultiError
- type CountChatsResponseValidationError
- func (e CountChatsResponseValidationError) Cause() error
- func (e CountChatsResponseValidationError) Error() string
- func (e CountChatsResponseValidationError) ErrorName() string
- func (e CountChatsResponseValidationError) Field() string
- func (e CountChatsResponseValidationError) Key() bool
- func (e CountChatsResponseValidationError) Reason() string
- type Defaults
- func (*Defaults) Descriptor() ([]byte, []int)deprecated
- func (x *Defaults) GetAdmins() []string
- func (x *Defaults) GetDepartments() []*Department
- func (x *Defaults) GetGateways() []string
- func (x *Defaults) GetMetrics() map[string]*Metric
- func (x *Defaults) GetTemplates() map[string]string
- func (*Defaults) ProtoMessage()
- func (x *Defaults) ProtoReflect() protoreflect.Message
- func (x *Defaults) Reset()
- func (x *Defaults) String() string
- func (m *Defaults) Validate() error
- func (m *Defaults) ValidateAll() error
- type DefaultsMultiError
- type DefaultsValidationError
- type Department
- func (*Department) Descriptor() ([]byte, []int)deprecated
- func (x *Department) GetAdmins() []string
- func (x *Department) GetDescription() string
- func (x *Department) GetKey() string
- func (x *Department) GetPublic() bool
- func (x *Department) GetTitle() string
- func (x *Department) GetWhmcsId() string
- func (*Department) ProtoMessage()
- func (x *Department) ProtoReflect() protoreflect.Message
- func (x *Department) Reset()
- func (x *Department) String() string
- func (m *Department) Validate() error
- func (m *Department) ValidateAll() error
- type DepartmentMultiError
- type DepartmentValidationError
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetChat() *Chat
- func (m *Event) GetItem() isEvent_Item
- func (x *Event) GetMsg() *Message
- func (x *Event) GetType() EventType
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (m *Event) Validate() error
- func (m *Event) ValidateAll() error
- type EventMultiError
- type EventType
- type EventValidationError
- type Event_Chat
- type Event_Msg
- type FetchDefaultsRequest
- func (*FetchDefaultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDefaultsRequest) GetFetchTemplates() bool
- func (*FetchDefaultsRequest) ProtoMessage()
- func (x *FetchDefaultsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchDefaultsRequest) Reset()
- func (x *FetchDefaultsRequest) String() string
- func (m *FetchDefaultsRequest) Validate() error
- func (m *FetchDefaultsRequest) ValidateAll() error
- type FetchDefaultsRequestMultiError
- type FetchDefaultsRequestValidationError
- func (e FetchDefaultsRequestValidationError) Cause() error
- func (e FetchDefaultsRequestValidationError) Error() string
- func (e FetchDefaultsRequestValidationError) ErrorName() string
- func (e FetchDefaultsRequestValidationError) Field() string
- func (e FetchDefaultsRequestValidationError) Key() bool
- func (e FetchDefaultsRequestValidationError) Reason() string
- type GetMembersRequest
- func (*GetMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMembersRequest) GetUuids() []string
- func (*GetMembersRequest) ProtoMessage()
- func (x *GetMembersRequest) ProtoReflect() protoreflect.Message
- func (x *GetMembersRequest) Reset()
- func (x *GetMembersRequest) String() string
- func (m *GetMembersRequest) Validate() error
- func (m *GetMembersRequest) ValidateAll() error
- type GetMembersRequestMultiError
- type GetMembersRequestValidationError
- func (e GetMembersRequestValidationError) Cause() error
- func (e GetMembersRequestValidationError) Error() string
- func (e GetMembersRequestValidationError) ErrorName() string
- func (e GetMembersRequestValidationError) Field() string
- func (e GetMembersRequestValidationError) Key() bool
- func (e GetMembersRequestValidationError) Reason() string
- type Kind
- type ListChatsRequest
- func (*ListChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChatsRequest) GetField() string
- func (x *ListChatsRequest) GetFilters() map[string]*structpb.Value
- func (x *ListChatsRequest) GetLimit() uint64
- func (x *ListChatsRequest) GetPage() uint64
- func (x *ListChatsRequest) GetSort() string
- func (*ListChatsRequest) ProtoMessage()
- func (x *ListChatsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChatsRequest) Reset()
- func (x *ListChatsRequest) String() string
- func (m *ListChatsRequest) Validate() error
- func (m *ListChatsRequest) ValidateAll() error
- type ListChatsRequestMultiError
- type ListChatsRequestValidationError
- func (e ListChatsRequestValidationError) Cause() error
- func (e ListChatsRequestValidationError) Error() string
- func (e ListChatsRequestValidationError) ErrorName() string
- func (e ListChatsRequestValidationError) Field() string
- func (e ListChatsRequestValidationError) Key() bool
- func (e ListChatsRequestValidationError) Reason() string
- type ListChatsResponse
- func (*ListChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChatsResponse) GetPool() []*Chat
- func (x *ListChatsResponse) GetTotal() int64
- func (*ListChatsResponse) ProtoMessage()
- func (x *ListChatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChatsResponse) Reset()
- func (x *ListChatsResponse) String() string
- func (m *ListChatsResponse) Validate() error
- func (m *ListChatsResponse) ValidateAll() error
- type ListChatsResponseMultiError
- type ListChatsResponseValidationError
- func (e ListChatsResponseValidationError) Cause() error
- func (e ListChatsResponseValidationError) Error() string
- func (e ListChatsResponseValidationError) ErrorName() string
- func (e ListChatsResponseValidationError) Field() string
- func (e ListChatsResponseValidationError) Key() bool
- func (e ListChatsResponseValidationError) Reason() string
- type Merge
- type MergeMultiError
- type MergeValidationError
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAttachments() []string
- func (x *Message) GetChat() string
- func (x *Message) GetContent() string
- func (x *Message) GetEdited() int64
- func (x *Message) GetGateways() []string
- func (x *Message) GetKind() Kind
- func (x *Message) GetMentioned() []string
- func (x *Message) GetMeta() map[string]*structpb.Value
- func (x *Message) GetReaders() []string
- func (x *Message) GetSender() string
- func (x *Message) GetSent() int64
- func (x *Message) GetUnderReview() bool
- func (x *Message) GetUuid() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageMultiError
- type MessageValidationError
- type Messages
- func (*Messages) Descriptor() ([]byte, []int)deprecated
- func (x *Messages) GetMessages() []*Message
- func (*Messages) ProtoMessage()
- func (x *Messages) ProtoReflect() protoreflect.Message
- func (x *Messages) Reset()
- func (x *Messages) String() string
- func (m *Messages) Validate() error
- func (m *Messages) ValidateAll() error
- type MessagesMultiError
- type MessagesValidationError
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetOptions() []*Option
- func (x *Metric) GetTitle() string
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- func (m *Metric) Validate() error
- func (m *Metric) ValidateAll() error
- type MetricMultiError
- type MetricValidationError
- type Option
- func (*Option) Descriptor() ([]byte, []int)deprecated
- func (x *Option) GetKey() string
- func (x *Option) GetValue() float32
- func (*Option) ProtoMessage()
- func (x *Option) ProtoReflect() protoreflect.Message
- func (x *Option) Reset()
- func (x *Option) String() string
- func (m *Option) Validate() error
- func (m *Option) ValidateAll() error
- type OptionMultiError
- type OptionValidationError
- type Role
- type Status
- type StreamRequest
- func (*StreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamRequest) GetCommands() map[string]string
- func (*StreamRequest) ProtoMessage()
- func (x *StreamRequest) ProtoReflect() protoreflect.Message
- func (x *StreamRequest) Reset()
- func (x *StreamRequest) String() string
- func (m *StreamRequest) Validate() error
- func (m *StreamRequest) ValidateAll() error
- type StreamRequestMultiError
- type StreamRequestValidationError
- func (e StreamRequestValidationError) Cause() error
- func (e StreamRequestValidationError) Error() string
- func (e StreamRequestValidationError) ErrorName() string
- func (e StreamRequestValidationError) Field() string
- func (e StreamRequestValidationError) Key() bool
- func (e StreamRequestValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCcCommands() map[string]string
- func (x *User) GetCcIsBot() bool
- func (x *User) GetCcUsername() string
- func (x *User) GetData() *structpb.Struct
- func (x *User) GetTitle() string
- func (x *User) GetUuid() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
- type Users
- type UsersMultiError
- type UsersValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Role_name = map[int32]string{ 0: "NOACCESS", 1: "USER", 2: "OWNER", 3: "ADMIN", } Role_value = map[string]int32{ "NOACCESS": 0, "USER": 1, "OWNER": 2, "ADMIN": 3, } )
Enum value maps for Role.
var ( Status_name = map[int32]string{ 0: "NEW", 1: "OPEN", 2: "RESOLVE", 3: "CLOSE", 4: "ANSWERED", 5: "CUSTOMER_REPLY", 6: "WAITING_FOR_REPLY", 7: "ON_HOLD", 8: "IN_PROGRESS", } Status_value = map[string]int32{ "NEW": 0, "OPEN": 1, "RESOLVE": 2, "CLOSE": 3, "ANSWERED": 4, "CUSTOMER_REPLY": 5, "WAITING_FOR_REPLY": 6, "ON_HOLD": 7, "IN_PROGRESS": 8, } )
Enum value maps for Status.
var ( Kind_name = map[int32]string{ 0: "DEFAULT", 1: "ADMIN_ONLY", 2: "FOR_BOT", } Kind_value = map[string]int32{ "DEFAULT": 0, "ADMIN_ONLY": 1, "FOR_BOT": 2, } )
Enum value maps for Kind.
var ( EventType_name = map[int32]string{ 0: "PING", 1: "CHAT_CREATED", 2: "CHAT_UPDATED", 3: "CHAT_DELETED", 4: "CHAT_READ", 5: "MESSAGE_SENT", 6: "MESSAGE_UPDATED", 7: "MESSAGE_DELETED", 8: "CHAT_DEPARTMENT_CHANGED", 9: "CHAT_STATUS_CHANGED", 10: "CHATS_MERGED", } EventType_value = map[string]int32{ "PING": 0, "CHAT_CREATED": 1, "CHAT_UPDATED": 2, "CHAT_DELETED": 3, "CHAT_READ": 4, "MESSAGE_SENT": 5, "MESSAGE_UPDATED": 6, "MESSAGE_DELETED": 7, "CHAT_DEPARTMENT_CHANGED": 8, "CHAT_STATUS_CHANGED": 9, "CHATS_MERGED": 10, } )
Enum value maps for EventType.
var File_cc_cc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetContent ¶
func (x *Attachment) GetContent() []byte
func (*Attachment) GetType ¶
func (x *Attachment) GetType() string
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
func (*Attachment) Validate ¶
func (m *Attachment) Validate() error
Validate checks the field values on Attachment 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 (*Attachment) ValidateAll ¶
func (m *Attachment) ValidateAll() error
ValidateAll checks the field values on Attachment 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 AttachmentMultiError, or nil if none found.
type AttachmentMultiError ¶
type AttachmentMultiError []error
AttachmentMultiError is an error wrapping multiple validation errors returned by Attachment.ValidateAll() if the designated constraints aren't met.
func (AttachmentMultiError) AllErrors ¶
func (m AttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttachmentMultiError) Error ¶
func (m AttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttachmentValidationError ¶
type AttachmentValidationError struct {
// contains filtered or unexported fields
}
AttachmentValidationError is the validation error returned by Attachment.Validate if the designated constraints aren't met.
func (AttachmentValidationError) Cause ¶
func (e AttachmentValidationError) Cause() error
Cause function returns cause value.
func (AttachmentValidationError) Error ¶
func (e AttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (AttachmentValidationError) ErrorName ¶
func (e AttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (AttachmentValidationError) Field ¶
func (e AttachmentValidationError) Field() string
Field function returns field value.
func (AttachmentValidationError) Key ¶
func (e AttachmentValidationError) Key() bool
Key function returns key value.
func (AttachmentValidationError) Reason ¶
func (e AttachmentValidationError) Reason() string
Reason function returns reason value.
type Chat ¶
type Chat struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` Admins []string `protobuf:"bytes,3,rep,name=admins,proto3" json:"admins,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Gateways []string `protobuf:"bytes,5,rep,name=gateways,proto3" json:"gateways,omitempty"` Role Role `protobuf:"varint,6,opt,name=role,proto3,enum=cc.Role" json:"role,omitempty"` Topic *string `protobuf:"bytes,7,opt,name=topic,proto3,oneof" json:"topic,omitempty"` Meta *ChatMeta `protobuf:"bytes,8,opt,name=meta,proto3,oneof" json:"meta,omitempty"` Created int64 `protobuf:"varint,9,opt,name=created,proto3" json:"created,omitempty"` Status Status `protobuf:"varint,10,opt,name=status,proto3,enum=cc.Status" json:"status,omitempty"` Department string `protobuf:"bytes,11,opt,name=department,proto3" json:"department,omitempty"` Responsible *string `protobuf:"bytes,12,opt,name=responsible,proto3,oneof" json:"responsible,omitempty"` BotState map[string]*structpb.Value `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Chat) Descriptor
deprecated
func (*Chat) GetCreated ¶
func (*Chat) GetDepartment ¶
func (*Chat) GetGateways ¶
func (*Chat) GetResponsible ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
func (*Chat) Validate ¶
Validate checks the field values on Chat 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 (*Chat) ValidateAll ¶
ValidateAll checks the field values on Chat 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 ChatMultiError, or nil if none found.
type ChatMeta ¶
type ChatMeta struct { Unread int32 `protobuf:"varint,1,opt,name=unread,proto3" json:"unread,omitempty"` FirstMessage *Message `protobuf:"bytes,2,opt,name=first_message,json=firstMessage,proto3" json:"first_message,omitempty"` LastMessage *Message `protobuf:"bytes,3,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"` Data map[string]*structpb.Value `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChatMeta) Descriptor
deprecated
func (*ChatMeta) GetFirstMessage ¶
func (*ChatMeta) GetLastMessage ¶
func (*ChatMeta) ProtoMessage ¶
func (*ChatMeta) ProtoMessage()
func (*ChatMeta) ProtoReflect ¶
func (x *ChatMeta) ProtoReflect() protoreflect.Message
func (*ChatMeta) Validate ¶
Validate checks the field values on ChatMeta 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 (*ChatMeta) ValidateAll ¶
ValidateAll checks the field values on ChatMeta 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 ChatMetaMultiError, or nil if none found.
type ChatMetaMultiError ¶
type ChatMetaMultiError []error
ChatMetaMultiError is an error wrapping multiple validation errors returned by ChatMeta.ValidateAll() if the designated constraints aren't met.
func (ChatMetaMultiError) AllErrors ¶
func (m ChatMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChatMetaMultiError) Error ¶
func (m ChatMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChatMetaValidationError ¶
type ChatMetaValidationError struct {
// contains filtered or unexported fields
}
ChatMetaValidationError is the validation error returned by ChatMeta.Validate if the designated constraints aren't met.
func (ChatMetaValidationError) Cause ¶
func (e ChatMetaValidationError) Cause() error
Cause function returns cause value.
func (ChatMetaValidationError) Error ¶
func (e ChatMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMetaValidationError) ErrorName ¶
func (e ChatMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMetaValidationError) Field ¶
func (e ChatMetaValidationError) Field() string
Field function returns field value.
func (ChatMetaValidationError) Key ¶
func (e ChatMetaValidationError) Key() bool
Key function returns key value.
func (ChatMetaValidationError) Reason ¶
func (e ChatMetaValidationError) Reason() string
Reason function returns reason value.
type ChatMultiError ¶
type ChatMultiError []error
ChatMultiError is an error wrapping multiple validation errors returned by Chat.ValidateAll() if the designated constraints aren't met.
func (ChatMultiError) AllErrors ¶
func (m ChatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChatMultiError) Error ¶
func (m ChatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChatValidationError ¶
type ChatValidationError struct {
// contains filtered or unexported fields
}
ChatValidationError is the validation error returned by Chat.Validate if the designated constraints aren't met.
func (ChatValidationError) Cause ¶
func (e ChatValidationError) Cause() error
Cause function returns cause value.
func (ChatValidationError) Error ¶
func (e ChatValidationError) Error() string
Error satisfies the builtin error interface
func (ChatValidationError) ErrorName ¶
func (e ChatValidationError) ErrorName() string
ErrorName returns error name.
func (ChatValidationError) Field ¶
func (e ChatValidationError) Field() string
Field function returns field value.
func (ChatValidationError) Key ¶
func (e ChatValidationError) Key() bool
Key function returns key value.
func (ChatValidationError) Reason ¶
func (e ChatValidationError) Reason() string
Reason function returns reason value.
type Chats ¶
type Chats struct { Chats []*Chat `protobuf:"bytes,1,rep,name=chats,proto3" json:"chats,omitempty"` // contains filtered or unexported fields }
func (*Chats) Descriptor
deprecated
func (*Chats) ProtoMessage ¶
func (*Chats) ProtoMessage()
func (*Chats) ProtoReflect ¶
func (x *Chats) ProtoReflect() protoreflect.Message
func (*Chats) Validate ¶
Validate checks the field values on Chats 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 (*Chats) ValidateAll ¶
ValidateAll checks the field values on Chats 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 ChatsMultiError, or nil if none found.
type ChatsMultiError ¶
type ChatsMultiError []error
ChatsMultiError is an error wrapping multiple validation errors returned by Chats.ValidateAll() if the designated constraints aren't met.
func (ChatsMultiError) AllErrors ¶
func (m ChatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChatsMultiError) Error ¶
func (m ChatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChatsValidationError ¶
type ChatsValidationError struct {
// contains filtered or unexported fields
}
ChatsValidationError is the validation error returned by Chats.Validate if the designated constraints aren't met.
func (ChatsValidationError) Cause ¶
func (e ChatsValidationError) Cause() error
Cause function returns cause value.
func (ChatsValidationError) Error ¶
func (e ChatsValidationError) Error() string
Error satisfies the builtin error interface
func (ChatsValidationError) ErrorName ¶
func (e ChatsValidationError) ErrorName() string
ErrorName returns error name.
func (ChatsValidationError) Field ¶
func (e ChatsValidationError) Field() string
Field function returns field value.
func (ChatsValidationError) Key ¶
func (e ChatsValidationError) Key() bool
Key function returns key value.
func (ChatsValidationError) Reason ¶
func (e ChatsValidationError) Reason() string
Reason function returns reason value.
type CountChatsRequest ¶
type CountChatsRequest struct { Filters map[string]*structpb.Value `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CountChatsRequest) Descriptor
deprecated
func (*CountChatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountChatsRequest.ProtoReflect.Descriptor instead.
func (*CountChatsRequest) GetFilters ¶
func (x *CountChatsRequest) GetFilters() map[string]*structpb.Value
func (*CountChatsRequest) ProtoMessage ¶
func (*CountChatsRequest) ProtoMessage()
func (*CountChatsRequest) ProtoReflect ¶
func (x *CountChatsRequest) ProtoReflect() protoreflect.Message
func (*CountChatsRequest) Reset ¶
func (x *CountChatsRequest) Reset()
func (*CountChatsRequest) String ¶
func (x *CountChatsRequest) String() string
func (*CountChatsRequest) Validate ¶
func (m *CountChatsRequest) Validate() error
Validate checks the field values on CountChatsRequest 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 (*CountChatsRequest) ValidateAll ¶
func (m *CountChatsRequest) ValidateAll() error
ValidateAll checks the field values on CountChatsRequest 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 CountChatsRequestMultiError, or nil if none found.
type CountChatsRequestMultiError ¶
type CountChatsRequestMultiError []error
CountChatsRequestMultiError is an error wrapping multiple validation errors returned by CountChatsRequest.ValidateAll() if the designated constraints aren't met.
func (CountChatsRequestMultiError) AllErrors ¶
func (m CountChatsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountChatsRequestMultiError) Error ¶
func (m CountChatsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountChatsRequestValidationError ¶
type CountChatsRequestValidationError struct {
// contains filtered or unexported fields
}
CountChatsRequestValidationError is the validation error returned by CountChatsRequest.Validate if the designated constraints aren't met.
func (CountChatsRequestValidationError) Cause ¶
func (e CountChatsRequestValidationError) Cause() error
Cause function returns cause value.
func (CountChatsRequestValidationError) Error ¶
func (e CountChatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CountChatsRequestValidationError) ErrorName ¶
func (e CountChatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CountChatsRequestValidationError) Field ¶
func (e CountChatsRequestValidationError) Field() string
Field function returns field value.
func (CountChatsRequestValidationError) Key ¶
func (e CountChatsRequestValidationError) Key() bool
Key function returns key value.
func (CountChatsRequestValidationError) Reason ¶
func (e CountChatsRequestValidationError) Reason() string
Reason function returns reason value.
type CountChatsResponse ¶
type CountChatsResponse struct { Statuses map[int32]int64 `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CountChatsResponse) Descriptor
deprecated
func (*CountChatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountChatsResponse.ProtoReflect.Descriptor instead.
func (*CountChatsResponse) GetStatuses ¶
func (x *CountChatsResponse) GetStatuses() map[int32]int64
func (*CountChatsResponse) ProtoMessage ¶
func (*CountChatsResponse) ProtoMessage()
func (*CountChatsResponse) ProtoReflect ¶
func (x *CountChatsResponse) ProtoReflect() protoreflect.Message
func (*CountChatsResponse) Reset ¶
func (x *CountChatsResponse) Reset()
func (*CountChatsResponse) String ¶
func (x *CountChatsResponse) String() string
func (*CountChatsResponse) Validate ¶
func (m *CountChatsResponse) Validate() error
Validate checks the field values on CountChatsResponse 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 (*CountChatsResponse) ValidateAll ¶
func (m *CountChatsResponse) ValidateAll() error
ValidateAll checks the field values on CountChatsResponse 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 CountChatsResponseMultiError, or nil if none found.
type CountChatsResponseMultiError ¶
type CountChatsResponseMultiError []error
CountChatsResponseMultiError is an error wrapping multiple validation errors returned by CountChatsResponse.ValidateAll() if the designated constraints aren't met.
func (CountChatsResponseMultiError) AllErrors ¶
func (m CountChatsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountChatsResponseMultiError) Error ¶
func (m CountChatsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountChatsResponseValidationError ¶
type CountChatsResponseValidationError struct {
// contains filtered or unexported fields
}
CountChatsResponseValidationError is the validation error returned by CountChatsResponse.Validate if the designated constraints aren't met.
func (CountChatsResponseValidationError) Cause ¶
func (e CountChatsResponseValidationError) Cause() error
Cause function returns cause value.
func (CountChatsResponseValidationError) Error ¶
func (e CountChatsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CountChatsResponseValidationError) ErrorName ¶
func (e CountChatsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CountChatsResponseValidationError) Field ¶
func (e CountChatsResponseValidationError) Field() string
Field function returns field value.
func (CountChatsResponseValidationError) Key ¶
func (e CountChatsResponseValidationError) Key() bool
Key function returns key value.
func (CountChatsResponseValidationError) Reason ¶
func (e CountChatsResponseValidationError) Reason() string
Reason function returns reason value.
type Defaults ¶
type Defaults struct { Gateways []string `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"` Admins []string `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"` Departments []*Department `protobuf:"bytes,3,rep,name=departments,proto3" json:"departments,omitempty"` Metrics map[string]*Metric `` /* 155-byte string literal not displayed */ Templates map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Defaults) Descriptor
deprecated
func (*Defaults) GetDepartments ¶
func (x *Defaults) GetDepartments() []*Department
func (*Defaults) GetGateways ¶
func (*Defaults) GetMetrics ¶
func (*Defaults) GetTemplates ¶
func (*Defaults) ProtoMessage ¶
func (*Defaults) ProtoMessage()
func (*Defaults) ProtoReflect ¶
func (x *Defaults) ProtoReflect() protoreflect.Message
func (*Defaults) Validate ¶
Validate checks the field values on Defaults 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 (*Defaults) ValidateAll ¶
ValidateAll checks the field values on Defaults 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 DefaultsMultiError, or nil if none found.
type DefaultsMultiError ¶
type DefaultsMultiError []error
DefaultsMultiError is an error wrapping multiple validation errors returned by Defaults.ValidateAll() if the designated constraints aren't met.
func (DefaultsMultiError) AllErrors ¶
func (m DefaultsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DefaultsMultiError) Error ¶
func (m DefaultsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DefaultsValidationError ¶
type DefaultsValidationError struct {
// contains filtered or unexported fields
}
DefaultsValidationError is the validation error returned by Defaults.Validate if the designated constraints aren't met.
func (DefaultsValidationError) Cause ¶
func (e DefaultsValidationError) Cause() error
Cause function returns cause value.
func (DefaultsValidationError) Error ¶
func (e DefaultsValidationError) Error() string
Error satisfies the builtin error interface
func (DefaultsValidationError) ErrorName ¶
func (e DefaultsValidationError) ErrorName() string
ErrorName returns error name.
func (DefaultsValidationError) Field ¶
func (e DefaultsValidationError) Field() string
Field function returns field value.
func (DefaultsValidationError) Key ¶
func (e DefaultsValidationError) Key() bool
Key function returns key value.
func (DefaultsValidationError) Reason ¶
func (e DefaultsValidationError) Reason() string
Reason function returns reason value.
type Department ¶
type Department struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Admins []string `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"` Public bool `protobuf:"varint,5,opt,name=public,proto3" json:"public,omitempty"` WhmcsId *string `protobuf:"bytes,6,opt,name=whmcs_id,json=whmcsId,proto3,oneof" json:"whmcs_id,omitempty"` // contains filtered or unexported fields }
func (*Department) Descriptor
deprecated
func (*Department) Descriptor() ([]byte, []int)
Deprecated: Use Department.ProtoReflect.Descriptor instead.
func (*Department) GetAdmins ¶
func (x *Department) GetAdmins() []string
func (*Department) GetDescription ¶
func (x *Department) GetDescription() string
func (*Department) GetKey ¶
func (x *Department) GetKey() string
func (*Department) GetPublic ¶
func (x *Department) GetPublic() bool
func (*Department) GetTitle ¶
func (x *Department) GetTitle() string
func (*Department) GetWhmcsId ¶
func (x *Department) GetWhmcsId() string
func (*Department) ProtoMessage ¶
func (*Department) ProtoMessage()
func (*Department) ProtoReflect ¶
func (x *Department) ProtoReflect() protoreflect.Message
func (*Department) Reset ¶
func (x *Department) Reset()
func (*Department) String ¶
func (x *Department) String() string
func (*Department) Validate ¶
func (m *Department) Validate() error
Validate checks the field values on Department 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 (*Department) ValidateAll ¶
func (m *Department) ValidateAll() error
ValidateAll checks the field values on Department 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 DepartmentMultiError, or nil if none found.
type DepartmentMultiError ¶
type DepartmentMultiError []error
DepartmentMultiError is an error wrapping multiple validation errors returned by Department.ValidateAll() if the designated constraints aren't met.
func (DepartmentMultiError) AllErrors ¶
func (m DepartmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DepartmentMultiError) Error ¶
func (m DepartmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DepartmentValidationError ¶
type DepartmentValidationError struct {
// contains filtered or unexported fields
}
DepartmentValidationError is the validation error returned by Department.Validate if the designated constraints aren't met.
func (DepartmentValidationError) Cause ¶
func (e DepartmentValidationError) Cause() error
Cause function returns cause value.
func (DepartmentValidationError) Error ¶
func (e DepartmentValidationError) Error() string
Error satisfies the builtin error interface
func (DepartmentValidationError) ErrorName ¶
func (e DepartmentValidationError) ErrorName() string
ErrorName returns error name.
func (DepartmentValidationError) Field ¶
func (e DepartmentValidationError) Field() string
Field function returns field value.
func (DepartmentValidationError) Key ¶
func (e DepartmentValidationError) Key() bool
Key function returns key value.
func (DepartmentValidationError) Reason ¶
func (e DepartmentValidationError) Reason() string
Reason function returns reason value.
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Validate ¶
Validate checks the field values on Empty 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 (*Empty) ValidateAll ¶
ValidateAll checks the field values on Empty 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 EmptyMultiError, or nil if none found.
type EmptyMultiError ¶
type EmptyMultiError []error
EmptyMultiError is an error wrapping multiple validation errors returned by Empty.ValidateAll() if the designated constraints aren't met.
func (EmptyMultiError) AllErrors ¶
func (m EmptyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyMultiError) Error ¶
func (m EmptyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type Event ¶
type Event struct { Type EventType `protobuf:"varint,1,opt,name=type,proto3,enum=cc.EventType" json:"type,omitempty"` // Types that are assignable to Item: // // *Event_Chat // *Event_Msg Item isEvent_Item `protobuf_oneof:"item"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Validate ¶
Validate checks the field values on Event 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 (*Event) ValidateAll ¶
ValidateAll checks the field values on Event 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 EventMultiError, or nil if none found.
type EventMultiError ¶
type EventMultiError []error
EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.
func (EventMultiError) AllErrors ¶
func (m EventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMultiError) Error ¶
func (m EventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventType ¶
type EventType int32
const ( EventType_PING EventType = 0 EventType_CHAT_CREATED EventType = 1 EventType_CHAT_UPDATED EventType = 2 EventType_CHAT_DELETED EventType = 3 EventType_CHAT_READ EventType = 4 EventType_MESSAGE_SENT EventType = 5 EventType_MESSAGE_UPDATED EventType = 6 EventType_MESSAGE_DELETED EventType = 7 EventType_CHAT_DEPARTMENT_CHANGED EventType = 8 EventType_CHAT_STATUS_CHANGED EventType = 9 EventType_CHATS_MERGED EventType = 10 )
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Event_Chat ¶
type Event_Chat struct {
Chat *Chat `protobuf:"bytes,2,opt,name=chat,proto3,oneof"`
}
type Event_Msg ¶
type Event_Msg struct {
Msg *Message `protobuf:"bytes,3,opt,name=msg,proto3,oneof"`
}
type FetchDefaultsRequest ¶
type FetchDefaultsRequest struct { FetchTemplates bool `protobuf:"varint,1,opt,name=fetch_templates,json=fetchTemplates,proto3" json:"fetch_templates,omitempty"` // contains filtered or unexported fields }
func (*FetchDefaultsRequest) Descriptor
deprecated
func (*FetchDefaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchDefaultsRequest.ProtoReflect.Descriptor instead.
func (*FetchDefaultsRequest) GetFetchTemplates ¶
func (x *FetchDefaultsRequest) GetFetchTemplates() bool
func (*FetchDefaultsRequest) ProtoMessage ¶
func (*FetchDefaultsRequest) ProtoMessage()
func (*FetchDefaultsRequest) ProtoReflect ¶
func (x *FetchDefaultsRequest) ProtoReflect() protoreflect.Message
func (*FetchDefaultsRequest) Reset ¶
func (x *FetchDefaultsRequest) Reset()
func (*FetchDefaultsRequest) String ¶
func (x *FetchDefaultsRequest) String() string
func (*FetchDefaultsRequest) Validate ¶
func (m *FetchDefaultsRequest) Validate() error
Validate checks the field values on FetchDefaultsRequest 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 (*FetchDefaultsRequest) ValidateAll ¶
func (m *FetchDefaultsRequest) ValidateAll() error
ValidateAll checks the field values on FetchDefaultsRequest 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 FetchDefaultsRequestMultiError, or nil if none found.
type FetchDefaultsRequestMultiError ¶
type FetchDefaultsRequestMultiError []error
FetchDefaultsRequestMultiError is an error wrapping multiple validation errors returned by FetchDefaultsRequest.ValidateAll() if the designated constraints aren't met.
func (FetchDefaultsRequestMultiError) AllErrors ¶
func (m FetchDefaultsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FetchDefaultsRequestMultiError) Error ¶
func (m FetchDefaultsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FetchDefaultsRequestValidationError ¶
type FetchDefaultsRequestValidationError struct {
// contains filtered or unexported fields
}
FetchDefaultsRequestValidationError is the validation error returned by FetchDefaultsRequest.Validate if the designated constraints aren't met.
func (FetchDefaultsRequestValidationError) Cause ¶
func (e FetchDefaultsRequestValidationError) Cause() error
Cause function returns cause value.
func (FetchDefaultsRequestValidationError) Error ¶
func (e FetchDefaultsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FetchDefaultsRequestValidationError) ErrorName ¶
func (e FetchDefaultsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FetchDefaultsRequestValidationError) Field ¶
func (e FetchDefaultsRequestValidationError) Field() string
Field function returns field value.
func (FetchDefaultsRequestValidationError) Key ¶
func (e FetchDefaultsRequestValidationError) Key() bool
Key function returns key value.
func (FetchDefaultsRequestValidationError) Reason ¶
func (e FetchDefaultsRequestValidationError) Reason() string
Reason function returns reason value.
type GetMembersRequest ¶
type GetMembersRequest struct { Uuids []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"` // contains filtered or unexported fields }
func (*GetMembersRequest) Descriptor
deprecated
func (*GetMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMembersRequest.ProtoReflect.Descriptor instead.
func (*GetMembersRequest) GetUuids ¶
func (x *GetMembersRequest) GetUuids() []string
func (*GetMembersRequest) ProtoMessage ¶
func (*GetMembersRequest) ProtoMessage()
func (*GetMembersRequest) ProtoReflect ¶
func (x *GetMembersRequest) ProtoReflect() protoreflect.Message
func (*GetMembersRequest) Reset ¶
func (x *GetMembersRequest) Reset()
func (*GetMembersRequest) String ¶
func (x *GetMembersRequest) String() string
func (*GetMembersRequest) Validate ¶
func (m *GetMembersRequest) Validate() error
Validate checks the field values on GetMembersRequest 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 (*GetMembersRequest) ValidateAll ¶
func (m *GetMembersRequest) ValidateAll() error
ValidateAll checks the field values on GetMembersRequest 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 GetMembersRequestMultiError, or nil if none found.
type GetMembersRequestMultiError ¶
type GetMembersRequestMultiError []error
GetMembersRequestMultiError is an error wrapping multiple validation errors returned by GetMembersRequest.ValidateAll() if the designated constraints aren't met.
func (GetMembersRequestMultiError) AllErrors ¶
func (m GetMembersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMembersRequestMultiError) Error ¶
func (m GetMembersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMembersRequestValidationError ¶
type GetMembersRequestValidationError struct {
// contains filtered or unexported fields
}
GetMembersRequestValidationError is the validation error returned by GetMembersRequest.Validate if the designated constraints aren't met.
func (GetMembersRequestValidationError) Cause ¶
func (e GetMembersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMembersRequestValidationError) Error ¶
func (e GetMembersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMembersRequestValidationError) ErrorName ¶
func (e GetMembersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMembersRequestValidationError) Field ¶
func (e GetMembersRequestValidationError) Field() string
Field function returns field value.
func (GetMembersRequestValidationError) Key ¶
func (e GetMembersRequestValidationError) Key() bool
Key function returns key value.
func (GetMembersRequestValidationError) Reason ¶
func (e GetMembersRequestValidationError) Reason() string
Reason function returns reason value.
type Kind ¶
type Kind int32
func (Kind) Descriptor ¶
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
func (Kind) Number ¶
func (x Kind) Number() protoreflect.EnumNumber
func (Kind) Type ¶
func (Kind) Type() protoreflect.EnumType
type ListChatsRequest ¶
type ListChatsRequest struct { Page *uint64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"` Limit *uint64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Field *string `protobuf:"bytes,3,opt,name=field,proto3,oneof" json:"field,omitempty"` // Sort field Sort *string `protobuf:"bytes,4,opt,name=sort,proto3,oneof" json:"sort,omitempty"` // Sort direction Filters map[string]*structpb.Value `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListChatsRequest) Descriptor
deprecated
func (*ListChatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChatsRequest.ProtoReflect.Descriptor instead.
func (*ListChatsRequest) GetField ¶
func (x *ListChatsRequest) GetField() string
func (*ListChatsRequest) GetFilters ¶
func (x *ListChatsRequest) GetFilters() map[string]*structpb.Value
func (*ListChatsRequest) GetLimit ¶
func (x *ListChatsRequest) GetLimit() uint64
func (*ListChatsRequest) GetPage ¶
func (x *ListChatsRequest) GetPage() uint64
func (*ListChatsRequest) GetSort ¶
func (x *ListChatsRequest) GetSort() string
func (*ListChatsRequest) ProtoMessage ¶
func (*ListChatsRequest) ProtoMessage()
func (*ListChatsRequest) ProtoReflect ¶
func (x *ListChatsRequest) ProtoReflect() protoreflect.Message
func (*ListChatsRequest) Reset ¶
func (x *ListChatsRequest) Reset()
func (*ListChatsRequest) String ¶
func (x *ListChatsRequest) String() string
func (*ListChatsRequest) Validate ¶
func (m *ListChatsRequest) Validate() error
Validate checks the field values on ListChatsRequest 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 (*ListChatsRequest) ValidateAll ¶
func (m *ListChatsRequest) ValidateAll() error
ValidateAll checks the field values on ListChatsRequest 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 ListChatsRequestMultiError, or nil if none found.
type ListChatsRequestMultiError ¶
type ListChatsRequestMultiError []error
ListChatsRequestMultiError is an error wrapping multiple validation errors returned by ListChatsRequest.ValidateAll() if the designated constraints aren't met.
func (ListChatsRequestMultiError) AllErrors ¶
func (m ListChatsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChatsRequestMultiError) Error ¶
func (m ListChatsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChatsRequestValidationError ¶
type ListChatsRequestValidationError struct {
// contains filtered or unexported fields
}
ListChatsRequestValidationError is the validation error returned by ListChatsRequest.Validate if the designated constraints aren't met.
func (ListChatsRequestValidationError) Cause ¶
func (e ListChatsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListChatsRequestValidationError) Error ¶
func (e ListChatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChatsRequestValidationError) ErrorName ¶
func (e ListChatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChatsRequestValidationError) Field ¶
func (e ListChatsRequestValidationError) Field() string
Field function returns field value.
func (ListChatsRequestValidationError) Key ¶
func (e ListChatsRequestValidationError) Key() bool
Key function returns key value.
func (ListChatsRequestValidationError) Reason ¶
func (e ListChatsRequestValidationError) Reason() string
Reason function returns reason value.
type ListChatsResponse ¶
type ListChatsResponse struct { Pool []*Chat `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListChatsResponse) Descriptor
deprecated
func (*ListChatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChatsResponse.ProtoReflect.Descriptor instead.
func (*ListChatsResponse) GetPool ¶
func (x *ListChatsResponse) GetPool() []*Chat
func (*ListChatsResponse) GetTotal ¶
func (x *ListChatsResponse) GetTotal() int64
func (*ListChatsResponse) ProtoMessage ¶
func (*ListChatsResponse) ProtoMessage()
func (*ListChatsResponse) ProtoReflect ¶
func (x *ListChatsResponse) ProtoReflect() protoreflect.Message
func (*ListChatsResponse) Reset ¶
func (x *ListChatsResponse) Reset()
func (*ListChatsResponse) String ¶
func (x *ListChatsResponse) String() string
func (*ListChatsResponse) Validate ¶
func (m *ListChatsResponse) Validate() error
Validate checks the field values on ListChatsResponse 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 (*ListChatsResponse) ValidateAll ¶
func (m *ListChatsResponse) ValidateAll() error
ValidateAll checks the field values on ListChatsResponse 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 ListChatsResponseMultiError, or nil if none found.
type ListChatsResponseMultiError ¶
type ListChatsResponseMultiError []error
ListChatsResponseMultiError is an error wrapping multiple validation errors returned by ListChatsResponse.ValidateAll() if the designated constraints aren't met.
func (ListChatsResponseMultiError) AllErrors ¶
func (m ListChatsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChatsResponseMultiError) Error ¶
func (m ListChatsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChatsResponseValidationError ¶
type ListChatsResponseValidationError struct {
// contains filtered or unexported fields
}
ListChatsResponseValidationError is the validation error returned by ListChatsResponse.Validate if the designated constraints aren't met.
func (ListChatsResponseValidationError) Cause ¶
func (e ListChatsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListChatsResponseValidationError) Error ¶
func (e ListChatsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListChatsResponseValidationError) ErrorName ¶
func (e ListChatsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListChatsResponseValidationError) Field ¶
func (e ListChatsResponseValidationError) Field() string
Field function returns field value.
func (ListChatsResponseValidationError) Key ¶
func (e ListChatsResponseValidationError) Key() bool
Key function returns key value.
func (ListChatsResponseValidationError) Reason ¶
func (e ListChatsResponseValidationError) Reason() string
Reason function returns reason value.
type Merge ¶
type Merge struct { Chats []string `protobuf:"bytes,1,rep,name=chats,proto3" json:"chats,omitempty"` // contains filtered or unexported fields }
func (*Merge) Descriptor
deprecated
func (*Merge) ProtoMessage ¶
func (*Merge) ProtoMessage()
func (*Merge) ProtoReflect ¶
func (x *Merge) ProtoReflect() protoreflect.Message
func (*Merge) Validate ¶
Validate checks the field values on Merge 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 (*Merge) ValidateAll ¶
ValidateAll checks the field values on Merge 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 MergeMultiError, or nil if none found.
type MergeMultiError ¶
type MergeMultiError []error
MergeMultiError is an error wrapping multiple validation errors returned by Merge.ValidateAll() if the designated constraints aren't met.
func (MergeMultiError) AllErrors ¶
func (m MergeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MergeMultiError) Error ¶
func (m MergeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MergeValidationError ¶
type MergeValidationError struct {
// contains filtered or unexported fields
}
MergeValidationError is the validation error returned by Merge.Validate if the designated constraints aren't met.
func (MergeValidationError) Cause ¶
func (e MergeValidationError) Cause() error
Cause function returns cause value.
func (MergeValidationError) Error ¶
func (e MergeValidationError) Error() string
Error satisfies the builtin error interface
func (MergeValidationError) ErrorName ¶
func (e MergeValidationError) ErrorName() string
ErrorName returns error name.
func (MergeValidationError) Field ¶
func (e MergeValidationError) Field() string
Field function returns field value.
func (MergeValidationError) Key ¶
func (e MergeValidationError) Key() bool
Key function returns key value.
func (MergeValidationError) Reason ¶
func (e MergeValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Kind Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=cc.Kind" json:"kind,omitempty"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Attachments []string `protobuf:"bytes,5,rep,name=attachments,proto3" json:"attachments,omitempty"` Gateways []string `protobuf:"bytes,6,rep,name=gateways,proto3" json:"gateways,omitempty"` Chat *string `protobuf:"bytes,7,opt,name=chat,proto3,oneof" json:"chat,omitempty"` // Required for Send, Update and Delete requests Sent int64 `protobuf:"varint,8,opt,name=sent,proto3" json:"sent,omitempty"` Edited int64 `protobuf:"varint,9,opt,name=edited,proto3" json:"edited,omitempty"` UnderReview bool `protobuf:"varint,10,opt,name=under_review,json=underReview,proto3" json:"under_review,omitempty"` Readers []string `protobuf:"bytes,11,rep,name=readers,proto3" json:"readers,omitempty"` Meta map[string]*structpb.Value `` /* 150-byte string literal not displayed */ Mentioned []string `protobuf:"bytes,13,rep,name=mentioned,proto3" json:"mentioned,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetAttachments ¶
func (*Message) GetContent ¶
func (*Message) GetGateways ¶
func (*Message) GetMentioned ¶
func (*Message) GetReaders ¶
func (*Message) GetUnderReview ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message 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 (*Message) ValidateAll ¶
ValidateAll checks the field values on Message 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 MessageMultiError, or nil if none found.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type Messages ¶
type Messages struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Messages) Descriptor
deprecated
func (*Messages) GetMessages ¶
func (*Messages) ProtoMessage ¶
func (*Messages) ProtoMessage()
func (*Messages) ProtoReflect ¶
func (x *Messages) ProtoReflect() protoreflect.Message
func (*Messages) Validate ¶
Validate checks the field values on Messages 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 (*Messages) ValidateAll ¶
ValidateAll checks the field values on Messages 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 MessagesMultiError, or nil if none found.
type MessagesMultiError ¶
type MessagesMultiError []error
MessagesMultiError is an error wrapping multiple validation errors returned by Messages.ValidateAll() if the designated constraints aren't met.
func (MessagesMultiError) AllErrors ¶
func (m MessagesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessagesMultiError) Error ¶
func (m MessagesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessagesValidationError ¶
type MessagesValidationError struct {
// contains filtered or unexported fields
}
MessagesValidationError is the validation error returned by Messages.Validate if the designated constraints aren't met.
func (MessagesValidationError) Cause ¶
func (e MessagesValidationError) Cause() error
Cause function returns cause value.
func (MessagesValidationError) Error ¶
func (e MessagesValidationError) Error() string
Error satisfies the builtin error interface
func (MessagesValidationError) ErrorName ¶
func (e MessagesValidationError) ErrorName() string
ErrorName returns error name.
func (MessagesValidationError) Field ¶
func (e MessagesValidationError) Field() string
Field function returns field value.
func (MessagesValidationError) Key ¶
func (e MessagesValidationError) Key() bool
Key function returns key value.
func (MessagesValidationError) Reason ¶
func (e MessagesValidationError) Reason() string
Reason function returns reason value.
type Metric ¶
type Metric struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) GetOptions ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
func (*Metric) Validate ¶
Validate checks the field values on Metric 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 (*Metric) ValidateAll ¶
ValidateAll checks the field values on Metric 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 MetricMultiError, or nil if none found.
type MetricMultiError ¶
type MetricMultiError []error
MetricMultiError is an error wrapping multiple validation errors returned by Metric.ValidateAll() if the designated constraints aren't met.
func (MetricMultiError) AllErrors ¶
func (m MetricMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetricMultiError) Error ¶
func (m MetricMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetricValidationError ¶
type MetricValidationError struct {
// contains filtered or unexported fields
}
MetricValidationError is the validation error returned by Metric.Validate if the designated constraints aren't met.
func (MetricValidationError) Cause ¶
func (e MetricValidationError) Cause() error
Cause function returns cause value.
func (MetricValidationError) Error ¶
func (e MetricValidationError) Error() string
Error satisfies the builtin error interface
func (MetricValidationError) ErrorName ¶
func (e MetricValidationError) ErrorName() string
ErrorName returns error name.
func (MetricValidationError) Field ¶
func (e MetricValidationError) Field() string
Field function returns field value.
func (MetricValidationError) Key ¶
func (e MetricValidationError) Key() bool
Key function returns key value.
func (MetricValidationError) Reason ¶
func (e MetricValidationError) Reason() string
Reason function returns reason value.
type Option ¶
type Option struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
func (*Option) Validate ¶
Validate checks the field values on Option 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 (*Option) ValidateAll ¶
ValidateAll checks the field values on Option 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 OptionMultiError, or nil if none found.
type OptionMultiError ¶
type OptionMultiError []error
OptionMultiError is an error wrapping multiple validation errors returned by Option.ValidateAll() if the designated constraints aren't met.
func (OptionMultiError) AllErrors ¶
func (m OptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OptionMultiError) Error ¶
func (m OptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OptionValidationError ¶
type OptionValidationError struct {
// contains filtered or unexported fields
}
OptionValidationError is the validation error returned by Option.Validate if the designated constraints aren't met.
func (OptionValidationError) Cause ¶
func (e OptionValidationError) Cause() error
Cause function returns cause value.
func (OptionValidationError) Error ¶
func (e OptionValidationError) Error() string
Error satisfies the builtin error interface
func (OptionValidationError) ErrorName ¶
func (e OptionValidationError) ErrorName() string
ErrorName returns error name.
func (OptionValidationError) Field ¶
func (e OptionValidationError) Field() string
Field function returns field value.
func (OptionValidationError) Key ¶
func (e OptionValidationError) Key() bool
Key function returns key value.
func (OptionValidationError) Reason ¶
func (e OptionValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type StreamRequest ¶
type StreamRequest struct { Commands map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StreamRequest) Descriptor
deprecated
func (*StreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.
func (*StreamRequest) GetCommands ¶
func (x *StreamRequest) GetCommands() map[string]string
func (*StreamRequest) ProtoMessage ¶
func (*StreamRequest) ProtoMessage()
func (*StreamRequest) ProtoReflect ¶
func (x *StreamRequest) ProtoReflect() protoreflect.Message
func (*StreamRequest) Reset ¶
func (x *StreamRequest) Reset()
func (*StreamRequest) String ¶
func (x *StreamRequest) String() string
func (*StreamRequest) Validate ¶
func (m *StreamRequest) Validate() error
Validate checks the field values on StreamRequest 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 (*StreamRequest) ValidateAll ¶
func (m *StreamRequest) ValidateAll() error
ValidateAll checks the field values on StreamRequest 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 StreamRequestMultiError, or nil if none found.
type StreamRequestMultiError ¶
type StreamRequestMultiError []error
StreamRequestMultiError is an error wrapping multiple validation errors returned by StreamRequest.ValidateAll() if the designated constraints aren't met.
func (StreamRequestMultiError) AllErrors ¶
func (m StreamRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamRequestMultiError) Error ¶
func (m StreamRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamRequestValidationError ¶
type StreamRequestValidationError struct {
// contains filtered or unexported fields
}
StreamRequestValidationError is the validation error returned by StreamRequest.Validate if the designated constraints aren't met.
func (StreamRequestValidationError) Cause ¶
func (e StreamRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamRequestValidationError) Error ¶
func (e StreamRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamRequestValidationError) ErrorName ¶
func (e StreamRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamRequestValidationError) Field ¶
func (e StreamRequestValidationError) Field() string
Field function returns field value.
func (StreamRequestValidationError) Key ¶
func (e StreamRequestValidationError) Key() bool
Key function returns key value.
func (StreamRequestValidationError) Reason ¶
func (e StreamRequestValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` CcIsBot bool `protobuf:"varint,4,opt,name=cc_is_bot,json=ccIsBot,proto3" json:"cc_is_bot,omitempty"` CcUsername string `protobuf:"bytes,5,opt,name=cc_username,json=ccUsername,proto3" json:"cc_username,omitempty"` CcCommands map[string]string `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCcCommands ¶
func (*User) GetCcIsBot ¶
func (*User) GetCcUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User 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 (*User) ValidateAll ¶
ValidateAll checks the field values on User 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 UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type Users ¶
type Users struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*Users) Descriptor
deprecated
func (*Users) ProtoMessage ¶
func (*Users) ProtoMessage()
func (*Users) ProtoReflect ¶
func (x *Users) ProtoReflect() protoreflect.Message
func (*Users) Validate ¶
Validate checks the field values on Users 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 (*Users) ValidateAll ¶
ValidateAll checks the field values on Users 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 UsersMultiError, or nil if none found.
type UsersMultiError ¶
type UsersMultiError []error
UsersMultiError is an error wrapping multiple validation errors returned by Users.ValidateAll() if the designated constraints aren't met.
func (UsersMultiError) AllErrors ¶
func (m UsersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UsersMultiError) Error ¶
func (m UsersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UsersValidationError ¶
type UsersValidationError struct {
// contains filtered or unexported fields
}
UsersValidationError is the validation error returned by Users.Validate if the designated constraints aren't met.
func (UsersValidationError) Cause ¶
func (e UsersValidationError) Cause() error
Cause function returns cause value.
func (UsersValidationError) Error ¶
func (e UsersValidationError) Error() string
Error satisfies the builtin error interface
func (UsersValidationError) ErrorName ¶
func (e UsersValidationError) ErrorName() string
ErrorName returns error name.
func (UsersValidationError) Field ¶
func (e UsersValidationError) Field() string
Field function returns field value.
func (UsersValidationError) Key ¶
func (e UsersValidationError) Key() bool
Key function returns key value.
func (UsersValidationError) Reason ¶
func (e UsersValidationError) Reason() string
Reason function returns reason value.