namespace

package
v5.0.0-beta.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Overview

Package namespace is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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

View Source
var File_namespace_namespace_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (CreateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRequestValidationError) ErrorName

func (e CreateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRequestValidationError) Field

Field function returns field value.

func (CreateRequestValidationError) Key

Key function returns key value.

func (CreateRequestValidationError) Reason

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

Cause function returns cause value.

func (CreateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateResponseValidationError) ErrorName

func (e CreateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CreateResponseValidationError) Field

Field function returns field value.

func (CreateResponseValidationError) Key

Key function returns key value.

func (CreateResponseValidationError) Reason

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

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteResponseValidationError) ErrorName

func (e DeleteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteResponseValidationError) Field

Field function returns field value.

func (DeleteResponseValidationError) Key

Key function returns key value.

func (DeleteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (FavoriteRequestValidationError) Error

Error satisfies the builtin error interface

func (FavoriteRequestValidationError) ErrorName

func (e FavoriteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FavoriteRequestValidationError) Field

Field function returns field value.

func (FavoriteRequestValidationError) Key

Key function returns key value.

func (FavoriteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (FavoriteResponseValidationError) Error

Error satisfies the builtin error interface

func (FavoriteResponseValidationError) ErrorName

ErrorName returns error name.

func (FavoriteResponseValidationError) Field

Field function returns field value.

func (FavoriteResponseValidationError) Key

Key function returns key value.

func (FavoriteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (IsExistsRequestValidationError) Error

Error satisfies the builtin error interface

func (IsExistsRequestValidationError) ErrorName

func (e IsExistsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IsExistsRequestValidationError) Field

Field function returns field value.

func (IsExistsRequestValidationError) Key

Key function returns key value.

func (IsExistsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (IsExistsResponseValidationError) Error

Error satisfies the builtin error interface

func (IsExistsResponseValidationError) ErrorName

ErrorName returns error name.

func (IsExistsResponseValidationError) Field

Field function returns field value.

func (IsExistsResponseValidationError) Key

Key function returns key value.

func (IsExistsResponseValidationError) Reason

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

Cause function returns cause value.

func (ListRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRequestValidationError) ErrorName

func (e ListRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListRequestValidationError) Field

Field function returns field value.

func (ListRequestValidationError) Key

Key function returns key value.

func (ListRequestValidationError) Reason

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

Cause function returns cause value.

func (ListResponseValidationError) Error

Error satisfies the builtin error interface

func (ListResponseValidationError) ErrorName

func (e ListResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ListResponseValidationError) Field

Field function returns field value.

func (ListResponseValidationError) Key

Key function returns key value.

func (ListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ShowRequestValidationError) Error

Error satisfies the builtin error interface

func (ShowRequestValidationError) ErrorName

func (e ShowRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ShowRequestValidationError) Field

Field function returns field value.

func (ShowRequestValidationError) Key

Key function returns key value.

func (ShowRequestValidationError) Reason

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

Cause function returns cause value.

func (ShowResponseValidationError) Error

Error satisfies the builtin error interface

func (ShowResponseValidationError) ErrorName

func (e ShowResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ShowResponseValidationError) Field

Field function returns field value.

func (ShowResponseValidationError) Key

Key function returns key value.

func (ShowResponseValidationError) Reason

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

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

Cause function returns cause value.

func (SyncMembersRequestValidationError) Error

Error satisfies the builtin error interface

func (SyncMembersRequestValidationError) ErrorName

ErrorName returns error name.

func (SyncMembersRequestValidationError) Field

Field function returns field value.

func (SyncMembersRequestValidationError) Key

Key function returns key value.

func (SyncMembersRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (SyncMembersResponseValidationError) Error

Error satisfies the builtin error interface

func (SyncMembersResponseValidationError) ErrorName

ErrorName returns error name.

func (SyncMembersResponseValidationError) Field

Field function returns field value.

func (SyncMembersResponseValidationError) Key

Key function returns key value.

func (SyncMembersResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedNamespaceServer

type UnimplementedNamespaceServer struct {
}

UnimplementedNamespaceServer must be embedded to have forward compatible implementations.

func (UnimplementedNamespaceServer) Create

func (UnimplementedNamespaceServer) Delete

func (UnimplementedNamespaceServer) Favorite

func (UnimplementedNamespaceServer) IsExists

func (UnimplementedNamespaceServer) List

func (UnimplementedNamespaceServer) Show

func (UnimplementedNamespaceServer) SyncMembers

func (UnimplementedNamespaceServer) UpdateDesc

func (UnimplementedNamespaceServer) UpdatePrivate

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

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

Cause function returns cause value.

func (UpdateDescRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDescRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDescRequestValidationError) Field

Field function returns field value.

func (UpdateDescRequestValidationError) Key

Key function returns key value.

func (UpdateDescRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDescResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateDescResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateDescResponseValidationError) Field

Field function returns field value.

func (UpdateDescResponseValidationError) Key

Key function returns key value.

func (UpdateDescResponseValidationError) Reason

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

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

Cause function returns cause value.

func (UpdatePrivateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePrivateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePrivateRequestValidationError) Field

Field function returns field value.

func (UpdatePrivateRequestValidationError) Key

Key function returns key value.

func (UpdatePrivateRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (UpdatePrivateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdatePrivateResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdatePrivateResponseValidationError) Field

Field function returns field value.

func (UpdatePrivateResponseValidationError) Key

Key function returns key value.

func (UpdatePrivateResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL