Documentation ¶
Overview ¶
Package ocp_slide_api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterSlideAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSlideAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SlideAPIClient) error
- func RegisterSlideAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSlideAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SlideAPIServer) error
- func RegisterSlideAPIServer(s grpc.ServiceRegistrar, srv SlideAPIServer)
- type ContentType
- func (ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x ContentType) Enum() *ContentType
- func (ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentType) Number() protoreflect.EnumNumber
- func (x ContentType) String() string
- func (ContentType) Type() protoreflect.EnumType
- type CreateSlideV1Request
- func (*CreateSlideV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSlideV1Request) GetSlide() *NewSlide
- func (*CreateSlideV1Request) ProtoMessage()
- func (x *CreateSlideV1Request) ProtoReflect() protoreflect.Message
- func (x *CreateSlideV1Request) Reset()
- func (x *CreateSlideV1Request) String() string
- func (m *CreateSlideV1Request) Validate() error
- type CreateSlideV1RequestValidationError
- func (e CreateSlideV1RequestValidationError) Cause() error
- func (e CreateSlideV1RequestValidationError) Error() string
- func (e CreateSlideV1RequestValidationError) ErrorName() string
- func (e CreateSlideV1RequestValidationError) Field() string
- func (e CreateSlideV1RequestValidationError) Key() bool
- func (e CreateSlideV1RequestValidationError) Reason() string
- type CreateSlideV1Response
- func (*CreateSlideV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSlideV1Response) GetSlideId() uint64
- func (*CreateSlideV1Response) ProtoMessage()
- func (x *CreateSlideV1Response) ProtoReflect() protoreflect.Message
- func (x *CreateSlideV1Response) Reset()
- func (x *CreateSlideV1Response) String() string
- func (m *CreateSlideV1Response) Validate() error
- type CreateSlideV1ResponseValidationError
- func (e CreateSlideV1ResponseValidationError) Cause() error
- func (e CreateSlideV1ResponseValidationError) Error() string
- func (e CreateSlideV1ResponseValidationError) ErrorName() string
- func (e CreateSlideV1ResponseValidationError) Field() string
- func (e CreateSlideV1ResponseValidationError) Key() bool
- func (e CreateSlideV1ResponseValidationError) Reason() string
- type DescribeSlideV1Request
- func (*DescribeSlideV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeSlideV1Request) GetSlideId() uint64
- func (*DescribeSlideV1Request) ProtoMessage()
- func (x *DescribeSlideV1Request) ProtoReflect() protoreflect.Message
- func (x *DescribeSlideV1Request) Reset()
- func (x *DescribeSlideV1Request) String() string
- func (m *DescribeSlideV1Request) Validate() error
- type DescribeSlideV1RequestValidationError
- func (e DescribeSlideV1RequestValidationError) Cause() error
- func (e DescribeSlideV1RequestValidationError) Error() string
- func (e DescribeSlideV1RequestValidationError) ErrorName() string
- func (e DescribeSlideV1RequestValidationError) Field() string
- func (e DescribeSlideV1RequestValidationError) Key() bool
- func (e DescribeSlideV1RequestValidationError) Reason() string
- type DescribeSlideV1Response
- func (*DescribeSlideV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeSlideV1Response) GetSlide() *Slide
- func (*DescribeSlideV1Response) ProtoMessage()
- func (x *DescribeSlideV1Response) ProtoReflect() protoreflect.Message
- func (x *DescribeSlideV1Response) Reset()
- func (x *DescribeSlideV1Response) String() string
- func (m *DescribeSlideV1Response) Validate() error
- type DescribeSlideV1ResponseValidationError
- func (e DescribeSlideV1ResponseValidationError) Cause() error
- func (e DescribeSlideV1ResponseValidationError) Error() string
- func (e DescribeSlideV1ResponseValidationError) ErrorName() string
- func (e DescribeSlideV1ResponseValidationError) Field() string
- func (e DescribeSlideV1ResponseValidationError) Key() bool
- func (e DescribeSlideV1ResponseValidationError) Reason() string
- type ListSlidesV1Request
- func (*ListSlidesV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *ListSlidesV1Request) GetLimit() uint64
- func (x *ListSlidesV1Request) GetOffset() uint64
- func (*ListSlidesV1Request) ProtoMessage()
- func (x *ListSlidesV1Request) ProtoReflect() protoreflect.Message
- func (x *ListSlidesV1Request) Reset()
- func (x *ListSlidesV1Request) String() string
- func (m *ListSlidesV1Request) Validate() error
- type ListSlidesV1RequestValidationError
- func (e ListSlidesV1RequestValidationError) Cause() error
- func (e ListSlidesV1RequestValidationError) Error() string
- func (e ListSlidesV1RequestValidationError) ErrorName() string
- func (e ListSlidesV1RequestValidationError) Field() string
- func (e ListSlidesV1RequestValidationError) Key() bool
- func (e ListSlidesV1RequestValidationError) Reason() string
- type ListSlidesV1Response
- func (*ListSlidesV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *ListSlidesV1Response) GetSlides() []*Slide
- func (*ListSlidesV1Response) ProtoMessage()
- func (x *ListSlidesV1Response) ProtoReflect() protoreflect.Message
- func (x *ListSlidesV1Response) Reset()
- func (x *ListSlidesV1Response) String() string
- func (m *ListSlidesV1Response) Validate() error
- type ListSlidesV1ResponseValidationError
- func (e ListSlidesV1ResponseValidationError) Cause() error
- func (e ListSlidesV1ResponseValidationError) Error() string
- func (e ListSlidesV1ResponseValidationError) ErrorName() string
- func (e ListSlidesV1ResponseValidationError) Field() string
- func (e ListSlidesV1ResponseValidationError) Key() bool
- func (e ListSlidesV1ResponseValidationError) Reason() string
- type MultiCreateSlidesV1Request
- func (*MultiCreateSlidesV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCreateSlidesV1Request) GetSlides() []*NewSlide
- func (*MultiCreateSlidesV1Request) ProtoMessage()
- func (x *MultiCreateSlidesV1Request) ProtoReflect() protoreflect.Message
- func (x *MultiCreateSlidesV1Request) Reset()
- func (x *MultiCreateSlidesV1Request) String() string
- func (m *MultiCreateSlidesV1Request) Validate() error
- type MultiCreateSlidesV1RequestValidationError
- func (e MultiCreateSlidesV1RequestValidationError) Cause() error
- func (e MultiCreateSlidesV1RequestValidationError) Error() string
- func (e MultiCreateSlidesV1RequestValidationError) ErrorName() string
- func (e MultiCreateSlidesV1RequestValidationError) Field() string
- func (e MultiCreateSlidesV1RequestValidationError) Key() bool
- func (e MultiCreateSlidesV1RequestValidationError) Reason() string
- type MultiCreateSlidesV1Response
- func (*MultiCreateSlidesV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCreateSlidesV1Response) GetNumberOfCreatedSlides() int64
- func (*MultiCreateSlidesV1Response) ProtoMessage()
- func (x *MultiCreateSlidesV1Response) ProtoReflect() protoreflect.Message
- func (x *MultiCreateSlidesV1Response) Reset()
- func (x *MultiCreateSlidesV1Response) String() string
- func (m *MultiCreateSlidesV1Response) Validate() error
- type MultiCreateSlidesV1ResponseValidationError
- func (e MultiCreateSlidesV1ResponseValidationError) Cause() error
- func (e MultiCreateSlidesV1ResponseValidationError) Error() string
- func (e MultiCreateSlidesV1ResponseValidationError) ErrorName() string
- func (e MultiCreateSlidesV1ResponseValidationError) Field() string
- func (e MultiCreateSlidesV1ResponseValidationError) Key() bool
- func (e MultiCreateSlidesV1ResponseValidationError) Reason() string
- type NewSlide
- func (*NewSlide) Descriptor() ([]byte, []int)deprecated
- func (x *NewSlide) GetNumber() uint64
- func (x *NewSlide) GetPresentationId() uint64
- func (x *NewSlide) GetType() ContentType
- func (*NewSlide) ProtoMessage()
- func (x *NewSlide) ProtoReflect() protoreflect.Message
- func (x *NewSlide) Reset()
- func (x *NewSlide) String() string
- func (m *NewSlide) Validate() error
- type NewSlideValidationError
- type RemoveSlideV1Request
- func (*RemoveSlideV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSlideV1Request) GetSlideId() uint64
- func (*RemoveSlideV1Request) ProtoMessage()
- func (x *RemoveSlideV1Request) ProtoReflect() protoreflect.Message
- func (x *RemoveSlideV1Request) Reset()
- func (x *RemoveSlideV1Request) String() string
- func (m *RemoveSlideV1Request) Validate() error
- type RemoveSlideV1RequestValidationError
- func (e RemoveSlideV1RequestValidationError) Cause() error
- func (e RemoveSlideV1RequestValidationError) Error() string
- func (e RemoveSlideV1RequestValidationError) ErrorName() string
- func (e RemoveSlideV1RequestValidationError) Field() string
- func (e RemoveSlideV1RequestValidationError) Key() bool
- func (e RemoveSlideV1RequestValidationError) Reason() string
- type RemoveSlideV1Response
- func (*RemoveSlideV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSlideV1Response) GetFound() bool
- func (*RemoveSlideV1Response) ProtoMessage()
- func (x *RemoveSlideV1Response) ProtoReflect() protoreflect.Message
- func (x *RemoveSlideV1Response) Reset()
- func (x *RemoveSlideV1Response) String() string
- func (m *RemoveSlideV1Response) Validate() error
- type RemoveSlideV1ResponseValidationError
- func (e RemoveSlideV1ResponseValidationError) Cause() error
- func (e RemoveSlideV1ResponseValidationError) Error() string
- func (e RemoveSlideV1ResponseValidationError) ErrorName() string
- func (e RemoveSlideV1ResponseValidationError) Field() string
- func (e RemoveSlideV1ResponseValidationError) Key() bool
- func (e RemoveSlideV1ResponseValidationError) Reason() string
- type Slide
- func (*Slide) Descriptor() ([]byte, []int)deprecated
- func (x *Slide) GetId() uint64
- func (x *Slide) GetNumber() uint64
- func (x *Slide) GetPresentationId() uint64
- func (x *Slide) GetType() ContentType
- func (*Slide) ProtoMessage()
- func (x *Slide) ProtoReflect() protoreflect.Message
- func (x *Slide) Reset()
- func (x *Slide) String() string
- func (m *Slide) Validate() error
- type SlideAPIClient
- type SlideAPIServer
- type SlideValidationError
- type UnimplementedSlideAPIServer
- func (UnimplementedSlideAPIServer) CreateSlideV1(context.Context, *CreateSlideV1Request) (*CreateSlideV1Response, error)
- func (UnimplementedSlideAPIServer) DescribeSlideV1(context.Context, *DescribeSlideV1Request) (*DescribeSlideV1Response, error)
- func (UnimplementedSlideAPIServer) ListSlidesV1(context.Context, *ListSlidesV1Request) (*ListSlidesV1Response, error)
- func (UnimplementedSlideAPIServer) MultiCreateSlidesV1(context.Context, *MultiCreateSlidesV1Request) (*MultiCreateSlidesV1Response, error)
- func (UnimplementedSlideAPIServer) RemoveSlideV1(context.Context, *RemoveSlideV1Request) (*RemoveSlideV1Response, error)
- func (UnimplementedSlideAPIServer) UpdateSlideV1(context.Context, *UpdateSlideV1Request) (*UpdateSlideV1Response, error)
- type UnsafeSlideAPIServer
- type UpdateSlideV1Request
- func (*UpdateSlideV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSlideV1Request) GetSlide() *Slide
- func (*UpdateSlideV1Request) ProtoMessage()
- func (x *UpdateSlideV1Request) ProtoReflect() protoreflect.Message
- func (x *UpdateSlideV1Request) Reset()
- func (x *UpdateSlideV1Request) String() string
- func (m *UpdateSlideV1Request) Validate() error
- type UpdateSlideV1RequestValidationError
- func (e UpdateSlideV1RequestValidationError) Cause() error
- func (e UpdateSlideV1RequestValidationError) Error() string
- func (e UpdateSlideV1RequestValidationError) ErrorName() string
- func (e UpdateSlideV1RequestValidationError) Field() string
- func (e UpdateSlideV1RequestValidationError) Key() bool
- func (e UpdateSlideV1RequestValidationError) Reason() string
- type UpdateSlideV1Response
- func (*UpdateSlideV1Response) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSlideV1Response) GetFound() bool
- func (*UpdateSlideV1Response) ProtoMessage()
- func (x *UpdateSlideV1Response) ProtoReflect() protoreflect.Message
- func (x *UpdateSlideV1Response) Reset()
- func (x *UpdateSlideV1Response) String() string
- func (m *UpdateSlideV1Response) Validate() error
- type UpdateSlideV1ResponseValidationError
- func (e UpdateSlideV1ResponseValidationError) Cause() error
- func (e UpdateSlideV1ResponseValidationError) Error() string
- func (e UpdateSlideV1ResponseValidationError) ErrorName() string
- func (e UpdateSlideV1ResponseValidationError) Field() string
- func (e UpdateSlideV1ResponseValidationError) Key() bool
- func (e UpdateSlideV1ResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ContentType_name = map[int32]string{ 0: "Question", 1: "Video", 2: "Document", 3: "Task", } ContentType_value = map[string]int32{ "Question": 0, "Video": 1, "Document": 2, "Task": 3, } )
Enum value maps for ContentType.
var File_api_ocp_slide_api_ocp_slide_api_proto protoreflect.FileDescriptor
var SlideAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocp.slide.api.SlideAPI", HandlerType: (*SlideAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSlideV1", Handler: _SlideAPI_CreateSlideV1_Handler, }, { MethodName: "MultiCreateSlidesV1", Handler: _SlideAPI_MultiCreateSlidesV1_Handler, }, { MethodName: "UpdateSlideV1", Handler: _SlideAPI_UpdateSlideV1_Handler, }, { MethodName: "DescribeSlideV1", Handler: _SlideAPI_DescribeSlideV1_Handler, }, { MethodName: "ListSlidesV1", Handler: _SlideAPI_ListSlidesV1_Handler, }, { MethodName: "RemoveSlideV1", Handler: _SlideAPI_RemoveSlideV1_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/ocp-slide-api/ocp-slide-api.proto", }
SlideAPI_ServiceDesc is the grpc.ServiceDesc for SlideAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSlideAPIHandler ¶
func RegisterSlideAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSlideAPIHandler registers the http handlers for service SlideAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSlideAPIHandlerClient ¶
func RegisterSlideAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SlideAPIClient) error
RegisterSlideAPIHandlerClient registers the http handlers for service SlideAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SlideAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SlideAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SlideAPIClient" to call the correct interceptors.
func RegisterSlideAPIHandlerFromEndpoint ¶
func RegisterSlideAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSlideAPIHandlerFromEndpoint is same as RegisterSlideAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSlideAPIHandlerServer ¶
func RegisterSlideAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SlideAPIServer) error
RegisterSlideAPIHandlerServer registers the http handlers for service SlideAPI to "mux". UnaryRPC :call SlideAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSlideAPIHandlerFromEndpoint instead.
func RegisterSlideAPIServer ¶
func RegisterSlideAPIServer(s grpc.ServiceRegistrar, srv SlideAPIServer)
Types ¶
type ContentType ¶
type ContentType int32
const ( ContentType_Question ContentType = 0 ContentType_Video ContentType = 1 ContentType_Document ContentType = 2 ContentType_Task ContentType = 3 )
func (ContentType) Descriptor ¶
func (ContentType) Descriptor() protoreflect.EnumDescriptor
func (ContentType) Enum ¶
func (x ContentType) Enum() *ContentType
func (ContentType) EnumDescriptor
deprecated
func (ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentType.Descriptor instead.
func (ContentType) Number ¶
func (x ContentType) Number() protoreflect.EnumNumber
func (ContentType) String ¶
func (x ContentType) String() string
func (ContentType) Type ¶
func (ContentType) Type() protoreflect.EnumType
type CreateSlideV1Request ¶
type CreateSlideV1Request struct { Slide *NewSlide `protobuf:"bytes,1,opt,name=slide,proto3" json:"slide,omitempty"` // contains filtered or unexported fields }
func (*CreateSlideV1Request) Descriptor
deprecated
func (*CreateSlideV1Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateSlideV1Request.ProtoReflect.Descriptor instead.
func (*CreateSlideV1Request) GetSlide ¶
func (x *CreateSlideV1Request) GetSlide() *NewSlide
func (*CreateSlideV1Request) ProtoMessage ¶
func (*CreateSlideV1Request) ProtoMessage()
func (*CreateSlideV1Request) ProtoReflect ¶
func (x *CreateSlideV1Request) ProtoReflect() protoreflect.Message
func (*CreateSlideV1Request) Reset ¶
func (x *CreateSlideV1Request) Reset()
func (*CreateSlideV1Request) String ¶
func (x *CreateSlideV1Request) String() string
func (*CreateSlideV1Request) Validate ¶
func (m *CreateSlideV1Request) Validate() error
Validate checks the field values on CreateSlideV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateSlideV1RequestValidationError ¶
type CreateSlideV1RequestValidationError struct {
// contains filtered or unexported fields
}
CreateSlideV1RequestValidationError is the validation error returned by CreateSlideV1Request.Validate if the designated constraints aren't met.
func (CreateSlideV1RequestValidationError) Cause ¶
func (e CreateSlideV1RequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSlideV1RequestValidationError) Error ¶
func (e CreateSlideV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSlideV1RequestValidationError) ErrorName ¶
func (e CreateSlideV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSlideV1RequestValidationError) Field ¶
func (e CreateSlideV1RequestValidationError) Field() string
Field function returns field value.
func (CreateSlideV1RequestValidationError) Key ¶
func (e CreateSlideV1RequestValidationError) Key() bool
Key function returns key value.
func (CreateSlideV1RequestValidationError) Reason ¶
func (e CreateSlideV1RequestValidationError) Reason() string
Reason function returns reason value.
type CreateSlideV1Response ¶
type CreateSlideV1Response struct { SlideId uint64 `protobuf:"varint,1,opt,name=slide_id,json=slideId,proto3" json:"slide_id,omitempty"` // contains filtered or unexported fields }
func (*CreateSlideV1Response) Descriptor
deprecated
func (*CreateSlideV1Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateSlideV1Response.ProtoReflect.Descriptor instead.
func (*CreateSlideV1Response) GetSlideId ¶
func (x *CreateSlideV1Response) GetSlideId() uint64
func (*CreateSlideV1Response) ProtoMessage ¶
func (*CreateSlideV1Response) ProtoMessage()
func (*CreateSlideV1Response) ProtoReflect ¶
func (x *CreateSlideV1Response) ProtoReflect() protoreflect.Message
func (*CreateSlideV1Response) Reset ¶
func (x *CreateSlideV1Response) Reset()
func (*CreateSlideV1Response) String ¶
func (x *CreateSlideV1Response) String() string
func (*CreateSlideV1Response) Validate ¶
func (m *CreateSlideV1Response) Validate() error
Validate checks the field values on CreateSlideV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateSlideV1ResponseValidationError ¶
type CreateSlideV1ResponseValidationError struct {
// contains filtered or unexported fields
}
CreateSlideV1ResponseValidationError is the validation error returned by CreateSlideV1Response.Validate if the designated constraints aren't met.
func (CreateSlideV1ResponseValidationError) Cause ¶
func (e CreateSlideV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateSlideV1ResponseValidationError) Error ¶
func (e CreateSlideV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSlideV1ResponseValidationError) ErrorName ¶
func (e CreateSlideV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSlideV1ResponseValidationError) Field ¶
func (e CreateSlideV1ResponseValidationError) Field() string
Field function returns field value.
func (CreateSlideV1ResponseValidationError) Key ¶
func (e CreateSlideV1ResponseValidationError) Key() bool
Key function returns key value.
func (CreateSlideV1ResponseValidationError) Reason ¶
func (e CreateSlideV1ResponseValidationError) Reason() string
Reason function returns reason value.
type DescribeSlideV1Request ¶
type DescribeSlideV1Request struct { SlideId uint64 `protobuf:"varint,1,opt,name=slide_id,json=slideId,proto3" json:"slide_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeSlideV1Request) Descriptor
deprecated
func (*DescribeSlideV1Request) Descriptor() ([]byte, []int)
Deprecated: Use DescribeSlideV1Request.ProtoReflect.Descriptor instead.
func (*DescribeSlideV1Request) GetSlideId ¶
func (x *DescribeSlideV1Request) GetSlideId() uint64
func (*DescribeSlideV1Request) ProtoMessage ¶
func (*DescribeSlideV1Request) ProtoMessage()
func (*DescribeSlideV1Request) ProtoReflect ¶
func (x *DescribeSlideV1Request) ProtoReflect() protoreflect.Message
func (*DescribeSlideV1Request) Reset ¶
func (x *DescribeSlideV1Request) Reset()
func (*DescribeSlideV1Request) String ¶
func (x *DescribeSlideV1Request) String() string
func (*DescribeSlideV1Request) Validate ¶
func (m *DescribeSlideV1Request) Validate() error
Validate checks the field values on DescribeSlideV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeSlideV1RequestValidationError ¶
type DescribeSlideV1RequestValidationError struct {
// contains filtered or unexported fields
}
DescribeSlideV1RequestValidationError is the validation error returned by DescribeSlideV1Request.Validate if the designated constraints aren't met.
func (DescribeSlideV1RequestValidationError) Cause ¶
func (e DescribeSlideV1RequestValidationError) Cause() error
Cause function returns cause value.
func (DescribeSlideV1RequestValidationError) Error ¶
func (e DescribeSlideV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeSlideV1RequestValidationError) ErrorName ¶
func (e DescribeSlideV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeSlideV1RequestValidationError) Field ¶
func (e DescribeSlideV1RequestValidationError) Field() string
Field function returns field value.
func (DescribeSlideV1RequestValidationError) Key ¶
func (e DescribeSlideV1RequestValidationError) Key() bool
Key function returns key value.
func (DescribeSlideV1RequestValidationError) Reason ¶
func (e DescribeSlideV1RequestValidationError) Reason() string
Reason function returns reason value.
type DescribeSlideV1Response ¶
type DescribeSlideV1Response struct { Slide *Slide `protobuf:"bytes,1,opt,name=slide,proto3" json:"slide,omitempty"` // contains filtered or unexported fields }
func (*DescribeSlideV1Response) Descriptor
deprecated
func (*DescribeSlideV1Response) Descriptor() ([]byte, []int)
Deprecated: Use DescribeSlideV1Response.ProtoReflect.Descriptor instead.
func (*DescribeSlideV1Response) GetSlide ¶
func (x *DescribeSlideV1Response) GetSlide() *Slide
func (*DescribeSlideV1Response) ProtoMessage ¶
func (*DescribeSlideV1Response) ProtoMessage()
func (*DescribeSlideV1Response) ProtoReflect ¶
func (x *DescribeSlideV1Response) ProtoReflect() protoreflect.Message
func (*DescribeSlideV1Response) Reset ¶
func (x *DescribeSlideV1Response) Reset()
func (*DescribeSlideV1Response) String ¶
func (x *DescribeSlideV1Response) String() string
func (*DescribeSlideV1Response) Validate ¶
func (m *DescribeSlideV1Response) Validate() error
Validate checks the field values on DescribeSlideV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DescribeSlideV1ResponseValidationError ¶
type DescribeSlideV1ResponseValidationError struct {
// contains filtered or unexported fields
}
DescribeSlideV1ResponseValidationError is the validation error returned by DescribeSlideV1Response.Validate if the designated constraints aren't met.
func (DescribeSlideV1ResponseValidationError) Cause ¶
func (e DescribeSlideV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (DescribeSlideV1ResponseValidationError) Error ¶
func (e DescribeSlideV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeSlideV1ResponseValidationError) ErrorName ¶
func (e DescribeSlideV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeSlideV1ResponseValidationError) Field ¶
func (e DescribeSlideV1ResponseValidationError) Field() string
Field function returns field value.
func (DescribeSlideV1ResponseValidationError) Key ¶
func (e DescribeSlideV1ResponseValidationError) Key() bool
Key function returns key value.
func (DescribeSlideV1ResponseValidationError) Reason ¶
func (e DescribeSlideV1ResponseValidationError) Reason() string
Reason function returns reason value.
type ListSlidesV1Request ¶
type ListSlidesV1Request struct { Limit uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*ListSlidesV1Request) Descriptor
deprecated
func (*ListSlidesV1Request) Descriptor() ([]byte, []int)
Deprecated: Use ListSlidesV1Request.ProtoReflect.Descriptor instead.
func (*ListSlidesV1Request) GetLimit ¶
func (x *ListSlidesV1Request) GetLimit() uint64
func (*ListSlidesV1Request) GetOffset ¶
func (x *ListSlidesV1Request) GetOffset() uint64
func (*ListSlidesV1Request) ProtoMessage ¶
func (*ListSlidesV1Request) ProtoMessage()
func (*ListSlidesV1Request) ProtoReflect ¶
func (x *ListSlidesV1Request) ProtoReflect() protoreflect.Message
func (*ListSlidesV1Request) Reset ¶
func (x *ListSlidesV1Request) Reset()
func (*ListSlidesV1Request) String ¶
func (x *ListSlidesV1Request) String() string
func (*ListSlidesV1Request) Validate ¶
func (m *ListSlidesV1Request) Validate() error
Validate checks the field values on ListSlidesV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListSlidesV1RequestValidationError ¶
type ListSlidesV1RequestValidationError struct {
// contains filtered or unexported fields
}
ListSlidesV1RequestValidationError is the validation error returned by ListSlidesV1Request.Validate if the designated constraints aren't met.
func (ListSlidesV1RequestValidationError) Cause ¶
func (e ListSlidesV1RequestValidationError) Cause() error
Cause function returns cause value.
func (ListSlidesV1RequestValidationError) Error ¶
func (e ListSlidesV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListSlidesV1RequestValidationError) ErrorName ¶
func (e ListSlidesV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListSlidesV1RequestValidationError) Field ¶
func (e ListSlidesV1RequestValidationError) Field() string
Field function returns field value.
func (ListSlidesV1RequestValidationError) Key ¶
func (e ListSlidesV1RequestValidationError) Key() bool
Key function returns key value.
func (ListSlidesV1RequestValidationError) Reason ¶
func (e ListSlidesV1RequestValidationError) Reason() string
Reason function returns reason value.
type ListSlidesV1Response ¶
type ListSlidesV1Response struct { Slides []*Slide `protobuf:"bytes,1,rep,name=slides,proto3" json:"slides,omitempty"` // contains filtered or unexported fields }
func (*ListSlidesV1Response) Descriptor
deprecated
func (*ListSlidesV1Response) Descriptor() ([]byte, []int)
Deprecated: Use ListSlidesV1Response.ProtoReflect.Descriptor instead.
func (*ListSlidesV1Response) GetSlides ¶
func (x *ListSlidesV1Response) GetSlides() []*Slide
func (*ListSlidesV1Response) ProtoMessage ¶
func (*ListSlidesV1Response) ProtoMessage()
func (*ListSlidesV1Response) ProtoReflect ¶
func (x *ListSlidesV1Response) ProtoReflect() protoreflect.Message
func (*ListSlidesV1Response) Reset ¶
func (x *ListSlidesV1Response) Reset()
func (*ListSlidesV1Response) String ¶
func (x *ListSlidesV1Response) String() string
func (*ListSlidesV1Response) Validate ¶
func (m *ListSlidesV1Response) Validate() error
Validate checks the field values on ListSlidesV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListSlidesV1ResponseValidationError ¶
type ListSlidesV1ResponseValidationError struct {
// contains filtered or unexported fields
}
ListSlidesV1ResponseValidationError is the validation error returned by ListSlidesV1Response.Validate if the designated constraints aren't met.
func (ListSlidesV1ResponseValidationError) Cause ¶
func (e ListSlidesV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (ListSlidesV1ResponseValidationError) Error ¶
func (e ListSlidesV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListSlidesV1ResponseValidationError) ErrorName ¶
func (e ListSlidesV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListSlidesV1ResponseValidationError) Field ¶
func (e ListSlidesV1ResponseValidationError) Field() string
Field function returns field value.
func (ListSlidesV1ResponseValidationError) Key ¶
func (e ListSlidesV1ResponseValidationError) Key() bool
Key function returns key value.
func (ListSlidesV1ResponseValidationError) Reason ¶
func (e ListSlidesV1ResponseValidationError) Reason() string
Reason function returns reason value.
type MultiCreateSlidesV1Request ¶
type MultiCreateSlidesV1Request struct { Slides []*NewSlide `protobuf:"bytes,1,rep,name=slides,proto3" json:"slides,omitempty"` // contains filtered or unexported fields }
func (*MultiCreateSlidesV1Request) Descriptor
deprecated
func (*MultiCreateSlidesV1Request) Descriptor() ([]byte, []int)
Deprecated: Use MultiCreateSlidesV1Request.ProtoReflect.Descriptor instead.
func (*MultiCreateSlidesV1Request) GetSlides ¶
func (x *MultiCreateSlidesV1Request) GetSlides() []*NewSlide
func (*MultiCreateSlidesV1Request) ProtoMessage ¶
func (*MultiCreateSlidesV1Request) ProtoMessage()
func (*MultiCreateSlidesV1Request) ProtoReflect ¶
func (x *MultiCreateSlidesV1Request) ProtoReflect() protoreflect.Message
func (*MultiCreateSlidesV1Request) Reset ¶
func (x *MultiCreateSlidesV1Request) Reset()
func (*MultiCreateSlidesV1Request) String ¶
func (x *MultiCreateSlidesV1Request) String() string
func (*MultiCreateSlidesV1Request) Validate ¶
func (m *MultiCreateSlidesV1Request) Validate() error
Validate checks the field values on MultiCreateSlidesV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiCreateSlidesV1RequestValidationError ¶
type MultiCreateSlidesV1RequestValidationError struct {
// contains filtered or unexported fields
}
MultiCreateSlidesV1RequestValidationError is the validation error returned by MultiCreateSlidesV1Request.Validate if the designated constraints aren't met.
func (MultiCreateSlidesV1RequestValidationError) Cause ¶
func (e MultiCreateSlidesV1RequestValidationError) Cause() error
Cause function returns cause value.
func (MultiCreateSlidesV1RequestValidationError) Error ¶
func (e MultiCreateSlidesV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (MultiCreateSlidesV1RequestValidationError) ErrorName ¶
func (e MultiCreateSlidesV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (MultiCreateSlidesV1RequestValidationError) Field ¶
func (e MultiCreateSlidesV1RequestValidationError) Field() string
Field function returns field value.
func (MultiCreateSlidesV1RequestValidationError) Key ¶
func (e MultiCreateSlidesV1RequestValidationError) Key() bool
Key function returns key value.
func (MultiCreateSlidesV1RequestValidationError) Reason ¶
func (e MultiCreateSlidesV1RequestValidationError) Reason() string
Reason function returns reason value.
type MultiCreateSlidesV1Response ¶
type MultiCreateSlidesV1Response struct { NumberOfCreatedSlides int64 `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MultiCreateSlidesV1Response) Descriptor
deprecated
func (*MultiCreateSlidesV1Response) Descriptor() ([]byte, []int)
Deprecated: Use MultiCreateSlidesV1Response.ProtoReflect.Descriptor instead.
func (*MultiCreateSlidesV1Response) GetNumberOfCreatedSlides ¶
func (x *MultiCreateSlidesV1Response) GetNumberOfCreatedSlides() int64
func (*MultiCreateSlidesV1Response) ProtoMessage ¶
func (*MultiCreateSlidesV1Response) ProtoMessage()
func (*MultiCreateSlidesV1Response) ProtoReflect ¶
func (x *MultiCreateSlidesV1Response) ProtoReflect() protoreflect.Message
func (*MultiCreateSlidesV1Response) Reset ¶
func (x *MultiCreateSlidesV1Response) Reset()
func (*MultiCreateSlidesV1Response) String ¶
func (x *MultiCreateSlidesV1Response) String() string
func (*MultiCreateSlidesV1Response) Validate ¶
func (m *MultiCreateSlidesV1Response) Validate() error
Validate checks the field values on MultiCreateSlidesV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiCreateSlidesV1ResponseValidationError ¶
type MultiCreateSlidesV1ResponseValidationError struct {
// contains filtered or unexported fields
}
MultiCreateSlidesV1ResponseValidationError is the validation error returned by MultiCreateSlidesV1Response.Validate if the designated constraints aren't met.
func (MultiCreateSlidesV1ResponseValidationError) Cause ¶
func (e MultiCreateSlidesV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (MultiCreateSlidesV1ResponseValidationError) Error ¶
func (e MultiCreateSlidesV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MultiCreateSlidesV1ResponseValidationError) ErrorName ¶
func (e MultiCreateSlidesV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MultiCreateSlidesV1ResponseValidationError) Field ¶
func (e MultiCreateSlidesV1ResponseValidationError) Field() string
Field function returns field value.
func (MultiCreateSlidesV1ResponseValidationError) Key ¶
func (e MultiCreateSlidesV1ResponseValidationError) Key() bool
Key function returns key value.
func (MultiCreateSlidesV1ResponseValidationError) Reason ¶
func (e MultiCreateSlidesV1ResponseValidationError) Reason() string
Reason function returns reason value.
type NewSlide ¶
type NewSlide struct { PresentationId uint64 `protobuf:"varint,1,opt,name=presentation_id,json=presentationId,proto3" json:"presentation_id,omitempty"` Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` Type ContentType `protobuf:"varint,3,opt,name=type,proto3,enum=ocp.slide.api.ContentType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*NewSlide) Descriptor
deprecated
func (*NewSlide) GetPresentationId ¶
func (*NewSlide) GetType ¶
func (x *NewSlide) GetType() ContentType
func (*NewSlide) ProtoMessage ¶
func (*NewSlide) ProtoMessage()
func (*NewSlide) ProtoReflect ¶
func (x *NewSlide) ProtoReflect() protoreflect.Message
type NewSlideValidationError ¶
type NewSlideValidationError struct {
// contains filtered or unexported fields
}
NewSlideValidationError is the validation error returned by NewSlide.Validate if the designated constraints aren't met.
func (NewSlideValidationError) Cause ¶
func (e NewSlideValidationError) Cause() error
Cause function returns cause value.
func (NewSlideValidationError) Error ¶
func (e NewSlideValidationError) Error() string
Error satisfies the builtin error interface
func (NewSlideValidationError) ErrorName ¶
func (e NewSlideValidationError) ErrorName() string
ErrorName returns error name.
func (NewSlideValidationError) Field ¶
func (e NewSlideValidationError) Field() string
Field function returns field value.
func (NewSlideValidationError) Key ¶
func (e NewSlideValidationError) Key() bool
Key function returns key value.
func (NewSlideValidationError) Reason ¶
func (e NewSlideValidationError) Reason() string
Reason function returns reason value.
type RemoveSlideV1Request ¶
type RemoveSlideV1Request struct { SlideId uint64 `protobuf:"varint,1,opt,name=slide_id,json=slideId,proto3" json:"slide_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveSlideV1Request) Descriptor
deprecated
func (*RemoveSlideV1Request) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSlideV1Request.ProtoReflect.Descriptor instead.
func (*RemoveSlideV1Request) GetSlideId ¶
func (x *RemoveSlideV1Request) GetSlideId() uint64
func (*RemoveSlideV1Request) ProtoMessage ¶
func (*RemoveSlideV1Request) ProtoMessage()
func (*RemoveSlideV1Request) ProtoReflect ¶
func (x *RemoveSlideV1Request) ProtoReflect() protoreflect.Message
func (*RemoveSlideV1Request) Reset ¶
func (x *RemoveSlideV1Request) Reset()
func (*RemoveSlideV1Request) String ¶
func (x *RemoveSlideV1Request) String() string
func (*RemoveSlideV1Request) Validate ¶
func (m *RemoveSlideV1Request) Validate() error
Validate checks the field values on RemoveSlideV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveSlideV1RequestValidationError ¶
type RemoveSlideV1RequestValidationError struct {
// contains filtered or unexported fields
}
RemoveSlideV1RequestValidationError is the validation error returned by RemoveSlideV1Request.Validate if the designated constraints aren't met.
func (RemoveSlideV1RequestValidationError) Cause ¶
func (e RemoveSlideV1RequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveSlideV1RequestValidationError) Error ¶
func (e RemoveSlideV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveSlideV1RequestValidationError) ErrorName ¶
func (e RemoveSlideV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveSlideV1RequestValidationError) Field ¶
func (e RemoveSlideV1RequestValidationError) Field() string
Field function returns field value.
func (RemoveSlideV1RequestValidationError) Key ¶
func (e RemoveSlideV1RequestValidationError) Key() bool
Key function returns key value.
func (RemoveSlideV1RequestValidationError) Reason ¶
func (e RemoveSlideV1RequestValidationError) Reason() string
Reason function returns reason value.
type RemoveSlideV1Response ¶
type RemoveSlideV1Response struct { Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` // contains filtered or unexported fields }
func (*RemoveSlideV1Response) Descriptor
deprecated
func (*RemoveSlideV1Response) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSlideV1Response.ProtoReflect.Descriptor instead.
func (*RemoveSlideV1Response) GetFound ¶
func (x *RemoveSlideV1Response) GetFound() bool
func (*RemoveSlideV1Response) ProtoMessage ¶
func (*RemoveSlideV1Response) ProtoMessage()
func (*RemoveSlideV1Response) ProtoReflect ¶
func (x *RemoveSlideV1Response) ProtoReflect() protoreflect.Message
func (*RemoveSlideV1Response) Reset ¶
func (x *RemoveSlideV1Response) Reset()
func (*RemoveSlideV1Response) String ¶
func (x *RemoveSlideV1Response) String() string
func (*RemoveSlideV1Response) Validate ¶
func (m *RemoveSlideV1Response) Validate() error
Validate checks the field values on RemoveSlideV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveSlideV1ResponseValidationError ¶
type RemoveSlideV1ResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveSlideV1ResponseValidationError is the validation error returned by RemoveSlideV1Response.Validate if the designated constraints aren't met.
func (RemoveSlideV1ResponseValidationError) Cause ¶
func (e RemoveSlideV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveSlideV1ResponseValidationError) Error ¶
func (e RemoveSlideV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveSlideV1ResponseValidationError) ErrorName ¶
func (e RemoveSlideV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveSlideV1ResponseValidationError) Field ¶
func (e RemoveSlideV1ResponseValidationError) Field() string
Field function returns field value.
func (RemoveSlideV1ResponseValidationError) Key ¶
func (e RemoveSlideV1ResponseValidationError) Key() bool
Key function returns key value.
func (RemoveSlideV1ResponseValidationError) Reason ¶
func (e RemoveSlideV1ResponseValidationError) Reason() string
Reason function returns reason value.
type Slide ¶
type Slide struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PresentationId uint64 `protobuf:"varint,2,opt,name=presentation_id,json=presentationId,proto3" json:"presentation_id,omitempty"` Number uint64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` Type ContentType `protobuf:"varint,4,opt,name=type,proto3,enum=ocp.slide.api.ContentType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Slide) Descriptor
deprecated
func (*Slide) GetPresentationId ¶
func (*Slide) GetType ¶
func (x *Slide) GetType() ContentType
func (*Slide) ProtoMessage ¶
func (*Slide) ProtoMessage()
func (*Slide) ProtoReflect ¶
func (x *Slide) ProtoReflect() protoreflect.Message
type SlideAPIClient ¶
type SlideAPIClient interface { // Creates a new slide CreateSlideV1(ctx context.Context, in *CreateSlideV1Request, opts ...grpc.CallOption) (*CreateSlideV1Response, error) // Creates new slides MultiCreateSlidesV1(ctx context.Context, in *MultiCreateSlidesV1Request, opts ...grpc.CallOption) (*MultiCreateSlidesV1Response, error) // Updates a slide UpdateSlideV1(ctx context.Context, in *UpdateSlideV1Request, opts ...grpc.CallOption) (*UpdateSlideV1Response, error) // Returns a slide by id DescribeSlideV1(ctx context.Context, in *DescribeSlideV1Request, opts ...grpc.CallOption) (*DescribeSlideV1Response, error) // Returns a list of slides ListSlidesV1(ctx context.Context, in *ListSlidesV1Request, opts ...grpc.CallOption) (*ListSlidesV1Response, error) // Removes a slide by id RemoveSlideV1(ctx context.Context, in *RemoveSlideV1Request, opts ...grpc.CallOption) (*RemoveSlideV1Response, error) }
SlideAPIClient is the client API for SlideAPI 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 NewSlideAPIClient ¶
func NewSlideAPIClient(cc grpc.ClientConnInterface) SlideAPIClient
type SlideAPIServer ¶
type SlideAPIServer interface { // Creates a new slide CreateSlideV1(context.Context, *CreateSlideV1Request) (*CreateSlideV1Response, error) // Creates new slides MultiCreateSlidesV1(context.Context, *MultiCreateSlidesV1Request) (*MultiCreateSlidesV1Response, error) // Updates a slide UpdateSlideV1(context.Context, *UpdateSlideV1Request) (*UpdateSlideV1Response, error) // Returns a slide by id DescribeSlideV1(context.Context, *DescribeSlideV1Request) (*DescribeSlideV1Response, error) // Returns a list of slides ListSlidesV1(context.Context, *ListSlidesV1Request) (*ListSlidesV1Response, error) // Removes a slide by id RemoveSlideV1(context.Context, *RemoveSlideV1Request) (*RemoveSlideV1Response, error) // contains filtered or unexported methods }
SlideAPIServer is the server API for SlideAPI service. All implementations must embed UnimplementedSlideAPIServer for forward compatibility
type SlideValidationError ¶
type SlideValidationError struct {
// contains filtered or unexported fields
}
SlideValidationError is the validation error returned by Slide.Validate if the designated constraints aren't met.
func (SlideValidationError) Cause ¶
func (e SlideValidationError) Cause() error
Cause function returns cause value.
func (SlideValidationError) Error ¶
func (e SlideValidationError) Error() string
Error satisfies the builtin error interface
func (SlideValidationError) ErrorName ¶
func (e SlideValidationError) ErrorName() string
ErrorName returns error name.
func (SlideValidationError) Field ¶
func (e SlideValidationError) Field() string
Field function returns field value.
func (SlideValidationError) Key ¶
func (e SlideValidationError) Key() bool
Key function returns key value.
func (SlideValidationError) Reason ¶
func (e SlideValidationError) Reason() string
Reason function returns reason value.
type UnimplementedSlideAPIServer ¶
type UnimplementedSlideAPIServer struct { }
UnimplementedSlideAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedSlideAPIServer) CreateSlideV1 ¶
func (UnimplementedSlideAPIServer) CreateSlideV1(context.Context, *CreateSlideV1Request) (*CreateSlideV1Response, error)
func (UnimplementedSlideAPIServer) DescribeSlideV1 ¶
func (UnimplementedSlideAPIServer) DescribeSlideV1(context.Context, *DescribeSlideV1Request) (*DescribeSlideV1Response, error)
func (UnimplementedSlideAPIServer) ListSlidesV1 ¶
func (UnimplementedSlideAPIServer) ListSlidesV1(context.Context, *ListSlidesV1Request) (*ListSlidesV1Response, error)
func (UnimplementedSlideAPIServer) MultiCreateSlidesV1 ¶
func (UnimplementedSlideAPIServer) MultiCreateSlidesV1(context.Context, *MultiCreateSlidesV1Request) (*MultiCreateSlidesV1Response, error)
func (UnimplementedSlideAPIServer) RemoveSlideV1 ¶
func (UnimplementedSlideAPIServer) RemoveSlideV1(context.Context, *RemoveSlideV1Request) (*RemoveSlideV1Response, error)
func (UnimplementedSlideAPIServer) UpdateSlideV1 ¶
func (UnimplementedSlideAPIServer) UpdateSlideV1(context.Context, *UpdateSlideV1Request) (*UpdateSlideV1Response, error)
type UnsafeSlideAPIServer ¶
type UnsafeSlideAPIServer interface {
// contains filtered or unexported methods
}
UnsafeSlideAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SlideAPIServer will result in compilation errors.
type UpdateSlideV1Request ¶
type UpdateSlideV1Request struct { Slide *Slide `protobuf:"bytes,1,opt,name=slide,proto3" json:"slide,omitempty"` // contains filtered or unexported fields }
func (*UpdateSlideV1Request) Descriptor
deprecated
func (*UpdateSlideV1Request) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSlideV1Request.ProtoReflect.Descriptor instead.
func (*UpdateSlideV1Request) GetSlide ¶
func (x *UpdateSlideV1Request) GetSlide() *Slide
func (*UpdateSlideV1Request) ProtoMessage ¶
func (*UpdateSlideV1Request) ProtoMessage()
func (*UpdateSlideV1Request) ProtoReflect ¶
func (x *UpdateSlideV1Request) ProtoReflect() protoreflect.Message
func (*UpdateSlideV1Request) Reset ¶
func (x *UpdateSlideV1Request) Reset()
func (*UpdateSlideV1Request) String ¶
func (x *UpdateSlideV1Request) String() string
func (*UpdateSlideV1Request) Validate ¶
func (m *UpdateSlideV1Request) Validate() error
Validate checks the field values on UpdateSlideV1Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateSlideV1RequestValidationError ¶
type UpdateSlideV1RequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSlideV1RequestValidationError is the validation error returned by UpdateSlideV1Request.Validate if the designated constraints aren't met.
func (UpdateSlideV1RequestValidationError) Cause ¶
func (e UpdateSlideV1RequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSlideV1RequestValidationError) Error ¶
func (e UpdateSlideV1RequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSlideV1RequestValidationError) ErrorName ¶
func (e UpdateSlideV1RequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSlideV1RequestValidationError) Field ¶
func (e UpdateSlideV1RequestValidationError) Field() string
Field function returns field value.
func (UpdateSlideV1RequestValidationError) Key ¶
func (e UpdateSlideV1RequestValidationError) Key() bool
Key function returns key value.
func (UpdateSlideV1RequestValidationError) Reason ¶
func (e UpdateSlideV1RequestValidationError) Reason() string
Reason function returns reason value.
type UpdateSlideV1Response ¶
type UpdateSlideV1Response struct { Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` // contains filtered or unexported fields }
func (*UpdateSlideV1Response) Descriptor
deprecated
func (*UpdateSlideV1Response) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSlideV1Response.ProtoReflect.Descriptor instead.
func (*UpdateSlideV1Response) GetFound ¶
func (x *UpdateSlideV1Response) GetFound() bool
func (*UpdateSlideV1Response) ProtoMessage ¶
func (*UpdateSlideV1Response) ProtoMessage()
func (*UpdateSlideV1Response) ProtoReflect ¶
func (x *UpdateSlideV1Response) ProtoReflect() protoreflect.Message
func (*UpdateSlideV1Response) Reset ¶
func (x *UpdateSlideV1Response) Reset()
func (*UpdateSlideV1Response) String ¶
func (x *UpdateSlideV1Response) String() string
func (*UpdateSlideV1Response) Validate ¶
func (m *UpdateSlideV1Response) Validate() error
Validate checks the field values on UpdateSlideV1Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateSlideV1ResponseValidationError ¶
type UpdateSlideV1ResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateSlideV1ResponseValidationError is the validation error returned by UpdateSlideV1Response.Validate if the designated constraints aren't met.
func (UpdateSlideV1ResponseValidationError) Cause ¶
func (e UpdateSlideV1ResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateSlideV1ResponseValidationError) Error ¶
func (e UpdateSlideV1ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSlideV1ResponseValidationError) ErrorName ¶
func (e UpdateSlideV1ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSlideV1ResponseValidationError) Field ¶
func (e UpdateSlideV1ResponseValidationError) Field() string
Field function returns field value.
func (UpdateSlideV1ResponseValidationError) Key ¶
func (e UpdateSlideV1ResponseValidationError) Key() bool
Key function returns key value.
func (UpdateSlideV1ResponseValidationError) Reason ¶
func (e UpdateSlideV1ResponseValidationError) Reason() string
Reason function returns reason value.