Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAssignmentServer(s grpc.ServiceRegistrar, srv AssignmentServer)
- type AssignmentClient
- type AssignmentFindByFormIDRequest
- func (*AssignmentFindByFormIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignmentFindByFormIDRequest) GetFormId() string
- func (*AssignmentFindByFormIDRequest) ProtoMessage()
- func (x *AssignmentFindByFormIDRequest) ProtoReflect() protoreflect.Message
- func (x *AssignmentFindByFormIDRequest) Reset()
- func (x *AssignmentFindByFormIDRequest) String() string
- func (m *AssignmentFindByFormIDRequest) Validate() error
- func (m *AssignmentFindByFormIDRequest) ValidateAll() error
- type AssignmentFindByFormIDRequestMultiError
- type AssignmentFindByFormIDRequestValidationError
- func (e AssignmentFindByFormIDRequestValidationError) Cause() error
- func (e AssignmentFindByFormIDRequestValidationError) Error() string
- func (e AssignmentFindByFormIDRequestValidationError) ErrorName() string
- func (e AssignmentFindByFormIDRequestValidationError) Field() string
- func (e AssignmentFindByFormIDRequestValidationError) Key() bool
- func (e AssignmentFindByFormIDRequestValidationError) Reason() string
- type AssignmentFindByFormIDResponse
- func (*AssignmentFindByFormIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignmentFindByFormIDResponse) GetGroupIds() []string
- func (*AssignmentFindByFormIDResponse) ProtoMessage()
- func (x *AssignmentFindByFormIDResponse) ProtoReflect() protoreflect.Message
- func (x *AssignmentFindByFormIDResponse) Reset()
- func (x *AssignmentFindByFormIDResponse) String() string
- func (m *AssignmentFindByFormIDResponse) Validate() error
- func (m *AssignmentFindByFormIDResponse) ValidateAll() error
- type AssignmentFindByFormIDResponseMultiError
- type AssignmentFindByFormIDResponseValidationError
- func (e AssignmentFindByFormIDResponseValidationError) Cause() error
- func (e AssignmentFindByFormIDResponseValidationError) Error() string
- func (e AssignmentFindByFormIDResponseValidationError) ErrorName() string
- func (e AssignmentFindByFormIDResponseValidationError) Field() string
- func (e AssignmentFindByFormIDResponseValidationError) Key() bool
- func (e AssignmentFindByFormIDResponseValidationError) Reason() string
- type AssignmentFindByGroupIDRequest
- func (*AssignmentFindByGroupIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignmentFindByGroupIDRequest) GetGroupId() string
- func (*AssignmentFindByGroupIDRequest) ProtoMessage()
- func (x *AssignmentFindByGroupIDRequest) ProtoReflect() protoreflect.Message
- func (x *AssignmentFindByGroupIDRequest) Reset()
- func (x *AssignmentFindByGroupIDRequest) String() string
- func (m *AssignmentFindByGroupIDRequest) Validate() error
- func (m *AssignmentFindByGroupIDRequest) ValidateAll() error
- type AssignmentFindByGroupIDRequestMultiError
- type AssignmentFindByGroupIDRequestValidationError
- func (e AssignmentFindByGroupIDRequestValidationError) Cause() error
- func (e AssignmentFindByGroupIDRequestValidationError) Error() string
- func (e AssignmentFindByGroupIDRequestValidationError) ErrorName() string
- func (e AssignmentFindByGroupIDRequestValidationError) Field() string
- func (e AssignmentFindByGroupIDRequestValidationError) Key() bool
- func (e AssignmentFindByGroupIDRequestValidationError) Reason() string
- type AssignmentFindByGroupIDResponse
- func (*AssignmentFindByGroupIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignmentFindByGroupIDResponse) GetFormIds() []string
- func (*AssignmentFindByGroupIDResponse) ProtoMessage()
- func (x *AssignmentFindByGroupIDResponse) ProtoReflect() protoreflect.Message
- func (x *AssignmentFindByGroupIDResponse) Reset()
- func (x *AssignmentFindByGroupIDResponse) String() string
- func (m *AssignmentFindByGroupIDResponse) Validate() error
- func (m *AssignmentFindByGroupIDResponse) ValidateAll() error
- type AssignmentFindByGroupIDResponseMultiError
- type AssignmentFindByGroupIDResponseValidationError
- func (e AssignmentFindByGroupIDResponseValidationError) Cause() error
- func (e AssignmentFindByGroupIDResponseValidationError) Error() string
- func (e AssignmentFindByGroupIDResponseValidationError) ErrorName() string
- func (e AssignmentFindByGroupIDResponseValidationError) Field() string
- func (e AssignmentFindByGroupIDResponseValidationError) Key() bool
- func (e AssignmentFindByGroupIDResponseValidationError) Reason() string
- type AssignmentServer
- type UnimplementedAssignmentServer
- type UnsafeAssignmentServer
Constants ¶
const ( Assignment_FindByFormID_FullMethodName = "/api.Assignment/FindByFormID" Assignment_FindByGroupID_FullMethodName = "/api.Assignment/FindByGroupID" )
Variables ¶
var Assignment_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.Assignment", HandlerType: (*AssignmentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindByFormID", Handler: _Assignment_FindByFormID_Handler, }, { MethodName: "FindByGroupID", Handler: _Assignment_FindByGroupID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "assignment.proto", }
Assignment_ServiceDesc is the grpc.ServiceDesc for Assignment service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_assignment_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAssignmentServer ¶
func RegisterAssignmentServer(s grpc.ServiceRegistrar, srv AssignmentServer)
Types ¶
type AssignmentClient ¶
type AssignmentClient interface { FindByFormID(ctx context.Context, in *AssignmentFindByFormIDRequest, opts ...grpc.CallOption) (*AssignmentFindByFormIDResponse, error) FindByGroupID(ctx context.Context, in *AssignmentFindByGroupIDRequest, opts ...grpc.CallOption) (*AssignmentFindByGroupIDResponse, error) }
AssignmentClient is the client API for Assignment service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAssignmentClient ¶
func NewAssignmentClient(cc grpc.ClientConnInterface) AssignmentClient
type AssignmentFindByFormIDRequest ¶
type AssignmentFindByFormIDRequest struct { FormId string `protobuf:"bytes,1,opt,name=form_id,json=formId,proto3" json:"form_id,omitempty"` // contains filtered or unexported fields }
func (*AssignmentFindByFormIDRequest) Descriptor
deprecated
func (*AssignmentFindByFormIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentFindByFormIDRequest.ProtoReflect.Descriptor instead.
func (*AssignmentFindByFormIDRequest) GetFormId ¶
func (x *AssignmentFindByFormIDRequest) GetFormId() string
func (*AssignmentFindByFormIDRequest) ProtoMessage ¶
func (*AssignmentFindByFormIDRequest) ProtoMessage()
func (*AssignmentFindByFormIDRequest) ProtoReflect ¶
func (x *AssignmentFindByFormIDRequest) ProtoReflect() protoreflect.Message
func (*AssignmentFindByFormIDRequest) Reset ¶
func (x *AssignmentFindByFormIDRequest) Reset()
func (*AssignmentFindByFormIDRequest) String ¶
func (x *AssignmentFindByFormIDRequest) String() string
func (*AssignmentFindByFormIDRequest) Validate ¶
func (m *AssignmentFindByFormIDRequest) Validate() error
Validate checks the field values on AssignmentFindByFormIDRequest 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 (*AssignmentFindByFormIDRequest) ValidateAll ¶
func (m *AssignmentFindByFormIDRequest) ValidateAll() error
ValidateAll checks the field values on AssignmentFindByFormIDRequest 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 AssignmentFindByFormIDRequestMultiError, or nil if none found.
type AssignmentFindByFormIDRequestMultiError ¶
type AssignmentFindByFormIDRequestMultiError []error
AssignmentFindByFormIDRequestMultiError is an error wrapping multiple validation errors returned by AssignmentFindByFormIDRequest.ValidateAll() if the designated constraints aren't met.
func (AssignmentFindByFormIDRequestMultiError) AllErrors ¶
func (m AssignmentFindByFormIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignmentFindByFormIDRequestMultiError) Error ¶
func (m AssignmentFindByFormIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignmentFindByFormIDRequestValidationError ¶
type AssignmentFindByFormIDRequestValidationError struct {
// contains filtered or unexported fields
}
AssignmentFindByFormIDRequestValidationError is the validation error returned by AssignmentFindByFormIDRequest.Validate if the designated constraints aren't met.
func (AssignmentFindByFormIDRequestValidationError) Cause ¶
func (e AssignmentFindByFormIDRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignmentFindByFormIDRequestValidationError) Error ¶
func (e AssignmentFindByFormIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignmentFindByFormIDRequestValidationError) ErrorName ¶
func (e AssignmentFindByFormIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignmentFindByFormIDRequestValidationError) Field ¶
func (e AssignmentFindByFormIDRequestValidationError) Field() string
Field function returns field value.
func (AssignmentFindByFormIDRequestValidationError) Key ¶
func (e AssignmentFindByFormIDRequestValidationError) Key() bool
Key function returns key value.
func (AssignmentFindByFormIDRequestValidationError) Reason ¶
func (e AssignmentFindByFormIDRequestValidationError) Reason() string
Reason function returns reason value.
type AssignmentFindByFormIDResponse ¶
type AssignmentFindByFormIDResponse struct { GroupIds []string `protobuf:"bytes,1,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` // contains filtered or unexported fields }
func (*AssignmentFindByFormIDResponse) Descriptor
deprecated
func (*AssignmentFindByFormIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentFindByFormIDResponse.ProtoReflect.Descriptor instead.
func (*AssignmentFindByFormIDResponse) GetGroupIds ¶
func (x *AssignmentFindByFormIDResponse) GetGroupIds() []string
func (*AssignmentFindByFormIDResponse) ProtoMessage ¶
func (*AssignmentFindByFormIDResponse) ProtoMessage()
func (*AssignmentFindByFormIDResponse) ProtoReflect ¶
func (x *AssignmentFindByFormIDResponse) ProtoReflect() protoreflect.Message
func (*AssignmentFindByFormIDResponse) Reset ¶
func (x *AssignmentFindByFormIDResponse) Reset()
func (*AssignmentFindByFormIDResponse) String ¶
func (x *AssignmentFindByFormIDResponse) String() string
func (*AssignmentFindByFormIDResponse) Validate ¶
func (m *AssignmentFindByFormIDResponse) Validate() error
Validate checks the field values on AssignmentFindByFormIDResponse 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 (*AssignmentFindByFormIDResponse) ValidateAll ¶
func (m *AssignmentFindByFormIDResponse) ValidateAll() error
ValidateAll checks the field values on AssignmentFindByFormIDResponse 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 AssignmentFindByFormIDResponseMultiError, or nil if none found.
type AssignmentFindByFormIDResponseMultiError ¶
type AssignmentFindByFormIDResponseMultiError []error
AssignmentFindByFormIDResponseMultiError is an error wrapping multiple validation errors returned by AssignmentFindByFormIDResponse.ValidateAll() if the designated constraints aren't met.
func (AssignmentFindByFormIDResponseMultiError) AllErrors ¶
func (m AssignmentFindByFormIDResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignmentFindByFormIDResponseMultiError) Error ¶
func (m AssignmentFindByFormIDResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignmentFindByFormIDResponseValidationError ¶
type AssignmentFindByFormIDResponseValidationError struct {
// contains filtered or unexported fields
}
AssignmentFindByFormIDResponseValidationError is the validation error returned by AssignmentFindByFormIDResponse.Validate if the designated constraints aren't met.
func (AssignmentFindByFormIDResponseValidationError) Cause ¶
func (e AssignmentFindByFormIDResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignmentFindByFormIDResponseValidationError) Error ¶
func (e AssignmentFindByFormIDResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignmentFindByFormIDResponseValidationError) ErrorName ¶
func (e AssignmentFindByFormIDResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignmentFindByFormIDResponseValidationError) Field ¶
func (e AssignmentFindByFormIDResponseValidationError) Field() string
Field function returns field value.
func (AssignmentFindByFormIDResponseValidationError) Key ¶
func (e AssignmentFindByFormIDResponseValidationError) Key() bool
Key function returns key value.
func (AssignmentFindByFormIDResponseValidationError) Reason ¶
func (e AssignmentFindByFormIDResponseValidationError) Reason() string
Reason function returns reason value.
type AssignmentFindByGroupIDRequest ¶
type AssignmentFindByGroupIDRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*AssignmentFindByGroupIDRequest) Descriptor
deprecated
func (*AssignmentFindByGroupIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentFindByGroupIDRequest.ProtoReflect.Descriptor instead.
func (*AssignmentFindByGroupIDRequest) GetGroupId ¶
func (x *AssignmentFindByGroupIDRequest) GetGroupId() string
func (*AssignmentFindByGroupIDRequest) ProtoMessage ¶
func (*AssignmentFindByGroupIDRequest) ProtoMessage()
func (*AssignmentFindByGroupIDRequest) ProtoReflect ¶
func (x *AssignmentFindByGroupIDRequest) ProtoReflect() protoreflect.Message
func (*AssignmentFindByGroupIDRequest) Reset ¶
func (x *AssignmentFindByGroupIDRequest) Reset()
func (*AssignmentFindByGroupIDRequest) String ¶
func (x *AssignmentFindByGroupIDRequest) String() string
func (*AssignmentFindByGroupIDRequest) Validate ¶
func (m *AssignmentFindByGroupIDRequest) Validate() error
Validate checks the field values on AssignmentFindByGroupIDRequest 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 (*AssignmentFindByGroupIDRequest) ValidateAll ¶
func (m *AssignmentFindByGroupIDRequest) ValidateAll() error
ValidateAll checks the field values on AssignmentFindByGroupIDRequest 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 AssignmentFindByGroupIDRequestMultiError, or nil if none found.
type AssignmentFindByGroupIDRequestMultiError ¶
type AssignmentFindByGroupIDRequestMultiError []error
AssignmentFindByGroupIDRequestMultiError is an error wrapping multiple validation errors returned by AssignmentFindByGroupIDRequest.ValidateAll() if the designated constraints aren't met.
func (AssignmentFindByGroupIDRequestMultiError) AllErrors ¶
func (m AssignmentFindByGroupIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignmentFindByGroupIDRequestMultiError) Error ¶
func (m AssignmentFindByGroupIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignmentFindByGroupIDRequestValidationError ¶
type AssignmentFindByGroupIDRequestValidationError struct {
// contains filtered or unexported fields
}
AssignmentFindByGroupIDRequestValidationError is the validation error returned by AssignmentFindByGroupIDRequest.Validate if the designated constraints aren't met.
func (AssignmentFindByGroupIDRequestValidationError) Cause ¶
func (e AssignmentFindByGroupIDRequestValidationError) Cause() error
Cause function returns cause value.
func (AssignmentFindByGroupIDRequestValidationError) Error ¶
func (e AssignmentFindByGroupIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AssignmentFindByGroupIDRequestValidationError) ErrorName ¶
func (e AssignmentFindByGroupIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AssignmentFindByGroupIDRequestValidationError) Field ¶
func (e AssignmentFindByGroupIDRequestValidationError) Field() string
Field function returns field value.
func (AssignmentFindByGroupIDRequestValidationError) Key ¶
func (e AssignmentFindByGroupIDRequestValidationError) Key() bool
Key function returns key value.
func (AssignmentFindByGroupIDRequestValidationError) Reason ¶
func (e AssignmentFindByGroupIDRequestValidationError) Reason() string
Reason function returns reason value.
type AssignmentFindByGroupIDResponse ¶
type AssignmentFindByGroupIDResponse struct { FormIds []string `protobuf:"bytes,1,rep,name=form_ids,json=formIds,proto3" json:"form_ids,omitempty"` // contains filtered or unexported fields }
func (*AssignmentFindByGroupIDResponse) Descriptor
deprecated
func (*AssignmentFindByGroupIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentFindByGroupIDResponse.ProtoReflect.Descriptor instead.
func (*AssignmentFindByGroupIDResponse) GetFormIds ¶
func (x *AssignmentFindByGroupIDResponse) GetFormIds() []string
func (*AssignmentFindByGroupIDResponse) ProtoMessage ¶
func (*AssignmentFindByGroupIDResponse) ProtoMessage()
func (*AssignmentFindByGroupIDResponse) ProtoReflect ¶
func (x *AssignmentFindByGroupIDResponse) ProtoReflect() protoreflect.Message
func (*AssignmentFindByGroupIDResponse) Reset ¶
func (x *AssignmentFindByGroupIDResponse) Reset()
func (*AssignmentFindByGroupIDResponse) String ¶
func (x *AssignmentFindByGroupIDResponse) String() string
func (*AssignmentFindByGroupIDResponse) Validate ¶
func (m *AssignmentFindByGroupIDResponse) Validate() error
Validate checks the field values on AssignmentFindByGroupIDResponse 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 (*AssignmentFindByGroupIDResponse) ValidateAll ¶
func (m *AssignmentFindByGroupIDResponse) ValidateAll() error
ValidateAll checks the field values on AssignmentFindByGroupIDResponse 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 AssignmentFindByGroupIDResponseMultiError, or nil if none found.
type AssignmentFindByGroupIDResponseMultiError ¶
type AssignmentFindByGroupIDResponseMultiError []error
AssignmentFindByGroupIDResponseMultiError is an error wrapping multiple validation errors returned by AssignmentFindByGroupIDResponse.ValidateAll() if the designated constraints aren't met.
func (AssignmentFindByGroupIDResponseMultiError) AllErrors ¶
func (m AssignmentFindByGroupIDResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssignmentFindByGroupIDResponseMultiError) Error ¶
func (m AssignmentFindByGroupIDResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssignmentFindByGroupIDResponseValidationError ¶
type AssignmentFindByGroupIDResponseValidationError struct {
// contains filtered or unexported fields
}
AssignmentFindByGroupIDResponseValidationError is the validation error returned by AssignmentFindByGroupIDResponse.Validate if the designated constraints aren't met.
func (AssignmentFindByGroupIDResponseValidationError) Cause ¶
func (e AssignmentFindByGroupIDResponseValidationError) Cause() error
Cause function returns cause value.
func (AssignmentFindByGroupIDResponseValidationError) Error ¶
func (e AssignmentFindByGroupIDResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AssignmentFindByGroupIDResponseValidationError) ErrorName ¶
func (e AssignmentFindByGroupIDResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AssignmentFindByGroupIDResponseValidationError) Field ¶
func (e AssignmentFindByGroupIDResponseValidationError) Field() string
Field function returns field value.
func (AssignmentFindByGroupIDResponseValidationError) Key ¶
func (e AssignmentFindByGroupIDResponseValidationError) Key() bool
Key function returns key value.
func (AssignmentFindByGroupIDResponseValidationError) Reason ¶
func (e AssignmentFindByGroupIDResponseValidationError) Reason() string
Reason function returns reason value.
type AssignmentServer ¶
type AssignmentServer interface { FindByFormID(context.Context, *AssignmentFindByFormIDRequest) (*AssignmentFindByFormIDResponse, error) FindByGroupID(context.Context, *AssignmentFindByGroupIDRequest) (*AssignmentFindByGroupIDResponse, error) // contains filtered or unexported methods }
AssignmentServer is the server API for Assignment service. All implementations must embed UnimplementedAssignmentServer for forward compatibility.
type UnimplementedAssignmentServer ¶
type UnimplementedAssignmentServer struct{}
UnimplementedAssignmentServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAssignmentServer) FindByFormID ¶
func (UnimplementedAssignmentServer) FindByFormID(context.Context, *AssignmentFindByFormIDRequest) (*AssignmentFindByFormIDResponse, error)
func (UnimplementedAssignmentServer) FindByGroupID ¶
func (UnimplementedAssignmentServer) FindByGroupID(context.Context, *AssignmentFindByGroupIDRequest) (*AssignmentFindByGroupIDResponse, error)
type UnsafeAssignmentServer ¶
type UnsafeAssignmentServer interface {
// contains filtered or unexported methods
}
UnsafeAssignmentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AssignmentServer will result in compilation errors.