Documentation ¶
Index ¶
- Variables
- func RegisterCustomerTalkServiceServer(s grpc.ServiceRegistrar, srv CustomerTalkServiceServer)
- func RegisterCustomerUserServicerServer(s grpc.ServiceRegistrar, srv CustomerUserServicerServer)
- func RegisterServiceTalkServiceServer(s grpc.ServiceRegistrar, srv ServiceTalkServiceServer)
- func RegisterServicerUserServicerServer(s grpc.ServiceRegistrar, srv ServicerUserServicerServer)
- type CheckTokenRequest
- func (*CheckTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTokenRequest) GetActId() string
- func (x *CheckTokenRequest) GetBizId() string
- func (*CheckTokenRequest) ProtoMessage()
- func (x *CheckTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CheckTokenRequest) Reset()
- func (x *CheckTokenRequest) String() string
- func (m *CheckTokenRequest) Validate() error
- func (m *CheckTokenRequest) ValidateAll() error
- type CheckTokenRequestMultiError
- type CheckTokenRequestValidationError
- func (e CheckTokenRequestValidationError) Cause() error
- func (e CheckTokenRequestValidationError) Error() string
- func (e CheckTokenRequestValidationError) ErrorName() string
- func (e CheckTokenRequestValidationError) Field() string
- func (e CheckTokenRequestValidationError) Key() bool
- func (e CheckTokenRequestValidationError) Reason() string
- type CheckTokenResponse
- func (*CheckTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTokenResponse) GetNewToken() string
- func (x *CheckTokenResponse) GetUserName() string
- func (x *CheckTokenResponse) GetValid() bool
- func (*CheckTokenResponse) ProtoMessage()
- func (x *CheckTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CheckTokenResponse) Reset()
- func (x *CheckTokenResponse) String() string
- func (m *CheckTokenResponse) Validate() error
- func (m *CheckTokenResponse) ValidateAll() error
- type CheckTokenResponseMultiError
- type CheckTokenResponseValidationError
- func (e CheckTokenResponseValidationError) Cause() error
- func (e CheckTokenResponseValidationError) Error() string
- func (e CheckTokenResponseValidationError) ErrorName() string
- func (e CheckTokenResponseValidationError) Field() string
- func (e CheckTokenResponseValidationError) Key() bool
- func (e CheckTokenResponseValidationError) Reason() string
- type CreateTokenRequest
- func (*CreateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenRequest) GetActId() string
- func (x *CreateTokenRequest) GetBizId() string
- func (x *CreateTokenRequest) GetUserName() string
- func (*CreateTokenRequest) ProtoMessage()
- func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTokenRequest) Reset()
- func (x *CreateTokenRequest) String() string
- func (m *CreateTokenRequest) Validate() error
- func (m *CreateTokenRequest) ValidateAll() error
- type CreateTokenRequestMultiError
- type CreateTokenRequestValidationError
- func (e CreateTokenRequestValidationError) Cause() error
- func (e CreateTokenRequestValidationError) Error() string
- func (e CreateTokenRequestValidationError) ErrorName() string
- func (e CreateTokenRequestValidationError) Field() string
- func (e CreateTokenRequestValidationError) Key() bool
- func (e CreateTokenRequestValidationError) Reason() string
- type CreateTokenResponse
- func (*CreateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenResponse) GetToken() string
- func (x *CreateTokenResponse) GetUserName() string
- func (*CreateTokenResponse) ProtoMessage()
- func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTokenResponse) Reset()
- func (x *CreateTokenResponse) String() string
- func (m *CreateTokenResponse) Validate() error
- func (m *CreateTokenResponse) ValidateAll() error
- type CreateTokenResponseMultiError
- type CreateTokenResponseValidationError
- func (e CreateTokenResponseValidationError) Cause() error
- func (e CreateTokenResponseValidationError) Error() string
- func (e CreateTokenResponseValidationError) ErrorName() string
- func (e CreateTokenResponseValidationError) Field() string
- func (e CreateTokenResponseValidationError) Key() bool
- func (e CreateTokenResponseValidationError) Reason() string
- type CustomerTalkServiceClient
- type CustomerTalkServiceServer
- type CustomerTalkService_TalkClient
- type CustomerTalkService_TalkServer
- type CustomerUserServicerClient
- type CustomerUserServicerServer
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUserName() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetActIds() []string
- func (x *LoginResponse) GetBizIds() []string
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUserId() string
- func (x *LoginResponse) GetUserName() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type ProfileRequest
- func (*ProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileRequest) GetRenewToken() bool
- func (*ProfileRequest) ProtoMessage()
- func (x *ProfileRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileRequest) Reset()
- func (x *ProfileRequest) String() string
- func (m *ProfileRequest) Validate() error
- func (m *ProfileRequest) ValidateAll() error
- type ProfileRequestMultiError
- type ProfileRequestValidationError
- func (e ProfileRequestValidationError) Cause() error
- func (e ProfileRequestValidationError) Error() string
- func (e ProfileRequestValidationError) ErrorName() string
- func (e ProfileRequestValidationError) Field() string
- func (e ProfileRequestValidationError) Key() bool
- func (e ProfileRequestValidationError) Reason() string
- type ProfileResponse
- func (*ProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResponse) GetActIds() []string
- func (x *ProfileResponse) GetBizIds() []string
- func (x *ProfileResponse) GetToken() string
- func (x *ProfileResponse) GetUserId() string
- func (x *ProfileResponse) GetUserName() string
- func (*ProfileResponse) ProtoMessage()
- func (x *ProfileResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileResponse) Reset()
- func (x *ProfileResponse) String() string
- func (m *ProfileResponse) Validate() error
- func (m *ProfileResponse) ValidateAll() error
- type ProfileResponseMultiError
- type ProfileResponseValidationError
- func (e ProfileResponseValidationError) Cause() error
- func (e ProfileResponseValidationError) Error() string
- func (e ProfileResponseValidationError) ErrorName() string
- func (e ProfileResponseValidationError) Field() string
- func (e ProfileResponseValidationError) Key() bool
- func (e ProfileResponseValidationError) Reason() string
- type QueryTalksRequest
- func (*QueryTalksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTalksRequest) GetStatuses() []TalkStatus
- func (*QueryTalksRequest) ProtoMessage()
- func (x *QueryTalksRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTalksRequest) Reset()
- func (x *QueryTalksRequest) String() string
- func (m *QueryTalksRequest) Validate() error
- func (m *QueryTalksRequest) ValidateAll() error
- type QueryTalksRequestMultiError
- type QueryTalksRequestValidationError
- func (e QueryTalksRequestValidationError) Cause() error
- func (e QueryTalksRequestValidationError) Error() string
- func (e QueryTalksRequestValidationError) ErrorName() string
- func (e QueryTalksRequestValidationError) Field() string
- func (e QueryTalksRequestValidationError) Key() bool
- func (e QueryTalksRequestValidationError) Reason() string
- type QueryTalksResponse
- func (*QueryTalksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTalksResponse) GetTalks() []*TalkInfo
- func (*QueryTalksResponse) ProtoMessage()
- func (x *QueryTalksResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTalksResponse) Reset()
- func (x *QueryTalksResponse) String() string
- func (m *QueryTalksResponse) Validate() error
- func (m *QueryTalksResponse) ValidateAll() error
- type QueryTalksResponseMultiError
- type QueryTalksResponseValidationError
- func (e QueryTalksResponseValidationError) Cause() error
- func (e QueryTalksResponseValidationError) Error() string
- func (e QueryTalksResponseValidationError) ErrorName() string
- func (e QueryTalksResponseValidationError) Field() string
- func (e QueryTalksResponseValidationError) Key() bool
- func (e QueryTalksResponseValidationError) Reason() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetUserName() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetToken() string
- func (x *RegisterResponse) GetUserId() string
- func (x *RegisterResponse) GetUserName() string
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- func (m *RegisterResponse) Validate() error
- func (m *RegisterResponse) ValidateAll() error
- type RegisterResponseMultiError
- type RegisterResponseValidationError
- func (e RegisterResponseValidationError) Cause() error
- func (e RegisterResponseValidationError) Error() string
- func (e RegisterResponseValidationError) ErrorName() string
- func (e RegisterResponseValidationError) Field() string
- func (e RegisterResponseValidationError) Key() bool
- func (e RegisterResponseValidationError) Reason() string
- type ServiceAttachRequest
- func (*ServiceAttachRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAttachRequest) GetTalkId() string
- func (*ServiceAttachRequest) ProtoMessage()
- func (x *ServiceAttachRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceAttachRequest) Reset()
- func (x *ServiceAttachRequest) String() string
- func (m *ServiceAttachRequest) Validate() error
- func (m *ServiceAttachRequest) ValidateAll() error
- type ServiceAttachRequestMultiError
- type ServiceAttachRequestValidationError
- func (e ServiceAttachRequestValidationError) Cause() error
- func (e ServiceAttachRequestValidationError) Error() string
- func (e ServiceAttachRequestValidationError) ErrorName() string
- func (e ServiceAttachRequestValidationError) Field() string
- func (e ServiceAttachRequestValidationError) Key() bool
- func (e ServiceAttachRequestValidationError) Reason() string
- type ServiceAttachTalkResponse
- func (*ServiceAttachTalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAttachTalkResponse) GetAttachedServiceId() uint64
- func (x *ServiceAttachTalkResponse) GetTalk() *TalkInfo
- func (*ServiceAttachTalkResponse) ProtoMessage()
- func (x *ServiceAttachTalkResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceAttachTalkResponse) Reset()
- func (x *ServiceAttachTalkResponse) String() string
- func (m *ServiceAttachTalkResponse) Validate() error
- func (m *ServiceAttachTalkResponse) ValidateAll() error
- type ServiceAttachTalkResponseMultiError
- type ServiceAttachTalkResponseValidationError
- func (e ServiceAttachTalkResponseValidationError) Cause() error
- func (e ServiceAttachTalkResponseValidationError) Error() string
- func (e ServiceAttachTalkResponseValidationError) ErrorName() string
- func (e ServiceAttachTalkResponseValidationError) Field() string
- func (e ServiceAttachTalkResponseValidationError) Key() bool
- func (e ServiceAttachTalkResponseValidationError) Reason() string
- type ServiceAttachedTalksResponse
- func (*ServiceAttachedTalksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAttachedTalksResponse) GetTalks() []*ServiceTalkInfoAndMessages
- func (*ServiceAttachedTalksResponse) ProtoMessage()
- func (x *ServiceAttachedTalksResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceAttachedTalksResponse) Reset()
- func (x *ServiceAttachedTalksResponse) String() string
- func (m *ServiceAttachedTalksResponse) Validate() error
- func (m *ServiceAttachedTalksResponse) ValidateAll() error
- type ServiceAttachedTalksResponseMultiError
- type ServiceAttachedTalksResponseValidationError
- func (e ServiceAttachedTalksResponseValidationError) Cause() error
- func (e ServiceAttachedTalksResponseValidationError) Error() string
- func (e ServiceAttachedTalksResponseValidationError) ErrorName() string
- func (e ServiceAttachedTalksResponseValidationError) Field() string
- func (e ServiceAttachedTalksResponseValidationError) Key() bool
- func (e ServiceAttachedTalksResponseValidationError) Reason() string
- type ServiceDetachRequest
- func (*ServiceDetachRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDetachRequest) GetTalkId() string
- func (*ServiceDetachRequest) ProtoMessage()
- func (x *ServiceDetachRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceDetachRequest) Reset()
- func (x *ServiceDetachRequest) String() string
- func (m *ServiceDetachRequest) Validate() error
- func (m *ServiceDetachRequest) ValidateAll() error
- type ServiceDetachRequestMultiError
- type ServiceDetachRequestValidationError
- func (e ServiceDetachRequestValidationError) Cause() error
- func (e ServiceDetachRequestValidationError) Error() string
- func (e ServiceDetachRequestValidationError) ErrorName() string
- func (e ServiceDetachRequestValidationError) Field() string
- func (e ServiceDetachRequestValidationError) Key() bool
- func (e ServiceDetachRequestValidationError) Reason() string
- type ServiceDetachTalkResponse
- func (*ServiceDetachTalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDetachTalkResponse) GetDetachedServiceId() uint64
- func (x *ServiceDetachTalkResponse) GetTalk() *TalkInfo
- func (*ServiceDetachTalkResponse) ProtoMessage()
- func (x *ServiceDetachTalkResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceDetachTalkResponse) Reset()
- func (x *ServiceDetachTalkResponse) String() string
- func (m *ServiceDetachTalkResponse) Validate() error
- func (m *ServiceDetachTalkResponse) ValidateAll() error
- type ServiceDetachTalkResponseMultiError
- type ServiceDetachTalkResponseValidationError
- func (e ServiceDetachTalkResponseValidationError) Cause() error
- func (e ServiceDetachTalkResponseValidationError) Error() string
- func (e ServiceDetachTalkResponseValidationError) ErrorName() string
- func (e ServiceDetachTalkResponseValidationError) Field() string
- func (e ServiceDetachTalkResponseValidationError) Key() bool
- func (e ServiceDetachTalkResponseValidationError) Reason() string
- type ServiceMessageConfirmed
- func (*ServiceMessageConfirmed) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceMessageConfirmed) GetAt() uint64
- func (x *ServiceMessageConfirmed) GetSeqId() uint64
- func (*ServiceMessageConfirmed) ProtoMessage()
- func (x *ServiceMessageConfirmed) ProtoReflect() protoreflect.Message
- func (x *ServiceMessageConfirmed) Reset()
- func (x *ServiceMessageConfirmed) String() string
- func (m *ServiceMessageConfirmed) Validate() error
- func (m *ServiceMessageConfirmed) ValidateAll() error
- type ServiceMessageConfirmedMultiError
- type ServiceMessageConfirmedValidationError
- func (e ServiceMessageConfirmedValidationError) Cause() error
- func (e ServiceMessageConfirmedValidationError) Error() string
- func (e ServiceMessageConfirmedValidationError) ErrorName() string
- func (e ServiceMessageConfirmedValidationError) Field() string
- func (e ServiceMessageConfirmedValidationError) Key() bool
- func (e ServiceMessageConfirmedValidationError) Reason() string
- type ServicePendingTalksResponse
- func (*ServicePendingTalksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServicePendingTalksResponse) GetTalks() []*TalkInfo
- func (*ServicePendingTalksResponse) ProtoMessage()
- func (x *ServicePendingTalksResponse) ProtoReflect() protoreflect.Message
- func (x *ServicePendingTalksResponse) Reset()
- func (x *ServicePendingTalksResponse) String() string
- func (m *ServicePendingTalksResponse) Validate() error
- func (m *ServicePendingTalksResponse) ValidateAll() error
- type ServicePendingTalksResponseMultiError
- type ServicePendingTalksResponseValidationError
- func (e ServicePendingTalksResponseValidationError) Cause() error
- func (e ServicePendingTalksResponseValidationError) Error() string
- func (e ServicePendingTalksResponseValidationError) ErrorName() string
- func (e ServicePendingTalksResponseValidationError) Field() string
- func (e ServicePendingTalksResponseValidationError) Key() bool
- func (e ServicePendingTalksResponseValidationError) Reason() string
- type ServicePostMessage
- func (*ServicePostMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ServicePostMessage) GetMessage() *TalkMessageW
- func (x *ServicePostMessage) GetTalkId() string
- func (*ServicePostMessage) ProtoMessage()
- func (x *ServicePostMessage) ProtoReflect() protoreflect.Message
- func (x *ServicePostMessage) Reset()
- func (x *ServicePostMessage) String() string
- func (m *ServicePostMessage) Validate() error
- func (m *ServicePostMessage) ValidateAll() error
- type ServicePostMessageMultiError
- type ServicePostMessageValidationError
- func (e ServicePostMessageValidationError) Cause() error
- func (e ServicePostMessageValidationError) Error() string
- func (e ServicePostMessageValidationError) ErrorName() string
- func (e ServicePostMessageValidationError) Field() string
- func (e ServicePostMessageValidationError) Key() bool
- func (e ServicePostMessageValidationError) Reason() string
- type ServiceQueryAttachedTalksRequest
- func (*ServiceQueryAttachedTalksRequest) Descriptor() ([]byte, []int)deprecated
- func (*ServiceQueryAttachedTalksRequest) ProtoMessage()
- func (x *ServiceQueryAttachedTalksRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceQueryAttachedTalksRequest) Reset()
- func (x *ServiceQueryAttachedTalksRequest) String() string
- func (m *ServiceQueryAttachedTalksRequest) Validate() error
- func (m *ServiceQueryAttachedTalksRequest) ValidateAll() error
- type ServiceQueryAttachedTalksRequestMultiError
- type ServiceQueryAttachedTalksRequestValidationError
- func (e ServiceQueryAttachedTalksRequestValidationError) Cause() error
- func (e ServiceQueryAttachedTalksRequestValidationError) Error() string
- func (e ServiceQueryAttachedTalksRequestValidationError) ErrorName() string
- func (e ServiceQueryAttachedTalksRequestValidationError) Field() string
- func (e ServiceQueryAttachedTalksRequestValidationError) Key() bool
- func (e ServiceQueryAttachedTalksRequestValidationError) Reason() string
- type ServiceQueryPendingTalksRequest
- func (*ServiceQueryPendingTalksRequest) Descriptor() ([]byte, []int)deprecated
- func (*ServiceQueryPendingTalksRequest) ProtoMessage()
- func (x *ServiceQueryPendingTalksRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceQueryPendingTalksRequest) Reset()
- func (x *ServiceQueryPendingTalksRequest) String() string
- func (m *ServiceQueryPendingTalksRequest) Validate() error
- func (m *ServiceQueryPendingTalksRequest) ValidateAll() error
- type ServiceQueryPendingTalksRequestMultiError
- type ServiceQueryPendingTalksRequestValidationError
- func (e ServiceQueryPendingTalksRequestValidationError) Cause() error
- func (e ServiceQueryPendingTalksRequestValidationError) Error() string
- func (e ServiceQueryPendingTalksRequestValidationError) ErrorName() string
- func (e ServiceQueryPendingTalksRequestValidationError) Field() string
- func (e ServiceQueryPendingTalksRequestValidationError) Key() bool
- func (e ServiceQueryPendingTalksRequestValidationError) Reason() string
- type ServiceReloadTalkRequest
- func (*ServiceReloadTalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceReloadTalkRequest) GetTalkId() string
- func (*ServiceReloadTalkRequest) ProtoMessage()
- func (x *ServiceReloadTalkRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceReloadTalkRequest) Reset()
- func (x *ServiceReloadTalkRequest) String() string
- func (m *ServiceReloadTalkRequest) Validate() error
- func (m *ServiceReloadTalkRequest) ValidateAll() error
- type ServiceReloadTalkRequestMultiError
- type ServiceReloadTalkRequestValidationError
- func (e ServiceReloadTalkRequestValidationError) Cause() error
- func (e ServiceReloadTalkRequestValidationError) Error() string
- func (e ServiceReloadTalkRequestValidationError) ErrorName() string
- func (e ServiceReloadTalkRequestValidationError) Field() string
- func (e ServiceReloadTalkRequestValidationError) Key() bool
- func (e ServiceReloadTalkRequestValidationError) Reason() string
- type ServiceRequest
- func (*ServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceRequest) GetAttach() *ServiceAttachRequest
- func (x *ServiceRequest) GetAttachedTalks() *ServiceQueryAttachedTalksRequest
- func (x *ServiceRequest) GetDetach() *ServiceDetachRequest
- func (x *ServiceRequest) GetMessage() *ServicePostMessage
- func (x *ServiceRequest) GetPendingTalks() *ServiceQueryPendingTalksRequest
- func (x *ServiceRequest) GetReload() *ServiceReloadTalkRequest
- func (m *ServiceRequest) GetRequest() isServiceRequest_Request
- func (*ServiceRequest) ProtoMessage()
- func (x *ServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceRequest) Reset()
- func (x *ServiceRequest) String() string
- func (m *ServiceRequest) Validate() error
- func (m *ServiceRequest) ValidateAll() error
- type ServiceRequestMultiError
- type ServiceRequestValidationError
- func (e ServiceRequestValidationError) Cause() error
- func (e ServiceRequestValidationError) Error() string
- func (e ServiceRequestValidationError) ErrorName() string
- func (e ServiceRequestValidationError) Field() string
- func (e ServiceRequestValidationError) Key() bool
- func (e ServiceRequestValidationError) Reason() string
- type ServiceRequest_Attach
- type ServiceRequest_AttachedTalks
- type ServiceRequest_Detach
- type ServiceRequest_Message
- type ServiceRequest_PendingTalks
- type ServiceRequest_Reload
- type ServiceResponse
- func (*ServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResponse) GetAttach() *ServiceAttachTalkResponse
- func (x *ServiceResponse) GetClose() *ServiceTalkClose
- func (x *ServiceResponse) GetDetach() *ServiceDetachTalkResponse
- func (x *ServiceResponse) GetKickOut() *TalkKickOutMessage
- func (x *ServiceResponse) GetMessage() *ServiceTalkMessageResponse
- func (x *ServiceResponse) GetMessageConfirmed() *ServiceMessageConfirmed
- func (x *ServiceResponse) GetNotify() *ServiceTalkNotifyResponse
- func (x *ServiceResponse) GetPendingTalks() *ServicePendingTalksResponse
- func (x *ServiceResponse) GetReload() *ServiceTalkReloadResponse
- func (m *ServiceResponse) GetResponse() isServiceResponse_Response
- func (x *ServiceResponse) GetTalks() *ServiceAttachedTalksResponse
- func (*ServiceResponse) ProtoMessage()
- func (x *ServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceResponse) Reset()
- func (x *ServiceResponse) String() string
- func (m *ServiceResponse) Validate() error
- func (m *ServiceResponse) ValidateAll() error
- type ServiceResponseMultiError
- type ServiceResponseValidationError
- func (e ServiceResponseValidationError) Cause() error
- func (e ServiceResponseValidationError) Error() string
- func (e ServiceResponseValidationError) ErrorName() string
- func (e ServiceResponseValidationError) Field() string
- func (e ServiceResponseValidationError) Key() bool
- func (e ServiceResponseValidationError) Reason() string
- type ServiceResponse_Attach
- type ServiceResponse_Close
- type ServiceResponse_Detach
- type ServiceResponse_KickOut
- type ServiceResponse_Message
- type ServiceResponse_MessageConfirmed
- type ServiceResponse_Notify
- type ServiceResponse_PendingTalks
- type ServiceResponse_Reload
- type ServiceResponse_Talks
- type ServiceTalkClose
- func (*ServiceTalkClose) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTalkClose) GetTalkId() string
- func (*ServiceTalkClose) ProtoMessage()
- func (x *ServiceTalkClose) ProtoReflect() protoreflect.Message
- func (x *ServiceTalkClose) Reset()
- func (x *ServiceTalkClose) String() string
- func (m *ServiceTalkClose) Validate() error
- func (m *ServiceTalkClose) ValidateAll() error
- type ServiceTalkCloseMultiError
- type ServiceTalkCloseValidationError
- func (e ServiceTalkCloseValidationError) Cause() error
- func (e ServiceTalkCloseValidationError) Error() string
- func (e ServiceTalkCloseValidationError) ErrorName() string
- func (e ServiceTalkCloseValidationError) Field() string
- func (e ServiceTalkCloseValidationError) Key() bool
- func (e ServiceTalkCloseValidationError) Reason() string
- type ServiceTalkInfoAndMessages
- func (*ServiceTalkInfoAndMessages) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTalkInfoAndMessages) GetMessages() []*TalkMessage
- func (x *ServiceTalkInfoAndMessages) GetTalkInfo() *TalkInfo
- func (*ServiceTalkInfoAndMessages) ProtoMessage()
- func (x *ServiceTalkInfoAndMessages) ProtoReflect() protoreflect.Message
- func (x *ServiceTalkInfoAndMessages) Reset()
- func (x *ServiceTalkInfoAndMessages) String() string
- func (m *ServiceTalkInfoAndMessages) Validate() error
- func (m *ServiceTalkInfoAndMessages) ValidateAll() error
- type ServiceTalkInfoAndMessagesMultiError
- type ServiceTalkInfoAndMessagesValidationError
- func (e ServiceTalkInfoAndMessagesValidationError) Cause() error
- func (e ServiceTalkInfoAndMessagesValidationError) Error() string
- func (e ServiceTalkInfoAndMessagesValidationError) ErrorName() string
- func (e ServiceTalkInfoAndMessagesValidationError) Field() string
- func (e ServiceTalkInfoAndMessagesValidationError) Key() bool
- func (e ServiceTalkInfoAndMessagesValidationError) Reason() string
- type ServiceTalkMessageResponse
- func (*ServiceTalkMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTalkMessageResponse) GetMessage() *TalkMessage
- func (x *ServiceTalkMessageResponse) GetTalkId() string
- func (*ServiceTalkMessageResponse) ProtoMessage()
- func (x *ServiceTalkMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceTalkMessageResponse) Reset()
- func (x *ServiceTalkMessageResponse) String() string
- func (m *ServiceTalkMessageResponse) Validate() error
- func (m *ServiceTalkMessageResponse) ValidateAll() error
- type ServiceTalkMessageResponseMultiError
- type ServiceTalkMessageResponseValidationError
- func (e ServiceTalkMessageResponseValidationError) Cause() error
- func (e ServiceTalkMessageResponseValidationError) Error() string
- func (e ServiceTalkMessageResponseValidationError) ErrorName() string
- func (e ServiceTalkMessageResponseValidationError) Field() string
- func (e ServiceTalkMessageResponseValidationError) Key() bool
- func (e ServiceTalkMessageResponseValidationError) Reason() string
- type ServiceTalkNotifyResponse
- func (*ServiceTalkNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTalkNotifyResponse) GetMsg() string
- func (*ServiceTalkNotifyResponse) ProtoMessage()
- func (x *ServiceTalkNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceTalkNotifyResponse) Reset()
- func (x *ServiceTalkNotifyResponse) String() string
- func (m *ServiceTalkNotifyResponse) Validate() error
- func (m *ServiceTalkNotifyResponse) ValidateAll() error
- type ServiceTalkNotifyResponseMultiError
- type ServiceTalkNotifyResponseValidationError
- func (e ServiceTalkNotifyResponseValidationError) Cause() error
- func (e ServiceTalkNotifyResponseValidationError) Error() string
- func (e ServiceTalkNotifyResponseValidationError) ErrorName() string
- func (e ServiceTalkNotifyResponseValidationError) Field() string
- func (e ServiceTalkNotifyResponseValidationError) Key() bool
- func (e ServiceTalkNotifyResponseValidationError) Reason() string
- type ServiceTalkReloadResponse
- func (*ServiceTalkReloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTalkReloadResponse) GetTalk() *ServiceTalkInfoAndMessages
- func (*ServiceTalkReloadResponse) ProtoMessage()
- func (x *ServiceTalkReloadResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceTalkReloadResponse) Reset()
- func (x *ServiceTalkReloadResponse) String() string
- func (m *ServiceTalkReloadResponse) Validate() error
- func (m *ServiceTalkReloadResponse) ValidateAll() error
- type ServiceTalkReloadResponseMultiError
- type ServiceTalkReloadResponseValidationError
- func (e ServiceTalkReloadResponseValidationError) Cause() error
- func (e ServiceTalkReloadResponseValidationError) Error() string
- func (e ServiceTalkReloadResponseValidationError) ErrorName() string
- func (e ServiceTalkReloadResponseValidationError) Field() string
- func (e ServiceTalkReloadResponseValidationError) Key() bool
- func (e ServiceTalkReloadResponseValidationError) Reason() string
- type ServiceTalkServiceClient
- type ServiceTalkServiceServer
- type ServiceTalkService_ServiceClient
- type ServiceTalkService_ServiceServer
- type ServicerUserServicerClient
- type ServicerUserServicerServer
- type SetPermissionsRequest
- func (*SetPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPermissionsRequest) GetActIds() []string
- func (x *SetPermissionsRequest) GetBizIds() []string
- func (x *SetPermissionsRequest) GetToken() string
- func (x *SetPermissionsRequest) GetUserId() string
- func (*SetPermissionsRequest) ProtoMessage()
- func (x *SetPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *SetPermissionsRequest) Reset()
- func (x *SetPermissionsRequest) String() string
- func (m *SetPermissionsRequest) Validate() error
- func (m *SetPermissionsRequest) ValidateAll() error
- type SetPermissionsRequestMultiError
- type SetPermissionsRequestValidationError
- func (e SetPermissionsRequestValidationError) Cause() error
- func (e SetPermissionsRequestValidationError) Error() string
- func (e SetPermissionsRequestValidationError) ErrorName() string
- func (e SetPermissionsRequestValidationError) Field() string
- func (e SetPermissionsRequestValidationError) Key() bool
- func (e SetPermissionsRequestValidationError) Reason() string
- type TalkClose
- type TalkCloseMultiError
- type TalkCloseValidationError
- type TalkCreateRequest
- func (*TalkCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TalkCreateRequest) GetTitle() string
- func (*TalkCreateRequest) ProtoMessage()
- func (x *TalkCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TalkCreateRequest) Reset()
- func (x *TalkCreateRequest) String() string
- func (m *TalkCreateRequest) Validate() error
- func (m *TalkCreateRequest) ValidateAll() error
- type TalkCreateRequestMultiError
- type TalkCreateRequestValidationError
- func (e TalkCreateRequestValidationError) Cause() error
- func (e TalkCreateRequestValidationError) Error() string
- func (e TalkCreateRequestValidationError) ErrorName() string
- func (e TalkCreateRequestValidationError) Field() string
- func (e TalkCreateRequestValidationError) Key() bool
- func (e TalkCreateRequestValidationError) Reason() string
- type TalkInfo
- func (*TalkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TalkInfo) GetCustomerName() string
- func (x *TalkInfo) GetFinishedAt() uint64
- func (x *TalkInfo) GetStartedAt() uint64
- func (x *TalkInfo) GetStatus() TalkStatus
- func (x *TalkInfo) GetTalkId() string
- func (x *TalkInfo) GetTitle() string
- func (*TalkInfo) ProtoMessage()
- func (x *TalkInfo) ProtoReflect() protoreflect.Message
- func (x *TalkInfo) Reset()
- func (x *TalkInfo) String() string
- func (m *TalkInfo) Validate() error
- func (m *TalkInfo) ValidateAll() error
- type TalkInfoMultiError
- type TalkInfoValidationError
- type TalkKickOutMessage
- func (*TalkKickOutMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TalkKickOutMessage) GetCode() int32
- func (x *TalkKickOutMessage) GetMessage() string
- func (*TalkKickOutMessage) ProtoMessage()
- func (x *TalkKickOutMessage) ProtoReflect() protoreflect.Message
- func (x *TalkKickOutMessage) Reset()
- func (x *TalkKickOutMessage) String() string
- func (m *TalkKickOutMessage) Validate() error
- func (m *TalkKickOutMessage) ValidateAll() error
- type TalkKickOutMessageMultiError
- type TalkKickOutMessageValidationError
- func (e TalkKickOutMessageValidationError) Cause() error
- func (e TalkKickOutMessageValidationError) Error() string
- func (e TalkKickOutMessageValidationError) ErrorName() string
- func (e TalkKickOutMessageValidationError) Field() string
- func (e TalkKickOutMessageValidationError) Key() bool
- func (e TalkKickOutMessageValidationError) Reason() string
- type TalkMessage
- func (*TalkMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TalkMessage) GetAt() uint64
- func (x *TalkMessage) GetCustomerMessage() bool
- func (x *TalkMessage) GetImage() []byte
- func (m *TalkMessage) GetMessage() isTalkMessage_Message
- func (x *TalkMessage) GetText() string
- func (x *TalkMessage) GetUser() string
- func (*TalkMessage) ProtoMessage()
- func (x *TalkMessage) ProtoReflect() protoreflect.Message
- func (x *TalkMessage) Reset()
- func (x *TalkMessage) String() string
- func (m *TalkMessage) Validate() error
- func (m *TalkMessage) ValidateAll() error
- type TalkMessageConfirmed
- func (*TalkMessageConfirmed) Descriptor() ([]byte, []int)deprecated
- func (x *TalkMessageConfirmed) GetAt() uint64
- func (x *TalkMessageConfirmed) GetSeqId() uint64
- func (*TalkMessageConfirmed) ProtoMessage()
- func (x *TalkMessageConfirmed) ProtoReflect() protoreflect.Message
- func (x *TalkMessageConfirmed) Reset()
- func (x *TalkMessageConfirmed) String() string
- func (m *TalkMessageConfirmed) Validate() error
- func (m *TalkMessageConfirmed) ValidateAll() error
- type TalkMessageConfirmedMultiError
- type TalkMessageConfirmedValidationError
- func (e TalkMessageConfirmedValidationError) Cause() error
- func (e TalkMessageConfirmedValidationError) Error() string
- func (e TalkMessageConfirmedValidationError) ErrorName() string
- func (e TalkMessageConfirmedValidationError) Field() string
- func (e TalkMessageConfirmedValidationError) Key() bool
- func (e TalkMessageConfirmedValidationError) Reason() string
- type TalkMessageMultiError
- type TalkMessageValidationError
- func (e TalkMessageValidationError) Cause() error
- func (e TalkMessageValidationError) Error() string
- func (e TalkMessageValidationError) ErrorName() string
- func (e TalkMessageValidationError) Field() string
- func (e TalkMessageValidationError) Key() bool
- func (e TalkMessageValidationError) Reason() string
- type TalkMessageW
- func (*TalkMessageW) Descriptor() ([]byte, []int)deprecated
- func (x *TalkMessageW) GetImage() []byte
- func (m *TalkMessageW) GetMessage() isTalkMessageW_Message
- func (x *TalkMessageW) GetSeqId() uint64
- func (x *TalkMessageW) GetText() string
- func (*TalkMessageW) ProtoMessage()
- func (x *TalkMessageW) ProtoReflect() protoreflect.Message
- func (x *TalkMessageW) Reset()
- func (x *TalkMessageW) String() string
- func (m *TalkMessageW) Validate() error
- func (m *TalkMessageW) ValidateAll() error
- type TalkMessageWMultiError
- type TalkMessageWValidationError
- func (e TalkMessageWValidationError) Cause() error
- func (e TalkMessageWValidationError) Error() string
- func (e TalkMessageWValidationError) ErrorName() string
- func (e TalkMessageWValidationError) Field() string
- func (e TalkMessageWValidationError) Key() bool
- func (e TalkMessageWValidationError) Reason() string
- type TalkMessageW_Image
- type TalkMessageW_Text
- type TalkMessage_Image
- type TalkMessage_Text
- type TalkMessages
- func (*TalkMessages) Descriptor() ([]byte, []int)deprecated
- func (x *TalkMessages) GetMessages() []*TalkMessage
- func (x *TalkMessages) GetTalkId() string
- func (*TalkMessages) ProtoMessage()
- func (x *TalkMessages) ProtoReflect() protoreflect.Message
- func (x *TalkMessages) Reset()
- func (x *TalkMessages) String() string
- func (m *TalkMessages) Validate() error
- func (m *TalkMessages) ValidateAll() error
- type TalkMessagesMultiError
- type TalkMessagesValidationError
- func (e TalkMessagesValidationError) Cause() error
- func (e TalkMessagesValidationError) Error() string
- func (e TalkMessagesValidationError) ErrorName() string
- func (e TalkMessagesValidationError) Field() string
- func (e TalkMessagesValidationError) Key() bool
- func (e TalkMessagesValidationError) Reason() string
- type TalkNotifyResponse
- func (*TalkNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TalkNotifyResponse) GetMsg() string
- func (*TalkNotifyResponse) ProtoMessage()
- func (x *TalkNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *TalkNotifyResponse) Reset()
- func (x *TalkNotifyResponse) String() string
- func (m *TalkNotifyResponse) Validate() error
- func (m *TalkNotifyResponse) ValidateAll() error
- type TalkNotifyResponseMultiError
- type TalkNotifyResponseValidationError
- func (e TalkNotifyResponseValidationError) Cause() error
- func (e TalkNotifyResponseValidationError) Error() string
- func (e TalkNotifyResponseValidationError) ErrorName() string
- func (e TalkNotifyResponseValidationError) Field() string
- func (e TalkNotifyResponseValidationError) Key() bool
- func (e TalkNotifyResponseValidationError) Reason() string
- type TalkOpenRequest
- func (*TalkOpenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TalkOpenRequest) GetTalkId() string
- func (*TalkOpenRequest) ProtoMessage()
- func (x *TalkOpenRequest) ProtoReflect() protoreflect.Message
- func (x *TalkOpenRequest) Reset()
- func (x *TalkOpenRequest) String() string
- func (m *TalkOpenRequest) Validate() error
- func (m *TalkOpenRequest) ValidateAll() error
- type TalkOpenRequestMultiError
- type TalkOpenRequestValidationError
- func (e TalkOpenRequestValidationError) Cause() error
- func (e TalkOpenRequestValidationError) Error() string
- func (e TalkOpenRequestValidationError) ErrorName() string
- func (e TalkOpenRequestValidationError) Field() string
- func (e TalkOpenRequestValidationError) Key() bool
- func (e TalkOpenRequestValidationError) Reason() string
- type TalkRequest
- func (*TalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TalkRequest) GetClose() *TalkClose
- func (x *TalkRequest) GetCreate() *TalkCreateRequest
- func (x *TalkRequest) GetMessage() *TalkMessageW
- func (x *TalkRequest) GetOpen() *TalkOpenRequest
- func (m *TalkRequest) GetTalk() isTalkRequest_Talk
- func (*TalkRequest) ProtoMessage()
- func (x *TalkRequest) ProtoReflect() protoreflect.Message
- func (x *TalkRequest) Reset()
- func (x *TalkRequest) String() string
- func (m *TalkRequest) Validate() error
- func (m *TalkRequest) ValidateAll() error
- type TalkRequestMultiError
- type TalkRequestValidationError
- func (e TalkRequestValidationError) Cause() error
- func (e TalkRequestValidationError) Error() string
- func (e TalkRequestValidationError) ErrorName() string
- func (e TalkRequestValidationError) Field() string
- func (e TalkRequestValidationError) Key() bool
- func (e TalkRequestValidationError) Reason() string
- type TalkRequest_Close
- type TalkRequest_Create
- type TalkRequest_Message
- type TalkRequest_Open
- type TalkResponse
- func (*TalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TalkResponse) GetClose() *TalkClose
- func (x *TalkResponse) GetKickOut() *TalkKickOutMessage
- func (x *TalkResponse) GetMessage() *TalkMessage
- func (x *TalkResponse) GetMessageConfirmed() *TalkMessageConfirmed
- func (x *TalkResponse) GetMessages() *TalkMessages
- func (x *TalkResponse) GetNotify() *TalkNotifyResponse
- func (m *TalkResponse) GetTalk() isTalkResponse_Talk
- func (*TalkResponse) ProtoMessage()
- func (x *TalkResponse) ProtoReflect() protoreflect.Message
- func (x *TalkResponse) Reset()
- func (x *TalkResponse) String() string
- func (m *TalkResponse) Validate() error
- func (m *TalkResponse) ValidateAll() error
- type TalkResponseMultiError
- type TalkResponseValidationError
- func (e TalkResponseValidationError) Cause() error
- func (e TalkResponseValidationError) Error() string
- func (e TalkResponseValidationError) ErrorName() string
- func (e TalkResponseValidationError) Field() string
- func (e TalkResponseValidationError) Key() bool
- func (e TalkResponseValidationError) Reason() string
- type TalkResponse_Close
- type TalkResponse_KickOut
- type TalkResponse_Message
- type TalkResponse_MessageConfirmed
- type TalkResponse_Messages
- type TalkResponse_Notify
- type TalkStatus
- type UnimplementedCustomerTalkServiceServer
- type UnimplementedCustomerUserServicerServer
- type UnimplementedServiceTalkServiceServer
- type UnimplementedServicerUserServicerServer
- func (UnimplementedServicerUserServicerServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedServicerUserServicerServer) Profile(context.Context, *ProfileRequest) (*ProfileResponse, error)
- func (UnimplementedServicerUserServicerServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedServicerUserServicerServer) SetPermissions(context.Context, *SetPermissionsRequest) (*Empty, error)
- type UnsafeCustomerTalkServiceServer
- type UnsafeCustomerUserServicerServer
- type UnsafeServiceTalkServiceServer
- type UnsafeServicerUserServicerServer
Constants ¶
This section is empty.
Variables ¶
var ( TalkStatus_name = map[int32]string{ 0: "TALK_STATUS_UNSPECIFIED", 1: "TALK_STATUS_OPENED", 2: "TALK_STATUS_CLOSED", } TalkStatus_value = map[string]int32{ "TALK_STATUS_UNSPECIFIED": 0, "TALK_STATUS_OPENED": 1, "TALK_STATUS_CLOSED": 2, } )
Enum value maps for TalkStatus.
var CustomerTalkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "CustomerTalkService", HandlerType: (*CustomerTalkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QueryTalks", Handler: _CustomerTalkService_QueryTalks_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Talk", Handler: _CustomerTalkService_Talk_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/talk.proto", }
CustomerTalkService_ServiceDesc is the grpc.ServiceDesc for CustomerTalkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CustomerUserServicer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "CustomerUserServicer", HandlerType: (*CustomerUserServicerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CheckToken", Handler: _CustomerUserServicer_CheckToken_Handler, }, { MethodName: "CreateToken", Handler: _CustomerUserServicer_CreateToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/talk.proto", }
CustomerUserServicer_ServiceDesc is the grpc.ServiceDesc for CustomerUserServicer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_talk_proto protoreflect.FileDescriptor
var ServiceTalkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ServiceTalkService", HandlerType: (*ServiceTalkServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Service", Handler: _ServiceTalkService_Service_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/talk.proto", }
ServiceTalkService_ServiceDesc is the grpc.ServiceDesc for ServiceTalkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ServicerUserServicer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ServicerUserServicer", HandlerType: (*ServicerUserServicerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _ServicerUserServicer_Register_Handler, }, { MethodName: "Login", Handler: _ServicerUserServicer_Login_Handler, }, { MethodName: "Profile", Handler: _ServicerUserServicer_Profile_Handler, }, { MethodName: "SetPermissions", Handler: _ServicerUserServicer_SetPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/talk.proto", }
ServicerUserServicer_ServiceDesc is the grpc.ServiceDesc for ServicerUserServicer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCustomerTalkServiceServer ¶
func RegisterCustomerTalkServiceServer(s grpc.ServiceRegistrar, srv CustomerTalkServiceServer)
func RegisterCustomerUserServicerServer ¶
func RegisterCustomerUserServicerServer(s grpc.ServiceRegistrar, srv CustomerUserServicerServer)
func RegisterServiceTalkServiceServer ¶
func RegisterServiceTalkServiceServer(s grpc.ServiceRegistrar, srv ServiceTalkServiceServer)
func RegisterServicerUserServicerServer ¶
func RegisterServicerUserServicerServer(s grpc.ServiceRegistrar, srv ServicerUserServicerServer)
Types ¶
type CheckTokenRequest ¶
type CheckTokenRequest struct { ActId string `protobuf:"bytes,1,opt,name=act_id,json=actId,proto3" json:"act_id,omitempty"` BizId string `protobuf:"bytes,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` // contains filtered or unexported fields }
func (*CheckTokenRequest) Descriptor
deprecated
func (*CheckTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckTokenRequest.ProtoReflect.Descriptor instead.
func (*CheckTokenRequest) GetActId ¶ added in v0.0.2
func (x *CheckTokenRequest) GetActId() string
func (*CheckTokenRequest) GetBizId ¶ added in v0.0.2
func (x *CheckTokenRequest) GetBizId() string
func (*CheckTokenRequest) ProtoMessage ¶
func (*CheckTokenRequest) ProtoMessage()
func (*CheckTokenRequest) ProtoReflect ¶
func (x *CheckTokenRequest) ProtoReflect() protoreflect.Message
func (*CheckTokenRequest) Reset ¶
func (x *CheckTokenRequest) Reset()
func (*CheckTokenRequest) String ¶
func (x *CheckTokenRequest) String() string
func (*CheckTokenRequest) Validate ¶
func (m *CheckTokenRequest) Validate() error
Validate checks the field values on CheckTokenRequest 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 (*CheckTokenRequest) ValidateAll ¶
func (m *CheckTokenRequest) ValidateAll() error
ValidateAll checks the field values on CheckTokenRequest 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 CheckTokenRequestMultiError, or nil if none found.
type CheckTokenRequestMultiError ¶
type CheckTokenRequestMultiError []error
CheckTokenRequestMultiError is an error wrapping multiple validation errors returned by CheckTokenRequest.ValidateAll() if the designated constraints aren't met.
func (CheckTokenRequestMultiError) AllErrors ¶
func (m CheckTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckTokenRequestMultiError) Error ¶
func (m CheckTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckTokenRequestValidationError ¶
type CheckTokenRequestValidationError struct {
// contains filtered or unexported fields
}
CheckTokenRequestValidationError is the validation error returned by CheckTokenRequest.Validate if the designated constraints aren't met.
func (CheckTokenRequestValidationError) Cause ¶
func (e CheckTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckTokenRequestValidationError) Error ¶
func (e CheckTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckTokenRequestValidationError) ErrorName ¶
func (e CheckTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckTokenRequestValidationError) Field ¶
func (e CheckTokenRequestValidationError) Field() string
Field function returns field value.
func (CheckTokenRequestValidationError) Key ¶
func (e CheckTokenRequestValidationError) Key() bool
Key function returns key value.
func (CheckTokenRequestValidationError) Reason ¶
func (e CheckTokenRequestValidationError) Reason() string
Reason function returns reason value.
type CheckTokenResponse ¶
type CheckTokenResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` NewToken string `protobuf:"bytes,3,opt,name=new_token,json=newToken,proto3" json:"new_token,omitempty"` // contains filtered or unexported fields }
func (*CheckTokenResponse) Descriptor
deprecated
func (*CheckTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckTokenResponse.ProtoReflect.Descriptor instead.
func (*CheckTokenResponse) GetNewToken ¶
func (x *CheckTokenResponse) GetNewToken() string
func (*CheckTokenResponse) GetUserName ¶
func (x *CheckTokenResponse) GetUserName() string
func (*CheckTokenResponse) GetValid ¶
func (x *CheckTokenResponse) GetValid() bool
func (*CheckTokenResponse) ProtoMessage ¶
func (*CheckTokenResponse) ProtoMessage()
func (*CheckTokenResponse) ProtoReflect ¶
func (x *CheckTokenResponse) ProtoReflect() protoreflect.Message
func (*CheckTokenResponse) Reset ¶
func (x *CheckTokenResponse) Reset()
func (*CheckTokenResponse) String ¶
func (x *CheckTokenResponse) String() string
func (*CheckTokenResponse) Validate ¶
func (m *CheckTokenResponse) Validate() error
Validate checks the field values on CheckTokenResponse 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 (*CheckTokenResponse) ValidateAll ¶
func (m *CheckTokenResponse) ValidateAll() error
ValidateAll checks the field values on CheckTokenResponse 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 CheckTokenResponseMultiError, or nil if none found.
type CheckTokenResponseMultiError ¶
type CheckTokenResponseMultiError []error
CheckTokenResponseMultiError is an error wrapping multiple validation errors returned by CheckTokenResponse.ValidateAll() if the designated constraints aren't met.
func (CheckTokenResponseMultiError) AllErrors ¶
func (m CheckTokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckTokenResponseMultiError) Error ¶
func (m CheckTokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckTokenResponseValidationError ¶
type CheckTokenResponseValidationError struct {
// contains filtered or unexported fields
}
CheckTokenResponseValidationError is the validation error returned by CheckTokenResponse.Validate if the designated constraints aren't met.
func (CheckTokenResponseValidationError) Cause ¶
func (e CheckTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckTokenResponseValidationError) Error ¶
func (e CheckTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckTokenResponseValidationError) ErrorName ¶
func (e CheckTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckTokenResponseValidationError) Field ¶
func (e CheckTokenResponseValidationError) Field() string
Field function returns field value.
func (CheckTokenResponseValidationError) Key ¶
func (e CheckTokenResponseValidationError) Key() bool
Key function returns key value.
func (CheckTokenResponseValidationError) Reason ¶
func (e CheckTokenResponseValidationError) Reason() string
Reason function returns reason value.
type CreateTokenRequest ¶
type CreateTokenRequest struct { UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` ActId string `protobuf:"bytes,2,opt,name=act_id,json=actId,proto3" json:"act_id,omitempty"` BizId string `protobuf:"bytes,3,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenRequest) Descriptor
deprecated
func (*CreateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateTokenRequest) GetActId ¶ added in v0.0.2
func (x *CreateTokenRequest) GetActId() string
func (*CreateTokenRequest) GetBizId ¶ added in v0.0.2
func (x *CreateTokenRequest) GetBizId() string
func (*CreateTokenRequest) GetUserName ¶
func (x *CreateTokenRequest) GetUserName() string
func (*CreateTokenRequest) ProtoMessage ¶
func (*CreateTokenRequest) ProtoMessage()
func (*CreateTokenRequest) ProtoReflect ¶
func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateTokenRequest) Reset ¶
func (x *CreateTokenRequest) Reset()
func (*CreateTokenRequest) String ¶
func (x *CreateTokenRequest) String() string
func (*CreateTokenRequest) Validate ¶
func (m *CreateTokenRequest) Validate() error
Validate checks the field values on CreateTokenRequest 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 (*CreateTokenRequest) ValidateAll ¶
func (m *CreateTokenRequest) ValidateAll() error
ValidateAll checks the field values on CreateTokenRequest 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 CreateTokenRequestMultiError, or nil if none found.
type CreateTokenRequestMultiError ¶
type CreateTokenRequestMultiError []error
CreateTokenRequestMultiError is an error wrapping multiple validation errors returned by CreateTokenRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTokenRequestMultiError) AllErrors ¶
func (m CreateTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTokenRequestMultiError) Error ¶
func (m CreateTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTokenRequestValidationError ¶
type CreateTokenRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTokenRequestValidationError is the validation error returned by CreateTokenRequest.Validate if the designated constraints aren't met.
func (CreateTokenRequestValidationError) Cause ¶
func (e CreateTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTokenRequestValidationError) Error ¶
func (e CreateTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTokenRequestValidationError) ErrorName ¶
func (e CreateTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTokenRequestValidationError) Field ¶
func (e CreateTokenRequestValidationError) Field() string
Field function returns field value.
func (CreateTokenRequestValidationError) Key ¶
func (e CreateTokenRequestValidationError) Key() bool
Key function returns key value.
func (CreateTokenRequestValidationError) Reason ¶
func (e CreateTokenRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTokenResponse ¶
type CreateTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenResponse) Descriptor
deprecated
func (*CreateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateTokenResponse) GetToken ¶
func (x *CreateTokenResponse) GetToken() string
func (*CreateTokenResponse) GetUserName ¶
func (x *CreateTokenResponse) GetUserName() string
func (*CreateTokenResponse) ProtoMessage ¶
func (*CreateTokenResponse) ProtoMessage()
func (*CreateTokenResponse) ProtoReflect ¶
func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateTokenResponse) Reset ¶
func (x *CreateTokenResponse) Reset()
func (*CreateTokenResponse) String ¶
func (x *CreateTokenResponse) String() string
func (*CreateTokenResponse) Validate ¶
func (m *CreateTokenResponse) Validate() error
Validate checks the field values on CreateTokenResponse 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 (*CreateTokenResponse) ValidateAll ¶
func (m *CreateTokenResponse) ValidateAll() error
ValidateAll checks the field values on CreateTokenResponse 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 CreateTokenResponseMultiError, or nil if none found.
type CreateTokenResponseMultiError ¶
type CreateTokenResponseMultiError []error
CreateTokenResponseMultiError is an error wrapping multiple validation errors returned by CreateTokenResponse.ValidateAll() if the designated constraints aren't met.
func (CreateTokenResponseMultiError) AllErrors ¶
func (m CreateTokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTokenResponseMultiError) Error ¶
func (m CreateTokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTokenResponseValidationError ¶
type CreateTokenResponseValidationError struct {
// contains filtered or unexported fields
}
CreateTokenResponseValidationError is the validation error returned by CreateTokenResponse.Validate if the designated constraints aren't met.
func (CreateTokenResponseValidationError) Cause ¶
func (e CreateTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateTokenResponseValidationError) Error ¶
func (e CreateTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTokenResponseValidationError) ErrorName ¶
func (e CreateTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTokenResponseValidationError) Field ¶
func (e CreateTokenResponseValidationError) Field() string
Field function returns field value.
func (CreateTokenResponseValidationError) Key ¶
func (e CreateTokenResponseValidationError) Key() bool
Key function returns key value.
func (CreateTokenResponseValidationError) Reason ¶
func (e CreateTokenResponseValidationError) Reason() string
Reason function returns reason value.
type CustomerTalkServiceClient ¶
type CustomerTalkServiceClient interface { QueryTalks(ctx context.Context, in *QueryTalksRequest, opts ...grpc.CallOption) (*QueryTalksResponse, error) Talk(ctx context.Context, opts ...grpc.CallOption) (CustomerTalkService_TalkClient, error) }
CustomerTalkServiceClient is the client API for CustomerTalkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCustomerTalkServiceClient ¶
func NewCustomerTalkServiceClient(cc grpc.ClientConnInterface) CustomerTalkServiceClient
type CustomerTalkServiceServer ¶
type CustomerTalkServiceServer interface { QueryTalks(context.Context, *QueryTalksRequest) (*QueryTalksResponse, error) Talk(CustomerTalkService_TalkServer) error // contains filtered or unexported methods }
CustomerTalkServiceServer is the server API for CustomerTalkService service. All implementations must embed UnimplementedCustomerTalkServiceServer for forward compatibility
type CustomerTalkService_TalkClient ¶
type CustomerTalkService_TalkClient interface { Send(*TalkRequest) error Recv() (*TalkResponse, error) grpc.ClientStream }
type CustomerTalkService_TalkServer ¶
type CustomerTalkService_TalkServer interface { Send(*TalkResponse) error Recv() (*TalkRequest, error) grpc.ServerStream }
type CustomerUserServicerClient ¶
type CustomerUserServicerClient interface { CheckToken(ctx context.Context, in *CheckTokenRequest, opts ...grpc.CallOption) (*CheckTokenResponse, error) CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) }
CustomerUserServicerClient is the client API for CustomerUserServicer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCustomerUserServicerClient ¶
func NewCustomerUserServicerClient(cc grpc.ClientConnInterface) CustomerUserServicerClient
type CustomerUserServicerServer ¶
type CustomerUserServicerServer interface { CheckToken(context.Context, *CheckTokenRequest) (*CheckTokenResponse, error) CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) // contains filtered or unexported methods }
CustomerUserServicerServer is the server API for CustomerUserServicer service. All implementations must embed UnimplementedCustomerUserServicerServer for forward compatibility
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 LoginRequest ¶
type LoginRequest struct { UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUserName ¶
func (x *LoginRequest) GetUserName() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` ActIds []string `protobuf:"bytes,4,rep,name=act_ids,json=actIds,proto3" json:"act_ids,omitempty"` BizIds []string `protobuf:"bytes,5,rep,name=biz_ids,json=bizIds,proto3" json:"biz_ids,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetActIds ¶ added in v0.0.2
func (x *LoginResponse) GetActIds() []string
func (*LoginResponse) GetBizIds ¶ added in v0.0.2
func (x *LoginResponse) GetBizIds() []string
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUserId ¶ added in v0.0.2
func (x *LoginResponse) GetUserId() string
func (*LoginResponse) GetUserName ¶
func (x *LoginResponse) GetUserName() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse 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 (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse 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 LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type ProfileRequest ¶ added in v0.0.2
type ProfileRequest struct { RenewToken bool `protobuf:"varint,1,opt,name=renew_token,json=renewToken,proto3" json:"renew_token,omitempty"` // contains filtered or unexported fields }
func (*ProfileRequest) Descriptor
deprecated
added in
v0.0.2
func (*ProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.
func (*ProfileRequest) GetRenewToken ¶ added in v0.0.2
func (x *ProfileRequest) GetRenewToken() bool
func (*ProfileRequest) ProtoMessage ¶ added in v0.0.2
func (*ProfileRequest) ProtoMessage()
func (*ProfileRequest) ProtoReflect ¶ added in v0.0.2
func (x *ProfileRequest) ProtoReflect() protoreflect.Message
func (*ProfileRequest) Reset ¶ added in v0.0.2
func (x *ProfileRequest) Reset()
func (*ProfileRequest) String ¶ added in v0.0.2
func (x *ProfileRequest) String() string
func (*ProfileRequest) Validate ¶ added in v0.0.2
func (m *ProfileRequest) Validate() error
Validate checks the field values on ProfileRequest 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 (*ProfileRequest) ValidateAll ¶ added in v0.0.2
func (m *ProfileRequest) ValidateAll() error
ValidateAll checks the field values on ProfileRequest 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 ProfileRequestMultiError, or nil if none found.
type ProfileRequestMultiError ¶ added in v0.0.2
type ProfileRequestMultiError []error
ProfileRequestMultiError is an error wrapping multiple validation errors returned by ProfileRequest.ValidateAll() if the designated constraints aren't met.
func (ProfileRequestMultiError) AllErrors ¶ added in v0.0.2
func (m ProfileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProfileRequestMultiError) Error ¶ added in v0.0.2
func (m ProfileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProfileRequestValidationError ¶ added in v0.0.2
type ProfileRequestValidationError struct {
// contains filtered or unexported fields
}
ProfileRequestValidationError is the validation error returned by ProfileRequest.Validate if the designated constraints aren't met.
func (ProfileRequestValidationError) Cause ¶ added in v0.0.2
func (e ProfileRequestValidationError) Cause() error
Cause function returns cause value.
func (ProfileRequestValidationError) Error ¶ added in v0.0.2
func (e ProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProfileRequestValidationError) ErrorName ¶ added in v0.0.2
func (e ProfileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProfileRequestValidationError) Field ¶ added in v0.0.2
func (e ProfileRequestValidationError) Field() string
Field function returns field value.
func (ProfileRequestValidationError) Key ¶ added in v0.0.2
func (e ProfileRequestValidationError) Key() bool
Key function returns key value.
func (ProfileRequestValidationError) Reason ¶ added in v0.0.2
func (e ProfileRequestValidationError) Reason() string
Reason function returns reason value.
type ProfileResponse ¶ added in v0.0.2
type ProfileResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` ActIds []string `protobuf:"bytes,4,rep,name=act_ids,json=actIds,proto3" json:"act_ids,omitempty"` BizIds []string `protobuf:"bytes,5,rep,name=biz_ids,json=bizIds,proto3" json:"biz_ids,omitempty"` // contains filtered or unexported fields }
func (*ProfileResponse) Descriptor
deprecated
added in
v0.0.2
func (*ProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResponse.ProtoReflect.Descriptor instead.
func (*ProfileResponse) GetActIds ¶ added in v0.0.2
func (x *ProfileResponse) GetActIds() []string
func (*ProfileResponse) GetBizIds ¶ added in v0.0.2
func (x *ProfileResponse) GetBizIds() []string
func (*ProfileResponse) GetToken ¶ added in v0.0.2
func (x *ProfileResponse) GetToken() string
func (*ProfileResponse) GetUserId ¶ added in v0.0.2
func (x *ProfileResponse) GetUserId() string
func (*ProfileResponse) GetUserName ¶ added in v0.0.2
func (x *ProfileResponse) GetUserName() string
func (*ProfileResponse) ProtoMessage ¶ added in v0.0.2
func (*ProfileResponse) ProtoMessage()
func (*ProfileResponse) ProtoReflect ¶ added in v0.0.2
func (x *ProfileResponse) ProtoReflect() protoreflect.Message
func (*ProfileResponse) Reset ¶ added in v0.0.2
func (x *ProfileResponse) Reset()
func (*ProfileResponse) String ¶ added in v0.0.2
func (x *ProfileResponse) String() string
func (*ProfileResponse) Validate ¶ added in v0.0.2
func (m *ProfileResponse) Validate() error
Validate checks the field values on ProfileResponse 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 (*ProfileResponse) ValidateAll ¶ added in v0.0.2
func (m *ProfileResponse) ValidateAll() error
ValidateAll checks the field values on ProfileResponse 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 ProfileResponseMultiError, or nil if none found.
type ProfileResponseMultiError ¶ added in v0.0.2
type ProfileResponseMultiError []error
ProfileResponseMultiError is an error wrapping multiple validation errors returned by ProfileResponse.ValidateAll() if the designated constraints aren't met.
func (ProfileResponseMultiError) AllErrors ¶ added in v0.0.2
func (m ProfileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProfileResponseMultiError) Error ¶ added in v0.0.2
func (m ProfileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProfileResponseValidationError ¶ added in v0.0.2
type ProfileResponseValidationError struct {
// contains filtered or unexported fields
}
ProfileResponseValidationError is the validation error returned by ProfileResponse.Validate if the designated constraints aren't met.
func (ProfileResponseValidationError) Cause ¶ added in v0.0.2
func (e ProfileResponseValidationError) Cause() error
Cause function returns cause value.
func (ProfileResponseValidationError) Error ¶ added in v0.0.2
func (e ProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProfileResponseValidationError) ErrorName ¶ added in v0.0.2
func (e ProfileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProfileResponseValidationError) Field ¶ added in v0.0.2
func (e ProfileResponseValidationError) Field() string
Field function returns field value.
func (ProfileResponseValidationError) Key ¶ added in v0.0.2
func (e ProfileResponseValidationError) Key() bool
Key function returns key value.
func (ProfileResponseValidationError) Reason ¶ added in v0.0.2
func (e ProfileResponseValidationError) Reason() string
Reason function returns reason value.
type QueryTalksRequest ¶
type QueryTalksRequest struct { Statuses []TalkStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=TalkStatus" json:"statuses,omitempty"` // contains filtered or unexported fields }
func (*QueryTalksRequest) Descriptor
deprecated
func (*QueryTalksRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTalksRequest.ProtoReflect.Descriptor instead.
func (*QueryTalksRequest) GetStatuses ¶
func (x *QueryTalksRequest) GetStatuses() []TalkStatus
func (*QueryTalksRequest) ProtoMessage ¶
func (*QueryTalksRequest) ProtoMessage()
func (*QueryTalksRequest) ProtoReflect ¶
func (x *QueryTalksRequest) ProtoReflect() protoreflect.Message
func (*QueryTalksRequest) Reset ¶
func (x *QueryTalksRequest) Reset()
func (*QueryTalksRequest) String ¶
func (x *QueryTalksRequest) String() string
func (*QueryTalksRequest) Validate ¶
func (m *QueryTalksRequest) Validate() error
Validate checks the field values on QueryTalksRequest 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 (*QueryTalksRequest) ValidateAll ¶
func (m *QueryTalksRequest) ValidateAll() error
ValidateAll checks the field values on QueryTalksRequest 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 QueryTalksRequestMultiError, or nil if none found.
type QueryTalksRequestMultiError ¶
type QueryTalksRequestMultiError []error
QueryTalksRequestMultiError is an error wrapping multiple validation errors returned by QueryTalksRequest.ValidateAll() if the designated constraints aren't met.
func (QueryTalksRequestMultiError) AllErrors ¶
func (m QueryTalksRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryTalksRequestMultiError) Error ¶
func (m QueryTalksRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryTalksRequestValidationError ¶
type QueryTalksRequestValidationError struct {
// contains filtered or unexported fields
}
QueryTalksRequestValidationError is the validation error returned by QueryTalksRequest.Validate if the designated constraints aren't met.
func (QueryTalksRequestValidationError) Cause ¶
func (e QueryTalksRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryTalksRequestValidationError) Error ¶
func (e QueryTalksRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryTalksRequestValidationError) ErrorName ¶
func (e QueryTalksRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryTalksRequestValidationError) Field ¶
func (e QueryTalksRequestValidationError) Field() string
Field function returns field value.
func (QueryTalksRequestValidationError) Key ¶
func (e QueryTalksRequestValidationError) Key() bool
Key function returns key value.
func (QueryTalksRequestValidationError) Reason ¶
func (e QueryTalksRequestValidationError) Reason() string
Reason function returns reason value.
type QueryTalksResponse ¶
type QueryTalksResponse struct { Talks []*TalkInfo `protobuf:"bytes,1,rep,name=talks,proto3" json:"talks,omitempty"` // contains filtered or unexported fields }
func (*QueryTalksResponse) Descriptor
deprecated
func (*QueryTalksResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTalksResponse.ProtoReflect.Descriptor instead.
func (*QueryTalksResponse) GetTalks ¶
func (x *QueryTalksResponse) GetTalks() []*TalkInfo
func (*QueryTalksResponse) ProtoMessage ¶
func (*QueryTalksResponse) ProtoMessage()
func (*QueryTalksResponse) ProtoReflect ¶
func (x *QueryTalksResponse) ProtoReflect() protoreflect.Message
func (*QueryTalksResponse) Reset ¶
func (x *QueryTalksResponse) Reset()
func (*QueryTalksResponse) String ¶
func (x *QueryTalksResponse) String() string
func (*QueryTalksResponse) Validate ¶
func (m *QueryTalksResponse) Validate() error
Validate checks the field values on QueryTalksResponse 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 (*QueryTalksResponse) ValidateAll ¶
func (m *QueryTalksResponse) ValidateAll() error
ValidateAll checks the field values on QueryTalksResponse 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 QueryTalksResponseMultiError, or nil if none found.
type QueryTalksResponseMultiError ¶
type QueryTalksResponseMultiError []error
QueryTalksResponseMultiError is an error wrapping multiple validation errors returned by QueryTalksResponse.ValidateAll() if the designated constraints aren't met.
func (QueryTalksResponseMultiError) AllErrors ¶
func (m QueryTalksResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryTalksResponseMultiError) Error ¶
func (m QueryTalksResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryTalksResponseValidationError ¶
type QueryTalksResponseValidationError struct {
// contains filtered or unexported fields
}
QueryTalksResponseValidationError is the validation error returned by QueryTalksResponse.Validate if the designated constraints aren't met.
func (QueryTalksResponseValidationError) Cause ¶
func (e QueryTalksResponseValidationError) Cause() error
Cause function returns cause value.
func (QueryTalksResponseValidationError) Error ¶
func (e QueryTalksResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QueryTalksResponseValidationError) ErrorName ¶
func (e QueryTalksResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QueryTalksResponseValidationError) Field ¶
func (e QueryTalksResponseValidationError) Field() string
Field function returns field value.
func (QueryTalksResponseValidationError) Key ¶
func (e QueryTalksResponseValidationError) Key() bool
Key function returns key value.
func (QueryTalksResponseValidationError) Reason ¶
func (e QueryTalksResponseValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest ¶
type RegisterRequest struct { UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetUserName ¶
func (x *RegisterRequest) GetUserName() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) Validate ¶
func (m *RegisterRequest) Validate() error
Validate checks the field values on RegisterRequest 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 (*RegisterRequest) ValidateAll ¶
func (m *RegisterRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRequest 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 RegisterRequestMultiError, or nil if none found.
type RegisterRequestMultiError ¶
type RegisterRequestMultiError []error
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRequestMultiError) AllErrors ¶
func (m RegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequestMultiError) Error ¶
func (m RegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequestValidationError ¶
type RegisterRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
func (RegisterRequestValidationError) Cause ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterResponse ¶
type RegisterResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetToken ¶
func (x *RegisterResponse) GetToken() string
func (*RegisterResponse) GetUserId ¶ added in v0.0.2
func (x *RegisterResponse) GetUserId() string
func (*RegisterResponse) GetUserName ¶
func (x *RegisterResponse) GetUserName() string
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
func (*RegisterResponse) Validate ¶
func (m *RegisterResponse) Validate() error
Validate checks the field values on RegisterResponse 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 (*RegisterResponse) ValidateAll ¶
func (m *RegisterResponse) ValidateAll() error
ValidateAll checks the field values on RegisterResponse 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 RegisterResponseMultiError, or nil if none found.
type RegisterResponseMultiError ¶
type RegisterResponseMultiError []error
RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterResponseMultiError) AllErrors ¶
func (m RegisterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterResponseMultiError) Error ¶
func (m RegisterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterResponseValidationError ¶
type RegisterResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.
func (RegisterResponseValidationError) Cause ¶
func (e RegisterResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterResponseValidationError) Error ¶
func (e RegisterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterResponseValidationError) ErrorName ¶
func (e RegisterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterResponseValidationError) Field ¶
func (e RegisterResponseValidationError) Field() string
Field function returns field value.
func (RegisterResponseValidationError) Key ¶
func (e RegisterResponseValidationError) Key() bool
Key function returns key value.
func (RegisterResponseValidationError) Reason ¶
func (e RegisterResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceAttachRequest ¶
type ServiceAttachRequest struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*ServiceAttachRequest) Descriptor
deprecated
func (*ServiceAttachRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAttachRequest.ProtoReflect.Descriptor instead.
func (*ServiceAttachRequest) GetTalkId ¶
func (x *ServiceAttachRequest) GetTalkId() string
func (*ServiceAttachRequest) ProtoMessage ¶
func (*ServiceAttachRequest) ProtoMessage()
func (*ServiceAttachRequest) ProtoReflect ¶
func (x *ServiceAttachRequest) ProtoReflect() protoreflect.Message
func (*ServiceAttachRequest) Reset ¶
func (x *ServiceAttachRequest) Reset()
func (*ServiceAttachRequest) String ¶
func (x *ServiceAttachRequest) String() string
func (*ServiceAttachRequest) Validate ¶
func (m *ServiceAttachRequest) Validate() error
Validate checks the field values on ServiceAttachRequest 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 (*ServiceAttachRequest) ValidateAll ¶
func (m *ServiceAttachRequest) ValidateAll() error
ValidateAll checks the field values on ServiceAttachRequest 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 ServiceAttachRequestMultiError, or nil if none found.
type ServiceAttachRequestMultiError ¶
type ServiceAttachRequestMultiError []error
ServiceAttachRequestMultiError is an error wrapping multiple validation errors returned by ServiceAttachRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceAttachRequestMultiError) AllErrors ¶
func (m ServiceAttachRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceAttachRequestMultiError) Error ¶
func (m ServiceAttachRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceAttachRequestValidationError ¶
type ServiceAttachRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceAttachRequestValidationError is the validation error returned by ServiceAttachRequest.Validate if the designated constraints aren't met.
func (ServiceAttachRequestValidationError) Cause ¶
func (e ServiceAttachRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceAttachRequestValidationError) Error ¶
func (e ServiceAttachRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAttachRequestValidationError) ErrorName ¶
func (e ServiceAttachRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAttachRequestValidationError) Field ¶
func (e ServiceAttachRequestValidationError) Field() string
Field function returns field value.
func (ServiceAttachRequestValidationError) Key ¶
func (e ServiceAttachRequestValidationError) Key() bool
Key function returns key value.
func (ServiceAttachRequestValidationError) Reason ¶
func (e ServiceAttachRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceAttachTalkResponse ¶
type ServiceAttachTalkResponse struct { Talk *TalkInfo `protobuf:"bytes,1,opt,name=talk,proto3" json:"talk,omitempty"` AttachedServiceId uint64 `protobuf:"varint,2,opt,name=attached_service_id,json=attachedServiceId,proto3" json:"attached_service_id,omitempty"` // 会话附加到的客服ID,如果非0且值等于当前客户ID,代表附加到了本客服 // contains filtered or unexported fields }
func (*ServiceAttachTalkResponse) Descriptor
deprecated
func (*ServiceAttachTalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAttachTalkResponse.ProtoReflect.Descriptor instead.
func (*ServiceAttachTalkResponse) GetAttachedServiceId ¶
func (x *ServiceAttachTalkResponse) GetAttachedServiceId() uint64
func (*ServiceAttachTalkResponse) GetTalk ¶
func (x *ServiceAttachTalkResponse) GetTalk() *TalkInfo
func (*ServiceAttachTalkResponse) ProtoMessage ¶
func (*ServiceAttachTalkResponse) ProtoMessage()
func (*ServiceAttachTalkResponse) ProtoReflect ¶
func (x *ServiceAttachTalkResponse) ProtoReflect() protoreflect.Message
func (*ServiceAttachTalkResponse) Reset ¶
func (x *ServiceAttachTalkResponse) Reset()
func (*ServiceAttachTalkResponse) String ¶
func (x *ServiceAttachTalkResponse) String() string
func (*ServiceAttachTalkResponse) Validate ¶
func (m *ServiceAttachTalkResponse) Validate() error
Validate checks the field values on ServiceAttachTalkResponse 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 (*ServiceAttachTalkResponse) ValidateAll ¶
func (m *ServiceAttachTalkResponse) ValidateAll() error
ValidateAll checks the field values on ServiceAttachTalkResponse 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 ServiceAttachTalkResponseMultiError, or nil if none found.
type ServiceAttachTalkResponseMultiError ¶
type ServiceAttachTalkResponseMultiError []error
ServiceAttachTalkResponseMultiError is an error wrapping multiple validation errors returned by ServiceAttachTalkResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceAttachTalkResponseMultiError) AllErrors ¶
func (m ServiceAttachTalkResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceAttachTalkResponseMultiError) Error ¶
func (m ServiceAttachTalkResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceAttachTalkResponseValidationError ¶
type ServiceAttachTalkResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceAttachTalkResponseValidationError is the validation error returned by ServiceAttachTalkResponse.Validate if the designated constraints aren't met.
func (ServiceAttachTalkResponseValidationError) Cause ¶
func (e ServiceAttachTalkResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceAttachTalkResponseValidationError) Error ¶
func (e ServiceAttachTalkResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAttachTalkResponseValidationError) ErrorName ¶
func (e ServiceAttachTalkResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAttachTalkResponseValidationError) Field ¶
func (e ServiceAttachTalkResponseValidationError) Field() string
Field function returns field value.
func (ServiceAttachTalkResponseValidationError) Key ¶
func (e ServiceAttachTalkResponseValidationError) Key() bool
Key function returns key value.
func (ServiceAttachTalkResponseValidationError) Reason ¶
func (e ServiceAttachTalkResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceAttachedTalksResponse ¶
type ServiceAttachedTalksResponse struct { Talks []*ServiceTalkInfoAndMessages `protobuf:"bytes,2,rep,name=talks,proto3" json:"talks,omitempty"` // contains filtered or unexported fields }
func (*ServiceAttachedTalksResponse) Descriptor
deprecated
func (*ServiceAttachedTalksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAttachedTalksResponse.ProtoReflect.Descriptor instead.
func (*ServiceAttachedTalksResponse) GetTalks ¶
func (x *ServiceAttachedTalksResponse) GetTalks() []*ServiceTalkInfoAndMessages
func (*ServiceAttachedTalksResponse) ProtoMessage ¶
func (*ServiceAttachedTalksResponse) ProtoMessage()
func (*ServiceAttachedTalksResponse) ProtoReflect ¶
func (x *ServiceAttachedTalksResponse) ProtoReflect() protoreflect.Message
func (*ServiceAttachedTalksResponse) Reset ¶
func (x *ServiceAttachedTalksResponse) Reset()
func (*ServiceAttachedTalksResponse) String ¶
func (x *ServiceAttachedTalksResponse) String() string
func (*ServiceAttachedTalksResponse) Validate ¶
func (m *ServiceAttachedTalksResponse) Validate() error
Validate checks the field values on ServiceAttachedTalksResponse 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 (*ServiceAttachedTalksResponse) ValidateAll ¶
func (m *ServiceAttachedTalksResponse) ValidateAll() error
ValidateAll checks the field values on ServiceAttachedTalksResponse 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 ServiceAttachedTalksResponseMultiError, or nil if none found.
type ServiceAttachedTalksResponseMultiError ¶
type ServiceAttachedTalksResponseMultiError []error
ServiceAttachedTalksResponseMultiError is an error wrapping multiple validation errors returned by ServiceAttachedTalksResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceAttachedTalksResponseMultiError) AllErrors ¶
func (m ServiceAttachedTalksResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceAttachedTalksResponseMultiError) Error ¶
func (m ServiceAttachedTalksResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceAttachedTalksResponseValidationError ¶
type ServiceAttachedTalksResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceAttachedTalksResponseValidationError is the validation error returned by ServiceAttachedTalksResponse.Validate if the designated constraints aren't met.
func (ServiceAttachedTalksResponseValidationError) Cause ¶
func (e ServiceAttachedTalksResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceAttachedTalksResponseValidationError) Error ¶
func (e ServiceAttachedTalksResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAttachedTalksResponseValidationError) ErrorName ¶
func (e ServiceAttachedTalksResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAttachedTalksResponseValidationError) Field ¶
func (e ServiceAttachedTalksResponseValidationError) Field() string
Field function returns field value.
func (ServiceAttachedTalksResponseValidationError) Key ¶
func (e ServiceAttachedTalksResponseValidationError) Key() bool
Key function returns key value.
func (ServiceAttachedTalksResponseValidationError) Reason ¶
func (e ServiceAttachedTalksResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceDetachRequest ¶
type ServiceDetachRequest struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*ServiceDetachRequest) Descriptor
deprecated
func (*ServiceDetachRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDetachRequest.ProtoReflect.Descriptor instead.
func (*ServiceDetachRequest) GetTalkId ¶
func (x *ServiceDetachRequest) GetTalkId() string
func (*ServiceDetachRequest) ProtoMessage ¶
func (*ServiceDetachRequest) ProtoMessage()
func (*ServiceDetachRequest) ProtoReflect ¶
func (x *ServiceDetachRequest) ProtoReflect() protoreflect.Message
func (*ServiceDetachRequest) Reset ¶
func (x *ServiceDetachRequest) Reset()
func (*ServiceDetachRequest) String ¶
func (x *ServiceDetachRequest) String() string
func (*ServiceDetachRequest) Validate ¶
func (m *ServiceDetachRequest) Validate() error
Validate checks the field values on ServiceDetachRequest 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 (*ServiceDetachRequest) ValidateAll ¶
func (m *ServiceDetachRequest) ValidateAll() error
ValidateAll checks the field values on ServiceDetachRequest 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 ServiceDetachRequestMultiError, or nil if none found.
type ServiceDetachRequestMultiError ¶
type ServiceDetachRequestMultiError []error
ServiceDetachRequestMultiError is an error wrapping multiple validation errors returned by ServiceDetachRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceDetachRequestMultiError) AllErrors ¶
func (m ServiceDetachRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceDetachRequestMultiError) Error ¶
func (m ServiceDetachRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceDetachRequestValidationError ¶
type ServiceDetachRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceDetachRequestValidationError is the validation error returned by ServiceDetachRequest.Validate if the designated constraints aren't met.
func (ServiceDetachRequestValidationError) Cause ¶
func (e ServiceDetachRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceDetachRequestValidationError) Error ¶
func (e ServiceDetachRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceDetachRequestValidationError) ErrorName ¶
func (e ServiceDetachRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceDetachRequestValidationError) Field ¶
func (e ServiceDetachRequestValidationError) Field() string
Field function returns field value.
func (ServiceDetachRequestValidationError) Key ¶
func (e ServiceDetachRequestValidationError) Key() bool
Key function returns key value.
func (ServiceDetachRequestValidationError) Reason ¶
func (e ServiceDetachRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceDetachTalkResponse ¶
type ServiceDetachTalkResponse struct { Talk *TalkInfo `protobuf:"bytes,1,opt,name=talk,proto3" json:"talk,omitempty"` DetachedServiceId uint64 `protobuf:"varint,2,opt,name=detached_service_id,json=detachedServiceId,proto3" json:"detached_service_id,omitempty"` // 被剥夺会话的客服ID,如果非0且值等于当前客户ID,代表本客服被剥夺此会话 // contains filtered or unexported fields }
func (*ServiceDetachTalkResponse) Descriptor
deprecated
func (*ServiceDetachTalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDetachTalkResponse.ProtoReflect.Descriptor instead.
func (*ServiceDetachTalkResponse) GetDetachedServiceId ¶
func (x *ServiceDetachTalkResponse) GetDetachedServiceId() uint64
func (*ServiceDetachTalkResponse) GetTalk ¶
func (x *ServiceDetachTalkResponse) GetTalk() *TalkInfo
func (*ServiceDetachTalkResponse) ProtoMessage ¶
func (*ServiceDetachTalkResponse) ProtoMessage()
func (*ServiceDetachTalkResponse) ProtoReflect ¶
func (x *ServiceDetachTalkResponse) ProtoReflect() protoreflect.Message
func (*ServiceDetachTalkResponse) Reset ¶
func (x *ServiceDetachTalkResponse) Reset()
func (*ServiceDetachTalkResponse) String ¶
func (x *ServiceDetachTalkResponse) String() string
func (*ServiceDetachTalkResponse) Validate ¶
func (m *ServiceDetachTalkResponse) Validate() error
Validate checks the field values on ServiceDetachTalkResponse 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 (*ServiceDetachTalkResponse) ValidateAll ¶
func (m *ServiceDetachTalkResponse) ValidateAll() error
ValidateAll checks the field values on ServiceDetachTalkResponse 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 ServiceDetachTalkResponseMultiError, or nil if none found.
type ServiceDetachTalkResponseMultiError ¶
type ServiceDetachTalkResponseMultiError []error
ServiceDetachTalkResponseMultiError is an error wrapping multiple validation errors returned by ServiceDetachTalkResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceDetachTalkResponseMultiError) AllErrors ¶
func (m ServiceDetachTalkResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceDetachTalkResponseMultiError) Error ¶
func (m ServiceDetachTalkResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceDetachTalkResponseValidationError ¶
type ServiceDetachTalkResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceDetachTalkResponseValidationError is the validation error returned by ServiceDetachTalkResponse.Validate if the designated constraints aren't met.
func (ServiceDetachTalkResponseValidationError) Cause ¶
func (e ServiceDetachTalkResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceDetachTalkResponseValidationError) Error ¶
func (e ServiceDetachTalkResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceDetachTalkResponseValidationError) ErrorName ¶
func (e ServiceDetachTalkResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceDetachTalkResponseValidationError) Field ¶
func (e ServiceDetachTalkResponseValidationError) Field() string
Field function returns field value.
func (ServiceDetachTalkResponseValidationError) Key ¶
func (e ServiceDetachTalkResponseValidationError) Key() bool
Key function returns key value.
func (ServiceDetachTalkResponseValidationError) Reason ¶
func (e ServiceDetachTalkResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceMessageConfirmed ¶
type ServiceMessageConfirmed struct { SeqId uint64 `protobuf:"varint,1,opt,name=seq_id,json=seqId,proto3" json:"seq_id,omitempty"` At uint64 `protobuf:"varint,2,opt,name=at,proto3" json:"at,omitempty"` // contains filtered or unexported fields }
func (*ServiceMessageConfirmed) Descriptor
deprecated
func (*ServiceMessageConfirmed) Descriptor() ([]byte, []int)
Deprecated: Use ServiceMessageConfirmed.ProtoReflect.Descriptor instead.
func (*ServiceMessageConfirmed) GetAt ¶
func (x *ServiceMessageConfirmed) GetAt() uint64
func (*ServiceMessageConfirmed) GetSeqId ¶
func (x *ServiceMessageConfirmed) GetSeqId() uint64
func (*ServiceMessageConfirmed) ProtoMessage ¶
func (*ServiceMessageConfirmed) ProtoMessage()
func (*ServiceMessageConfirmed) ProtoReflect ¶
func (x *ServiceMessageConfirmed) ProtoReflect() protoreflect.Message
func (*ServiceMessageConfirmed) Reset ¶
func (x *ServiceMessageConfirmed) Reset()
func (*ServiceMessageConfirmed) String ¶
func (x *ServiceMessageConfirmed) String() string
func (*ServiceMessageConfirmed) Validate ¶
func (m *ServiceMessageConfirmed) Validate() error
Validate checks the field values on ServiceMessageConfirmed 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 (*ServiceMessageConfirmed) ValidateAll ¶
func (m *ServiceMessageConfirmed) ValidateAll() error
ValidateAll checks the field values on ServiceMessageConfirmed 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 ServiceMessageConfirmedMultiError, or nil if none found.
type ServiceMessageConfirmedMultiError ¶
type ServiceMessageConfirmedMultiError []error
ServiceMessageConfirmedMultiError is an error wrapping multiple validation errors returned by ServiceMessageConfirmed.ValidateAll() if the designated constraints aren't met.
func (ServiceMessageConfirmedMultiError) AllErrors ¶
func (m ServiceMessageConfirmedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMessageConfirmedMultiError) Error ¶
func (m ServiceMessageConfirmedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceMessageConfirmedValidationError ¶
type ServiceMessageConfirmedValidationError struct {
// contains filtered or unexported fields
}
ServiceMessageConfirmedValidationError is the validation error returned by ServiceMessageConfirmed.Validate if the designated constraints aren't met.
func (ServiceMessageConfirmedValidationError) Cause ¶
func (e ServiceMessageConfirmedValidationError) Cause() error
Cause function returns cause value.
func (ServiceMessageConfirmedValidationError) Error ¶
func (e ServiceMessageConfirmedValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceMessageConfirmedValidationError) ErrorName ¶
func (e ServiceMessageConfirmedValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceMessageConfirmedValidationError) Field ¶
func (e ServiceMessageConfirmedValidationError) Field() string
Field function returns field value.
func (ServiceMessageConfirmedValidationError) Key ¶
func (e ServiceMessageConfirmedValidationError) Key() bool
Key function returns key value.
func (ServiceMessageConfirmedValidationError) Reason ¶
func (e ServiceMessageConfirmedValidationError) Reason() string
Reason function returns reason value.
type ServicePendingTalksResponse ¶
type ServicePendingTalksResponse struct { Talks []*TalkInfo `protobuf:"bytes,2,rep,name=talks,proto3" json:"talks,omitempty"` // contains filtered or unexported fields }
func (*ServicePendingTalksResponse) Descriptor
deprecated
func (*ServicePendingTalksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServicePendingTalksResponse.ProtoReflect.Descriptor instead.
func (*ServicePendingTalksResponse) GetTalks ¶
func (x *ServicePendingTalksResponse) GetTalks() []*TalkInfo
func (*ServicePendingTalksResponse) ProtoMessage ¶
func (*ServicePendingTalksResponse) ProtoMessage()
func (*ServicePendingTalksResponse) ProtoReflect ¶
func (x *ServicePendingTalksResponse) ProtoReflect() protoreflect.Message
func (*ServicePendingTalksResponse) Reset ¶
func (x *ServicePendingTalksResponse) Reset()
func (*ServicePendingTalksResponse) String ¶
func (x *ServicePendingTalksResponse) String() string
func (*ServicePendingTalksResponse) Validate ¶
func (m *ServicePendingTalksResponse) Validate() error
Validate checks the field values on ServicePendingTalksResponse 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 (*ServicePendingTalksResponse) ValidateAll ¶
func (m *ServicePendingTalksResponse) ValidateAll() error
ValidateAll checks the field values on ServicePendingTalksResponse 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 ServicePendingTalksResponseMultiError, or nil if none found.
type ServicePendingTalksResponseMultiError ¶
type ServicePendingTalksResponseMultiError []error
ServicePendingTalksResponseMultiError is an error wrapping multiple validation errors returned by ServicePendingTalksResponse.ValidateAll() if the designated constraints aren't met.
func (ServicePendingTalksResponseMultiError) AllErrors ¶
func (m ServicePendingTalksResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServicePendingTalksResponseMultiError) Error ¶
func (m ServicePendingTalksResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServicePendingTalksResponseValidationError ¶
type ServicePendingTalksResponseValidationError struct {
// contains filtered or unexported fields
}
ServicePendingTalksResponseValidationError is the validation error returned by ServicePendingTalksResponse.Validate if the designated constraints aren't met.
func (ServicePendingTalksResponseValidationError) Cause ¶
func (e ServicePendingTalksResponseValidationError) Cause() error
Cause function returns cause value.
func (ServicePendingTalksResponseValidationError) Error ¶
func (e ServicePendingTalksResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServicePendingTalksResponseValidationError) ErrorName ¶
func (e ServicePendingTalksResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServicePendingTalksResponseValidationError) Field ¶
func (e ServicePendingTalksResponseValidationError) Field() string
Field function returns field value.
func (ServicePendingTalksResponseValidationError) Key ¶
func (e ServicePendingTalksResponseValidationError) Key() bool
Key function returns key value.
func (ServicePendingTalksResponseValidationError) Reason ¶
func (e ServicePendingTalksResponseValidationError) Reason() string
Reason function returns reason value.
type ServicePostMessage ¶
type ServicePostMessage struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` Message *TalkMessageW `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ServicePostMessage) Descriptor
deprecated
func (*ServicePostMessage) Descriptor() ([]byte, []int)
Deprecated: Use ServicePostMessage.ProtoReflect.Descriptor instead.
func (*ServicePostMessage) GetMessage ¶
func (x *ServicePostMessage) GetMessage() *TalkMessageW
func (*ServicePostMessage) GetTalkId ¶
func (x *ServicePostMessage) GetTalkId() string
func (*ServicePostMessage) ProtoMessage ¶
func (*ServicePostMessage) ProtoMessage()
func (*ServicePostMessage) ProtoReflect ¶
func (x *ServicePostMessage) ProtoReflect() protoreflect.Message
func (*ServicePostMessage) Reset ¶
func (x *ServicePostMessage) Reset()
func (*ServicePostMessage) String ¶
func (x *ServicePostMessage) String() string
func (*ServicePostMessage) Validate ¶
func (m *ServicePostMessage) Validate() error
Validate checks the field values on ServicePostMessage 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 (*ServicePostMessage) ValidateAll ¶
func (m *ServicePostMessage) ValidateAll() error
ValidateAll checks the field values on ServicePostMessage 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 ServicePostMessageMultiError, or nil if none found.
type ServicePostMessageMultiError ¶
type ServicePostMessageMultiError []error
ServicePostMessageMultiError is an error wrapping multiple validation errors returned by ServicePostMessage.ValidateAll() if the designated constraints aren't met.
func (ServicePostMessageMultiError) AllErrors ¶
func (m ServicePostMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServicePostMessageMultiError) Error ¶
func (m ServicePostMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServicePostMessageValidationError ¶
type ServicePostMessageValidationError struct {
// contains filtered or unexported fields
}
ServicePostMessageValidationError is the validation error returned by ServicePostMessage.Validate if the designated constraints aren't met.
func (ServicePostMessageValidationError) Cause ¶
func (e ServicePostMessageValidationError) Cause() error
Cause function returns cause value.
func (ServicePostMessageValidationError) Error ¶
func (e ServicePostMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ServicePostMessageValidationError) ErrorName ¶
func (e ServicePostMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ServicePostMessageValidationError) Field ¶
func (e ServicePostMessageValidationError) Field() string
Field function returns field value.
func (ServicePostMessageValidationError) Key ¶
func (e ServicePostMessageValidationError) Key() bool
Key function returns key value.
func (ServicePostMessageValidationError) Reason ¶
func (e ServicePostMessageValidationError) Reason() string
Reason function returns reason value.
type ServiceQueryAttachedTalksRequest ¶
type ServiceQueryAttachedTalksRequest struct {
// contains filtered or unexported fields
}
func (*ServiceQueryAttachedTalksRequest) Descriptor
deprecated
func (*ServiceQueryAttachedTalksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceQueryAttachedTalksRequest.ProtoReflect.Descriptor instead.
func (*ServiceQueryAttachedTalksRequest) ProtoMessage ¶
func (*ServiceQueryAttachedTalksRequest) ProtoMessage()
func (*ServiceQueryAttachedTalksRequest) ProtoReflect ¶
func (x *ServiceQueryAttachedTalksRequest) ProtoReflect() protoreflect.Message
func (*ServiceQueryAttachedTalksRequest) Reset ¶
func (x *ServiceQueryAttachedTalksRequest) Reset()
func (*ServiceQueryAttachedTalksRequest) String ¶
func (x *ServiceQueryAttachedTalksRequest) String() string
func (*ServiceQueryAttachedTalksRequest) Validate ¶
func (m *ServiceQueryAttachedTalksRequest) Validate() error
Validate checks the field values on ServiceQueryAttachedTalksRequest 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 (*ServiceQueryAttachedTalksRequest) ValidateAll ¶
func (m *ServiceQueryAttachedTalksRequest) ValidateAll() error
ValidateAll checks the field values on ServiceQueryAttachedTalksRequest 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 ServiceQueryAttachedTalksRequestMultiError, or nil if none found.
type ServiceQueryAttachedTalksRequestMultiError ¶
type ServiceQueryAttachedTalksRequestMultiError []error
ServiceQueryAttachedTalksRequestMultiError is an error wrapping multiple validation errors returned by ServiceQueryAttachedTalksRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceQueryAttachedTalksRequestMultiError) AllErrors ¶
func (m ServiceQueryAttachedTalksRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceQueryAttachedTalksRequestMultiError) Error ¶
func (m ServiceQueryAttachedTalksRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceQueryAttachedTalksRequestValidationError ¶
type ServiceQueryAttachedTalksRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceQueryAttachedTalksRequestValidationError is the validation error returned by ServiceQueryAttachedTalksRequest.Validate if the designated constraints aren't met.
func (ServiceQueryAttachedTalksRequestValidationError) Cause ¶
func (e ServiceQueryAttachedTalksRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceQueryAttachedTalksRequestValidationError) Error ¶
func (e ServiceQueryAttachedTalksRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceQueryAttachedTalksRequestValidationError) ErrorName ¶
func (e ServiceQueryAttachedTalksRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceQueryAttachedTalksRequestValidationError) Field ¶
func (e ServiceQueryAttachedTalksRequestValidationError) Field() string
Field function returns field value.
func (ServiceQueryAttachedTalksRequestValidationError) Key ¶
func (e ServiceQueryAttachedTalksRequestValidationError) Key() bool
Key function returns key value.
func (ServiceQueryAttachedTalksRequestValidationError) Reason ¶
func (e ServiceQueryAttachedTalksRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceQueryPendingTalksRequest ¶
type ServiceQueryPendingTalksRequest struct {
// contains filtered or unexported fields
}
func (*ServiceQueryPendingTalksRequest) Descriptor
deprecated
func (*ServiceQueryPendingTalksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceQueryPendingTalksRequest.ProtoReflect.Descriptor instead.
func (*ServiceQueryPendingTalksRequest) ProtoMessage ¶
func (*ServiceQueryPendingTalksRequest) ProtoMessage()
func (*ServiceQueryPendingTalksRequest) ProtoReflect ¶
func (x *ServiceQueryPendingTalksRequest) ProtoReflect() protoreflect.Message
func (*ServiceQueryPendingTalksRequest) Reset ¶
func (x *ServiceQueryPendingTalksRequest) Reset()
func (*ServiceQueryPendingTalksRequest) String ¶
func (x *ServiceQueryPendingTalksRequest) String() string
func (*ServiceQueryPendingTalksRequest) Validate ¶
func (m *ServiceQueryPendingTalksRequest) Validate() error
Validate checks the field values on ServiceQueryPendingTalksRequest 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 (*ServiceQueryPendingTalksRequest) ValidateAll ¶
func (m *ServiceQueryPendingTalksRequest) ValidateAll() error
ValidateAll checks the field values on ServiceQueryPendingTalksRequest 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 ServiceQueryPendingTalksRequestMultiError, or nil if none found.
type ServiceQueryPendingTalksRequestMultiError ¶
type ServiceQueryPendingTalksRequestMultiError []error
ServiceQueryPendingTalksRequestMultiError is an error wrapping multiple validation errors returned by ServiceQueryPendingTalksRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceQueryPendingTalksRequestMultiError) AllErrors ¶
func (m ServiceQueryPendingTalksRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceQueryPendingTalksRequestMultiError) Error ¶
func (m ServiceQueryPendingTalksRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceQueryPendingTalksRequestValidationError ¶
type ServiceQueryPendingTalksRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceQueryPendingTalksRequestValidationError is the validation error returned by ServiceQueryPendingTalksRequest.Validate if the designated constraints aren't met.
func (ServiceQueryPendingTalksRequestValidationError) Cause ¶
func (e ServiceQueryPendingTalksRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceQueryPendingTalksRequestValidationError) Error ¶
func (e ServiceQueryPendingTalksRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceQueryPendingTalksRequestValidationError) ErrorName ¶
func (e ServiceQueryPendingTalksRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceQueryPendingTalksRequestValidationError) Field ¶
func (e ServiceQueryPendingTalksRequestValidationError) Field() string
Field function returns field value.
func (ServiceQueryPendingTalksRequestValidationError) Key ¶
func (e ServiceQueryPendingTalksRequestValidationError) Key() bool
Key function returns key value.
func (ServiceQueryPendingTalksRequestValidationError) Reason ¶
func (e ServiceQueryPendingTalksRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceReloadTalkRequest ¶
type ServiceReloadTalkRequest struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*ServiceReloadTalkRequest) Descriptor
deprecated
func (*ServiceReloadTalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceReloadTalkRequest.ProtoReflect.Descriptor instead.
func (*ServiceReloadTalkRequest) GetTalkId ¶
func (x *ServiceReloadTalkRequest) GetTalkId() string
func (*ServiceReloadTalkRequest) ProtoMessage ¶
func (*ServiceReloadTalkRequest) ProtoMessage()
func (*ServiceReloadTalkRequest) ProtoReflect ¶
func (x *ServiceReloadTalkRequest) ProtoReflect() protoreflect.Message
func (*ServiceReloadTalkRequest) Reset ¶
func (x *ServiceReloadTalkRequest) Reset()
func (*ServiceReloadTalkRequest) String ¶
func (x *ServiceReloadTalkRequest) String() string
func (*ServiceReloadTalkRequest) Validate ¶
func (m *ServiceReloadTalkRequest) Validate() error
Validate checks the field values on ServiceReloadTalkRequest 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 (*ServiceReloadTalkRequest) ValidateAll ¶
func (m *ServiceReloadTalkRequest) ValidateAll() error
ValidateAll checks the field values on ServiceReloadTalkRequest 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 ServiceReloadTalkRequestMultiError, or nil if none found.
type ServiceReloadTalkRequestMultiError ¶
type ServiceReloadTalkRequestMultiError []error
ServiceReloadTalkRequestMultiError is an error wrapping multiple validation errors returned by ServiceReloadTalkRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceReloadTalkRequestMultiError) AllErrors ¶
func (m ServiceReloadTalkRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceReloadTalkRequestMultiError) Error ¶
func (m ServiceReloadTalkRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceReloadTalkRequestValidationError ¶
type ServiceReloadTalkRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceReloadTalkRequestValidationError is the validation error returned by ServiceReloadTalkRequest.Validate if the designated constraints aren't met.
func (ServiceReloadTalkRequestValidationError) Cause ¶
func (e ServiceReloadTalkRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceReloadTalkRequestValidationError) Error ¶
func (e ServiceReloadTalkRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceReloadTalkRequestValidationError) ErrorName ¶
func (e ServiceReloadTalkRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceReloadTalkRequestValidationError) Field ¶
func (e ServiceReloadTalkRequestValidationError) Field() string
Field function returns field value.
func (ServiceReloadTalkRequestValidationError) Key ¶
func (e ServiceReloadTalkRequestValidationError) Key() bool
Key function returns key value.
func (ServiceReloadTalkRequestValidationError) Reason ¶
func (e ServiceReloadTalkRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceRequest ¶
type ServiceRequest struct { // Types that are assignable to Request: // *ServiceRequest_AttachedTalks // *ServiceRequest_PendingTalks // *ServiceRequest_Reload // *ServiceRequest_Message // *ServiceRequest_Attach // *ServiceRequest_Detach Request isServiceRequest_Request `protobuf_oneof:"Request"` // contains filtered or unexported fields }
func (*ServiceRequest) Descriptor
deprecated
func (*ServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceRequest.ProtoReflect.Descriptor instead.
func (*ServiceRequest) GetAttach ¶
func (x *ServiceRequest) GetAttach() *ServiceAttachRequest
func (*ServiceRequest) GetAttachedTalks ¶
func (x *ServiceRequest) GetAttachedTalks() *ServiceQueryAttachedTalksRequest
func (*ServiceRequest) GetDetach ¶
func (x *ServiceRequest) GetDetach() *ServiceDetachRequest
func (*ServiceRequest) GetMessage ¶
func (x *ServiceRequest) GetMessage() *ServicePostMessage
func (*ServiceRequest) GetPendingTalks ¶
func (x *ServiceRequest) GetPendingTalks() *ServiceQueryPendingTalksRequest
func (*ServiceRequest) GetReload ¶
func (x *ServiceRequest) GetReload() *ServiceReloadTalkRequest
func (*ServiceRequest) GetRequest ¶
func (m *ServiceRequest) GetRequest() isServiceRequest_Request
func (*ServiceRequest) ProtoMessage ¶
func (*ServiceRequest) ProtoMessage()
func (*ServiceRequest) ProtoReflect ¶
func (x *ServiceRequest) ProtoReflect() protoreflect.Message
func (*ServiceRequest) Reset ¶
func (x *ServiceRequest) Reset()
func (*ServiceRequest) String ¶
func (x *ServiceRequest) String() string
func (*ServiceRequest) Validate ¶
func (m *ServiceRequest) Validate() error
Validate checks the field values on ServiceRequest 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 (*ServiceRequest) ValidateAll ¶
func (m *ServiceRequest) ValidateAll() error
ValidateAll checks the field values on ServiceRequest 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 ServiceRequestMultiError, or nil if none found.
type ServiceRequestMultiError ¶
type ServiceRequestMultiError []error
ServiceRequestMultiError is an error wrapping multiple validation errors returned by ServiceRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceRequestMultiError) AllErrors ¶
func (m ServiceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceRequestMultiError) Error ¶
func (m ServiceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceRequestValidationError ¶
type ServiceRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceRequestValidationError is the validation error returned by ServiceRequest.Validate if the designated constraints aren't met.
func (ServiceRequestValidationError) Cause ¶
func (e ServiceRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceRequestValidationError) Error ¶
func (e ServiceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceRequestValidationError) ErrorName ¶
func (e ServiceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceRequestValidationError) Field ¶
func (e ServiceRequestValidationError) Field() string
Field function returns field value.
func (ServiceRequestValidationError) Key ¶
func (e ServiceRequestValidationError) Key() bool
Key function returns key value.
func (ServiceRequestValidationError) Reason ¶
func (e ServiceRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceRequest_Attach ¶
type ServiceRequest_Attach struct {
Attach *ServiceAttachRequest `protobuf:"bytes,5,opt,name=attach,proto3,oneof"`
}
type ServiceRequest_AttachedTalks ¶
type ServiceRequest_AttachedTalks struct {
AttachedTalks *ServiceQueryAttachedTalksRequest `protobuf:"bytes,1,opt,name=attached_talks,json=attachedTalks,proto3,oneof"`
}
type ServiceRequest_Detach ¶
type ServiceRequest_Detach struct {
Detach *ServiceDetachRequest `protobuf:"bytes,6,opt,name=detach,proto3,oneof"`
}
type ServiceRequest_Message ¶
type ServiceRequest_Message struct {
Message *ServicePostMessage `protobuf:"bytes,4,opt,name=message,proto3,oneof"`
}
type ServiceRequest_PendingTalks ¶
type ServiceRequest_PendingTalks struct {
PendingTalks *ServiceQueryPendingTalksRequest `protobuf:"bytes,2,opt,name=pending_talks,json=pendingTalks,proto3,oneof"`
}
type ServiceRequest_Reload ¶
type ServiceRequest_Reload struct {
Reload *ServiceReloadTalkRequest `protobuf:"bytes,3,opt,name=reload,proto3,oneof"`
}
type ServiceResponse ¶
type ServiceResponse struct { // Types that are assignable to Response: // *ServiceResponse_KickOut // *ServiceResponse_PendingTalks // *ServiceResponse_Talks // *ServiceResponse_Attach // *ServiceResponse_Detach // *ServiceResponse_Reload // *ServiceResponse_Message // *ServiceResponse_Notify // *ServiceResponse_MessageConfirmed // *ServiceResponse_Close Response isServiceResponse_Response `protobuf_oneof:"Response"` // contains filtered or unexported fields }
func (*ServiceResponse) Descriptor
deprecated
func (*ServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
func (*ServiceResponse) GetAttach ¶
func (x *ServiceResponse) GetAttach() *ServiceAttachTalkResponse
func (*ServiceResponse) GetClose ¶
func (x *ServiceResponse) GetClose() *ServiceTalkClose
func (*ServiceResponse) GetDetach ¶
func (x *ServiceResponse) GetDetach() *ServiceDetachTalkResponse
func (*ServiceResponse) GetKickOut ¶
func (x *ServiceResponse) GetKickOut() *TalkKickOutMessage
func (*ServiceResponse) GetMessage ¶
func (x *ServiceResponse) GetMessage() *ServiceTalkMessageResponse
func (*ServiceResponse) GetMessageConfirmed ¶
func (x *ServiceResponse) GetMessageConfirmed() *ServiceMessageConfirmed
func (*ServiceResponse) GetNotify ¶
func (x *ServiceResponse) GetNotify() *ServiceTalkNotifyResponse
func (*ServiceResponse) GetPendingTalks ¶
func (x *ServiceResponse) GetPendingTalks() *ServicePendingTalksResponse
func (*ServiceResponse) GetReload ¶
func (x *ServiceResponse) GetReload() *ServiceTalkReloadResponse
func (*ServiceResponse) GetResponse ¶
func (m *ServiceResponse) GetResponse() isServiceResponse_Response
func (*ServiceResponse) GetTalks ¶
func (x *ServiceResponse) GetTalks() *ServiceAttachedTalksResponse
func (*ServiceResponse) ProtoMessage ¶
func (*ServiceResponse) ProtoMessage()
func (*ServiceResponse) ProtoReflect ¶
func (x *ServiceResponse) ProtoReflect() protoreflect.Message
func (*ServiceResponse) Reset ¶
func (x *ServiceResponse) Reset()
func (*ServiceResponse) String ¶
func (x *ServiceResponse) String() string
func (*ServiceResponse) Validate ¶
func (m *ServiceResponse) Validate() error
Validate checks the field values on ServiceResponse 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 (*ServiceResponse) ValidateAll ¶
func (m *ServiceResponse) ValidateAll() error
ValidateAll checks the field values on ServiceResponse 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 ServiceResponseMultiError, or nil if none found.
type ServiceResponseMultiError ¶
type ServiceResponseMultiError []error
ServiceResponseMultiError is an error wrapping multiple validation errors returned by ServiceResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceResponseMultiError) AllErrors ¶
func (m ServiceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceResponseMultiError) Error ¶
func (m ServiceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceResponseValidationError ¶
type ServiceResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceResponseValidationError is the validation error returned by ServiceResponse.Validate if the designated constraints aren't met.
func (ServiceResponseValidationError) Cause ¶
func (e ServiceResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceResponseValidationError) Error ¶
func (e ServiceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceResponseValidationError) ErrorName ¶
func (e ServiceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceResponseValidationError) Field ¶
func (e ServiceResponseValidationError) Field() string
Field function returns field value.
func (ServiceResponseValidationError) Key ¶
func (e ServiceResponseValidationError) Key() bool
Key function returns key value.
func (ServiceResponseValidationError) Reason ¶
func (e ServiceResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceResponse_Attach ¶
type ServiceResponse_Attach struct {
Attach *ServiceAttachTalkResponse `protobuf:"bytes,4,opt,name=attach,proto3,oneof"` // 会话变为被分配状态
}
type ServiceResponse_Close ¶
type ServiceResponse_Close struct {
Close *ServiceTalkClose `protobuf:"bytes,10,opt,name=close,proto3,oneof"` // 会话被关闭
}
type ServiceResponse_Detach ¶
type ServiceResponse_Detach struct {
Detach *ServiceDetachTalkResponse `protobuf:"bytes,5,opt,name=detach,proto3,oneof"` // 会话变为未分配状态
}
type ServiceResponse_KickOut ¶
type ServiceResponse_KickOut struct {
KickOut *TalkKickOutMessage `protobuf:"bytes,1,opt,name=kick_out,json=kickOut,proto3,oneof"` // 客服被踢出登录
}
type ServiceResponse_Message ¶
type ServiceResponse_Message struct {
Message *ServiceTalkMessageResponse `protobuf:"bytes,7,opt,name=message,proto3,oneof"` // 会话中新增消息
}
type ServiceResponse_MessageConfirmed ¶
type ServiceResponse_MessageConfirmed struct {
MessageConfirmed *ServiceMessageConfirmed `protobuf:"bytes,9,opt,name=message_confirmed,json=messageConfirmed,proto3,oneof"` // 会话中新增消息回应
}
type ServiceResponse_Notify ¶
type ServiceResponse_Notify struct {
Notify *ServiceTalkNotifyResponse `protobuf:"bytes,8,opt,name=notify,proto3,oneof"` // notify
}
type ServiceResponse_PendingTalks ¶
type ServiceResponse_PendingTalks struct {
PendingTalks *ServicePendingTalksResponse `protobuf:"bytes,2,opt,name=pending_talks,json=pendingTalks,proto3,oneof"` // 刷新未分配会话列表
}
type ServiceResponse_Reload ¶
type ServiceResponse_Reload struct {
Reload *ServiceTalkReloadResponse `protobuf:"bytes,6,opt,name=reload,proto3,oneof"` // 会话加载回应
}
type ServiceResponse_Talks ¶
type ServiceResponse_Talks struct {
Talks *ServiceAttachedTalksResponse `protobuf:"bytes,3,opt,name=talks,proto3,oneof"` // 刷新客服处理的所有会话
}
type ServiceTalkClose ¶
type ServiceTalkClose struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*ServiceTalkClose) Descriptor
deprecated
func (*ServiceTalkClose) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTalkClose.ProtoReflect.Descriptor instead.
func (*ServiceTalkClose) GetTalkId ¶
func (x *ServiceTalkClose) GetTalkId() string
func (*ServiceTalkClose) ProtoMessage ¶
func (*ServiceTalkClose) ProtoMessage()
func (*ServiceTalkClose) ProtoReflect ¶
func (x *ServiceTalkClose) ProtoReflect() protoreflect.Message
func (*ServiceTalkClose) Reset ¶
func (x *ServiceTalkClose) Reset()
func (*ServiceTalkClose) String ¶
func (x *ServiceTalkClose) String() string
func (*ServiceTalkClose) Validate ¶
func (m *ServiceTalkClose) Validate() error
Validate checks the field values on ServiceTalkClose 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 (*ServiceTalkClose) ValidateAll ¶
func (m *ServiceTalkClose) ValidateAll() error
ValidateAll checks the field values on ServiceTalkClose 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 ServiceTalkCloseMultiError, or nil if none found.
type ServiceTalkCloseMultiError ¶
type ServiceTalkCloseMultiError []error
ServiceTalkCloseMultiError is an error wrapping multiple validation errors returned by ServiceTalkClose.ValidateAll() if the designated constraints aren't met.
func (ServiceTalkCloseMultiError) AllErrors ¶
func (m ServiceTalkCloseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceTalkCloseMultiError) Error ¶
func (m ServiceTalkCloseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceTalkCloseValidationError ¶
type ServiceTalkCloseValidationError struct {
// contains filtered or unexported fields
}
ServiceTalkCloseValidationError is the validation error returned by ServiceTalkClose.Validate if the designated constraints aren't met.
func (ServiceTalkCloseValidationError) Cause ¶
func (e ServiceTalkCloseValidationError) Cause() error
Cause function returns cause value.
func (ServiceTalkCloseValidationError) Error ¶
func (e ServiceTalkCloseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceTalkCloseValidationError) ErrorName ¶
func (e ServiceTalkCloseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceTalkCloseValidationError) Field ¶
func (e ServiceTalkCloseValidationError) Field() string
Field function returns field value.
func (ServiceTalkCloseValidationError) Key ¶
func (e ServiceTalkCloseValidationError) Key() bool
Key function returns key value.
func (ServiceTalkCloseValidationError) Reason ¶
func (e ServiceTalkCloseValidationError) Reason() string
Reason function returns reason value.
type ServiceTalkInfoAndMessages ¶
type ServiceTalkInfoAndMessages struct { TalkInfo *TalkInfo `protobuf:"bytes,1,opt,name=talk_info,json=talkInfo,proto3" json:"talk_info,omitempty"` Messages []*TalkMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ServiceTalkInfoAndMessages) Descriptor
deprecated
func (*ServiceTalkInfoAndMessages) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTalkInfoAndMessages.ProtoReflect.Descriptor instead.
func (*ServiceTalkInfoAndMessages) GetMessages ¶
func (x *ServiceTalkInfoAndMessages) GetMessages() []*TalkMessage
func (*ServiceTalkInfoAndMessages) GetTalkInfo ¶
func (x *ServiceTalkInfoAndMessages) GetTalkInfo() *TalkInfo
func (*ServiceTalkInfoAndMessages) ProtoMessage ¶
func (*ServiceTalkInfoAndMessages) ProtoMessage()
func (*ServiceTalkInfoAndMessages) ProtoReflect ¶
func (x *ServiceTalkInfoAndMessages) ProtoReflect() protoreflect.Message
func (*ServiceTalkInfoAndMessages) Reset ¶
func (x *ServiceTalkInfoAndMessages) Reset()
func (*ServiceTalkInfoAndMessages) String ¶
func (x *ServiceTalkInfoAndMessages) String() string
func (*ServiceTalkInfoAndMessages) Validate ¶
func (m *ServiceTalkInfoAndMessages) Validate() error
Validate checks the field values on ServiceTalkInfoAndMessages 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 (*ServiceTalkInfoAndMessages) ValidateAll ¶
func (m *ServiceTalkInfoAndMessages) ValidateAll() error
ValidateAll checks the field values on ServiceTalkInfoAndMessages 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 ServiceTalkInfoAndMessagesMultiError, or nil if none found.
type ServiceTalkInfoAndMessagesMultiError ¶
type ServiceTalkInfoAndMessagesMultiError []error
ServiceTalkInfoAndMessagesMultiError is an error wrapping multiple validation errors returned by ServiceTalkInfoAndMessages.ValidateAll() if the designated constraints aren't met.
func (ServiceTalkInfoAndMessagesMultiError) AllErrors ¶
func (m ServiceTalkInfoAndMessagesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceTalkInfoAndMessagesMultiError) Error ¶
func (m ServiceTalkInfoAndMessagesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceTalkInfoAndMessagesValidationError ¶
type ServiceTalkInfoAndMessagesValidationError struct {
// contains filtered or unexported fields
}
ServiceTalkInfoAndMessagesValidationError is the validation error returned by ServiceTalkInfoAndMessages.Validate if the designated constraints aren't met.
func (ServiceTalkInfoAndMessagesValidationError) Cause ¶
func (e ServiceTalkInfoAndMessagesValidationError) Cause() error
Cause function returns cause value.
func (ServiceTalkInfoAndMessagesValidationError) Error ¶
func (e ServiceTalkInfoAndMessagesValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceTalkInfoAndMessagesValidationError) ErrorName ¶
func (e ServiceTalkInfoAndMessagesValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceTalkInfoAndMessagesValidationError) Field ¶
func (e ServiceTalkInfoAndMessagesValidationError) Field() string
Field function returns field value.
func (ServiceTalkInfoAndMessagesValidationError) Key ¶
func (e ServiceTalkInfoAndMessagesValidationError) Key() bool
Key function returns key value.
func (ServiceTalkInfoAndMessagesValidationError) Reason ¶
func (e ServiceTalkInfoAndMessagesValidationError) Reason() string
Reason function returns reason value.
type ServiceTalkMessageResponse ¶
type ServiceTalkMessageResponse struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` Message *TalkMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ServiceTalkMessageResponse) Descriptor
deprecated
func (*ServiceTalkMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTalkMessageResponse.ProtoReflect.Descriptor instead.
func (*ServiceTalkMessageResponse) GetMessage ¶
func (x *ServiceTalkMessageResponse) GetMessage() *TalkMessage
func (*ServiceTalkMessageResponse) GetTalkId ¶
func (x *ServiceTalkMessageResponse) GetTalkId() string
func (*ServiceTalkMessageResponse) ProtoMessage ¶
func (*ServiceTalkMessageResponse) ProtoMessage()
func (*ServiceTalkMessageResponse) ProtoReflect ¶
func (x *ServiceTalkMessageResponse) ProtoReflect() protoreflect.Message
func (*ServiceTalkMessageResponse) Reset ¶
func (x *ServiceTalkMessageResponse) Reset()
func (*ServiceTalkMessageResponse) String ¶
func (x *ServiceTalkMessageResponse) String() string
func (*ServiceTalkMessageResponse) Validate ¶
func (m *ServiceTalkMessageResponse) Validate() error
Validate checks the field values on ServiceTalkMessageResponse 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 (*ServiceTalkMessageResponse) ValidateAll ¶
func (m *ServiceTalkMessageResponse) ValidateAll() error
ValidateAll checks the field values on ServiceTalkMessageResponse 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 ServiceTalkMessageResponseMultiError, or nil if none found.
type ServiceTalkMessageResponseMultiError ¶
type ServiceTalkMessageResponseMultiError []error
ServiceTalkMessageResponseMultiError is an error wrapping multiple validation errors returned by ServiceTalkMessageResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceTalkMessageResponseMultiError) AllErrors ¶
func (m ServiceTalkMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceTalkMessageResponseMultiError) Error ¶
func (m ServiceTalkMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceTalkMessageResponseValidationError ¶
type ServiceTalkMessageResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceTalkMessageResponseValidationError is the validation error returned by ServiceTalkMessageResponse.Validate if the designated constraints aren't met.
func (ServiceTalkMessageResponseValidationError) Cause ¶
func (e ServiceTalkMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceTalkMessageResponseValidationError) Error ¶
func (e ServiceTalkMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceTalkMessageResponseValidationError) ErrorName ¶
func (e ServiceTalkMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceTalkMessageResponseValidationError) Field ¶
func (e ServiceTalkMessageResponseValidationError) Field() string
Field function returns field value.
func (ServiceTalkMessageResponseValidationError) Key ¶
func (e ServiceTalkMessageResponseValidationError) Key() bool
Key function returns key value.
func (ServiceTalkMessageResponseValidationError) Reason ¶
func (e ServiceTalkMessageResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceTalkNotifyResponse ¶
type ServiceTalkNotifyResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*ServiceTalkNotifyResponse) Descriptor
deprecated
func (*ServiceTalkNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTalkNotifyResponse.ProtoReflect.Descriptor instead.
func (*ServiceTalkNotifyResponse) GetMsg ¶
func (x *ServiceTalkNotifyResponse) GetMsg() string
func (*ServiceTalkNotifyResponse) ProtoMessage ¶
func (*ServiceTalkNotifyResponse) ProtoMessage()
func (*ServiceTalkNotifyResponse) ProtoReflect ¶
func (x *ServiceTalkNotifyResponse) ProtoReflect() protoreflect.Message
func (*ServiceTalkNotifyResponse) Reset ¶
func (x *ServiceTalkNotifyResponse) Reset()
func (*ServiceTalkNotifyResponse) String ¶
func (x *ServiceTalkNotifyResponse) String() string
func (*ServiceTalkNotifyResponse) Validate ¶
func (m *ServiceTalkNotifyResponse) Validate() error
Validate checks the field values on ServiceTalkNotifyResponse 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 (*ServiceTalkNotifyResponse) ValidateAll ¶
func (m *ServiceTalkNotifyResponse) ValidateAll() error
ValidateAll checks the field values on ServiceTalkNotifyResponse 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 ServiceTalkNotifyResponseMultiError, or nil if none found.
type ServiceTalkNotifyResponseMultiError ¶
type ServiceTalkNotifyResponseMultiError []error
ServiceTalkNotifyResponseMultiError is an error wrapping multiple validation errors returned by ServiceTalkNotifyResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceTalkNotifyResponseMultiError) AllErrors ¶
func (m ServiceTalkNotifyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceTalkNotifyResponseMultiError) Error ¶
func (m ServiceTalkNotifyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceTalkNotifyResponseValidationError ¶
type ServiceTalkNotifyResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceTalkNotifyResponseValidationError is the validation error returned by ServiceTalkNotifyResponse.Validate if the designated constraints aren't met.
func (ServiceTalkNotifyResponseValidationError) Cause ¶
func (e ServiceTalkNotifyResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceTalkNotifyResponseValidationError) Error ¶
func (e ServiceTalkNotifyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceTalkNotifyResponseValidationError) ErrorName ¶
func (e ServiceTalkNotifyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceTalkNotifyResponseValidationError) Field ¶
func (e ServiceTalkNotifyResponseValidationError) Field() string
Field function returns field value.
func (ServiceTalkNotifyResponseValidationError) Key ¶
func (e ServiceTalkNotifyResponseValidationError) Key() bool
Key function returns key value.
func (ServiceTalkNotifyResponseValidationError) Reason ¶
func (e ServiceTalkNotifyResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceTalkReloadResponse ¶
type ServiceTalkReloadResponse struct { Talk *ServiceTalkInfoAndMessages `protobuf:"bytes,1,opt,name=talk,proto3" json:"talk,omitempty"` // contains filtered or unexported fields }
func (*ServiceTalkReloadResponse) Descriptor
deprecated
func (*ServiceTalkReloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTalkReloadResponse.ProtoReflect.Descriptor instead.
func (*ServiceTalkReloadResponse) GetTalk ¶
func (x *ServiceTalkReloadResponse) GetTalk() *ServiceTalkInfoAndMessages
func (*ServiceTalkReloadResponse) ProtoMessage ¶
func (*ServiceTalkReloadResponse) ProtoMessage()
func (*ServiceTalkReloadResponse) ProtoReflect ¶
func (x *ServiceTalkReloadResponse) ProtoReflect() protoreflect.Message
func (*ServiceTalkReloadResponse) Reset ¶
func (x *ServiceTalkReloadResponse) Reset()
func (*ServiceTalkReloadResponse) String ¶
func (x *ServiceTalkReloadResponse) String() string
func (*ServiceTalkReloadResponse) Validate ¶
func (m *ServiceTalkReloadResponse) Validate() error
Validate checks the field values on ServiceTalkReloadResponse 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 (*ServiceTalkReloadResponse) ValidateAll ¶
func (m *ServiceTalkReloadResponse) ValidateAll() error
ValidateAll checks the field values on ServiceTalkReloadResponse 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 ServiceTalkReloadResponseMultiError, or nil if none found.
type ServiceTalkReloadResponseMultiError ¶
type ServiceTalkReloadResponseMultiError []error
ServiceTalkReloadResponseMultiError is an error wrapping multiple validation errors returned by ServiceTalkReloadResponse.ValidateAll() if the designated constraints aren't met.
func (ServiceTalkReloadResponseMultiError) AllErrors ¶
func (m ServiceTalkReloadResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceTalkReloadResponseMultiError) Error ¶
func (m ServiceTalkReloadResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceTalkReloadResponseValidationError ¶
type ServiceTalkReloadResponseValidationError struct {
// contains filtered or unexported fields
}
ServiceTalkReloadResponseValidationError is the validation error returned by ServiceTalkReloadResponse.Validate if the designated constraints aren't met.
func (ServiceTalkReloadResponseValidationError) Cause ¶
func (e ServiceTalkReloadResponseValidationError) Cause() error
Cause function returns cause value.
func (ServiceTalkReloadResponseValidationError) Error ¶
func (e ServiceTalkReloadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceTalkReloadResponseValidationError) ErrorName ¶
func (e ServiceTalkReloadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceTalkReloadResponseValidationError) Field ¶
func (e ServiceTalkReloadResponseValidationError) Field() string
Field function returns field value.
func (ServiceTalkReloadResponseValidationError) Key ¶
func (e ServiceTalkReloadResponseValidationError) Key() bool
Key function returns key value.
func (ServiceTalkReloadResponseValidationError) Reason ¶
func (e ServiceTalkReloadResponseValidationError) Reason() string
Reason function returns reason value.
type ServiceTalkServiceClient ¶
type ServiceTalkServiceClient interface {
Service(ctx context.Context, opts ...grpc.CallOption) (ServiceTalkService_ServiceClient, error)
}
ServiceTalkServiceClient is the client API for ServiceTalkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceTalkServiceClient ¶
func NewServiceTalkServiceClient(cc grpc.ClientConnInterface) ServiceTalkServiceClient
type ServiceTalkServiceServer ¶
type ServiceTalkServiceServer interface { Service(ServiceTalkService_ServiceServer) error // contains filtered or unexported methods }
ServiceTalkServiceServer is the server API for ServiceTalkService service. All implementations must embed UnimplementedServiceTalkServiceServer for forward compatibility
type ServiceTalkService_ServiceClient ¶
type ServiceTalkService_ServiceClient interface { Send(*ServiceRequest) error Recv() (*ServiceResponse, error) grpc.ClientStream }
type ServiceTalkService_ServiceServer ¶
type ServiceTalkService_ServiceServer interface { Send(*ServiceResponse) error Recv() (*ServiceRequest, error) grpc.ServerStream }
type ServicerUserServicerClient ¶
type ServicerUserServicerClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Profile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (*ProfileResponse, error) SetPermissions(ctx context.Context, in *SetPermissionsRequest, opts ...grpc.CallOption) (*Empty, error) }
ServicerUserServicerClient is the client API for ServicerUserServicer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServicerUserServicerClient ¶
func NewServicerUserServicerClient(cc grpc.ClientConnInterface) ServicerUserServicerClient
type ServicerUserServicerServer ¶
type ServicerUserServicerServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Profile(context.Context, *ProfileRequest) (*ProfileResponse, error) SetPermissions(context.Context, *SetPermissionsRequest) (*Empty, error) // contains filtered or unexported methods }
ServicerUserServicerServer is the server API for ServicerUserServicer service. All implementations must embed UnimplementedServicerUserServicerServer for forward compatibility
type SetPermissionsRequest ¶ added in v0.0.2
type SetPermissionsRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ActIds []string `protobuf:"bytes,3,rep,name=act_ids,json=actIds,proto3" json:"act_ids,omitempty"` BizIds []string `protobuf:"bytes,4,rep,name=biz_ids,json=bizIds,proto3" json:"biz_ids,omitempty"` // contains filtered or unexported fields }
func (*SetPermissionsRequest) Descriptor
deprecated
added in
v0.0.2
func (*SetPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPermissionsRequest.ProtoReflect.Descriptor instead.
func (*SetPermissionsRequest) GetActIds ¶ added in v0.0.2
func (x *SetPermissionsRequest) GetActIds() []string
func (*SetPermissionsRequest) GetBizIds ¶ added in v0.0.2
func (x *SetPermissionsRequest) GetBizIds() []string
func (*SetPermissionsRequest) GetToken ¶ added in v0.0.2
func (x *SetPermissionsRequest) GetToken() string
func (*SetPermissionsRequest) GetUserId ¶ added in v0.0.2
func (x *SetPermissionsRequest) GetUserId() string
func (*SetPermissionsRequest) ProtoMessage ¶ added in v0.0.2
func (*SetPermissionsRequest) ProtoMessage()
func (*SetPermissionsRequest) ProtoReflect ¶ added in v0.0.2
func (x *SetPermissionsRequest) ProtoReflect() protoreflect.Message
func (*SetPermissionsRequest) Reset ¶ added in v0.0.2
func (x *SetPermissionsRequest) Reset()
func (*SetPermissionsRequest) String ¶ added in v0.0.2
func (x *SetPermissionsRequest) String() string
func (*SetPermissionsRequest) Validate ¶ added in v0.0.2
func (m *SetPermissionsRequest) Validate() error
Validate checks the field values on SetPermissionsRequest 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 (*SetPermissionsRequest) ValidateAll ¶ added in v0.0.2
func (m *SetPermissionsRequest) ValidateAll() error
ValidateAll checks the field values on SetPermissionsRequest 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 SetPermissionsRequestMultiError, or nil if none found.
type SetPermissionsRequestMultiError ¶ added in v0.0.2
type SetPermissionsRequestMultiError []error
SetPermissionsRequestMultiError is an error wrapping multiple validation errors returned by SetPermissionsRequest.ValidateAll() if the designated constraints aren't met.
func (SetPermissionsRequestMultiError) AllErrors ¶ added in v0.0.2
func (m SetPermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetPermissionsRequestMultiError) Error ¶ added in v0.0.2
func (m SetPermissionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetPermissionsRequestValidationError ¶ added in v0.0.2
type SetPermissionsRequestValidationError struct {
// contains filtered or unexported fields
}
SetPermissionsRequestValidationError is the validation error returned by SetPermissionsRequest.Validate if the designated constraints aren't met.
func (SetPermissionsRequestValidationError) Cause ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (SetPermissionsRequestValidationError) Error ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetPermissionsRequestValidationError) ErrorName ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetPermissionsRequestValidationError) Field ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) Field() string
Field function returns field value.
func (SetPermissionsRequestValidationError) Key ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (SetPermissionsRequestValidationError) Reason ¶ added in v0.0.2
func (e SetPermissionsRequestValidationError) Reason() string
Reason function returns reason value.
type TalkClose ¶
type TalkClose struct {
// contains filtered or unexported fields
}
func (*TalkClose) Descriptor
deprecated
func (*TalkClose) ProtoMessage ¶
func (*TalkClose) ProtoMessage()
func (*TalkClose) ProtoReflect ¶
func (x *TalkClose) ProtoReflect() protoreflect.Message
func (*TalkClose) Validate ¶
Validate checks the field values on TalkClose 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 (*TalkClose) ValidateAll ¶
ValidateAll checks the field values on TalkClose 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 TalkCloseMultiError, or nil if none found.
type TalkCloseMultiError ¶
type TalkCloseMultiError []error
TalkCloseMultiError is an error wrapping multiple validation errors returned by TalkClose.ValidateAll() if the designated constraints aren't met.
func (TalkCloseMultiError) AllErrors ¶
func (m TalkCloseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkCloseMultiError) Error ¶
func (m TalkCloseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkCloseValidationError ¶
type TalkCloseValidationError struct {
// contains filtered or unexported fields
}
TalkCloseValidationError is the validation error returned by TalkClose.Validate if the designated constraints aren't met.
func (TalkCloseValidationError) Cause ¶
func (e TalkCloseValidationError) Cause() error
Cause function returns cause value.
func (TalkCloseValidationError) Error ¶
func (e TalkCloseValidationError) Error() string
Error satisfies the builtin error interface
func (TalkCloseValidationError) ErrorName ¶
func (e TalkCloseValidationError) ErrorName() string
ErrorName returns error name.
func (TalkCloseValidationError) Field ¶
func (e TalkCloseValidationError) Field() string
Field function returns field value.
func (TalkCloseValidationError) Key ¶
func (e TalkCloseValidationError) Key() bool
Key function returns key value.
func (TalkCloseValidationError) Reason ¶
func (e TalkCloseValidationError) Reason() string
Reason function returns reason value.
type TalkCreateRequest ¶
type TalkCreateRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*TalkCreateRequest) Descriptor
deprecated
func (*TalkCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TalkCreateRequest.ProtoReflect.Descriptor instead.
func (*TalkCreateRequest) GetTitle ¶
func (x *TalkCreateRequest) GetTitle() string
func (*TalkCreateRequest) ProtoMessage ¶
func (*TalkCreateRequest) ProtoMessage()
func (*TalkCreateRequest) ProtoReflect ¶
func (x *TalkCreateRequest) ProtoReflect() protoreflect.Message
func (*TalkCreateRequest) Reset ¶
func (x *TalkCreateRequest) Reset()
func (*TalkCreateRequest) String ¶
func (x *TalkCreateRequest) String() string
func (*TalkCreateRequest) Validate ¶
func (m *TalkCreateRequest) Validate() error
Validate checks the field values on TalkCreateRequest 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 (*TalkCreateRequest) ValidateAll ¶
func (m *TalkCreateRequest) ValidateAll() error
ValidateAll checks the field values on TalkCreateRequest 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 TalkCreateRequestMultiError, or nil if none found.
type TalkCreateRequestMultiError ¶
type TalkCreateRequestMultiError []error
TalkCreateRequestMultiError is an error wrapping multiple validation errors returned by TalkCreateRequest.ValidateAll() if the designated constraints aren't met.
func (TalkCreateRequestMultiError) AllErrors ¶
func (m TalkCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkCreateRequestMultiError) Error ¶
func (m TalkCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkCreateRequestValidationError ¶
type TalkCreateRequestValidationError struct {
// contains filtered or unexported fields
}
TalkCreateRequestValidationError is the validation error returned by TalkCreateRequest.Validate if the designated constraints aren't met.
func (TalkCreateRequestValidationError) Cause ¶
func (e TalkCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (TalkCreateRequestValidationError) Error ¶
func (e TalkCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TalkCreateRequestValidationError) ErrorName ¶
func (e TalkCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TalkCreateRequestValidationError) Field ¶
func (e TalkCreateRequestValidationError) Field() string
Field function returns field value.
func (TalkCreateRequestValidationError) Key ¶
func (e TalkCreateRequestValidationError) Key() bool
Key function returns key value.
func (TalkCreateRequestValidationError) Reason ¶
func (e TalkCreateRequestValidationError) Reason() string
Reason function returns reason value.
type TalkInfo ¶
type TalkInfo struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` Status TalkStatus `protobuf:"varint,2,opt,name=status,proto3,enum=TalkStatus" json:"status,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` StartedAt uint64 `protobuf:"varint,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` FinishedAt uint64 `protobuf:"varint,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` CustomerName string `protobuf:"bytes,6,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"` // contains filtered or unexported fields }
func (*TalkInfo) Descriptor
deprecated
func (*TalkInfo) GetCustomerName ¶
func (*TalkInfo) GetFinishedAt ¶
func (*TalkInfo) GetStartedAt ¶
func (*TalkInfo) GetStatus ¶
func (x *TalkInfo) GetStatus() TalkStatus
func (*TalkInfo) ProtoMessage ¶
func (*TalkInfo) ProtoMessage()
func (*TalkInfo) ProtoReflect ¶
func (x *TalkInfo) ProtoReflect() protoreflect.Message
func (*TalkInfo) Validate ¶
Validate checks the field values on TalkInfo 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 (*TalkInfo) ValidateAll ¶
ValidateAll checks the field values on TalkInfo 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 TalkInfoMultiError, or nil if none found.
type TalkInfoMultiError ¶
type TalkInfoMultiError []error
TalkInfoMultiError is an error wrapping multiple validation errors returned by TalkInfo.ValidateAll() if the designated constraints aren't met.
func (TalkInfoMultiError) AllErrors ¶
func (m TalkInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkInfoMultiError) Error ¶
func (m TalkInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkInfoValidationError ¶
type TalkInfoValidationError struct {
// contains filtered or unexported fields
}
TalkInfoValidationError is the validation error returned by TalkInfo.Validate if the designated constraints aren't met.
func (TalkInfoValidationError) Cause ¶
func (e TalkInfoValidationError) Cause() error
Cause function returns cause value.
func (TalkInfoValidationError) Error ¶
func (e TalkInfoValidationError) Error() string
Error satisfies the builtin error interface
func (TalkInfoValidationError) ErrorName ¶
func (e TalkInfoValidationError) ErrorName() string
ErrorName returns error name.
func (TalkInfoValidationError) Field ¶
func (e TalkInfoValidationError) Field() string
Field function returns field value.
func (TalkInfoValidationError) Key ¶
func (e TalkInfoValidationError) Key() bool
Key function returns key value.
func (TalkInfoValidationError) Reason ¶
func (e TalkInfoValidationError) Reason() string
Reason function returns reason value.
type TalkKickOutMessage ¶
type TalkKickOutMessage struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*TalkKickOutMessage) Descriptor
deprecated
func (*TalkKickOutMessage) Descriptor() ([]byte, []int)
Deprecated: Use TalkKickOutMessage.ProtoReflect.Descriptor instead.
func (*TalkKickOutMessage) GetCode ¶
func (x *TalkKickOutMessage) GetCode() int32
func (*TalkKickOutMessage) GetMessage ¶
func (x *TalkKickOutMessage) GetMessage() string
func (*TalkKickOutMessage) ProtoMessage ¶
func (*TalkKickOutMessage) ProtoMessage()
func (*TalkKickOutMessage) ProtoReflect ¶
func (x *TalkKickOutMessage) ProtoReflect() protoreflect.Message
func (*TalkKickOutMessage) Reset ¶
func (x *TalkKickOutMessage) Reset()
func (*TalkKickOutMessage) String ¶
func (x *TalkKickOutMessage) String() string
func (*TalkKickOutMessage) Validate ¶
func (m *TalkKickOutMessage) Validate() error
Validate checks the field values on TalkKickOutMessage 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 (*TalkKickOutMessage) ValidateAll ¶
func (m *TalkKickOutMessage) ValidateAll() error
ValidateAll checks the field values on TalkKickOutMessage 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 TalkKickOutMessageMultiError, or nil if none found.
type TalkKickOutMessageMultiError ¶
type TalkKickOutMessageMultiError []error
TalkKickOutMessageMultiError is an error wrapping multiple validation errors returned by TalkKickOutMessage.ValidateAll() if the designated constraints aren't met.
func (TalkKickOutMessageMultiError) AllErrors ¶
func (m TalkKickOutMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkKickOutMessageMultiError) Error ¶
func (m TalkKickOutMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkKickOutMessageValidationError ¶
type TalkKickOutMessageValidationError struct {
// contains filtered or unexported fields
}
TalkKickOutMessageValidationError is the validation error returned by TalkKickOutMessage.Validate if the designated constraints aren't met.
func (TalkKickOutMessageValidationError) Cause ¶
func (e TalkKickOutMessageValidationError) Cause() error
Cause function returns cause value.
func (TalkKickOutMessageValidationError) Error ¶
func (e TalkKickOutMessageValidationError) Error() string
Error satisfies the builtin error interface
func (TalkKickOutMessageValidationError) ErrorName ¶
func (e TalkKickOutMessageValidationError) ErrorName() string
ErrorName returns error name.
func (TalkKickOutMessageValidationError) Field ¶
func (e TalkKickOutMessageValidationError) Field() string
Field function returns field value.
func (TalkKickOutMessageValidationError) Key ¶
func (e TalkKickOutMessageValidationError) Key() bool
Key function returns key value.
func (TalkKickOutMessageValidationError) Reason ¶
func (e TalkKickOutMessageValidationError) Reason() string
Reason function returns reason value.
type TalkMessage ¶
type TalkMessage struct { At uint64 `protobuf:"varint,1,opt,name=at,proto3" json:"at,omitempty"` CustomerMessage bool `protobuf:"varint,2,opt,name=customer_message,json=customerMessage,proto3" json:"customer_message,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // Types that are assignable to Message: // *TalkMessage_Text // *TalkMessage_Image Message isTalkMessage_Message `protobuf_oneof:"Message"` // contains filtered or unexported fields }
func (*TalkMessage) Descriptor
deprecated
func (*TalkMessage) Descriptor() ([]byte, []int)
Deprecated: Use TalkMessage.ProtoReflect.Descriptor instead.
func (*TalkMessage) GetAt ¶
func (x *TalkMessage) GetAt() uint64
func (*TalkMessage) GetCustomerMessage ¶
func (x *TalkMessage) GetCustomerMessage() bool
func (*TalkMessage) GetImage ¶
func (x *TalkMessage) GetImage() []byte
func (*TalkMessage) GetMessage ¶
func (m *TalkMessage) GetMessage() isTalkMessage_Message
func (*TalkMessage) GetText ¶
func (x *TalkMessage) GetText() string
func (*TalkMessage) GetUser ¶
func (x *TalkMessage) GetUser() string
func (*TalkMessage) ProtoMessage ¶
func (*TalkMessage) ProtoMessage()
func (*TalkMessage) ProtoReflect ¶
func (x *TalkMessage) ProtoReflect() protoreflect.Message
func (*TalkMessage) Reset ¶
func (x *TalkMessage) Reset()
func (*TalkMessage) String ¶
func (x *TalkMessage) String() string
func (*TalkMessage) Validate ¶
func (m *TalkMessage) Validate() error
Validate checks the field values on TalkMessage 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 (*TalkMessage) ValidateAll ¶
func (m *TalkMessage) ValidateAll() error
ValidateAll checks the field values on TalkMessage 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 TalkMessageMultiError, or nil if none found.
type TalkMessageConfirmed ¶
type TalkMessageConfirmed struct { SeqId uint64 `protobuf:"varint,1,opt,name=seq_id,json=seqId,proto3" json:"seq_id,omitempty"` At uint64 `protobuf:"varint,2,opt,name=at,proto3" json:"at,omitempty"` // contains filtered or unexported fields }
func (*TalkMessageConfirmed) Descriptor
deprecated
func (*TalkMessageConfirmed) Descriptor() ([]byte, []int)
Deprecated: Use TalkMessageConfirmed.ProtoReflect.Descriptor instead.
func (*TalkMessageConfirmed) GetAt ¶
func (x *TalkMessageConfirmed) GetAt() uint64
func (*TalkMessageConfirmed) GetSeqId ¶
func (x *TalkMessageConfirmed) GetSeqId() uint64
func (*TalkMessageConfirmed) ProtoMessage ¶
func (*TalkMessageConfirmed) ProtoMessage()
func (*TalkMessageConfirmed) ProtoReflect ¶
func (x *TalkMessageConfirmed) ProtoReflect() protoreflect.Message
func (*TalkMessageConfirmed) Reset ¶
func (x *TalkMessageConfirmed) Reset()
func (*TalkMessageConfirmed) String ¶
func (x *TalkMessageConfirmed) String() string
func (*TalkMessageConfirmed) Validate ¶
func (m *TalkMessageConfirmed) Validate() error
Validate checks the field values on TalkMessageConfirmed 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 (*TalkMessageConfirmed) ValidateAll ¶
func (m *TalkMessageConfirmed) ValidateAll() error
ValidateAll checks the field values on TalkMessageConfirmed 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 TalkMessageConfirmedMultiError, or nil if none found.
type TalkMessageConfirmedMultiError ¶
type TalkMessageConfirmedMultiError []error
TalkMessageConfirmedMultiError is an error wrapping multiple validation errors returned by TalkMessageConfirmed.ValidateAll() if the designated constraints aren't met.
func (TalkMessageConfirmedMultiError) AllErrors ¶
func (m TalkMessageConfirmedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkMessageConfirmedMultiError) Error ¶
func (m TalkMessageConfirmedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkMessageConfirmedValidationError ¶
type TalkMessageConfirmedValidationError struct {
// contains filtered or unexported fields
}
TalkMessageConfirmedValidationError is the validation error returned by TalkMessageConfirmed.Validate if the designated constraints aren't met.
func (TalkMessageConfirmedValidationError) Cause ¶
func (e TalkMessageConfirmedValidationError) Cause() error
Cause function returns cause value.
func (TalkMessageConfirmedValidationError) Error ¶
func (e TalkMessageConfirmedValidationError) Error() string
Error satisfies the builtin error interface
func (TalkMessageConfirmedValidationError) ErrorName ¶
func (e TalkMessageConfirmedValidationError) ErrorName() string
ErrorName returns error name.
func (TalkMessageConfirmedValidationError) Field ¶
func (e TalkMessageConfirmedValidationError) Field() string
Field function returns field value.
func (TalkMessageConfirmedValidationError) Key ¶
func (e TalkMessageConfirmedValidationError) Key() bool
Key function returns key value.
func (TalkMessageConfirmedValidationError) Reason ¶
func (e TalkMessageConfirmedValidationError) Reason() string
Reason function returns reason value.
type TalkMessageMultiError ¶
type TalkMessageMultiError []error
TalkMessageMultiError is an error wrapping multiple validation errors returned by TalkMessage.ValidateAll() if the designated constraints aren't met.
func (TalkMessageMultiError) AllErrors ¶
func (m TalkMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkMessageMultiError) Error ¶
func (m TalkMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkMessageValidationError ¶
type TalkMessageValidationError struct {
// contains filtered or unexported fields
}
TalkMessageValidationError is the validation error returned by TalkMessage.Validate if the designated constraints aren't met.
func (TalkMessageValidationError) Cause ¶
func (e TalkMessageValidationError) Cause() error
Cause function returns cause value.
func (TalkMessageValidationError) Error ¶
func (e TalkMessageValidationError) Error() string
Error satisfies the builtin error interface
func (TalkMessageValidationError) ErrorName ¶
func (e TalkMessageValidationError) ErrorName() string
ErrorName returns error name.
func (TalkMessageValidationError) Field ¶
func (e TalkMessageValidationError) Field() string
Field function returns field value.
func (TalkMessageValidationError) Key ¶
func (e TalkMessageValidationError) Key() bool
Key function returns key value.
func (TalkMessageValidationError) Reason ¶
func (e TalkMessageValidationError) Reason() string
Reason function returns reason value.
type TalkMessageW ¶
type TalkMessageW struct { SeqId uint64 `protobuf:"varint,1,opt,name=seq_id,json=seqId,proto3" json:"seq_id,omitempty"` // Types that are assignable to Message: // *TalkMessageW_Text // *TalkMessageW_Image Message isTalkMessageW_Message `protobuf_oneof:"Message"` // contains filtered or unexported fields }
func (*TalkMessageW) Descriptor
deprecated
func (*TalkMessageW) Descriptor() ([]byte, []int)
Deprecated: Use TalkMessageW.ProtoReflect.Descriptor instead.
func (*TalkMessageW) GetImage ¶
func (x *TalkMessageW) GetImage() []byte
func (*TalkMessageW) GetMessage ¶
func (m *TalkMessageW) GetMessage() isTalkMessageW_Message
func (*TalkMessageW) GetSeqId ¶
func (x *TalkMessageW) GetSeqId() uint64
func (*TalkMessageW) GetText ¶
func (x *TalkMessageW) GetText() string
func (*TalkMessageW) ProtoMessage ¶
func (*TalkMessageW) ProtoMessage()
func (*TalkMessageW) ProtoReflect ¶
func (x *TalkMessageW) ProtoReflect() protoreflect.Message
func (*TalkMessageW) Reset ¶
func (x *TalkMessageW) Reset()
func (*TalkMessageW) String ¶
func (x *TalkMessageW) String() string
func (*TalkMessageW) Validate ¶
func (m *TalkMessageW) Validate() error
Validate checks the field values on TalkMessageW 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 (*TalkMessageW) ValidateAll ¶
func (m *TalkMessageW) ValidateAll() error
ValidateAll checks the field values on TalkMessageW 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 TalkMessageWMultiError, or nil if none found.
type TalkMessageWMultiError ¶
type TalkMessageWMultiError []error
TalkMessageWMultiError is an error wrapping multiple validation errors returned by TalkMessageW.ValidateAll() if the designated constraints aren't met.
func (TalkMessageWMultiError) AllErrors ¶
func (m TalkMessageWMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkMessageWMultiError) Error ¶
func (m TalkMessageWMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkMessageWValidationError ¶
type TalkMessageWValidationError struct {
// contains filtered or unexported fields
}
TalkMessageWValidationError is the validation error returned by TalkMessageW.Validate if the designated constraints aren't met.
func (TalkMessageWValidationError) Cause ¶
func (e TalkMessageWValidationError) Cause() error
Cause function returns cause value.
func (TalkMessageWValidationError) Error ¶
func (e TalkMessageWValidationError) Error() string
Error satisfies the builtin error interface
func (TalkMessageWValidationError) ErrorName ¶
func (e TalkMessageWValidationError) ErrorName() string
ErrorName returns error name.
func (TalkMessageWValidationError) Field ¶
func (e TalkMessageWValidationError) Field() string
Field function returns field value.
func (TalkMessageWValidationError) Key ¶
func (e TalkMessageWValidationError) Key() bool
Key function returns key value.
func (TalkMessageWValidationError) Reason ¶
func (e TalkMessageWValidationError) Reason() string
Reason function returns reason value.
type TalkMessageW_Image ¶
type TalkMessageW_Image struct {
Image []byte `protobuf:"bytes,21,opt,name=image,proto3,oneof"`
}
type TalkMessageW_Text ¶
type TalkMessageW_Text struct {
Text string `protobuf:"bytes,20,opt,name=text,proto3,oneof"`
}
type TalkMessage_Image ¶
type TalkMessage_Image struct {
Image []byte `protobuf:"bytes,21,opt,name=image,proto3,oneof"`
}
type TalkMessage_Text ¶
type TalkMessage_Text struct {
Text string `protobuf:"bytes,20,opt,name=text,proto3,oneof"`
}
type TalkMessages ¶
type TalkMessages struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` Messages []*TalkMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*TalkMessages) Descriptor
deprecated
func (*TalkMessages) Descriptor() ([]byte, []int)
Deprecated: Use TalkMessages.ProtoReflect.Descriptor instead.
func (*TalkMessages) GetMessages ¶
func (x *TalkMessages) GetMessages() []*TalkMessage
func (*TalkMessages) GetTalkId ¶
func (x *TalkMessages) GetTalkId() string
func (*TalkMessages) ProtoMessage ¶
func (*TalkMessages) ProtoMessage()
func (*TalkMessages) ProtoReflect ¶
func (x *TalkMessages) ProtoReflect() protoreflect.Message
func (*TalkMessages) Reset ¶
func (x *TalkMessages) Reset()
func (*TalkMessages) String ¶
func (x *TalkMessages) String() string
func (*TalkMessages) Validate ¶
func (m *TalkMessages) Validate() error
Validate checks the field values on TalkMessages 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 (*TalkMessages) ValidateAll ¶
func (m *TalkMessages) ValidateAll() error
ValidateAll checks the field values on TalkMessages 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 TalkMessagesMultiError, or nil if none found.
type TalkMessagesMultiError ¶
type TalkMessagesMultiError []error
TalkMessagesMultiError is an error wrapping multiple validation errors returned by TalkMessages.ValidateAll() if the designated constraints aren't met.
func (TalkMessagesMultiError) AllErrors ¶
func (m TalkMessagesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkMessagesMultiError) Error ¶
func (m TalkMessagesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkMessagesValidationError ¶
type TalkMessagesValidationError struct {
// contains filtered or unexported fields
}
TalkMessagesValidationError is the validation error returned by TalkMessages.Validate if the designated constraints aren't met.
func (TalkMessagesValidationError) Cause ¶
func (e TalkMessagesValidationError) Cause() error
Cause function returns cause value.
func (TalkMessagesValidationError) Error ¶
func (e TalkMessagesValidationError) Error() string
Error satisfies the builtin error interface
func (TalkMessagesValidationError) ErrorName ¶
func (e TalkMessagesValidationError) ErrorName() string
ErrorName returns error name.
func (TalkMessagesValidationError) Field ¶
func (e TalkMessagesValidationError) Field() string
Field function returns field value.
func (TalkMessagesValidationError) Key ¶
func (e TalkMessagesValidationError) Key() bool
Key function returns key value.
func (TalkMessagesValidationError) Reason ¶
func (e TalkMessagesValidationError) Reason() string
Reason function returns reason value.
type TalkNotifyResponse ¶
type TalkNotifyResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*TalkNotifyResponse) Descriptor
deprecated
func (*TalkNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use TalkNotifyResponse.ProtoReflect.Descriptor instead.
func (*TalkNotifyResponse) GetMsg ¶
func (x *TalkNotifyResponse) GetMsg() string
func (*TalkNotifyResponse) ProtoMessage ¶
func (*TalkNotifyResponse) ProtoMessage()
func (*TalkNotifyResponse) ProtoReflect ¶
func (x *TalkNotifyResponse) ProtoReflect() protoreflect.Message
func (*TalkNotifyResponse) Reset ¶
func (x *TalkNotifyResponse) Reset()
func (*TalkNotifyResponse) String ¶
func (x *TalkNotifyResponse) String() string
func (*TalkNotifyResponse) Validate ¶
func (m *TalkNotifyResponse) Validate() error
Validate checks the field values on TalkNotifyResponse 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 (*TalkNotifyResponse) ValidateAll ¶
func (m *TalkNotifyResponse) ValidateAll() error
ValidateAll checks the field values on TalkNotifyResponse 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 TalkNotifyResponseMultiError, or nil if none found.
type TalkNotifyResponseMultiError ¶
type TalkNotifyResponseMultiError []error
TalkNotifyResponseMultiError is an error wrapping multiple validation errors returned by TalkNotifyResponse.ValidateAll() if the designated constraints aren't met.
func (TalkNotifyResponseMultiError) AllErrors ¶
func (m TalkNotifyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkNotifyResponseMultiError) Error ¶
func (m TalkNotifyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkNotifyResponseValidationError ¶
type TalkNotifyResponseValidationError struct {
// contains filtered or unexported fields
}
TalkNotifyResponseValidationError is the validation error returned by TalkNotifyResponse.Validate if the designated constraints aren't met.
func (TalkNotifyResponseValidationError) Cause ¶
func (e TalkNotifyResponseValidationError) Cause() error
Cause function returns cause value.
func (TalkNotifyResponseValidationError) Error ¶
func (e TalkNotifyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TalkNotifyResponseValidationError) ErrorName ¶
func (e TalkNotifyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TalkNotifyResponseValidationError) Field ¶
func (e TalkNotifyResponseValidationError) Field() string
Field function returns field value.
func (TalkNotifyResponseValidationError) Key ¶
func (e TalkNotifyResponseValidationError) Key() bool
Key function returns key value.
func (TalkNotifyResponseValidationError) Reason ¶
func (e TalkNotifyResponseValidationError) Reason() string
Reason function returns reason value.
type TalkOpenRequest ¶
type TalkOpenRequest struct { TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*TalkOpenRequest) Descriptor
deprecated
func (*TalkOpenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TalkOpenRequest.ProtoReflect.Descriptor instead.
func (*TalkOpenRequest) GetTalkId ¶
func (x *TalkOpenRequest) GetTalkId() string
func (*TalkOpenRequest) ProtoMessage ¶
func (*TalkOpenRequest) ProtoMessage()
func (*TalkOpenRequest) ProtoReflect ¶
func (x *TalkOpenRequest) ProtoReflect() protoreflect.Message
func (*TalkOpenRequest) Reset ¶
func (x *TalkOpenRequest) Reset()
func (*TalkOpenRequest) String ¶
func (x *TalkOpenRequest) String() string
func (*TalkOpenRequest) Validate ¶
func (m *TalkOpenRequest) Validate() error
Validate checks the field values on TalkOpenRequest 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 (*TalkOpenRequest) ValidateAll ¶
func (m *TalkOpenRequest) ValidateAll() error
ValidateAll checks the field values on TalkOpenRequest 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 TalkOpenRequestMultiError, or nil if none found.
type TalkOpenRequestMultiError ¶
type TalkOpenRequestMultiError []error
TalkOpenRequestMultiError is an error wrapping multiple validation errors returned by TalkOpenRequest.ValidateAll() if the designated constraints aren't met.
func (TalkOpenRequestMultiError) AllErrors ¶
func (m TalkOpenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkOpenRequestMultiError) Error ¶
func (m TalkOpenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkOpenRequestValidationError ¶
type TalkOpenRequestValidationError struct {
// contains filtered or unexported fields
}
TalkOpenRequestValidationError is the validation error returned by TalkOpenRequest.Validate if the designated constraints aren't met.
func (TalkOpenRequestValidationError) Cause ¶
func (e TalkOpenRequestValidationError) Cause() error
Cause function returns cause value.
func (TalkOpenRequestValidationError) Error ¶
func (e TalkOpenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TalkOpenRequestValidationError) ErrorName ¶
func (e TalkOpenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TalkOpenRequestValidationError) Field ¶
func (e TalkOpenRequestValidationError) Field() string
Field function returns field value.
func (TalkOpenRequestValidationError) Key ¶
func (e TalkOpenRequestValidationError) Key() bool
Key function returns key value.
func (TalkOpenRequestValidationError) Reason ¶
func (e TalkOpenRequestValidationError) Reason() string
Reason function returns reason value.
type TalkRequest ¶
type TalkRequest struct { // Types that are assignable to Talk: // *TalkRequest_Create // *TalkRequest_Open // *TalkRequest_Message // *TalkRequest_Close Talk isTalkRequest_Talk `protobuf_oneof:"Talk"` // contains filtered or unexported fields }
func (*TalkRequest) Descriptor
deprecated
func (*TalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use TalkRequest.ProtoReflect.Descriptor instead.
func (*TalkRequest) GetClose ¶
func (x *TalkRequest) GetClose() *TalkClose
func (*TalkRequest) GetCreate ¶
func (x *TalkRequest) GetCreate() *TalkCreateRequest
func (*TalkRequest) GetMessage ¶
func (x *TalkRequest) GetMessage() *TalkMessageW
func (*TalkRequest) GetOpen ¶
func (x *TalkRequest) GetOpen() *TalkOpenRequest
func (*TalkRequest) GetTalk ¶
func (m *TalkRequest) GetTalk() isTalkRequest_Talk
func (*TalkRequest) ProtoMessage ¶
func (*TalkRequest) ProtoMessage()
func (*TalkRequest) ProtoReflect ¶
func (x *TalkRequest) ProtoReflect() protoreflect.Message
func (*TalkRequest) Reset ¶
func (x *TalkRequest) Reset()
func (*TalkRequest) String ¶
func (x *TalkRequest) String() string
func (*TalkRequest) Validate ¶
func (m *TalkRequest) Validate() error
Validate checks the field values on TalkRequest 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 (*TalkRequest) ValidateAll ¶
func (m *TalkRequest) ValidateAll() error
ValidateAll checks the field values on TalkRequest 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 TalkRequestMultiError, or nil if none found.
type TalkRequestMultiError ¶
type TalkRequestMultiError []error
TalkRequestMultiError is an error wrapping multiple validation errors returned by TalkRequest.ValidateAll() if the designated constraints aren't met.
func (TalkRequestMultiError) AllErrors ¶
func (m TalkRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkRequestMultiError) Error ¶
func (m TalkRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkRequestValidationError ¶
type TalkRequestValidationError struct {
// contains filtered or unexported fields
}
TalkRequestValidationError is the validation error returned by TalkRequest.Validate if the designated constraints aren't met.
func (TalkRequestValidationError) Cause ¶
func (e TalkRequestValidationError) Cause() error
Cause function returns cause value.
func (TalkRequestValidationError) Error ¶
func (e TalkRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TalkRequestValidationError) ErrorName ¶
func (e TalkRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TalkRequestValidationError) Field ¶
func (e TalkRequestValidationError) Field() string
Field function returns field value.
func (TalkRequestValidationError) Key ¶
func (e TalkRequestValidationError) Key() bool
Key function returns key value.
func (TalkRequestValidationError) Reason ¶
func (e TalkRequestValidationError) Reason() string
Reason function returns reason value.
type TalkRequest_Close ¶
type TalkRequest_Close struct {
Close *TalkClose `protobuf:"bytes,4,opt,name=close,proto3,oneof"`
}
type TalkRequest_Create ¶
type TalkRequest_Create struct {
Create *TalkCreateRequest `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type TalkRequest_Message ¶
type TalkRequest_Message struct {
Message *TalkMessageW `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}
type TalkRequest_Open ¶
type TalkRequest_Open struct {
Open *TalkOpenRequest `protobuf:"bytes,2,opt,name=open,proto3,oneof"`
}
type TalkResponse ¶
type TalkResponse struct { // Types that are assignable to Talk: // *TalkResponse_KickOut // *TalkResponse_Messages // *TalkResponse_Message // *TalkResponse_MessageConfirmed // *TalkResponse_Close // *TalkResponse_Notify Talk isTalkResponse_Talk `protobuf_oneof:"Talk"` // contains filtered or unexported fields }
func (*TalkResponse) Descriptor
deprecated
func (*TalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use TalkResponse.ProtoReflect.Descriptor instead.
func (*TalkResponse) GetClose ¶
func (x *TalkResponse) GetClose() *TalkClose
func (*TalkResponse) GetKickOut ¶
func (x *TalkResponse) GetKickOut() *TalkKickOutMessage
func (*TalkResponse) GetMessage ¶
func (x *TalkResponse) GetMessage() *TalkMessage
func (*TalkResponse) GetMessageConfirmed ¶
func (x *TalkResponse) GetMessageConfirmed() *TalkMessageConfirmed
func (*TalkResponse) GetMessages ¶
func (x *TalkResponse) GetMessages() *TalkMessages
func (*TalkResponse) GetNotify ¶
func (x *TalkResponse) GetNotify() *TalkNotifyResponse
func (*TalkResponse) GetTalk ¶
func (m *TalkResponse) GetTalk() isTalkResponse_Talk
func (*TalkResponse) ProtoMessage ¶
func (*TalkResponse) ProtoMessage()
func (*TalkResponse) ProtoReflect ¶
func (x *TalkResponse) ProtoReflect() protoreflect.Message
func (*TalkResponse) Reset ¶
func (x *TalkResponse) Reset()
func (*TalkResponse) String ¶
func (x *TalkResponse) String() string
func (*TalkResponse) Validate ¶
func (m *TalkResponse) Validate() error
Validate checks the field values on TalkResponse 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 (*TalkResponse) ValidateAll ¶
func (m *TalkResponse) ValidateAll() error
ValidateAll checks the field values on TalkResponse 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 TalkResponseMultiError, or nil if none found.
type TalkResponseMultiError ¶
type TalkResponseMultiError []error
TalkResponseMultiError is an error wrapping multiple validation errors returned by TalkResponse.ValidateAll() if the designated constraints aren't met.
func (TalkResponseMultiError) AllErrors ¶
func (m TalkResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TalkResponseMultiError) Error ¶
func (m TalkResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TalkResponseValidationError ¶
type TalkResponseValidationError struct {
// contains filtered or unexported fields
}
TalkResponseValidationError is the validation error returned by TalkResponse.Validate if the designated constraints aren't met.
func (TalkResponseValidationError) Cause ¶
func (e TalkResponseValidationError) Cause() error
Cause function returns cause value.
func (TalkResponseValidationError) Error ¶
func (e TalkResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TalkResponseValidationError) ErrorName ¶
func (e TalkResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TalkResponseValidationError) Field ¶
func (e TalkResponseValidationError) Field() string
Field function returns field value.
func (TalkResponseValidationError) Key ¶
func (e TalkResponseValidationError) Key() bool
Key function returns key value.
func (TalkResponseValidationError) Reason ¶
func (e TalkResponseValidationError) Reason() string
Reason function returns reason value.
type TalkResponse_Close ¶
type TalkResponse_Close struct {
Close *TalkClose `protobuf:"bytes,5,opt,name=close,proto3,oneof"`
}
type TalkResponse_KickOut ¶
type TalkResponse_KickOut struct {
KickOut *TalkKickOutMessage `protobuf:"bytes,1,opt,name=kick_out,json=kickOut,proto3,oneof"`
}
type TalkResponse_Message ¶
type TalkResponse_Message struct {
Message *TalkMessage `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}
type TalkResponse_MessageConfirmed ¶
type TalkResponse_MessageConfirmed struct {
MessageConfirmed *TalkMessageConfirmed `protobuf:"bytes,4,opt,name=message_confirmed,json=messageConfirmed,proto3,oneof"`
}
type TalkResponse_Messages ¶
type TalkResponse_Messages struct {
Messages *TalkMessages `protobuf:"bytes,2,opt,name=messages,proto3,oneof"`
}
type TalkResponse_Notify ¶
type TalkResponse_Notify struct {
Notify *TalkNotifyResponse `protobuf:"bytes,6,opt,name=notify,proto3,oneof"`
}
type TalkStatus ¶
type TalkStatus int32
const ( TalkStatus_TALK_STATUS_UNSPECIFIED TalkStatus = 0 TalkStatus_TALK_STATUS_OPENED TalkStatus = 1 TalkStatus_TALK_STATUS_CLOSED TalkStatus = 2 )
func (TalkStatus) Descriptor ¶
func (TalkStatus) Descriptor() protoreflect.EnumDescriptor
func (TalkStatus) Enum ¶
func (x TalkStatus) Enum() *TalkStatus
func (TalkStatus) EnumDescriptor
deprecated
func (TalkStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TalkStatus.Descriptor instead.
func (TalkStatus) Number ¶
func (x TalkStatus) Number() protoreflect.EnumNumber
func (TalkStatus) String ¶
func (x TalkStatus) String() string
func (TalkStatus) Type ¶
func (TalkStatus) Type() protoreflect.EnumType
type UnimplementedCustomerTalkServiceServer ¶
type UnimplementedCustomerTalkServiceServer struct { }
UnimplementedCustomerTalkServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCustomerTalkServiceServer) QueryTalks ¶
func (UnimplementedCustomerTalkServiceServer) QueryTalks(context.Context, *QueryTalksRequest) (*QueryTalksResponse, error)
type UnimplementedCustomerUserServicerServer ¶
type UnimplementedCustomerUserServicerServer struct { }
UnimplementedCustomerUserServicerServer must be embedded to have forward compatible implementations.
func (UnimplementedCustomerUserServicerServer) CheckToken ¶
func (UnimplementedCustomerUserServicerServer) CheckToken(context.Context, *CheckTokenRequest) (*CheckTokenResponse, error)
func (UnimplementedCustomerUserServicerServer) CreateToken ¶
func (UnimplementedCustomerUserServicerServer) CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error)
type UnimplementedServiceTalkServiceServer ¶
type UnimplementedServiceTalkServiceServer struct { }
UnimplementedServiceTalkServiceServer must be embedded to have forward compatible implementations.
type UnimplementedServicerUserServicerServer ¶
type UnimplementedServicerUserServicerServer struct { }
UnimplementedServicerUserServicerServer must be embedded to have forward compatible implementations.
func (UnimplementedServicerUserServicerServer) Login ¶
func (UnimplementedServicerUserServicerServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedServicerUserServicerServer) Profile ¶ added in v0.0.2
func (UnimplementedServicerUserServicerServer) Profile(context.Context, *ProfileRequest) (*ProfileResponse, error)
func (UnimplementedServicerUserServicerServer) Register ¶
func (UnimplementedServicerUserServicerServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedServicerUserServicerServer) SetPermissions ¶ added in v0.0.2
func (UnimplementedServicerUserServicerServer) SetPermissions(context.Context, *SetPermissionsRequest) (*Empty, error)
type UnsafeCustomerTalkServiceServer ¶
type UnsafeCustomerTalkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerTalkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerTalkServiceServer will result in compilation errors.
type UnsafeCustomerUserServicerServer ¶
type UnsafeCustomerUserServicerServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerUserServicerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerUserServicerServer will result in compilation errors.
type UnsafeServiceTalkServiceServer ¶
type UnsafeServiceTalkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceTalkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceTalkServiceServer will result in compilation errors.
type UnsafeServicerUserServicerServer ¶
type UnsafeServicerUserServicerServer interface {
// contains filtered or unexported methods
}
UnsafeServicerUserServicerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServicerUserServicerServer will result in compilation errors.