Documentation ¶
Overview ¶
Package namespace is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterNamespaceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNamespaceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NamespaceClient) error
- func RegisterNamespaceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNamespaceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NamespaceServer) error
- func RegisterNamespaceServer(s grpc.ServiceRegistrar, srv NamespaceServer)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetDescription() string
- func (x *CreateRequest) GetIgnoreIfExists() bool
- func (x *CreateRequest) GetNamespace() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- func (m *CreateRequest) Validate() error
- func (m *CreateRequest) ValidateAll() error
- type CreateRequestMultiError
- type CreateRequestValidationError
- func (e CreateRequestValidationError) Cause() error
- func (e CreateRequestValidationError) Error() string
- func (e CreateRequestValidationError) ErrorName() string
- func (e CreateRequestValidationError) Field() string
- func (e CreateRequestValidationError) Key() bool
- func (e CreateRequestValidationError) Reason() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetExists() bool
- func (x *CreateResponse) GetItem() *types.NamespaceModel
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- func (m *CreateResponse) Validate() error
- func (m *CreateResponse) ValidateAll() error
- type CreateResponseMultiError
- type CreateResponseValidationError
- func (e CreateResponseValidationError) Cause() error
- func (e CreateResponseValidationError) Error() string
- func (e CreateResponseValidationError) ErrorName() string
- func (e CreateResponseValidationError) Field() string
- func (e CreateResponseValidationError) Key() bool
- func (e CreateResponseValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetId() int32
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type FavoriteRequest
- func (*FavoriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FavoriteRequest) GetFavorite() bool
- func (x *FavoriteRequest) GetId() int32
- func (*FavoriteRequest) ProtoMessage()
- func (x *FavoriteRequest) ProtoReflect() protoreflect.Message
- func (x *FavoriteRequest) Reset()
- func (x *FavoriteRequest) String() string
- func (m *FavoriteRequest) Validate() error
- func (m *FavoriteRequest) ValidateAll() error
- type FavoriteRequestMultiError
- type FavoriteRequestValidationError
- func (e FavoriteRequestValidationError) Cause() error
- func (e FavoriteRequestValidationError) Error() string
- func (e FavoriteRequestValidationError) ErrorName() string
- func (e FavoriteRequestValidationError) Field() string
- func (e FavoriteRequestValidationError) Key() bool
- func (e FavoriteRequestValidationError) Reason() string
- type FavoriteResponse
- func (*FavoriteResponse) Descriptor() ([]byte, []int)deprecated
- func (*FavoriteResponse) ProtoMessage()
- func (x *FavoriteResponse) ProtoReflect() protoreflect.Message
- func (x *FavoriteResponse) Reset()
- func (x *FavoriteResponse) String() string
- func (m *FavoriteResponse) Validate() error
- func (m *FavoriteResponse) ValidateAll() error
- type FavoriteResponseMultiError
- type FavoriteResponseValidationError
- func (e FavoriteResponseValidationError) Cause() error
- func (e FavoriteResponseValidationError) Error() string
- func (e FavoriteResponseValidationError) ErrorName() string
- func (e FavoriteResponseValidationError) Field() string
- func (e FavoriteResponseValidationError) Key() bool
- func (e FavoriteResponseValidationError) Reason() string
- type IsExistsRequest
- func (*IsExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsExistsRequest) GetName() string
- func (*IsExistsRequest) ProtoMessage()
- func (x *IsExistsRequest) ProtoReflect() protoreflect.Message
- func (x *IsExistsRequest) Reset()
- func (x *IsExistsRequest) String() string
- func (m *IsExistsRequest) Validate() error
- func (m *IsExistsRequest) ValidateAll() error
- type IsExistsRequestMultiError
- type IsExistsRequestValidationError
- func (e IsExistsRequestValidationError) Cause() error
- func (e IsExistsRequestValidationError) Error() string
- func (e IsExistsRequestValidationError) ErrorName() string
- func (e IsExistsRequestValidationError) Field() string
- func (e IsExistsRequestValidationError) Key() bool
- func (e IsExistsRequestValidationError) Reason() string
- type IsExistsResponse
- func (*IsExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsExistsResponse) GetExists() bool
- func (x *IsExistsResponse) GetId() int64
- func (*IsExistsResponse) ProtoMessage()
- func (x *IsExistsResponse) ProtoReflect() protoreflect.Message
- func (x *IsExistsResponse) Reset()
- func (x *IsExistsResponse) String() string
- func (m *IsExistsResponse) Validate() error
- func (m *IsExistsResponse) ValidateAll() error
- type IsExistsResponseMultiError
- type IsExistsResponseValidationError
- func (e IsExistsResponseValidationError) Cause() error
- func (e IsExistsResponseValidationError) Error() string
- func (e IsExistsResponseValidationError) ErrorName() string
- func (e IsExistsResponseValidationError) Field() string
- func (e IsExistsResponseValidationError) Key() bool
- func (e IsExistsResponseValidationError) Reason() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetFavorite() bool
- func (x *ListRequest) GetName() string
- func (x *ListRequest) GetPage() int32
- func (x *ListRequest) GetPageSize() int32
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- func (m *ListRequest) Validate() error
- func (m *ListRequest) ValidateAll() error
- type ListRequestMultiError
- type ListRequestValidationError
- func (e ListRequestValidationError) Cause() error
- func (e ListRequestValidationError) Error() string
- func (e ListRequestValidationError) ErrorName() string
- func (e ListRequestValidationError) Field() string
- func (e ListRequestValidationError) Key() bool
- func (e ListRequestValidationError) Reason() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetCount() int32
- func (x *ListResponse) GetItems() []*types.NamespaceModel
- func (x *ListResponse) GetPage() int32
- func (x *ListResponse) GetPageSize() int32
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- func (m *ListResponse) Validate() error
- func (m *ListResponse) ValidateAll() error
- type ListResponseMultiError
- type ListResponseValidationError
- func (e ListResponseValidationError) Cause() error
- func (e ListResponseValidationError) Error() string
- func (e ListResponseValidationError) ErrorName() string
- func (e ListResponseValidationError) Field() string
- func (e ListResponseValidationError) Key() bool
- func (e ListResponseValidationError) Reason() string
- type NamespaceClient
- type NamespaceServer
- type ShowRequest
- func (*ShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowRequest) GetId() int64
- func (*ShowRequest) ProtoMessage()
- func (x *ShowRequest) ProtoReflect() protoreflect.Message
- func (x *ShowRequest) Reset()
- func (x *ShowRequest) String() string
- func (m *ShowRequest) Validate() error
- func (m *ShowRequest) ValidateAll() error
- type ShowRequestMultiError
- type ShowRequestValidationError
- func (e ShowRequestValidationError) Cause() error
- func (e ShowRequestValidationError) Error() string
- func (e ShowRequestValidationError) ErrorName() string
- func (e ShowRequestValidationError) Field() string
- func (e ShowRequestValidationError) Key() bool
- func (e ShowRequestValidationError) Reason() string
- type ShowResponse
- func (*ShowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowResponse) GetItem() *types.NamespaceModel
- func (*ShowResponse) ProtoMessage()
- func (x *ShowResponse) ProtoReflect() protoreflect.Message
- func (x *ShowResponse) Reset()
- func (x *ShowResponse) String() string
- func (m *ShowResponse) Validate() error
- func (m *ShowResponse) ValidateAll() error
- type ShowResponseMultiError
- type ShowResponseValidationError
- func (e ShowResponseValidationError) Cause() error
- func (e ShowResponseValidationError) Error() string
- func (e ShowResponseValidationError) ErrorName() string
- func (e ShowResponseValidationError) Field() string
- func (e ShowResponseValidationError) Key() bool
- func (e ShowResponseValidationError) Reason() string
- type SyncMembersRequest
- func (*SyncMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncMembersRequest) GetEmails() []string
- func (x *SyncMembersRequest) GetId() int32
- func (*SyncMembersRequest) ProtoMessage()
- func (x *SyncMembersRequest) ProtoReflect() protoreflect.Message
- func (x *SyncMembersRequest) Reset()
- func (x *SyncMembersRequest) String() string
- func (m *SyncMembersRequest) Validate() error
- func (m *SyncMembersRequest) ValidateAll() error
- type SyncMembersRequestMultiError
- type SyncMembersRequestValidationError
- func (e SyncMembersRequestValidationError) Cause() error
- func (e SyncMembersRequestValidationError) Error() string
- func (e SyncMembersRequestValidationError) ErrorName() string
- func (e SyncMembersRequestValidationError) Field() string
- func (e SyncMembersRequestValidationError) Key() bool
- func (e SyncMembersRequestValidationError) Reason() string
- type SyncMembersResponse
- func (*SyncMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncMembersResponse) GetItem() *types.NamespaceModel
- func (*SyncMembersResponse) ProtoMessage()
- func (x *SyncMembersResponse) ProtoReflect() protoreflect.Message
- func (x *SyncMembersResponse) Reset()
- func (x *SyncMembersResponse) String() string
- func (m *SyncMembersResponse) Validate() error
- func (m *SyncMembersResponse) ValidateAll() error
- type SyncMembersResponseMultiError
- type SyncMembersResponseValidationError
- func (e SyncMembersResponseValidationError) Cause() error
- func (e SyncMembersResponseValidationError) Error() string
- func (e SyncMembersResponseValidationError) ErrorName() string
- func (e SyncMembersResponseValidationError) Field() string
- func (e SyncMembersResponseValidationError) Key() bool
- func (e SyncMembersResponseValidationError) Reason() string
- type UnimplementedNamespaceServer
- func (UnimplementedNamespaceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedNamespaceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedNamespaceServer) Favorite(context.Context, *FavoriteRequest) (*FavoriteResponse, error)
- func (UnimplementedNamespaceServer) IsExists(context.Context, *IsExistsRequest) (*IsExistsResponse, error)
- func (UnimplementedNamespaceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedNamespaceServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
- func (UnimplementedNamespaceServer) SyncMembers(context.Context, *SyncMembersRequest) (*SyncMembersResponse, error)
- func (UnimplementedNamespaceServer) UpdateDesc(context.Context, *UpdateDescRequest) (*UpdateDescResponse, error)
- func (UnimplementedNamespaceServer) UpdatePrivate(context.Context, *UpdatePrivateRequest) (*UpdatePrivateResponse, error)
- type UnsafeNamespaceServer
- type UpdateDescRequest
- func (*UpdateDescRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDescRequest) GetDesc() string
- func (x *UpdateDescRequest) GetId() int32
- func (*UpdateDescRequest) ProtoMessage()
- func (x *UpdateDescRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDescRequest) Reset()
- func (x *UpdateDescRequest) String() string
- func (m *UpdateDescRequest) Validate() error
- func (m *UpdateDescRequest) ValidateAll() error
- type UpdateDescRequestMultiError
- type UpdateDescRequestValidationError
- func (e UpdateDescRequestValidationError) Cause() error
- func (e UpdateDescRequestValidationError) Error() string
- func (e UpdateDescRequestValidationError) ErrorName() string
- func (e UpdateDescRequestValidationError) Field() string
- func (e UpdateDescRequestValidationError) Key() bool
- func (e UpdateDescRequestValidationError) Reason() string
- type UpdateDescResponse
- func (*UpdateDescResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDescResponse) GetItem() *types.NamespaceModel
- func (*UpdateDescResponse) ProtoMessage()
- func (x *UpdateDescResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDescResponse) Reset()
- func (x *UpdateDescResponse) String() string
- func (m *UpdateDescResponse) Validate() error
- func (m *UpdateDescResponse) ValidateAll() error
- type UpdateDescResponseMultiError
- type UpdateDescResponseValidationError
- func (e UpdateDescResponseValidationError) Cause() error
- func (e UpdateDescResponseValidationError) Error() string
- func (e UpdateDescResponseValidationError) ErrorName() string
- func (e UpdateDescResponseValidationError) Field() string
- func (e UpdateDescResponseValidationError) Key() bool
- func (e UpdateDescResponseValidationError) Reason() string
- type UpdatePrivateRequest
- func (*UpdatePrivateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePrivateRequest) GetId() int32
- func (x *UpdatePrivateRequest) GetPrivate() bool
- func (*UpdatePrivateRequest) ProtoMessage()
- func (x *UpdatePrivateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePrivateRequest) Reset()
- func (x *UpdatePrivateRequest) String() string
- func (m *UpdatePrivateRequest) Validate() error
- func (m *UpdatePrivateRequest) ValidateAll() error
- type UpdatePrivateRequestMultiError
- type UpdatePrivateRequestValidationError
- func (e UpdatePrivateRequestValidationError) Cause() error
- func (e UpdatePrivateRequestValidationError) Error() string
- func (e UpdatePrivateRequestValidationError) ErrorName() string
- func (e UpdatePrivateRequestValidationError) Field() string
- func (e UpdatePrivateRequestValidationError) Key() bool
- func (e UpdatePrivateRequestValidationError) Reason() string
- type UpdatePrivateResponse
- func (*UpdatePrivateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePrivateResponse) GetItem() *types.NamespaceModel
- func (*UpdatePrivateResponse) ProtoMessage()
- func (x *UpdatePrivateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePrivateResponse) Reset()
- func (x *UpdatePrivateResponse) String() string
- func (m *UpdatePrivateResponse) Validate() error
- func (m *UpdatePrivateResponse) ValidateAll() error
- type UpdatePrivateResponseMultiError
- type UpdatePrivateResponseValidationError
- func (e UpdatePrivateResponseValidationError) Cause() error
- func (e UpdatePrivateResponseValidationError) Error() string
- func (e UpdatePrivateResponseValidationError) ErrorName() string
- func (e UpdatePrivateResponseValidationError) Field() string
- func (e UpdatePrivateResponseValidationError) Key() bool
- func (e UpdatePrivateResponseValidationError) Reason() string
Constants ¶
const ( Namespace_List_FullMethodName = "/namespace.Namespace/List" Namespace_UpdatePrivate_FullMethodName = "/namespace.Namespace/UpdatePrivate" Namespace_SyncMembers_FullMethodName = "/namespace.Namespace/SyncMembers" Namespace_Create_FullMethodName = "/namespace.Namespace/Create" Namespace_Show_FullMethodName = "/namespace.Namespace/Show" Namespace_UpdateDesc_FullMethodName = "/namespace.Namespace/UpdateDesc" Namespace_Delete_FullMethodName = "/namespace.Namespace/Delete" Namespace_IsExists_FullMethodName = "/namespace.Namespace/IsExists" Namespace_Favorite_FullMethodName = "/namespace.Namespace/Favorite" )
Variables ¶
var File_namespace_namespace_proto protoreflect.FileDescriptor
var Namespace_ServiceDesc = grpc.ServiceDesc{ ServiceName: "namespace.Namespace", HandlerType: (*NamespaceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Namespace_List_Handler, }, { MethodName: "UpdatePrivate", Handler: _Namespace_UpdatePrivate_Handler, }, { MethodName: "SyncMembers", Handler: _Namespace_SyncMembers_Handler, }, { MethodName: "Create", Handler: _Namespace_Create_Handler, }, { MethodName: "Show", Handler: _Namespace_Show_Handler, }, { MethodName: "UpdateDesc", Handler: _Namespace_UpdateDesc_Handler, }, { MethodName: "Delete", Handler: _Namespace_Delete_Handler, }, { MethodName: "IsExists", Handler: _Namespace_IsExists_Handler, }, { MethodName: "Favorite", Handler: _Namespace_Favorite_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "namespace/namespace.proto", }
Namespace_ServiceDesc is the grpc.ServiceDesc for Namespace service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNamespaceHandler ¶
func RegisterNamespaceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNamespaceHandler registers the http handlers for service Namespace to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNamespaceHandlerClient ¶
func RegisterNamespaceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NamespaceClient) error
RegisterNamespaceHandlerClient registers the http handlers for service Namespace to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NamespaceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NamespaceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NamespaceClient" to call the correct interceptors.
func RegisterNamespaceHandlerFromEndpoint ¶
func RegisterNamespaceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNamespaceHandlerFromEndpoint is same as RegisterNamespaceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNamespaceHandlerServer ¶
func RegisterNamespaceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NamespaceServer) error
RegisterNamespaceHandlerServer registers the http handlers for service Namespace to "mux". UnaryRPC :call NamespaceServer 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 RegisterNamespaceHandlerFromEndpoint instead.
func RegisterNamespaceServer ¶
func RegisterNamespaceServer(s grpc.ServiceRegistrar, srv NamespaceServer)
Types ¶
type CreateRequest ¶
type CreateRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // 已存在则忽略,不会报错 IgnoreIfExists bool `protobuf:"varint,2,opt,name=ignore_if_exists,json=ignoreIfExists,proto3" json:"ignore_if_exists,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetDescription ¶
func (x *CreateRequest) GetDescription() string
func (*CreateRequest) GetIgnoreIfExists ¶
func (x *CreateRequest) GetIgnoreIfExists() bool
func (*CreateRequest) GetNamespace ¶
func (x *CreateRequest) GetNamespace() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
func (*CreateRequest) Validate ¶
func (m *CreateRequest) Validate() error
Validate checks the field values on CreateRequest 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 (*CreateRequest) ValidateAll ¶
func (m *CreateRequest) ValidateAll() error
ValidateAll checks the field values on CreateRequest 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 CreateRequestMultiError, or nil if none found.
type CreateRequestMultiError ¶
type CreateRequestMultiError []error
CreateRequestMultiError is an error wrapping multiple validation errors returned by CreateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRequestMultiError) AllErrors ¶
func (m CreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRequestMultiError) Error ¶
func (m CreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRequestValidationError ¶
type CreateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRequestValidationError is the validation error returned by CreateRequest.Validate if the designated constraints aren't met.
func (CreateRequestValidationError) Cause ¶
func (e CreateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRequestValidationError) Error ¶
func (e CreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRequestValidationError) ErrorName ¶
func (e CreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRequestValidationError) Field ¶
func (e CreateRequestValidationError) Field() string
Field function returns field value.
func (CreateRequestValidationError) Key ¶
func (e CreateRequestValidationError) Key() bool
Key function returns key value.
func (CreateRequestValidationError) Reason ¶
func (e CreateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateResponse ¶
type CreateResponse struct { Item *types.NamespaceModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetExists ¶
func (x *CreateResponse) GetExists() bool
func (*CreateResponse) GetItem ¶
func (x *CreateResponse) GetItem() *types.NamespaceModel
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
func (*CreateResponse) Validate ¶
func (m *CreateResponse) Validate() error
Validate checks the field values on CreateResponse 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 (*CreateResponse) ValidateAll ¶
func (m *CreateResponse) ValidateAll() error
ValidateAll checks the field values on CreateResponse 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 CreateResponseMultiError, or nil if none found.
type CreateResponseMultiError ¶
type CreateResponseMultiError []error
CreateResponseMultiError is an error wrapping multiple validation errors returned by CreateResponse.ValidateAll() if the designated constraints aren't met.
func (CreateResponseMultiError) AllErrors ¶
func (m CreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateResponseMultiError) Error ¶
func (m CreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateResponseValidationError ¶
type CreateResponseValidationError struct {
// contains filtered or unexported fields
}
CreateResponseValidationError is the validation error returned by CreateResponse.Validate if the designated constraints aren't met.
func (CreateResponseValidationError) Cause ¶
func (e CreateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateResponseValidationError) Error ¶
func (e CreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateResponseValidationError) ErrorName ¶
func (e CreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateResponseValidationError) Field ¶
func (e CreateResponseValidationError) Field() string
Field function returns field value.
func (CreateResponseValidationError) Key ¶
func (e CreateResponseValidationError) Key() bool
Key function returns key value.
func (CreateResponseValidationError) Reason ¶
func (e CreateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() int32
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (m *DeleteResponse) Validate() error
Validate checks the field values on DeleteResponse 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 (*DeleteResponse) ValidateAll ¶
func (m *DeleteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteResponse 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 DeleteResponseMultiError, or nil if none found.
type DeleteResponseMultiError ¶
type DeleteResponseMultiError []error
DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteResponseMultiError) AllErrors ¶
func (m DeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResponseMultiError) Error ¶
func (m DeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResponseValidationError ¶
type DeleteResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.
func (DeleteResponseValidationError) Cause ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
Reason function returns reason value.
type FavoriteRequest ¶
type FavoriteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Favorite bool `protobuf:"varint,2,opt,name=favorite,proto3" json:"favorite,omitempty"` // contains filtered or unexported fields }
func (*FavoriteRequest) Descriptor
deprecated
func (*FavoriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use FavoriteRequest.ProtoReflect.Descriptor instead.
func (*FavoriteRequest) GetFavorite ¶
func (x *FavoriteRequest) GetFavorite() bool
func (*FavoriteRequest) GetId ¶
func (x *FavoriteRequest) GetId() int32
func (*FavoriteRequest) ProtoMessage ¶
func (*FavoriteRequest) ProtoMessage()
func (*FavoriteRequest) ProtoReflect ¶
func (x *FavoriteRequest) ProtoReflect() protoreflect.Message
func (*FavoriteRequest) Reset ¶
func (x *FavoriteRequest) Reset()
func (*FavoriteRequest) String ¶
func (x *FavoriteRequest) String() string
func (*FavoriteRequest) Validate ¶
func (m *FavoriteRequest) Validate() error
Validate checks the field values on FavoriteRequest 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 (*FavoriteRequest) ValidateAll ¶
func (m *FavoriteRequest) ValidateAll() error
ValidateAll checks the field values on FavoriteRequest 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 FavoriteRequestMultiError, or nil if none found.
type FavoriteRequestMultiError ¶
type FavoriteRequestMultiError []error
FavoriteRequestMultiError is an error wrapping multiple validation errors returned by FavoriteRequest.ValidateAll() if the designated constraints aren't met.
func (FavoriteRequestMultiError) AllErrors ¶
func (m FavoriteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FavoriteRequestMultiError) Error ¶
func (m FavoriteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FavoriteRequestValidationError ¶
type FavoriteRequestValidationError struct {
// contains filtered or unexported fields
}
FavoriteRequestValidationError is the validation error returned by FavoriteRequest.Validate if the designated constraints aren't met.
func (FavoriteRequestValidationError) Cause ¶
func (e FavoriteRequestValidationError) Cause() error
Cause function returns cause value.
func (FavoriteRequestValidationError) Error ¶
func (e FavoriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FavoriteRequestValidationError) ErrorName ¶
func (e FavoriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FavoriteRequestValidationError) Field ¶
func (e FavoriteRequestValidationError) Field() string
Field function returns field value.
func (FavoriteRequestValidationError) Key ¶
func (e FavoriteRequestValidationError) Key() bool
Key function returns key value.
func (FavoriteRequestValidationError) Reason ¶
func (e FavoriteRequestValidationError) Reason() string
Reason function returns reason value.
type FavoriteResponse ¶
type FavoriteResponse struct {
// contains filtered or unexported fields
}
func (*FavoriteResponse) Descriptor
deprecated
func (*FavoriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use FavoriteResponse.ProtoReflect.Descriptor instead.
func (*FavoriteResponse) ProtoMessage ¶
func (*FavoriteResponse) ProtoMessage()
func (*FavoriteResponse) ProtoReflect ¶
func (x *FavoriteResponse) ProtoReflect() protoreflect.Message
func (*FavoriteResponse) Reset ¶
func (x *FavoriteResponse) Reset()
func (*FavoriteResponse) String ¶
func (x *FavoriteResponse) String() string
func (*FavoriteResponse) Validate ¶
func (m *FavoriteResponse) Validate() error
Validate checks the field values on FavoriteResponse 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 (*FavoriteResponse) ValidateAll ¶
func (m *FavoriteResponse) ValidateAll() error
ValidateAll checks the field values on FavoriteResponse 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 FavoriteResponseMultiError, or nil if none found.
type FavoriteResponseMultiError ¶
type FavoriteResponseMultiError []error
FavoriteResponseMultiError is an error wrapping multiple validation errors returned by FavoriteResponse.ValidateAll() if the designated constraints aren't met.
func (FavoriteResponseMultiError) AllErrors ¶
func (m FavoriteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FavoriteResponseMultiError) Error ¶
func (m FavoriteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FavoriteResponseValidationError ¶
type FavoriteResponseValidationError struct {
// contains filtered or unexported fields
}
FavoriteResponseValidationError is the validation error returned by FavoriteResponse.Validate if the designated constraints aren't met.
func (FavoriteResponseValidationError) Cause ¶
func (e FavoriteResponseValidationError) Cause() error
Cause function returns cause value.
func (FavoriteResponseValidationError) Error ¶
func (e FavoriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FavoriteResponseValidationError) ErrorName ¶
func (e FavoriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FavoriteResponseValidationError) Field ¶
func (e FavoriteResponseValidationError) Field() string
Field function returns field value.
func (FavoriteResponseValidationError) Key ¶
func (e FavoriteResponseValidationError) Key() bool
Key function returns key value.
func (FavoriteResponseValidationError) Reason ¶
func (e FavoriteResponseValidationError) Reason() string
Reason function returns reason value.
type IsExistsRequest ¶
type IsExistsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*IsExistsRequest) Descriptor
deprecated
func (*IsExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsExistsRequest.ProtoReflect.Descriptor instead.
func (*IsExistsRequest) GetName ¶
func (x *IsExistsRequest) GetName() string
func (*IsExistsRequest) ProtoMessage ¶
func (*IsExistsRequest) ProtoMessage()
func (*IsExistsRequest) ProtoReflect ¶
func (x *IsExistsRequest) ProtoReflect() protoreflect.Message
func (*IsExistsRequest) Reset ¶
func (x *IsExistsRequest) Reset()
func (*IsExistsRequest) String ¶
func (x *IsExistsRequest) String() string
func (*IsExistsRequest) Validate ¶
func (m *IsExistsRequest) Validate() error
Validate checks the field values on IsExistsRequest 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 (*IsExistsRequest) ValidateAll ¶
func (m *IsExistsRequest) ValidateAll() error
ValidateAll checks the field values on IsExistsRequest 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 IsExistsRequestMultiError, or nil if none found.
type IsExistsRequestMultiError ¶
type IsExistsRequestMultiError []error
IsExistsRequestMultiError is an error wrapping multiple validation errors returned by IsExistsRequest.ValidateAll() if the designated constraints aren't met.
func (IsExistsRequestMultiError) AllErrors ¶
func (m IsExistsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsExistsRequestMultiError) Error ¶
func (m IsExistsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsExistsRequestValidationError ¶
type IsExistsRequestValidationError struct {
// contains filtered or unexported fields
}
IsExistsRequestValidationError is the validation error returned by IsExistsRequest.Validate if the designated constraints aren't met.
func (IsExistsRequestValidationError) Cause ¶
func (e IsExistsRequestValidationError) Cause() error
Cause function returns cause value.
func (IsExistsRequestValidationError) Error ¶
func (e IsExistsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IsExistsRequestValidationError) ErrorName ¶
func (e IsExistsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IsExistsRequestValidationError) Field ¶
func (e IsExistsRequestValidationError) Field() string
Field function returns field value.
func (IsExistsRequestValidationError) Key ¶
func (e IsExistsRequestValidationError) Key() bool
Key function returns key value.
func (IsExistsRequestValidationError) Reason ¶
func (e IsExistsRequestValidationError) Reason() string
Reason function returns reason value.
type IsExistsResponse ¶
type IsExistsResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*IsExistsResponse) Descriptor
deprecated
func (*IsExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsExistsResponse.ProtoReflect.Descriptor instead.
func (*IsExistsResponse) GetExists ¶
func (x *IsExistsResponse) GetExists() bool
func (*IsExistsResponse) GetId ¶
func (x *IsExistsResponse) GetId() int64
func (*IsExistsResponse) ProtoMessage ¶
func (*IsExistsResponse) ProtoMessage()
func (*IsExistsResponse) ProtoReflect ¶
func (x *IsExistsResponse) ProtoReflect() protoreflect.Message
func (*IsExistsResponse) Reset ¶
func (x *IsExistsResponse) Reset()
func (*IsExistsResponse) String ¶
func (x *IsExistsResponse) String() string
func (*IsExistsResponse) Validate ¶
func (m *IsExistsResponse) Validate() error
Validate checks the field values on IsExistsResponse 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 (*IsExistsResponse) ValidateAll ¶
func (m *IsExistsResponse) ValidateAll() error
ValidateAll checks the field values on IsExistsResponse 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 IsExistsResponseMultiError, or nil if none found.
type IsExistsResponseMultiError ¶
type IsExistsResponseMultiError []error
IsExistsResponseMultiError is an error wrapping multiple validation errors returned by IsExistsResponse.ValidateAll() if the designated constraints aren't met.
func (IsExistsResponseMultiError) AllErrors ¶
func (m IsExistsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsExistsResponseMultiError) Error ¶
func (m IsExistsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsExistsResponseValidationError ¶
type IsExistsResponseValidationError struct {
// contains filtered or unexported fields
}
IsExistsResponseValidationError is the validation error returned by IsExistsResponse.Validate if the designated constraints aren't met.
func (IsExistsResponseValidationError) Cause ¶
func (e IsExistsResponseValidationError) Cause() error
Cause function returns cause value.
func (IsExistsResponseValidationError) Error ¶
func (e IsExistsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IsExistsResponseValidationError) ErrorName ¶
func (e IsExistsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IsExistsResponseValidationError) Field ¶
func (e IsExistsResponseValidationError) Field() string
Field function returns field value.
func (IsExistsResponseValidationError) Key ¶
func (e IsExistsResponseValidationError) Key() bool
Key function returns key value.
func (IsExistsResponseValidationError) Reason ¶
func (e IsExistsResponseValidationError) Reason() string
Reason function returns reason value.
type ListRequest ¶
type ListRequest struct { Page *int32 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"` PageSize *int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` Favorite bool `protobuf:"varint,3,opt,name=favorite,proto3" json:"favorite,omitempty"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetFavorite ¶
func (x *ListRequest) GetFavorite() bool
func (*ListRequest) GetName ¶
func (x *ListRequest) GetName() string
func (*ListRequest) GetPage ¶
func (x *ListRequest) GetPage() int32
func (*ListRequest) GetPageSize ¶
func (x *ListRequest) GetPageSize() int32
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
func (*ListRequest) Validate ¶
func (m *ListRequest) Validate() error
Validate checks the field values on ListRequest 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 (*ListRequest) ValidateAll ¶
func (m *ListRequest) ValidateAll() error
ValidateAll checks the field values on ListRequest 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 ListRequestMultiError, or nil if none found.
type ListRequestMultiError ¶
type ListRequestMultiError []error
ListRequestMultiError is an error wrapping multiple validation errors returned by ListRequest.ValidateAll() if the designated constraints aren't met.
func (ListRequestMultiError) AllErrors ¶
func (m ListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRequestMultiError) Error ¶
func (m ListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRequestValidationError ¶
type ListRequestValidationError struct {
// contains filtered or unexported fields
}
ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.
func (ListRequestValidationError) Cause ¶
func (e ListRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRequestValidationError) Error ¶
func (e ListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRequestValidationError) ErrorName ¶
func (e ListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRequestValidationError) Field ¶
func (e ListRequestValidationError) Field() string
Field function returns field value.
func (ListRequestValidationError) Key ¶
func (e ListRequestValidationError) Key() bool
Key function returns key value.
func (ListRequestValidationError) Reason ¶
func (e ListRequestValidationError) Reason() string
Reason function returns reason value.
type ListResponse ¶
type ListResponse struct { Items []*types.NamespaceModel `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCount ¶
func (x *ListResponse) GetCount() int32
func (*ListResponse) GetItems ¶
func (x *ListResponse) GetItems() []*types.NamespaceModel
func (*ListResponse) GetPage ¶
func (x *ListResponse) GetPage() int32
func (*ListResponse) GetPageSize ¶
func (x *ListResponse) GetPageSize() int32
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
func (*ListResponse) Validate ¶
func (m *ListResponse) Validate() error
Validate checks the field values on ListResponse 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 (*ListResponse) ValidateAll ¶
func (m *ListResponse) ValidateAll() error
ValidateAll checks the field values on ListResponse 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 ListResponseMultiError, or nil if none found.
type ListResponseMultiError ¶
type ListResponseMultiError []error
ListResponseMultiError is an error wrapping multiple validation errors returned by ListResponse.ValidateAll() if the designated constraints aren't met.
func (ListResponseMultiError) AllErrors ¶
func (m ListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResponseMultiError) Error ¶
func (m ListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResponseValidationError ¶
type ListResponseValidationError struct {
// contains filtered or unexported fields
}
ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.
func (ListResponseValidationError) Cause ¶
func (e ListResponseValidationError) Cause() error
Cause function returns cause value.
func (ListResponseValidationError) Error ¶
func (e ListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListResponseValidationError) ErrorName ¶
func (e ListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListResponseValidationError) Field ¶
func (e ListResponseValidationError) Field() string
Field function returns field value.
func (ListResponseValidationError) Key ¶
func (e ListResponseValidationError) Key() bool
Key function returns key value.
func (ListResponseValidationError) Reason ¶
func (e ListResponseValidationError) Reason() string
Reason function returns reason value.
type NamespaceClient ¶
type NamespaceClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) UpdatePrivate(ctx context.Context, in *UpdatePrivateRequest, opts ...grpc.CallOption) (*UpdatePrivateResponse, error) SyncMembers(ctx context.Context, in *SyncMembersRequest, opts ...grpc.CallOption) (*SyncMembersResponse, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) Show(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) UpdateDesc(ctx context.Context, in *UpdateDescRequest, opts ...grpc.CallOption) (*UpdateDescResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) IsExists(ctx context.Context, in *IsExistsRequest, opts ...grpc.CallOption) (*IsExistsResponse, error) Favorite(ctx context.Context, in *FavoriteRequest, opts ...grpc.CallOption) (*FavoriteResponse, error) }
NamespaceClient is the client API for Namespace 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 NewNamespaceClient ¶
func NewNamespaceClient(cc grpc.ClientConnInterface) NamespaceClient
type NamespaceServer ¶
type NamespaceServer interface { List(context.Context, *ListRequest) (*ListResponse, error) UpdatePrivate(context.Context, *UpdatePrivateRequest) (*UpdatePrivateResponse, error) SyncMembers(context.Context, *SyncMembersRequest) (*SyncMembersResponse, error) Create(context.Context, *CreateRequest) (*CreateResponse, error) Show(context.Context, *ShowRequest) (*ShowResponse, error) UpdateDesc(context.Context, *UpdateDescRequest) (*UpdateDescResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) IsExists(context.Context, *IsExistsRequest) (*IsExistsResponse, error) Favorite(context.Context, *FavoriteRequest) (*FavoriteResponse, error) // contains filtered or unexported methods }
NamespaceServer is the server API for Namespace service. All implementations must embed UnimplementedNamespaceServer for forward compatibility
type ShowRequest ¶
type ShowRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ShowRequest) Descriptor
deprecated
func (*ShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowRequest.ProtoReflect.Descriptor instead.
func (*ShowRequest) GetId ¶
func (x *ShowRequest) GetId() int64
func (*ShowRequest) ProtoMessage ¶
func (*ShowRequest) ProtoMessage()
func (*ShowRequest) ProtoReflect ¶
func (x *ShowRequest) ProtoReflect() protoreflect.Message
func (*ShowRequest) Reset ¶
func (x *ShowRequest) Reset()
func (*ShowRequest) String ¶
func (x *ShowRequest) String() string
func (*ShowRequest) Validate ¶
func (m *ShowRequest) Validate() error
Validate checks the field values on ShowRequest 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 (*ShowRequest) ValidateAll ¶
func (m *ShowRequest) ValidateAll() error
ValidateAll checks the field values on ShowRequest 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 ShowRequestMultiError, or nil if none found.
type ShowRequestMultiError ¶
type ShowRequestMultiError []error
ShowRequestMultiError is an error wrapping multiple validation errors returned by ShowRequest.ValidateAll() if the designated constraints aren't met.
func (ShowRequestMultiError) AllErrors ¶
func (m ShowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShowRequestMultiError) Error ¶
func (m ShowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShowRequestValidationError ¶
type ShowRequestValidationError struct {
// contains filtered or unexported fields
}
ShowRequestValidationError is the validation error returned by ShowRequest.Validate if the designated constraints aren't met.
func (ShowRequestValidationError) Cause ¶
func (e ShowRequestValidationError) Cause() error
Cause function returns cause value.
func (ShowRequestValidationError) Error ¶
func (e ShowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShowRequestValidationError) ErrorName ¶
func (e ShowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShowRequestValidationError) Field ¶
func (e ShowRequestValidationError) Field() string
Field function returns field value.
func (ShowRequestValidationError) Key ¶
func (e ShowRequestValidationError) Key() bool
Key function returns key value.
func (ShowRequestValidationError) Reason ¶
func (e ShowRequestValidationError) Reason() string
Reason function returns reason value.
type ShowResponse ¶
type ShowResponse struct { Item *types.NamespaceModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*ShowResponse) Descriptor
deprecated
func (*ShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowResponse.ProtoReflect.Descriptor instead.
func (*ShowResponse) GetItem ¶
func (x *ShowResponse) GetItem() *types.NamespaceModel
func (*ShowResponse) ProtoMessage ¶
func (*ShowResponse) ProtoMessage()
func (*ShowResponse) ProtoReflect ¶
func (x *ShowResponse) ProtoReflect() protoreflect.Message
func (*ShowResponse) Reset ¶
func (x *ShowResponse) Reset()
func (*ShowResponse) String ¶
func (x *ShowResponse) String() string
func (*ShowResponse) Validate ¶
func (m *ShowResponse) Validate() error
Validate checks the field values on ShowResponse 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 (*ShowResponse) ValidateAll ¶
func (m *ShowResponse) ValidateAll() error
ValidateAll checks the field values on ShowResponse 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 ShowResponseMultiError, or nil if none found.
type ShowResponseMultiError ¶
type ShowResponseMultiError []error
ShowResponseMultiError is an error wrapping multiple validation errors returned by ShowResponse.ValidateAll() if the designated constraints aren't met.
func (ShowResponseMultiError) AllErrors ¶
func (m ShowResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShowResponseMultiError) Error ¶
func (m ShowResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShowResponseValidationError ¶
type ShowResponseValidationError struct {
// contains filtered or unexported fields
}
ShowResponseValidationError is the validation error returned by ShowResponse.Validate if the designated constraints aren't met.
func (ShowResponseValidationError) Cause ¶
func (e ShowResponseValidationError) Cause() error
Cause function returns cause value.
func (ShowResponseValidationError) Error ¶
func (e ShowResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ShowResponseValidationError) ErrorName ¶
func (e ShowResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ShowResponseValidationError) Field ¶
func (e ShowResponseValidationError) Field() string
Field function returns field value.
func (ShowResponseValidationError) Key ¶
func (e ShowResponseValidationError) Key() bool
Key function returns key value.
func (ShowResponseValidationError) Reason ¶
func (e ShowResponseValidationError) Reason() string
Reason function returns reason value.
type SyncMembersRequest ¶
type SyncMembersRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Emails []string `protobuf:"bytes,2,rep,name=emails,proto3" json:"emails,omitempty"` // contains filtered or unexported fields }
func (*SyncMembersRequest) Descriptor
deprecated
func (*SyncMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncMembersRequest.ProtoReflect.Descriptor instead.
func (*SyncMembersRequest) GetEmails ¶
func (x *SyncMembersRequest) GetEmails() []string
func (*SyncMembersRequest) GetId ¶
func (x *SyncMembersRequest) GetId() int32
func (*SyncMembersRequest) ProtoMessage ¶
func (*SyncMembersRequest) ProtoMessage()
func (*SyncMembersRequest) ProtoReflect ¶
func (x *SyncMembersRequest) ProtoReflect() protoreflect.Message
func (*SyncMembersRequest) Reset ¶
func (x *SyncMembersRequest) Reset()
func (*SyncMembersRequest) String ¶
func (x *SyncMembersRequest) String() string
func (*SyncMembersRequest) Validate ¶
func (m *SyncMembersRequest) Validate() error
Validate checks the field values on SyncMembersRequest 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 (*SyncMembersRequest) ValidateAll ¶
func (m *SyncMembersRequest) ValidateAll() error
ValidateAll checks the field values on SyncMembersRequest 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 SyncMembersRequestMultiError, or nil if none found.
type SyncMembersRequestMultiError ¶
type SyncMembersRequestMultiError []error
SyncMembersRequestMultiError is an error wrapping multiple validation errors returned by SyncMembersRequest.ValidateAll() if the designated constraints aren't met.
func (SyncMembersRequestMultiError) AllErrors ¶
func (m SyncMembersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncMembersRequestMultiError) Error ¶
func (m SyncMembersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncMembersRequestValidationError ¶
type SyncMembersRequestValidationError struct {
// contains filtered or unexported fields
}
SyncMembersRequestValidationError is the validation error returned by SyncMembersRequest.Validate if the designated constraints aren't met.
func (SyncMembersRequestValidationError) Cause ¶
func (e SyncMembersRequestValidationError) Cause() error
Cause function returns cause value.
func (SyncMembersRequestValidationError) Error ¶
func (e SyncMembersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SyncMembersRequestValidationError) ErrorName ¶
func (e SyncMembersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SyncMembersRequestValidationError) Field ¶
func (e SyncMembersRequestValidationError) Field() string
Field function returns field value.
func (SyncMembersRequestValidationError) Key ¶
func (e SyncMembersRequestValidationError) Key() bool
Key function returns key value.
func (SyncMembersRequestValidationError) Reason ¶
func (e SyncMembersRequestValidationError) Reason() string
Reason function returns reason value.
type SyncMembersResponse ¶
type SyncMembersResponse struct { Item *types.NamespaceModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*SyncMembersResponse) Descriptor
deprecated
func (*SyncMembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncMembersResponse.ProtoReflect.Descriptor instead.
func (*SyncMembersResponse) GetItem ¶
func (x *SyncMembersResponse) GetItem() *types.NamespaceModel
func (*SyncMembersResponse) ProtoMessage ¶
func (*SyncMembersResponse) ProtoMessage()
func (*SyncMembersResponse) ProtoReflect ¶
func (x *SyncMembersResponse) ProtoReflect() protoreflect.Message
func (*SyncMembersResponse) Reset ¶
func (x *SyncMembersResponse) Reset()
func (*SyncMembersResponse) String ¶
func (x *SyncMembersResponse) String() string
func (*SyncMembersResponse) Validate ¶
func (m *SyncMembersResponse) Validate() error
Validate checks the field values on SyncMembersResponse 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 (*SyncMembersResponse) ValidateAll ¶
func (m *SyncMembersResponse) ValidateAll() error
ValidateAll checks the field values on SyncMembersResponse 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 SyncMembersResponseMultiError, or nil if none found.
type SyncMembersResponseMultiError ¶
type SyncMembersResponseMultiError []error
SyncMembersResponseMultiError is an error wrapping multiple validation errors returned by SyncMembersResponse.ValidateAll() if the designated constraints aren't met.
func (SyncMembersResponseMultiError) AllErrors ¶
func (m SyncMembersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncMembersResponseMultiError) Error ¶
func (m SyncMembersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncMembersResponseValidationError ¶
type SyncMembersResponseValidationError struct {
// contains filtered or unexported fields
}
SyncMembersResponseValidationError is the validation error returned by SyncMembersResponse.Validate if the designated constraints aren't met.
func (SyncMembersResponseValidationError) Cause ¶
func (e SyncMembersResponseValidationError) Cause() error
Cause function returns cause value.
func (SyncMembersResponseValidationError) Error ¶
func (e SyncMembersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SyncMembersResponseValidationError) ErrorName ¶
func (e SyncMembersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SyncMembersResponseValidationError) Field ¶
func (e SyncMembersResponseValidationError) Field() string
Field function returns field value.
func (SyncMembersResponseValidationError) Key ¶
func (e SyncMembersResponseValidationError) Key() bool
Key function returns key value.
func (SyncMembersResponseValidationError) Reason ¶
func (e SyncMembersResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedNamespaceServer ¶
type UnimplementedNamespaceServer struct { }
UnimplementedNamespaceServer must be embedded to have forward compatible implementations.
func (UnimplementedNamespaceServer) Create ¶
func (UnimplementedNamespaceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedNamespaceServer) Delete ¶
func (UnimplementedNamespaceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedNamespaceServer) Favorite ¶
func (UnimplementedNamespaceServer) Favorite(context.Context, *FavoriteRequest) (*FavoriteResponse, error)
func (UnimplementedNamespaceServer) IsExists ¶
func (UnimplementedNamespaceServer) IsExists(context.Context, *IsExistsRequest) (*IsExistsResponse, error)
func (UnimplementedNamespaceServer) List ¶
func (UnimplementedNamespaceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedNamespaceServer) Show ¶
func (UnimplementedNamespaceServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
func (UnimplementedNamespaceServer) SyncMembers ¶
func (UnimplementedNamespaceServer) SyncMembers(context.Context, *SyncMembersRequest) (*SyncMembersResponse, error)
func (UnimplementedNamespaceServer) UpdateDesc ¶
func (UnimplementedNamespaceServer) UpdateDesc(context.Context, *UpdateDescRequest) (*UpdateDescResponse, error)
func (UnimplementedNamespaceServer) UpdatePrivate ¶
func (UnimplementedNamespaceServer) UpdatePrivate(context.Context, *UpdatePrivateRequest) (*UpdatePrivateResponse, error)
type UnsafeNamespaceServer ¶
type UnsafeNamespaceServer interface {
// contains filtered or unexported methods
}
UnsafeNamespaceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespaceServer will result in compilation errors.
type UpdateDescRequest ¶
type UpdateDescRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*UpdateDescRequest) Descriptor
deprecated
func (*UpdateDescRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDescRequest.ProtoReflect.Descriptor instead.
func (*UpdateDescRequest) GetDesc ¶
func (x *UpdateDescRequest) GetDesc() string
func (*UpdateDescRequest) GetId ¶
func (x *UpdateDescRequest) GetId() int32
func (*UpdateDescRequest) ProtoMessage ¶
func (*UpdateDescRequest) ProtoMessage()
func (*UpdateDescRequest) ProtoReflect ¶
func (x *UpdateDescRequest) ProtoReflect() protoreflect.Message
func (*UpdateDescRequest) Reset ¶
func (x *UpdateDescRequest) Reset()
func (*UpdateDescRequest) String ¶
func (x *UpdateDescRequest) String() string
func (*UpdateDescRequest) Validate ¶
func (m *UpdateDescRequest) Validate() error
Validate checks the field values on UpdateDescRequest 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 (*UpdateDescRequest) ValidateAll ¶
func (m *UpdateDescRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDescRequest 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 UpdateDescRequestMultiError, or nil if none found.
type UpdateDescRequestMultiError ¶
type UpdateDescRequestMultiError []error
UpdateDescRequestMultiError is an error wrapping multiple validation errors returned by UpdateDescRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDescRequestMultiError) AllErrors ¶
func (m UpdateDescRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDescRequestMultiError) Error ¶
func (m UpdateDescRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDescRequestValidationError ¶
type UpdateDescRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDescRequestValidationError is the validation error returned by UpdateDescRequest.Validate if the designated constraints aren't met.
func (UpdateDescRequestValidationError) Cause ¶
func (e UpdateDescRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDescRequestValidationError) Error ¶
func (e UpdateDescRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDescRequestValidationError) ErrorName ¶
func (e UpdateDescRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDescRequestValidationError) Field ¶
func (e UpdateDescRequestValidationError) Field() string
Field function returns field value.
func (UpdateDescRequestValidationError) Key ¶
func (e UpdateDescRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDescRequestValidationError) Reason ¶
func (e UpdateDescRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDescResponse ¶
type UpdateDescResponse struct { Item *types.NamespaceModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*UpdateDescResponse) Descriptor
deprecated
func (*UpdateDescResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDescResponse.ProtoReflect.Descriptor instead.
func (*UpdateDescResponse) GetItem ¶
func (x *UpdateDescResponse) GetItem() *types.NamespaceModel
func (*UpdateDescResponse) ProtoMessage ¶
func (*UpdateDescResponse) ProtoMessage()
func (*UpdateDescResponse) ProtoReflect ¶
func (x *UpdateDescResponse) ProtoReflect() protoreflect.Message
func (*UpdateDescResponse) Reset ¶
func (x *UpdateDescResponse) Reset()
func (*UpdateDescResponse) String ¶
func (x *UpdateDescResponse) String() string
func (*UpdateDescResponse) Validate ¶
func (m *UpdateDescResponse) Validate() error
Validate checks the field values on UpdateDescResponse 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 (*UpdateDescResponse) ValidateAll ¶
func (m *UpdateDescResponse) ValidateAll() error
ValidateAll checks the field values on UpdateDescResponse 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 UpdateDescResponseMultiError, or nil if none found.
type UpdateDescResponseMultiError ¶
type UpdateDescResponseMultiError []error
UpdateDescResponseMultiError is an error wrapping multiple validation errors returned by UpdateDescResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateDescResponseMultiError) AllErrors ¶
func (m UpdateDescResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDescResponseMultiError) Error ¶
func (m UpdateDescResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDescResponseValidationError ¶
type UpdateDescResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateDescResponseValidationError is the validation error returned by UpdateDescResponse.Validate if the designated constraints aren't met.
func (UpdateDescResponseValidationError) Cause ¶
func (e UpdateDescResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateDescResponseValidationError) Error ¶
func (e UpdateDescResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDescResponseValidationError) ErrorName ¶
func (e UpdateDescResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDescResponseValidationError) Field ¶
func (e UpdateDescResponseValidationError) Field() string
Field function returns field value.
func (UpdateDescResponseValidationError) Key ¶
func (e UpdateDescResponseValidationError) Key() bool
Key function returns key value.
func (UpdateDescResponseValidationError) Reason ¶
func (e UpdateDescResponseValidationError) Reason() string
Reason function returns reason value.
type UpdatePrivateRequest ¶
type UpdatePrivateRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*UpdatePrivateRequest) Descriptor
deprecated
func (*UpdatePrivateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePrivateRequest.ProtoReflect.Descriptor instead.
func (*UpdatePrivateRequest) GetId ¶
func (x *UpdatePrivateRequest) GetId() int32
func (*UpdatePrivateRequest) GetPrivate ¶
func (x *UpdatePrivateRequest) GetPrivate() bool
func (*UpdatePrivateRequest) ProtoMessage ¶
func (*UpdatePrivateRequest) ProtoMessage()
func (*UpdatePrivateRequest) ProtoReflect ¶
func (x *UpdatePrivateRequest) ProtoReflect() protoreflect.Message
func (*UpdatePrivateRequest) Reset ¶
func (x *UpdatePrivateRequest) Reset()
func (*UpdatePrivateRequest) String ¶
func (x *UpdatePrivateRequest) String() string
func (*UpdatePrivateRequest) Validate ¶
func (m *UpdatePrivateRequest) Validate() error
Validate checks the field values on UpdatePrivateRequest 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 (*UpdatePrivateRequest) ValidateAll ¶
func (m *UpdatePrivateRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePrivateRequest 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 UpdatePrivateRequestMultiError, or nil if none found.
type UpdatePrivateRequestMultiError ¶
type UpdatePrivateRequestMultiError []error
UpdatePrivateRequestMultiError is an error wrapping multiple validation errors returned by UpdatePrivateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePrivateRequestMultiError) AllErrors ¶
func (m UpdatePrivateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePrivateRequestMultiError) Error ¶
func (m UpdatePrivateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePrivateRequestValidationError ¶
type UpdatePrivateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePrivateRequestValidationError is the validation error returned by UpdatePrivateRequest.Validate if the designated constraints aren't met.
func (UpdatePrivateRequestValidationError) Cause ¶
func (e UpdatePrivateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePrivateRequestValidationError) Error ¶
func (e UpdatePrivateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePrivateRequestValidationError) ErrorName ¶
func (e UpdatePrivateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePrivateRequestValidationError) Field ¶
func (e UpdatePrivateRequestValidationError) Field() string
Field function returns field value.
func (UpdatePrivateRequestValidationError) Key ¶
func (e UpdatePrivateRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePrivateRequestValidationError) Reason ¶
func (e UpdatePrivateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePrivateResponse ¶
type UpdatePrivateResponse struct { Item *types.NamespaceModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*UpdatePrivateResponse) Descriptor
deprecated
func (*UpdatePrivateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePrivateResponse.ProtoReflect.Descriptor instead.
func (*UpdatePrivateResponse) GetItem ¶
func (x *UpdatePrivateResponse) GetItem() *types.NamespaceModel
func (*UpdatePrivateResponse) ProtoMessage ¶
func (*UpdatePrivateResponse) ProtoMessage()
func (*UpdatePrivateResponse) ProtoReflect ¶
func (x *UpdatePrivateResponse) ProtoReflect() protoreflect.Message
func (*UpdatePrivateResponse) Reset ¶
func (x *UpdatePrivateResponse) Reset()
func (*UpdatePrivateResponse) String ¶
func (x *UpdatePrivateResponse) String() string
func (*UpdatePrivateResponse) Validate ¶
func (m *UpdatePrivateResponse) Validate() error
Validate checks the field values on UpdatePrivateResponse 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 (*UpdatePrivateResponse) ValidateAll ¶
func (m *UpdatePrivateResponse) ValidateAll() error
ValidateAll checks the field values on UpdatePrivateResponse 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 UpdatePrivateResponseMultiError, or nil if none found.
type UpdatePrivateResponseMultiError ¶
type UpdatePrivateResponseMultiError []error
UpdatePrivateResponseMultiError is an error wrapping multiple validation errors returned by UpdatePrivateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdatePrivateResponseMultiError) AllErrors ¶
func (m UpdatePrivateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePrivateResponseMultiError) Error ¶
func (m UpdatePrivateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePrivateResponseValidationError ¶
type UpdatePrivateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdatePrivateResponseValidationError is the validation error returned by UpdatePrivateResponse.Validate if the designated constraints aren't met.
func (UpdatePrivateResponseValidationError) Cause ¶
func (e UpdatePrivateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdatePrivateResponseValidationError) Error ¶
func (e UpdatePrivateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePrivateResponseValidationError) ErrorName ¶
func (e UpdatePrivateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePrivateResponseValidationError) Field ¶
func (e UpdatePrivateResponseValidationError) Field() string
Field function returns field value.
func (UpdatePrivateResponseValidationError) Key ¶
func (e UpdatePrivateResponseValidationError) Key() bool
Key function returns key value.
func (UpdatePrivateResponseValidationError) Reason ¶
func (e UpdatePrivateResponseValidationError) Reason() string
Reason function returns reason value.