Documentation ¶
Index ¶
- Variables
- func RegisterProjectServiceServer(s *grpc.Server, srv ProjectServiceServer)
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetName() string
- func (x *CreateProjectRequest) GetUserId() uint32
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- func (m *CreateProjectRequest) Validate() error
- func (m *CreateProjectRequest) ValidateAll() error
- type CreateProjectRequestMultiError
- type CreateProjectRequestValidationError
- func (e CreateProjectRequestValidationError) Cause() error
- func (e CreateProjectRequestValidationError) Error() string
- func (e CreateProjectRequestValidationError) ErrorName() string
- func (e CreateProjectRequestValidationError) Field() string
- func (e CreateProjectRequestValidationError) Key() bool
- func (e CreateProjectRequestValidationError) Reason() string
- type CreateProjectResponse
- func (*CreateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectResponse) GetProject() *Project
- func (*CreateProjectResponse) ProtoMessage()
- func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProjectResponse) Reset()
- func (x *CreateProjectResponse) String() string
- func (m *CreateProjectResponse) Validate() error
- func (m *CreateProjectResponse) ValidateAll() error
- type CreateProjectResponseMultiError
- type CreateProjectResponseValidationError
- func (e CreateProjectResponseValidationError) Cause() error
- func (e CreateProjectResponseValidationError) Error() string
- func (e CreateProjectResponseValidationError) ErrorName() string
- func (e CreateProjectResponseValidationError) Field() string
- func (e CreateProjectResponseValidationError) Key() bool
- func (e CreateProjectResponseValidationError) Reason() string
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetProjectId() uint32
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- func (m *DeleteProjectRequest) Validate() error
- func (m *DeleteProjectRequest) ValidateAll() error
- type DeleteProjectRequestMultiError
- type DeleteProjectRequestValidationError
- func (e DeleteProjectRequestValidationError) Cause() error
- func (e DeleteProjectRequestValidationError) Error() string
- func (e DeleteProjectRequestValidationError) ErrorName() string
- func (e DeleteProjectRequestValidationError) Field() string
- func (e DeleteProjectRequestValidationError) Key() bool
- func (e DeleteProjectRequestValidationError) Reason() string
- type IsActiveRequest
- func (*IsActiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsActiveRequest) GetProjectId() uint32
- func (*IsActiveRequest) ProtoMessage()
- func (x *IsActiveRequest) ProtoReflect() protoreflect.Message
- func (x *IsActiveRequest) Reset()
- func (x *IsActiveRequest) String() string
- func (m *IsActiveRequest) Validate() error
- func (m *IsActiveRequest) ValidateAll() error
- type IsActiveRequestMultiError
- type IsActiveRequestValidationError
- func (e IsActiveRequestValidationError) Cause() error
- func (e IsActiveRequestValidationError) Error() string
- func (e IsActiveRequestValidationError) ErrorName() string
- func (e IsActiveRequestValidationError) Field() string
- func (e IsActiveRequestValidationError) Key() bool
- func (e IsActiveRequestValidationError) Reason() string
- type IsActiveResponse
- func (*IsActiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsActiveResponse) GetActive() bool
- func (*IsActiveResponse) ProtoMessage()
- func (x *IsActiveResponse) ProtoReflect() protoreflect.Message
- func (x *IsActiveResponse) Reset()
- func (x *IsActiveResponse) String() string
- func (m *IsActiveResponse) Validate() error
- func (m *IsActiveResponse) ValidateAll() error
- type IsActiveResponseMultiError
- type IsActiveResponseValidationError
- func (e IsActiveResponseValidationError) Cause() error
- func (e IsActiveResponseValidationError) Error() string
- func (e IsActiveResponseValidationError) ErrorName() string
- func (e IsActiveResponseValidationError) Field() string
- func (e IsActiveResponseValidationError) Key() bool
- func (e IsActiveResponseValidationError) Reason() string
- type ListProjectRequest
- func (*ListProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectRequest) GetName() string
- func (x *ListProjectRequest) GetProjectId() uint32
- func (x *ListProjectRequest) GetUserId() uint32
- func (*ListProjectRequest) ProtoMessage()
- func (x *ListProjectRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectRequest) Reset()
- func (x *ListProjectRequest) String() string
- func (m *ListProjectRequest) Validate() error
- func (m *ListProjectRequest) ValidateAll() error
- type ListProjectRequestMultiError
- type ListProjectRequestValidationError
- func (e ListProjectRequestValidationError) Cause() error
- func (e ListProjectRequestValidationError) Error() string
- func (e ListProjectRequestValidationError) ErrorName() string
- func (e ListProjectRequestValidationError) Field() string
- func (e ListProjectRequestValidationError) Key() bool
- func (e ListProjectRequestValidationError) Reason() string
- type ListProjectResponse
- func (*ListProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectResponse) GetProject() []*Project
- func (*ListProjectResponse) ProtoMessage()
- func (x *ListProjectResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectResponse) Reset()
- func (x *ListProjectResponse) String() string
- func (m *ListProjectResponse) Validate() error
- func (m *ListProjectResponse) ValidateAll() error
- type ListProjectResponseMultiError
- type ListProjectResponseValidationError
- func (e ListProjectResponseValidationError) Cause() error
- func (e ListProjectResponseValidationError) Error() string
- func (e ListProjectResponseValidationError) ErrorName() string
- func (e ListProjectResponseValidationError) Field() string
- func (e ListProjectResponseValidationError) Key() bool
- func (e ListProjectResponseValidationError) Reason() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreatedAt() int64
- func (x *Project) GetName() string
- func (x *Project) GetProjectId() uint32
- func (x *Project) GetTag() []*ProjectTag
- func (x *Project) GetUpdatedAt() int64
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) ValidateAll() error
- type ProjectMultiError
- type ProjectServiceClient
- type ProjectServiceServer
- type ProjectTag
- func (*ProjectTag) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectTag) GetColor() string
- func (x *ProjectTag) GetCreatedAt() int64
- func (x *ProjectTag) GetProjectId() uint32
- func (x *ProjectTag) GetTag() string
- func (x *ProjectTag) GetUpdatedAt() int64
- func (*ProjectTag) ProtoMessage()
- func (x *ProjectTag) ProtoReflect() protoreflect.Message
- func (x *ProjectTag) Reset()
- func (x *ProjectTag) String() string
- func (m *ProjectTag) Validate() error
- func (m *ProjectTag) ValidateAll() error
- type ProjectTagMultiError
- type ProjectTagValidationError
- type ProjectValidationError
- type TagProjectRequest
- func (*TagProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TagProjectRequest) GetColor() string
- func (x *TagProjectRequest) GetProjectId() uint32
- func (x *TagProjectRequest) GetTag() string
- func (*TagProjectRequest) ProtoMessage()
- func (x *TagProjectRequest) ProtoReflect() protoreflect.Message
- func (x *TagProjectRequest) Reset()
- func (x *TagProjectRequest) String() string
- func (m *TagProjectRequest) Validate() error
- func (m *TagProjectRequest) ValidateAll() error
- type TagProjectRequestMultiError
- type TagProjectRequestValidationError
- func (e TagProjectRequestValidationError) Cause() error
- func (e TagProjectRequestValidationError) Error() string
- func (e TagProjectRequestValidationError) ErrorName() string
- func (e TagProjectRequestValidationError) Field() string
- func (e TagProjectRequestValidationError) Key() bool
- func (e TagProjectRequestValidationError) Reason() string
- type TagProjectResponse
- func (*TagProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TagProjectResponse) GetProjectTag() *ProjectTag
- func (*TagProjectResponse) ProtoMessage()
- func (x *TagProjectResponse) ProtoReflect() protoreflect.Message
- func (x *TagProjectResponse) Reset()
- func (x *TagProjectResponse) String() string
- func (m *TagProjectResponse) Validate() error
- func (m *TagProjectResponse) ValidateAll() error
- type TagProjectResponseMultiError
- type TagProjectResponseValidationError
- func (e TagProjectResponseValidationError) Cause() error
- func (e TagProjectResponseValidationError) Error() string
- func (e TagProjectResponseValidationError) ErrorName() string
- func (e TagProjectResponseValidationError) Field() string
- func (e TagProjectResponseValidationError) Key() bool
- func (e TagProjectResponseValidationError) Reason() string
- type UnimplementedProjectServiceServer
- func (*UnimplementedProjectServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
- func (*UnimplementedProjectServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error)
- func (*UnimplementedProjectServiceServer) IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error)
- func (*UnimplementedProjectServiceServer) ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error)
- func (*UnimplementedProjectServiceServer) TagProject(context.Context, *TagProjectRequest) (*TagProjectResponse, error)
- func (*UnimplementedProjectServiceServer) UntagProject(context.Context, *UntagProjectRequest) (*emptypb.Empty, error)
- func (*UnimplementedProjectServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error)
- type UntagProjectRequest
- func (*UntagProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UntagProjectRequest) GetProjectId() uint32
- func (x *UntagProjectRequest) GetTag() string
- func (*UntagProjectRequest) ProtoMessage()
- func (x *UntagProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UntagProjectRequest) Reset()
- func (x *UntagProjectRequest) String() string
- func (m *UntagProjectRequest) Validate() error
- func (m *UntagProjectRequest) ValidateAll() error
- type UntagProjectRequestMultiError
- type UntagProjectRequestValidationError
- func (e UntagProjectRequestValidationError) Cause() error
- func (e UntagProjectRequestValidationError) Error() string
- func (e UntagProjectRequestValidationError) ErrorName() string
- func (e UntagProjectRequestValidationError) Field() string
- func (e UntagProjectRequestValidationError) Key() bool
- func (e UntagProjectRequestValidationError) Reason() string
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectRequest) GetName() string
- func (x *UpdateProjectRequest) GetProjectId() uint32
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
- func (m *UpdateProjectRequest) Validate() error
- func (m *UpdateProjectRequest) ValidateAll() error
- type UpdateProjectRequestMultiError
- type UpdateProjectRequestValidationError
- func (e UpdateProjectRequestValidationError) Cause() error
- func (e UpdateProjectRequestValidationError) Error() string
- func (e UpdateProjectRequestValidationError) ErrorName() string
- func (e UpdateProjectRequestValidationError) Field() string
- func (e UpdateProjectRequestValidationError) Key() bool
- func (e UpdateProjectRequestValidationError) Reason() string
- type UpdateProjectResponse
- func (*UpdateProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectResponse) GetProject() *Project
- func (*UpdateProjectResponse) ProtoMessage()
- func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectResponse) Reset()
- func (x *UpdateProjectResponse) String() string
- func (m *UpdateProjectResponse) Validate() error
- func (m *UpdateProjectResponse) ValidateAll() error
- type UpdateProjectResponseMultiError
- type UpdateProjectResponseValidationError
- func (e UpdateProjectResponseValidationError) Cause() error
- func (e UpdateProjectResponseValidationError) Error() string
- func (e UpdateProjectResponseValidationError) ErrorName() string
- func (e UpdateProjectResponseValidationError) Field() string
- func (e UpdateProjectResponseValidationError) Key() bool
- func (e UpdateProjectResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_project_entity_proto protoreflect.FileDescriptor
var File_project_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProjectServiceServer ¶
func RegisterProjectServiceServer(s *grpc.Server, srv ProjectServiceServer)
Types ¶
type CreateProjectRequest ¶
type CreateProjectRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // project owner Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetName ¶
func (x *CreateProjectRequest) GetName() string
func (*CreateProjectRequest) GetUserId ¶
func (x *CreateProjectRequest) GetUserId() uint32
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
func (*CreateProjectRequest) Validate ¶
func (m *CreateProjectRequest) Validate() error
Validate checks the field values on CreateProjectRequest 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 (*CreateProjectRequest) ValidateAll ¶
func (m *CreateProjectRequest) ValidateAll() error
ValidateAll checks the field values on CreateProjectRequest 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 CreateProjectRequestMultiError, or nil if none found.
type CreateProjectRequestMultiError ¶
type CreateProjectRequestMultiError []error
CreateProjectRequestMultiError is an error wrapping multiple validation errors returned by CreateProjectRequest.ValidateAll() if the designated constraints aren't met.
func (CreateProjectRequestMultiError) AllErrors ¶
func (m CreateProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProjectRequestMultiError) Error ¶
func (m CreateProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProjectRequestValidationError ¶
type CreateProjectRequestValidationError struct {
// contains filtered or unexported fields
}
CreateProjectRequestValidationError is the validation error returned by CreateProjectRequest.Validate if the designated constraints aren't met.
func (CreateProjectRequestValidationError) Cause ¶
func (e CreateProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectRequestValidationError) Error ¶
func (e CreateProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectRequestValidationError) ErrorName ¶
func (e CreateProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectRequestValidationError) Field ¶
func (e CreateProjectRequestValidationError) Field() string
Field function returns field value.
func (CreateProjectRequestValidationError) Key ¶
func (e CreateProjectRequestValidationError) Key() bool
Key function returns key value.
func (CreateProjectRequestValidationError) Reason ¶
func (e CreateProjectRequestValidationError) Reason() string
Reason function returns reason value.
type CreateProjectResponse ¶
type CreateProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectResponse) Descriptor
deprecated
func (*CreateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.
func (*CreateProjectResponse) GetProject ¶
func (x *CreateProjectResponse) GetProject() *Project
func (*CreateProjectResponse) ProtoMessage ¶
func (*CreateProjectResponse) ProtoMessage()
func (*CreateProjectResponse) ProtoReflect ¶
func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message
func (*CreateProjectResponse) Reset ¶
func (x *CreateProjectResponse) Reset()
func (*CreateProjectResponse) String ¶
func (x *CreateProjectResponse) String() string
func (*CreateProjectResponse) Validate ¶
func (m *CreateProjectResponse) Validate() error
Validate checks the field values on CreateProjectResponse 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 (*CreateProjectResponse) ValidateAll ¶
func (m *CreateProjectResponse) ValidateAll() error
ValidateAll checks the field values on CreateProjectResponse 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 CreateProjectResponseMultiError, or nil if none found.
type CreateProjectResponseMultiError ¶
type CreateProjectResponseMultiError []error
CreateProjectResponseMultiError is an error wrapping multiple validation errors returned by CreateProjectResponse.ValidateAll() if the designated constraints aren't met.
func (CreateProjectResponseMultiError) AllErrors ¶
func (m CreateProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProjectResponseMultiError) Error ¶
func (m CreateProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProjectResponseValidationError ¶
type CreateProjectResponseValidationError struct {
// contains filtered or unexported fields
}
CreateProjectResponseValidationError is the validation error returned by CreateProjectResponse.Validate if the designated constraints aren't met.
func (CreateProjectResponseValidationError) Cause ¶
func (e CreateProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectResponseValidationError) Error ¶
func (e CreateProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectResponseValidationError) ErrorName ¶
func (e CreateProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectResponseValidationError) Field ¶
func (e CreateProjectResponseValidationError) Field() string
Field function returns field value.
func (CreateProjectResponseValidationError) Key ¶
func (e CreateProjectResponseValidationError) Key() bool
Key function returns key value.
func (CreateProjectResponseValidationError) Reason ¶
func (e CreateProjectResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectRequest) Descriptor
deprecated
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetProjectId ¶
func (x *DeleteProjectRequest) GetProjectId() uint32
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect ¶
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset ¶
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (x *DeleteProjectRequest) String() string
func (*DeleteProjectRequest) Validate ¶
func (m *DeleteProjectRequest) Validate() error
Validate checks the field values on DeleteProjectRequest 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 (*DeleteProjectRequest) ValidateAll ¶
func (m *DeleteProjectRequest) ValidateAll() error
ValidateAll checks the field values on DeleteProjectRequest 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 DeleteProjectRequestMultiError, or nil if none found.
type DeleteProjectRequestMultiError ¶
type DeleteProjectRequestMultiError []error
DeleteProjectRequestMultiError is an error wrapping multiple validation errors returned by DeleteProjectRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteProjectRequestMultiError) AllErrors ¶
func (m DeleteProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProjectRequestMultiError) Error ¶
func (m DeleteProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProjectRequestValidationError ¶
type DeleteProjectRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteProjectRequestValidationError is the validation error returned by DeleteProjectRequest.Validate if the designated constraints aren't met.
func (DeleteProjectRequestValidationError) Cause ¶
func (e DeleteProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteProjectRequestValidationError) Error ¶
func (e DeleteProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProjectRequestValidationError) ErrorName ¶
func (e DeleteProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProjectRequestValidationError) Field ¶
func (e DeleteProjectRequestValidationError) Field() string
Field function returns field value.
func (DeleteProjectRequestValidationError) Key ¶
func (e DeleteProjectRequestValidationError) Key() bool
Key function returns key value.
func (DeleteProjectRequestValidationError) Reason ¶
func (e DeleteProjectRequestValidationError) Reason() string
Reason function returns reason value.
type IsActiveRequest ¶
type IsActiveRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*IsActiveRequest) Descriptor
deprecated
func (*IsActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsActiveRequest.ProtoReflect.Descriptor instead.
func (*IsActiveRequest) GetProjectId ¶
func (x *IsActiveRequest) GetProjectId() uint32
func (*IsActiveRequest) ProtoMessage ¶
func (*IsActiveRequest) ProtoMessage()
func (*IsActiveRequest) ProtoReflect ¶
func (x *IsActiveRequest) ProtoReflect() protoreflect.Message
func (*IsActiveRequest) Reset ¶
func (x *IsActiveRequest) Reset()
func (*IsActiveRequest) String ¶
func (x *IsActiveRequest) String() string
func (*IsActiveRequest) Validate ¶
func (m *IsActiveRequest) Validate() error
Validate checks the field values on IsActiveRequest 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 (*IsActiveRequest) ValidateAll ¶
func (m *IsActiveRequest) ValidateAll() error
ValidateAll checks the field values on IsActiveRequest 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 IsActiveRequestMultiError, or nil if none found.
type IsActiveRequestMultiError ¶
type IsActiveRequestMultiError []error
IsActiveRequestMultiError is an error wrapping multiple validation errors returned by IsActiveRequest.ValidateAll() if the designated constraints aren't met.
func (IsActiveRequestMultiError) AllErrors ¶
func (m IsActiveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsActiveRequestMultiError) Error ¶
func (m IsActiveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsActiveRequestValidationError ¶
type IsActiveRequestValidationError struct {
// contains filtered or unexported fields
}
IsActiveRequestValidationError is the validation error returned by IsActiveRequest.Validate if the designated constraints aren't met.
func (IsActiveRequestValidationError) Cause ¶
func (e IsActiveRequestValidationError) Cause() error
Cause function returns cause value.
func (IsActiveRequestValidationError) Error ¶
func (e IsActiveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IsActiveRequestValidationError) ErrorName ¶
func (e IsActiveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IsActiveRequestValidationError) Field ¶
func (e IsActiveRequestValidationError) Field() string
Field function returns field value.
func (IsActiveRequestValidationError) Key ¶
func (e IsActiveRequestValidationError) Key() bool
Key function returns key value.
func (IsActiveRequestValidationError) Reason ¶
func (e IsActiveRequestValidationError) Reason() string
Reason function returns reason value.
type IsActiveResponse ¶
type IsActiveResponse struct { Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*IsActiveResponse) Descriptor
deprecated
func (*IsActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsActiveResponse.ProtoReflect.Descriptor instead.
func (*IsActiveResponse) GetActive ¶
func (x *IsActiveResponse) GetActive() bool
func (*IsActiveResponse) ProtoMessage ¶
func (*IsActiveResponse) ProtoMessage()
func (*IsActiveResponse) ProtoReflect ¶
func (x *IsActiveResponse) ProtoReflect() protoreflect.Message
func (*IsActiveResponse) Reset ¶
func (x *IsActiveResponse) Reset()
func (*IsActiveResponse) String ¶
func (x *IsActiveResponse) String() string
func (*IsActiveResponse) Validate ¶
func (m *IsActiveResponse) Validate() error
Validate checks the field values on IsActiveResponse 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 (*IsActiveResponse) ValidateAll ¶
func (m *IsActiveResponse) ValidateAll() error
ValidateAll checks the field values on IsActiveResponse 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 IsActiveResponseMultiError, or nil if none found.
type IsActiveResponseMultiError ¶
type IsActiveResponseMultiError []error
IsActiveResponseMultiError is an error wrapping multiple validation errors returned by IsActiveResponse.ValidateAll() if the designated constraints aren't met.
func (IsActiveResponseMultiError) AllErrors ¶
func (m IsActiveResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsActiveResponseMultiError) Error ¶
func (m IsActiveResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsActiveResponseValidationError ¶
type IsActiveResponseValidationError struct {
// contains filtered or unexported fields
}
IsActiveResponseValidationError is the validation error returned by IsActiveResponse.Validate if the designated constraints aren't met.
func (IsActiveResponseValidationError) Cause ¶
func (e IsActiveResponseValidationError) Cause() error
Cause function returns cause value.
func (IsActiveResponseValidationError) Error ¶
func (e IsActiveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IsActiveResponseValidationError) ErrorName ¶
func (e IsActiveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IsActiveResponseValidationError) Field ¶
func (e IsActiveResponseValidationError) Field() string
Field function returns field value.
func (IsActiveResponseValidationError) Key ¶
func (e IsActiveResponseValidationError) Key() bool
Key function returns key value.
func (IsActiveResponseValidationError) Reason ¶
func (e IsActiveResponseValidationError) Reason() string
Reason function returns reason value.
type ListProjectRequest ¶
type ListProjectRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListProjectRequest) Descriptor
deprecated
func (*ListProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectRequest.ProtoReflect.Descriptor instead.
func (*ListProjectRequest) GetName ¶
func (x *ListProjectRequest) GetName() string
func (*ListProjectRequest) GetProjectId ¶
func (x *ListProjectRequest) GetProjectId() uint32
func (*ListProjectRequest) GetUserId ¶
func (x *ListProjectRequest) GetUserId() uint32
func (*ListProjectRequest) ProtoMessage ¶
func (*ListProjectRequest) ProtoMessage()
func (*ListProjectRequest) ProtoReflect ¶
func (x *ListProjectRequest) ProtoReflect() protoreflect.Message
func (*ListProjectRequest) Reset ¶
func (x *ListProjectRequest) Reset()
func (*ListProjectRequest) String ¶
func (x *ListProjectRequest) String() string
func (*ListProjectRequest) Validate ¶
func (m *ListProjectRequest) Validate() error
Validate checks the field values on ListProjectRequest 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 (*ListProjectRequest) ValidateAll ¶
func (m *ListProjectRequest) ValidateAll() error
ValidateAll checks the field values on ListProjectRequest 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 ListProjectRequestMultiError, or nil if none found.
type ListProjectRequestMultiError ¶
type ListProjectRequestMultiError []error
ListProjectRequestMultiError is an error wrapping multiple validation errors returned by ListProjectRequest.ValidateAll() if the designated constraints aren't met.
func (ListProjectRequestMultiError) AllErrors ¶
func (m ListProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProjectRequestMultiError) Error ¶
func (m ListProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProjectRequestValidationError ¶
type ListProjectRequestValidationError struct {
// contains filtered or unexported fields
}
ListProjectRequestValidationError is the validation error returned by ListProjectRequest.Validate if the designated constraints aren't met.
func (ListProjectRequestValidationError) Cause ¶
func (e ListProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (ListProjectRequestValidationError) Error ¶
func (e ListProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectRequestValidationError) ErrorName ¶
func (e ListProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectRequestValidationError) Field ¶
func (e ListProjectRequestValidationError) Field() string
Field function returns field value.
func (ListProjectRequestValidationError) Key ¶
func (e ListProjectRequestValidationError) Key() bool
Key function returns key value.
func (ListProjectRequestValidationError) Reason ¶
func (e ListProjectRequestValidationError) Reason() string
Reason function returns reason value.
type ListProjectResponse ¶
type ListProjectResponse struct { Project []*Project `protobuf:"bytes,1,rep,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ListProjectResponse) Descriptor
deprecated
func (*ListProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectResponse.ProtoReflect.Descriptor instead.
func (*ListProjectResponse) GetProject ¶
func (x *ListProjectResponse) GetProject() []*Project
func (*ListProjectResponse) ProtoMessage ¶
func (*ListProjectResponse) ProtoMessage()
func (*ListProjectResponse) ProtoReflect ¶
func (x *ListProjectResponse) ProtoReflect() protoreflect.Message
func (*ListProjectResponse) Reset ¶
func (x *ListProjectResponse) Reset()
func (*ListProjectResponse) String ¶
func (x *ListProjectResponse) String() string
func (*ListProjectResponse) Validate ¶
func (m *ListProjectResponse) Validate() error
Validate checks the field values on ListProjectResponse 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 (*ListProjectResponse) ValidateAll ¶
func (m *ListProjectResponse) ValidateAll() error
ValidateAll checks the field values on ListProjectResponse 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 ListProjectResponseMultiError, or nil if none found.
type ListProjectResponseMultiError ¶
type ListProjectResponseMultiError []error
ListProjectResponseMultiError is an error wrapping multiple validation errors returned by ListProjectResponse.ValidateAll() if the designated constraints aren't met.
func (ListProjectResponseMultiError) AllErrors ¶
func (m ListProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProjectResponseMultiError) Error ¶
func (m ListProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProjectResponseValidationError ¶
type ListProjectResponseValidationError struct {
// contains filtered or unexported fields
}
ListProjectResponseValidationError is the validation error returned by ListProjectResponse.Validate if the designated constraints aren't met.
func (ListProjectResponseValidationError) Cause ¶
func (e ListProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (ListProjectResponseValidationError) Error ¶
func (e ListProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectResponseValidationError) ErrorName ¶
func (e ListProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectResponseValidationError) Field ¶
func (e ListProjectResponseValidationError) Field() string
Field function returns field value.
func (ListProjectResponseValidationError) Key ¶
func (e ListProjectResponseValidationError) Key() bool
Key function returns key value.
func (ListProjectResponseValidationError) Reason ¶
func (e ListProjectResponseValidationError) Reason() string
Reason function returns reason value.
type Project ¶
type Project struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tag []*ProjectTag `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Project
func (*Project) Descriptor
deprecated
func (*Project) GetCreatedAt ¶
func (*Project) GetProjectId ¶
func (*Project) GetTag ¶
func (x *Project) GetTag() []*ProjectTag
func (*Project) GetUpdatedAt ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) Validate ¶
Validate checks the field values on Project 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 (*Project) ValidateAll ¶
ValidateAll checks the field values on Project 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 ProjectMultiError, or nil if none found.
type ProjectMultiError ¶
type ProjectMultiError []error
ProjectMultiError is an error wrapping multiple validation errors returned by Project.ValidateAll() if the designated constraints aren't met.
func (ProjectMultiError) AllErrors ¶
func (m ProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectMultiError) Error ¶
func (m ProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectServiceClient ¶
type ProjectServiceClient interface { // project ListProject(ctx context.Context, in *ListProjectRequest, opts ...grpc.CallOption) (*ListProjectResponse, error) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // project_tag TagProject(ctx context.Context, in *TagProjectRequest, opts ...grpc.CallOption) (*TagProjectResponse, error) UntagProject(ctx context.Context, in *UntagProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) IsActive(ctx context.Context, in *IsActiveRequest, opts ...grpc.CallOption) (*IsActiveResponse, error) }
ProjectServiceClient is the client API for ProjectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProjectServiceClient ¶
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶
type ProjectServiceServer interface { // project ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error) // project_tag TagProject(context.Context, *TagProjectRequest) (*TagProjectResponse, error) UntagProject(context.Context, *UntagProjectRequest) (*emptypb.Empty, error) IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error) }
ProjectServiceServer is the server API for ProjectService service.
type ProjectTag ¶
type ProjectTag struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
ProjectTag
func (*ProjectTag) Descriptor
deprecated
func (*ProjectTag) Descriptor() ([]byte, []int)
Deprecated: Use ProjectTag.ProtoReflect.Descriptor instead.
func (*ProjectTag) GetColor ¶
func (x *ProjectTag) GetColor() string
func (*ProjectTag) GetCreatedAt ¶
func (x *ProjectTag) GetCreatedAt() int64
func (*ProjectTag) GetProjectId ¶
func (x *ProjectTag) GetProjectId() uint32
func (*ProjectTag) GetTag ¶
func (x *ProjectTag) GetTag() string
func (*ProjectTag) GetUpdatedAt ¶
func (x *ProjectTag) GetUpdatedAt() int64
func (*ProjectTag) ProtoMessage ¶
func (*ProjectTag) ProtoMessage()
func (*ProjectTag) ProtoReflect ¶
func (x *ProjectTag) ProtoReflect() protoreflect.Message
func (*ProjectTag) Reset ¶
func (x *ProjectTag) Reset()
func (*ProjectTag) String ¶
func (x *ProjectTag) String() string
func (*ProjectTag) Validate ¶
func (m *ProjectTag) Validate() error
Validate checks the field values on ProjectTag 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 (*ProjectTag) ValidateAll ¶
func (m *ProjectTag) ValidateAll() error
ValidateAll checks the field values on ProjectTag 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 ProjectTagMultiError, or nil if none found.
type ProjectTagMultiError ¶
type ProjectTagMultiError []error
ProjectTagMultiError is an error wrapping multiple validation errors returned by ProjectTag.ValidateAll() if the designated constraints aren't met.
func (ProjectTagMultiError) AllErrors ¶
func (m ProjectTagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectTagMultiError) Error ¶
func (m ProjectTagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectTagValidationError ¶
type ProjectTagValidationError struct {
// contains filtered or unexported fields
}
ProjectTagValidationError is the validation error returned by ProjectTag.Validate if the designated constraints aren't met.
func (ProjectTagValidationError) Cause ¶
func (e ProjectTagValidationError) Cause() error
Cause function returns cause value.
func (ProjectTagValidationError) Error ¶
func (e ProjectTagValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectTagValidationError) ErrorName ¶
func (e ProjectTagValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectTagValidationError) Field ¶
func (e ProjectTagValidationError) Field() string
Field function returns field value.
func (ProjectTagValidationError) Key ¶
func (e ProjectTagValidationError) Key() bool
Key function returns key value.
func (ProjectTagValidationError) Reason ¶
func (e ProjectTagValidationError) Reason() string
Reason function returns reason value.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.
type TagProjectRequest ¶
type TagProjectRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
func (*TagProjectRequest) Descriptor
deprecated
func (*TagProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use TagProjectRequest.ProtoReflect.Descriptor instead.
func (*TagProjectRequest) GetColor ¶
func (x *TagProjectRequest) GetColor() string
func (*TagProjectRequest) GetProjectId ¶
func (x *TagProjectRequest) GetProjectId() uint32
func (*TagProjectRequest) GetTag ¶
func (x *TagProjectRequest) GetTag() string
func (*TagProjectRequest) ProtoMessage ¶
func (*TagProjectRequest) ProtoMessage()
func (*TagProjectRequest) ProtoReflect ¶
func (x *TagProjectRequest) ProtoReflect() protoreflect.Message
func (*TagProjectRequest) Reset ¶
func (x *TagProjectRequest) Reset()
func (*TagProjectRequest) String ¶
func (x *TagProjectRequest) String() string
func (*TagProjectRequest) Validate ¶
func (m *TagProjectRequest) Validate() error
Validate checks the field values on TagProjectRequest 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 (*TagProjectRequest) ValidateAll ¶
func (m *TagProjectRequest) ValidateAll() error
ValidateAll checks the field values on TagProjectRequest 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 TagProjectRequestMultiError, or nil if none found.
type TagProjectRequestMultiError ¶
type TagProjectRequestMultiError []error
TagProjectRequestMultiError is an error wrapping multiple validation errors returned by TagProjectRequest.ValidateAll() if the designated constraints aren't met.
func (TagProjectRequestMultiError) AllErrors ¶
func (m TagProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagProjectRequestMultiError) Error ¶
func (m TagProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagProjectRequestValidationError ¶
type TagProjectRequestValidationError struct {
// contains filtered or unexported fields
}
TagProjectRequestValidationError is the validation error returned by TagProjectRequest.Validate if the designated constraints aren't met.
func (TagProjectRequestValidationError) Cause ¶
func (e TagProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (TagProjectRequestValidationError) Error ¶
func (e TagProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TagProjectRequestValidationError) ErrorName ¶
func (e TagProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TagProjectRequestValidationError) Field ¶
func (e TagProjectRequestValidationError) Field() string
Field function returns field value.
func (TagProjectRequestValidationError) Key ¶
func (e TagProjectRequestValidationError) Key() bool
Key function returns key value.
func (TagProjectRequestValidationError) Reason ¶
func (e TagProjectRequestValidationError) Reason() string
Reason function returns reason value.
type TagProjectResponse ¶
type TagProjectResponse struct { ProjectTag *ProjectTag `protobuf:"bytes,1,opt,name=project_tag,json=projectTag,proto3" json:"project_tag,omitempty"` // contains filtered or unexported fields }
func (*TagProjectResponse) Descriptor
deprecated
func (*TagProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use TagProjectResponse.ProtoReflect.Descriptor instead.
func (*TagProjectResponse) GetProjectTag ¶
func (x *TagProjectResponse) GetProjectTag() *ProjectTag
func (*TagProjectResponse) ProtoMessage ¶
func (*TagProjectResponse) ProtoMessage()
func (*TagProjectResponse) ProtoReflect ¶
func (x *TagProjectResponse) ProtoReflect() protoreflect.Message
func (*TagProjectResponse) Reset ¶
func (x *TagProjectResponse) Reset()
func (*TagProjectResponse) String ¶
func (x *TagProjectResponse) String() string
func (*TagProjectResponse) Validate ¶
func (m *TagProjectResponse) Validate() error
Validate checks the field values on TagProjectResponse 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 (*TagProjectResponse) ValidateAll ¶
func (m *TagProjectResponse) ValidateAll() error
ValidateAll checks the field values on TagProjectResponse 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 TagProjectResponseMultiError, or nil if none found.
type TagProjectResponseMultiError ¶
type TagProjectResponseMultiError []error
TagProjectResponseMultiError is an error wrapping multiple validation errors returned by TagProjectResponse.ValidateAll() if the designated constraints aren't met.
func (TagProjectResponseMultiError) AllErrors ¶
func (m TagProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagProjectResponseMultiError) Error ¶
func (m TagProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagProjectResponseValidationError ¶
type TagProjectResponseValidationError struct {
// contains filtered or unexported fields
}
TagProjectResponseValidationError is the validation error returned by TagProjectResponse.Validate if the designated constraints aren't met.
func (TagProjectResponseValidationError) Cause ¶
func (e TagProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (TagProjectResponseValidationError) Error ¶
func (e TagProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TagProjectResponseValidationError) ErrorName ¶
func (e TagProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TagProjectResponseValidationError) Field ¶
func (e TagProjectResponseValidationError) Field() string
Field function returns field value.
func (TagProjectResponseValidationError) Key ¶
func (e TagProjectResponseValidationError) Key() bool
Key function returns key value.
func (TagProjectResponseValidationError) Reason ¶
func (e TagProjectResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProjectServiceServer) CreateProject ¶
func (*UnimplementedProjectServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
func (*UnimplementedProjectServiceServer) DeleteProject ¶
func (*UnimplementedProjectServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*emptypb.Empty, error)
func (*UnimplementedProjectServiceServer) IsActive ¶
func (*UnimplementedProjectServiceServer) IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error)
func (*UnimplementedProjectServiceServer) ListProject ¶
func (*UnimplementedProjectServiceServer) ListProject(context.Context, *ListProjectRequest) (*ListProjectResponse, error)
func (*UnimplementedProjectServiceServer) TagProject ¶
func (*UnimplementedProjectServiceServer) TagProject(context.Context, *TagProjectRequest) (*TagProjectResponse, error)
func (*UnimplementedProjectServiceServer) UntagProject ¶
func (*UnimplementedProjectServiceServer) UntagProject(context.Context, *UntagProjectRequest) (*emptypb.Empty, error)
func (*UnimplementedProjectServiceServer) UpdateProject ¶
func (*UnimplementedProjectServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error)
type UntagProjectRequest ¶
type UntagProjectRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*UntagProjectRequest) Descriptor
deprecated
func (*UntagProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UntagProjectRequest.ProtoReflect.Descriptor instead.
func (*UntagProjectRequest) GetProjectId ¶
func (x *UntagProjectRequest) GetProjectId() uint32
func (*UntagProjectRequest) GetTag ¶
func (x *UntagProjectRequest) GetTag() string
func (*UntagProjectRequest) ProtoMessage ¶
func (*UntagProjectRequest) ProtoMessage()
func (*UntagProjectRequest) ProtoReflect ¶
func (x *UntagProjectRequest) ProtoReflect() protoreflect.Message
func (*UntagProjectRequest) Reset ¶
func (x *UntagProjectRequest) Reset()
func (*UntagProjectRequest) String ¶
func (x *UntagProjectRequest) String() string
func (*UntagProjectRequest) Validate ¶
func (m *UntagProjectRequest) Validate() error
Validate checks the field values on UntagProjectRequest 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 (*UntagProjectRequest) ValidateAll ¶
func (m *UntagProjectRequest) ValidateAll() error
ValidateAll checks the field values on UntagProjectRequest 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 UntagProjectRequestMultiError, or nil if none found.
type UntagProjectRequestMultiError ¶
type UntagProjectRequestMultiError []error
UntagProjectRequestMultiError is an error wrapping multiple validation errors returned by UntagProjectRequest.ValidateAll() if the designated constraints aren't met.
func (UntagProjectRequestMultiError) AllErrors ¶
func (m UntagProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UntagProjectRequestMultiError) Error ¶
func (m UntagProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UntagProjectRequestValidationError ¶
type UntagProjectRequestValidationError struct {
// contains filtered or unexported fields
}
UntagProjectRequestValidationError is the validation error returned by UntagProjectRequest.Validate if the designated constraints aren't met.
func (UntagProjectRequestValidationError) Cause ¶
func (e UntagProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (UntagProjectRequestValidationError) Error ¶
func (e UntagProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UntagProjectRequestValidationError) ErrorName ¶
func (e UntagProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UntagProjectRequestValidationError) Field ¶
func (e UntagProjectRequestValidationError) Field() string
Field function returns field value.
func (UntagProjectRequestValidationError) Key ¶
func (e UntagProjectRequestValidationError) Key() bool
Key function returns key value.
func (UntagProjectRequestValidationError) Reason ¶
func (e UntagProjectRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectRequest) Descriptor
deprecated
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetName ¶
func (x *UpdateProjectRequest) GetName() string
func (*UpdateProjectRequest) GetProjectId ¶
func (x *UpdateProjectRequest) GetProjectId() uint32
func (*UpdateProjectRequest) ProtoMessage ¶
func (*UpdateProjectRequest) ProtoMessage()
func (*UpdateProjectRequest) ProtoReflect ¶
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectRequest) Reset ¶
func (x *UpdateProjectRequest) Reset()
func (*UpdateProjectRequest) String ¶
func (x *UpdateProjectRequest) String() string
func (*UpdateProjectRequest) Validate ¶
func (m *UpdateProjectRequest) Validate() error
Validate checks the field values on UpdateProjectRequest 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 (*UpdateProjectRequest) ValidateAll ¶
func (m *UpdateProjectRequest) ValidateAll() error
ValidateAll checks the field values on UpdateProjectRequest 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 UpdateProjectRequestMultiError, or nil if none found.
type UpdateProjectRequestMultiError ¶
type UpdateProjectRequestMultiError []error
UpdateProjectRequestMultiError is an error wrapping multiple validation errors returned by UpdateProjectRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateProjectRequestMultiError) AllErrors ¶
func (m UpdateProjectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProjectRequestMultiError) Error ¶
func (m UpdateProjectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProjectRequestValidationError ¶
type UpdateProjectRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectRequestValidationError is the validation error returned by UpdateProjectRequest.Validate if the designated constraints aren't met.
func (UpdateProjectRequestValidationError) Cause ¶
func (e UpdateProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectRequestValidationError) Error ¶
func (e UpdateProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectRequestValidationError) ErrorName ¶
func (e UpdateProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectRequestValidationError) Field ¶
func (e UpdateProjectRequestValidationError) Field() string
Field function returns field value.
func (UpdateProjectRequestValidationError) Key ¶
func (e UpdateProjectRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProjectRequestValidationError) Reason ¶
func (e UpdateProjectRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectResponse ¶
type UpdateProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectResponse) Descriptor
deprecated
func (*UpdateProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.
func (*UpdateProjectResponse) GetProject ¶
func (x *UpdateProjectResponse) GetProject() *Project
func (*UpdateProjectResponse) ProtoMessage ¶
func (*UpdateProjectResponse) ProtoMessage()
func (*UpdateProjectResponse) ProtoReflect ¶
func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message
func (*UpdateProjectResponse) Reset ¶
func (x *UpdateProjectResponse) Reset()
func (*UpdateProjectResponse) String ¶
func (x *UpdateProjectResponse) String() string
func (*UpdateProjectResponse) Validate ¶
func (m *UpdateProjectResponse) Validate() error
Validate checks the field values on UpdateProjectResponse 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 (*UpdateProjectResponse) ValidateAll ¶
func (m *UpdateProjectResponse) ValidateAll() error
ValidateAll checks the field values on UpdateProjectResponse 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 UpdateProjectResponseMultiError, or nil if none found.
type UpdateProjectResponseMultiError ¶
type UpdateProjectResponseMultiError []error
UpdateProjectResponseMultiError is an error wrapping multiple validation errors returned by UpdateProjectResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateProjectResponseMultiError) AllErrors ¶
func (m UpdateProjectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProjectResponseMultiError) Error ¶
func (m UpdateProjectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProjectResponseValidationError ¶
type UpdateProjectResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectResponseValidationError is the validation error returned by UpdateProjectResponse.Validate if the designated constraints aren't met.
func (UpdateProjectResponseValidationError) Cause ¶
func (e UpdateProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectResponseValidationError) Error ¶
func (e UpdateProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectResponseValidationError) ErrorName ¶
func (e UpdateProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectResponseValidationError) Field ¶
func (e UpdateProjectResponseValidationError) Field() string
Field function returns field value.
func (UpdateProjectResponseValidationError) Key ¶
func (e UpdateProjectResponseValidationError) Key() bool
Key function returns key value.
func (UpdateProjectResponseValidationError) Reason ¶
func (e UpdateProjectResponseValidationError) Reason() string
Reason function returns reason value.