Documentation ¶
Index ¶
- Variables
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetFileName() string
- func (x *Attachment) GetFormData() []*FormData
- func (x *Attachment) GetId() string
- func (x *Attachment) GetUrl() string
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- func (m *Attachment) Validate() error
- func (m *Attachment) ValidateAll() error
- type AttachmentInput
- func (*AttachmentInput) Descriptor() ([]byte, []int)deprecated
- func (x *AttachmentInput) GetName() string
- func (x *AttachmentInput) GetSizeBytes() uint32
- func (*AttachmentInput) ProtoMessage()
- func (x *AttachmentInput) ProtoReflect() protoreflect.Message
- func (x *AttachmentInput) Reset()
- func (x *AttachmentInput) String() string
- func (m *AttachmentInput) Validate() error
- func (m *AttachmentInput) ValidateAll() error
- type AttachmentInputMultiError
- type AttachmentInputValidationError
- func (e AttachmentInputValidationError) Cause() error
- func (e AttachmentInputValidationError) Error() string
- func (e AttachmentInputValidationError) ErrorName() string
- func (e AttachmentInputValidationError) Field() string
- func (e AttachmentInputValidationError) Key() bool
- func (e AttachmentInputValidationError) Reason() string
- type AttachmentMultiError
- type AttachmentValidationError
- type ContactRequest
- func (*ContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContactRequest) GetTicket() *Ticket
- func (*ContactRequest) ProtoMessage()
- func (x *ContactRequest) ProtoReflect() protoreflect.Message
- func (x *ContactRequest) Reset()
- func (x *ContactRequest) String() string
- func (m *ContactRequest) Validate() error
- func (m *ContactRequest) ValidateAll() error
- type ContactRequestMultiError
- type ContactRequestValidationError
- func (e ContactRequestValidationError) Cause() error
- func (e ContactRequestValidationError) Error() string
- func (e ContactRequestValidationError) ErrorName() string
- func (e ContactRequestValidationError) Field() string
- func (e ContactRequestValidationError) Key() bool
- func (e ContactRequestValidationError) Reason() string
- type ContactResponse
- func (*ContactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContactResponse) GetMessage() string
- func (*ContactResponse) ProtoMessage()
- func (x *ContactResponse) ProtoReflect() protoreflect.Message
- func (x *ContactResponse) Reset()
- func (x *ContactResponse) String() string
- func (m *ContactResponse) Validate() error
- func (m *ContactResponse) ValidateAll() error
- type ContactResponseMultiError
- type ContactResponseValidationError
- func (e ContactResponseValidationError) Cause() error
- func (e ContactResponseValidationError) Error() string
- func (e ContactResponseValidationError) ErrorName() string
- func (e ContactResponseValidationError) Field() string
- func (e ContactResponseValidationError) Key() bool
- func (e ContactResponseValidationError) Reason() string
- type CreateAttachmentRequest
- func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentRequest) GetAttachmentInput() *AttachmentInput
- func (*CreateAttachmentRequest) ProtoMessage()
- func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentRequest) Reset()
- func (x *CreateAttachmentRequest) String() string
- func (m *CreateAttachmentRequest) Validate() error
- func (m *CreateAttachmentRequest) ValidateAll() error
- type CreateAttachmentRequestMultiError
- type CreateAttachmentRequestValidationError
- func (e CreateAttachmentRequestValidationError) Cause() error
- func (e CreateAttachmentRequestValidationError) Error() string
- func (e CreateAttachmentRequestValidationError) ErrorName() string
- func (e CreateAttachmentRequestValidationError) Field() string
- func (e CreateAttachmentRequestValidationError) Key() bool
- func (e CreateAttachmentRequestValidationError) Reason() string
- type CreateAttachmentResponse
- func (*CreateAttachmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentResponse) GetAttachment() *Attachment
- func (*CreateAttachmentResponse) ProtoMessage()
- func (x *CreateAttachmentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentResponse) Reset()
- func (x *CreateAttachmentResponse) String() string
- func (m *CreateAttachmentResponse) Validate() error
- func (m *CreateAttachmentResponse) ValidateAll() error
- type CreateAttachmentResponseMultiError
- type CreateAttachmentResponseValidationError
- func (e CreateAttachmentResponseValidationError) Cause() error
- func (e CreateAttachmentResponseValidationError) Error() string
- func (e CreateAttachmentResponseValidationError) ErrorName() string
- func (e CreateAttachmentResponseValidationError) Field() string
- func (e CreateAttachmentResponseValidationError) Key() bool
- func (e CreateAttachmentResponseValidationError) Reason() string
- type FormData
- func (*FormData) Descriptor() ([]byte, []int)deprecated
- func (x *FormData) GetKey() string
- func (x *FormData) GetValue() string
- func (*FormData) ProtoMessage()
- func (x *FormData) ProtoReflect() protoreflect.Message
- func (x *FormData) Reset()
- func (x *FormData) String() string
- func (m *FormData) Validate() error
- func (m *FormData) ValidateAll() error
- type FormDataMultiError
- type FormDataValidationError
- type Ticket
- func (*Ticket) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket) GetAttachmentIds() []string
- func (x *Ticket) GetMessage() string
- func (x *Ticket) GetPreventingUse() bool
- func (x *Ticket) GetType() Type
- func (*Ticket) ProtoMessage()
- func (x *Ticket) ProtoReflect() protoreflect.Message
- func (x *Ticket) Reset()
- func (x *Ticket) String() string
- func (m *Ticket) Validate() error
- func (m *Ticket) ValidateAll() error
- type TicketMultiError
- type TicketValidationError
- type Type
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_BUG", 2: "TYPE_QUESTION", 3: "TYPE_FEATURE_REQUEST", } Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_BUG": 1, "TYPE_QUESTION": 2, "TYPE_FEATURE_REQUEST": 3, } )
Enum value maps for Type.
var File_commonfate_control_support_v1alpha1_support_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` FormData []*FormData `protobuf:"bytes,4,rep,name=form_data,json=formData,proto3" json:"form_data,omitempty"` // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetFileName ¶
func (x *Attachment) GetFileName() string
func (*Attachment) GetFormData ¶
func (x *Attachment) GetFormData() []*FormData
func (*Attachment) GetId ¶
func (x *Attachment) GetId() string
func (*Attachment) GetUrl ¶
func (x *Attachment) GetUrl() string
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
func (*Attachment) Validate ¶ added in v1.32.1
func (m *Attachment) Validate() error
Validate checks the field values on Attachment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attachment) ValidateAll ¶ added in v1.32.1
func (m *Attachment) ValidateAll() error
ValidateAll checks the field values on Attachment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttachmentMultiError, or nil if none found.
type AttachmentInput ¶
type AttachmentInput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SizeBytes uint32 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // contains filtered or unexported fields }
func (*AttachmentInput) Descriptor
deprecated
func (*AttachmentInput) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentInput.ProtoReflect.Descriptor instead.
func (*AttachmentInput) GetName ¶
func (x *AttachmentInput) GetName() string
func (*AttachmentInput) GetSizeBytes ¶
func (x *AttachmentInput) GetSizeBytes() uint32
func (*AttachmentInput) ProtoMessage ¶
func (*AttachmentInput) ProtoMessage()
func (*AttachmentInput) ProtoReflect ¶
func (x *AttachmentInput) ProtoReflect() protoreflect.Message
func (*AttachmentInput) Reset ¶
func (x *AttachmentInput) Reset()
func (*AttachmentInput) String ¶
func (x *AttachmentInput) String() string
func (*AttachmentInput) Validate ¶ added in v1.32.1
func (m *AttachmentInput) Validate() error
Validate checks the field values on AttachmentInput 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 (*AttachmentInput) ValidateAll ¶ added in v1.32.1
func (m *AttachmentInput) ValidateAll() error
ValidateAll checks the field values on AttachmentInput 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 AttachmentInputMultiError, or nil if none found.
type AttachmentInputMultiError ¶ added in v1.32.1
type AttachmentInputMultiError []error
AttachmentInputMultiError is an error wrapping multiple validation errors returned by AttachmentInput.ValidateAll() if the designated constraints aren't met.
func (AttachmentInputMultiError) AllErrors ¶ added in v1.32.1
func (m AttachmentInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttachmentInputMultiError) Error ¶ added in v1.32.1
func (m AttachmentInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttachmentInputValidationError ¶ added in v1.32.1
type AttachmentInputValidationError struct {
// contains filtered or unexported fields
}
AttachmentInputValidationError is the validation error returned by AttachmentInput.Validate if the designated constraints aren't met.
func (AttachmentInputValidationError) Cause ¶ added in v1.32.1
func (e AttachmentInputValidationError) Cause() error
Cause function returns cause value.
func (AttachmentInputValidationError) Error ¶ added in v1.32.1
func (e AttachmentInputValidationError) Error() string
Error satisfies the builtin error interface
func (AttachmentInputValidationError) ErrorName ¶ added in v1.32.1
func (e AttachmentInputValidationError) ErrorName() string
ErrorName returns error name.
func (AttachmentInputValidationError) Field ¶ added in v1.32.1
func (e AttachmentInputValidationError) Field() string
Field function returns field value.
func (AttachmentInputValidationError) Key ¶ added in v1.32.1
func (e AttachmentInputValidationError) Key() bool
Key function returns key value.
func (AttachmentInputValidationError) Reason ¶ added in v1.32.1
func (e AttachmentInputValidationError) Reason() string
Reason function returns reason value.
type AttachmentMultiError ¶ added in v1.32.1
type AttachmentMultiError []error
AttachmentMultiError is an error wrapping multiple validation errors returned by Attachment.ValidateAll() if the designated constraints aren't met.
func (AttachmentMultiError) AllErrors ¶ added in v1.32.1
func (m AttachmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttachmentMultiError) Error ¶ added in v1.32.1
func (m AttachmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttachmentValidationError ¶ added in v1.32.1
type AttachmentValidationError struct {
// contains filtered or unexported fields
}
AttachmentValidationError is the validation error returned by Attachment.Validate if the designated constraints aren't met.
func (AttachmentValidationError) Cause ¶ added in v1.32.1
func (e AttachmentValidationError) Cause() error
Cause function returns cause value.
func (AttachmentValidationError) Error ¶ added in v1.32.1
func (e AttachmentValidationError) Error() string
Error satisfies the builtin error interface
func (AttachmentValidationError) ErrorName ¶ added in v1.32.1
func (e AttachmentValidationError) ErrorName() string
ErrorName returns error name.
func (AttachmentValidationError) Field ¶ added in v1.32.1
func (e AttachmentValidationError) Field() string
Field function returns field value.
func (AttachmentValidationError) Key ¶ added in v1.32.1
func (e AttachmentValidationError) Key() bool
Key function returns key value.
func (AttachmentValidationError) Reason ¶ added in v1.32.1
func (e AttachmentValidationError) Reason() string
Reason function returns reason value.
type ContactRequest ¶
type ContactRequest struct { Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
func (*ContactRequest) Descriptor
deprecated
func (*ContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContactRequest.ProtoReflect.Descriptor instead.
func (*ContactRequest) GetTicket ¶
func (x *ContactRequest) GetTicket() *Ticket
func (*ContactRequest) ProtoMessage ¶
func (*ContactRequest) ProtoMessage()
func (*ContactRequest) ProtoReflect ¶
func (x *ContactRequest) ProtoReflect() protoreflect.Message
func (*ContactRequest) Reset ¶
func (x *ContactRequest) Reset()
func (*ContactRequest) String ¶
func (x *ContactRequest) String() string
func (*ContactRequest) Validate ¶ added in v1.32.1
func (m *ContactRequest) Validate() error
Validate checks the field values on ContactRequest 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 (*ContactRequest) ValidateAll ¶ added in v1.32.1
func (m *ContactRequest) ValidateAll() error
ValidateAll checks the field values on ContactRequest 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 ContactRequestMultiError, or nil if none found.
type ContactRequestMultiError ¶ added in v1.32.1
type ContactRequestMultiError []error
ContactRequestMultiError is an error wrapping multiple validation errors returned by ContactRequest.ValidateAll() if the designated constraints aren't met.
func (ContactRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ContactRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContactRequestMultiError) Error ¶ added in v1.32.1
func (m ContactRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContactRequestValidationError ¶ added in v1.32.1
type ContactRequestValidationError struct {
// contains filtered or unexported fields
}
ContactRequestValidationError is the validation error returned by ContactRequest.Validate if the designated constraints aren't met.
func (ContactRequestValidationError) Cause ¶ added in v1.32.1
func (e ContactRequestValidationError) Cause() error
Cause function returns cause value.
func (ContactRequestValidationError) Error ¶ added in v1.32.1
func (e ContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ContactRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ContactRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ContactRequestValidationError) Field ¶ added in v1.32.1
func (e ContactRequestValidationError) Field() string
Field function returns field value.
func (ContactRequestValidationError) Key ¶ added in v1.32.1
func (e ContactRequestValidationError) Key() bool
Key function returns key value.
func (ContactRequestValidationError) Reason ¶ added in v1.32.1
func (e ContactRequestValidationError) Reason() string
Reason function returns reason value.
type ContactResponse ¶
type ContactResponse struct { // An initial response indicating whether the support request has been received. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ContactResponse) Descriptor
deprecated
func (*ContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContactResponse.ProtoReflect.Descriptor instead.
func (*ContactResponse) GetMessage ¶
func (x *ContactResponse) GetMessage() string
func (*ContactResponse) ProtoMessage ¶
func (*ContactResponse) ProtoMessage()
func (*ContactResponse) ProtoReflect ¶
func (x *ContactResponse) ProtoReflect() protoreflect.Message
func (*ContactResponse) Reset ¶
func (x *ContactResponse) Reset()
func (*ContactResponse) String ¶
func (x *ContactResponse) String() string
func (*ContactResponse) Validate ¶ added in v1.32.1
func (m *ContactResponse) Validate() error
Validate checks the field values on ContactResponse 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 (*ContactResponse) ValidateAll ¶ added in v1.32.1
func (m *ContactResponse) ValidateAll() error
ValidateAll checks the field values on ContactResponse 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 ContactResponseMultiError, or nil if none found.
type ContactResponseMultiError ¶ added in v1.32.1
type ContactResponseMultiError []error
ContactResponseMultiError is an error wrapping multiple validation errors returned by ContactResponse.ValidateAll() if the designated constraints aren't met.
func (ContactResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ContactResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContactResponseMultiError) Error ¶ added in v1.32.1
func (m ContactResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContactResponseValidationError ¶ added in v1.32.1
type ContactResponseValidationError struct {
// contains filtered or unexported fields
}
ContactResponseValidationError is the validation error returned by ContactResponse.Validate if the designated constraints aren't met.
func (ContactResponseValidationError) Cause ¶ added in v1.32.1
func (e ContactResponseValidationError) Cause() error
Cause function returns cause value.
func (ContactResponseValidationError) Error ¶ added in v1.32.1
func (e ContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ContactResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ContactResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ContactResponseValidationError) Field ¶ added in v1.32.1
func (e ContactResponseValidationError) Field() string
Field function returns field value.
func (ContactResponseValidationError) Key ¶ added in v1.32.1
func (e ContactResponseValidationError) Key() bool
Key function returns key value.
func (ContactResponseValidationError) Reason ¶ added in v1.32.1
func (e ContactResponseValidationError) Reason() string
Reason function returns reason value.
type CreateAttachmentRequest ¶
type CreateAttachmentRequest struct { AttachmentInput *AttachmentInput `protobuf:"bytes,1,opt,name=attachment_input,json=attachmentInput,proto3" json:"attachment_input,omitempty"` // contains filtered or unexported fields }
func (*CreateAttachmentRequest) Descriptor
deprecated
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachmentInput ¶
func (x *CreateAttachmentRequest) GetAttachmentInput() *AttachmentInput
func (*CreateAttachmentRequest) ProtoMessage ¶
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect ¶
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset ¶
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String ¶
func (x *CreateAttachmentRequest) String() string
func (*CreateAttachmentRequest) Validate ¶ added in v1.32.1
func (m *CreateAttachmentRequest) Validate() error
Validate checks the field values on CreateAttachmentRequest 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 (*CreateAttachmentRequest) ValidateAll ¶ added in v1.32.1
func (m *CreateAttachmentRequest) ValidateAll() error
ValidateAll checks the field values on CreateAttachmentRequest 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 CreateAttachmentRequestMultiError, or nil if none found.
type CreateAttachmentRequestMultiError ¶ added in v1.32.1
type CreateAttachmentRequestMultiError []error
CreateAttachmentRequestMultiError is an error wrapping multiple validation errors returned by CreateAttachmentRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAttachmentRequestMultiError) AllErrors ¶ added in v1.32.1
func (m CreateAttachmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAttachmentRequestMultiError) Error ¶ added in v1.32.1
func (m CreateAttachmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAttachmentRequestValidationError ¶ added in v1.32.1
type CreateAttachmentRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAttachmentRequestValidationError is the validation error returned by CreateAttachmentRequest.Validate if the designated constraints aren't met.
func (CreateAttachmentRequestValidationError) Cause ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAttachmentRequestValidationError) Error ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAttachmentRequestValidationError) ErrorName ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAttachmentRequestValidationError) Field ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) Field() string
Field function returns field value.
func (CreateAttachmentRequestValidationError) Key ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) Key() bool
Key function returns key value.
func (CreateAttachmentRequestValidationError) Reason ¶ added in v1.32.1
func (e CreateAttachmentRequestValidationError) Reason() string
Reason function returns reason value.
type CreateAttachmentResponse ¶
type CreateAttachmentResponse struct { Attachment *Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*CreateAttachmentResponse) Descriptor
deprecated
func (*CreateAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentResponse.ProtoReflect.Descriptor instead.
func (*CreateAttachmentResponse) GetAttachment ¶
func (x *CreateAttachmentResponse) GetAttachment() *Attachment
func (*CreateAttachmentResponse) ProtoMessage ¶
func (*CreateAttachmentResponse) ProtoMessage()
func (*CreateAttachmentResponse) ProtoReflect ¶
func (x *CreateAttachmentResponse) ProtoReflect() protoreflect.Message
func (*CreateAttachmentResponse) Reset ¶
func (x *CreateAttachmentResponse) Reset()
func (*CreateAttachmentResponse) String ¶
func (x *CreateAttachmentResponse) String() string
func (*CreateAttachmentResponse) Validate ¶ added in v1.32.1
func (m *CreateAttachmentResponse) Validate() error
Validate checks the field values on CreateAttachmentResponse 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 (*CreateAttachmentResponse) ValidateAll ¶ added in v1.32.1
func (m *CreateAttachmentResponse) ValidateAll() error
ValidateAll checks the field values on CreateAttachmentResponse 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 CreateAttachmentResponseMultiError, or nil if none found.
type CreateAttachmentResponseMultiError ¶ added in v1.32.1
type CreateAttachmentResponseMultiError []error
CreateAttachmentResponseMultiError is an error wrapping multiple validation errors returned by CreateAttachmentResponse.ValidateAll() if the designated constraints aren't met.
func (CreateAttachmentResponseMultiError) AllErrors ¶ added in v1.32.1
func (m CreateAttachmentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAttachmentResponseMultiError) Error ¶ added in v1.32.1
func (m CreateAttachmentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAttachmentResponseValidationError ¶ added in v1.32.1
type CreateAttachmentResponseValidationError struct {
// contains filtered or unexported fields
}
CreateAttachmentResponseValidationError is the validation error returned by CreateAttachmentResponse.Validate if the designated constraints aren't met.
func (CreateAttachmentResponseValidationError) Cause ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateAttachmentResponseValidationError) Error ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAttachmentResponseValidationError) ErrorName ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAttachmentResponseValidationError) Field ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) Field() string
Field function returns field value.
func (CreateAttachmentResponseValidationError) Key ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) Key() bool
Key function returns key value.
func (CreateAttachmentResponseValidationError) Reason ¶ added in v1.32.1
func (e CreateAttachmentResponseValidationError) Reason() string
Reason function returns reason value.
type FormData ¶
type FormData struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*FormData) Descriptor
deprecated
func (*FormData) ProtoMessage ¶
func (*FormData) ProtoMessage()
func (*FormData) ProtoReflect ¶
func (x *FormData) ProtoReflect() protoreflect.Message
func (*FormData) Validate ¶ added in v1.32.1
Validate checks the field values on FormData 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 (*FormData) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on FormData 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 FormDataMultiError, or nil if none found.
type FormDataMultiError ¶ added in v1.32.1
type FormDataMultiError []error
FormDataMultiError is an error wrapping multiple validation errors returned by FormData.ValidateAll() if the designated constraints aren't met.
func (FormDataMultiError) AllErrors ¶ added in v1.32.1
func (m FormDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FormDataMultiError) Error ¶ added in v1.32.1
func (m FormDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FormDataValidationError ¶ added in v1.32.1
type FormDataValidationError struct {
// contains filtered or unexported fields
}
FormDataValidationError is the validation error returned by FormData.Validate if the designated constraints aren't met.
func (FormDataValidationError) Cause ¶ added in v1.32.1
func (e FormDataValidationError) Cause() error
Cause function returns cause value.
func (FormDataValidationError) Error ¶ added in v1.32.1
func (e FormDataValidationError) Error() string
Error satisfies the builtin error interface
func (FormDataValidationError) ErrorName ¶ added in v1.32.1
func (e FormDataValidationError) ErrorName() string
ErrorName returns error name.
func (FormDataValidationError) Field ¶ added in v1.32.1
func (e FormDataValidationError) Field() string
Field function returns field value.
func (FormDataValidationError) Key ¶ added in v1.32.1
func (e FormDataValidationError) Key() bool
Key function returns key value.
func (FormDataValidationError) Reason ¶ added in v1.32.1
func (e FormDataValidationError) Reason() string
Reason function returns reason value.
type Ticket ¶
type Ticket struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=commonfate.control.support.v1alpha1.Type" json:"type,omitempty"` PreventingUse bool `protobuf:"varint,3,opt,name=preventing_use,json=preventingUse,proto3" json:"preventing_use,omitempty"` AttachmentIds []string `protobuf:"bytes,4,rep,name=attachment_ids,json=attachmentIds,proto3" json:"attachment_ids,omitempty"` // contains filtered or unexported fields }
func (*Ticket) Descriptor
deprecated
func (*Ticket) GetAttachmentIds ¶
func (*Ticket) GetMessage ¶
func (*Ticket) GetPreventingUse ¶
func (*Ticket) ProtoMessage ¶
func (*Ticket) ProtoMessage()
func (*Ticket) ProtoReflect ¶
func (x *Ticket) ProtoReflect() protoreflect.Message
func (*Ticket) Validate ¶ added in v1.32.1
Validate checks the field values on Ticket 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 (*Ticket) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Ticket 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 TicketMultiError, or nil if none found.
type TicketMultiError ¶ added in v1.32.1
type TicketMultiError []error
TicketMultiError is an error wrapping multiple validation errors returned by Ticket.ValidateAll() if the designated constraints aren't met.
func (TicketMultiError) AllErrors ¶ added in v1.32.1
func (m TicketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TicketMultiError) Error ¶ added in v1.32.1
func (m TicketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TicketValidationError ¶ added in v1.32.1
type TicketValidationError struct {
// contains filtered or unexported fields
}
TicketValidationError is the validation error returned by Ticket.Validate if the designated constraints aren't met.
func (TicketValidationError) Cause ¶ added in v1.32.1
func (e TicketValidationError) Cause() error
Cause function returns cause value.
func (TicketValidationError) Error ¶ added in v1.32.1
func (e TicketValidationError) Error() string
Error satisfies the builtin error interface
func (TicketValidationError) ErrorName ¶ added in v1.32.1
func (e TicketValidationError) ErrorName() string
ErrorName returns error name.
func (TicketValidationError) Field ¶ added in v1.32.1
func (e TicketValidationError) Field() string
Field function returns field value.
func (TicketValidationError) Key ¶ added in v1.32.1
func (e TicketValidationError) Key() bool
Key function returns key value.
func (TicketValidationError) Reason ¶ added in v1.32.1
func (e TicketValidationError) Reason() string
Reason function returns reason value.
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType