Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBusinessHTTPServer(s *http.Server, srv BusinessHTTPServer)
- func RegisterBusinessServer(s grpc.ServiceRegistrar, srv BusinessServer)
- type BusinessClient
- type BusinessHTTPClient
- type BusinessHTTPClientImpl
- func (c *BusinessHTTPClientImpl) CreateBusiness(ctx context.Context, in *CreateBusinessRequest, opts ...http.CallOption) (*CreateBusinessReply, error)
- func (c *BusinessHTTPClientImpl) DeleteBusiness(ctx context.Context, in *DeleteBusinessRequest, opts ...http.CallOption) (*DeleteBusinessReply, error)
- func (c *BusinessHTTPClientImpl) ListBusiness(ctx context.Context, in *ListBusinessRequest, opts ...http.CallOption) (*ListBusinessReply, error)
- func (c *BusinessHTTPClientImpl) ListBusinessValue(ctx context.Context, in *ListBusinessValueRequest, opts ...http.CallOption) (*ListBusinessValueReply, error)
- func (c *BusinessHTTPClientImpl) UpdateBusiness(ctx context.Context, in *UpdateBusinessRequest, opts ...http.CallOption) (*UpdateBusinessReply, error)
- func (c *BusinessHTTPClientImpl) UpdateBusinessValue(ctx context.Context, in *UpdateBusinessValueRequest, opts ...http.CallOption) (*UpdateBusinessValueReply, error)
- type BusinessHTTPServer
- type BusinessServer
- type CreateBusinessReply
- func (*CreateBusinessReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBusinessReply) GetId() uint32
- func (*CreateBusinessReply) ProtoMessage()
- func (x *CreateBusinessReply) ProtoReflect() protoreflect.Message
- func (x *CreateBusinessReply) Reset()
- func (x *CreateBusinessReply) String() string
- func (m *CreateBusinessReply) Validate() error
- func (m *CreateBusinessReply) ValidateAll() error
- type CreateBusinessReplyMultiError
- type CreateBusinessReplyValidationError
- func (e CreateBusinessReplyValidationError) Cause() error
- func (e CreateBusinessReplyValidationError) Error() string
- func (e CreateBusinessReplyValidationError) ErrorName() string
- func (e CreateBusinessReplyValidationError) Field() string
- func (e CreateBusinessReplyValidationError) Key() bool
- func (e CreateBusinessReplyValidationError) Reason() string
- type CreateBusinessRequest
- func (*CreateBusinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBusinessRequest) GetDescription() string
- func (x *CreateBusinessRequest) GetKeyword() string
- func (x *CreateBusinessRequest) GetServerId() uint32
- func (x *CreateBusinessRequest) GetType() string
- func (*CreateBusinessRequest) ProtoMessage()
- func (x *CreateBusinessRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBusinessRequest) Reset()
- func (x *CreateBusinessRequest) String() string
- func (m *CreateBusinessRequest) Validate() error
- func (m *CreateBusinessRequest) ValidateAll() error
- type CreateBusinessRequestMultiError
- type CreateBusinessRequestValidationError
- func (e CreateBusinessRequestValidationError) Cause() error
- func (e CreateBusinessRequestValidationError) Error() string
- func (e CreateBusinessRequestValidationError) ErrorName() string
- func (e CreateBusinessRequestValidationError) Field() string
- func (e CreateBusinessRequestValidationError) Key() bool
- func (e CreateBusinessRequestValidationError) Reason() string
- type DeleteBusinessReply
- func (*DeleteBusinessReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteBusinessReply) ProtoMessage()
- func (x *DeleteBusinessReply) ProtoReflect() protoreflect.Message
- func (x *DeleteBusinessReply) Reset()
- func (x *DeleteBusinessReply) String() string
- func (m *DeleteBusinessReply) Validate() error
- func (m *DeleteBusinessReply) ValidateAll() error
- type DeleteBusinessReplyMultiError
- type DeleteBusinessReplyValidationError
- func (e DeleteBusinessReplyValidationError) Cause() error
- func (e DeleteBusinessReplyValidationError) Error() string
- func (e DeleteBusinessReplyValidationError) ErrorName() string
- func (e DeleteBusinessReplyValidationError) Field() string
- func (e DeleteBusinessReplyValidationError) Key() bool
- func (e DeleteBusinessReplyValidationError) Reason() string
- type DeleteBusinessRequest
- func (*DeleteBusinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBusinessRequest) GetId() uint32
- func (*DeleteBusinessRequest) ProtoMessage()
- func (x *DeleteBusinessRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBusinessRequest) Reset()
- func (x *DeleteBusinessRequest) String() string
- func (m *DeleteBusinessRequest) Validate() error
- func (m *DeleteBusinessRequest) ValidateAll() error
- type DeleteBusinessRequestMultiError
- type DeleteBusinessRequestValidationError
- func (e DeleteBusinessRequestValidationError) Cause() error
- func (e DeleteBusinessRequestValidationError) Error() string
- func (e DeleteBusinessRequestValidationError) ErrorName() string
- func (e DeleteBusinessRequestValidationError) Field() string
- func (e DeleteBusinessRequestValidationError) Key() bool
- func (e DeleteBusinessRequestValidationError) Reason() string
- type ListBusinessReply
- func (*ListBusinessReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessReply) GetList() []*ListBusinessReply_Business
- func (x *ListBusinessReply) GetTotal() uint32
- func (*ListBusinessReply) ProtoMessage()
- func (x *ListBusinessReply) ProtoReflect() protoreflect.Message
- func (x *ListBusinessReply) Reset()
- func (x *ListBusinessReply) String() string
- func (m *ListBusinessReply) Validate() error
- func (m *ListBusinessReply) ValidateAll() error
- type ListBusinessReplyMultiError
- type ListBusinessReplyValidationError
- func (e ListBusinessReplyValidationError) Cause() error
- func (e ListBusinessReplyValidationError) Error() string
- func (e ListBusinessReplyValidationError) ErrorName() string
- func (e ListBusinessReplyValidationError) Field() string
- func (e ListBusinessReplyValidationError) Key() bool
- func (e ListBusinessReplyValidationError) Reason() string
- type ListBusinessReply_Business
- func (*ListBusinessReply_Business) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessReply_Business) GetCreatedAt() uint32
- func (x *ListBusinessReply_Business) GetDescription() string
- func (x *ListBusinessReply_Business) GetId() uint32
- func (x *ListBusinessReply_Business) GetKeyword() string
- func (x *ListBusinessReply_Business) GetServerId() uint32
- func (x *ListBusinessReply_Business) GetType() string
- func (x *ListBusinessReply_Business) GetUpdatedAt() uint32
- func (*ListBusinessReply_Business) ProtoMessage()
- func (x *ListBusinessReply_Business) ProtoReflect() protoreflect.Message
- func (x *ListBusinessReply_Business) Reset()
- func (x *ListBusinessReply_Business) String() string
- func (m *ListBusinessReply_Business) Validate() error
- func (m *ListBusinessReply_Business) ValidateAll() error
- type ListBusinessReply_BusinessMultiError
- type ListBusinessReply_BusinessValidationError
- func (e ListBusinessReply_BusinessValidationError) Cause() error
- func (e ListBusinessReply_BusinessValidationError) Error() string
- func (e ListBusinessReply_BusinessValidationError) ErrorName() string
- func (e ListBusinessReply_BusinessValidationError) Field() string
- func (e ListBusinessReply_BusinessValidationError) Key() bool
- func (e ListBusinessReply_BusinessValidationError) Reason() string
- type ListBusinessRequest
- func (*ListBusinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessRequest) GetKeyword() string
- func (x *ListBusinessRequest) GetOrder() string
- func (x *ListBusinessRequest) GetOrderBy() string
- func (x *ListBusinessRequest) GetPage() uint32
- func (x *ListBusinessRequest) GetPageSize() uint32
- func (x *ListBusinessRequest) GetServerId() uint32
- func (*ListBusinessRequest) ProtoMessage()
- func (x *ListBusinessRequest) ProtoReflect() protoreflect.Message
- func (x *ListBusinessRequest) Reset()
- func (x *ListBusinessRequest) String() string
- func (m *ListBusinessRequest) Validate() error
- func (m *ListBusinessRequest) ValidateAll() error
- type ListBusinessRequestMultiError
- type ListBusinessRequestValidationError
- func (e ListBusinessRequestValidationError) Cause() error
- func (e ListBusinessRequestValidationError) Error() string
- func (e ListBusinessRequestValidationError) ErrorName() string
- func (e ListBusinessRequestValidationError) Field() string
- func (e ListBusinessRequestValidationError) Key() bool
- func (e ListBusinessRequestValidationError) Reason() string
- type ListBusinessValueReply
- func (*ListBusinessValueReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessValueReply) GetList() []*ListBusinessValueReply_BusinessValue
- func (x *ListBusinessValueReply) GetTotal() uint32
- func (*ListBusinessValueReply) ProtoMessage()
- func (x *ListBusinessValueReply) ProtoReflect() protoreflect.Message
- func (x *ListBusinessValueReply) Reset()
- func (x *ListBusinessValueReply) String() string
- func (m *ListBusinessValueReply) Validate() error
- func (m *ListBusinessValueReply) ValidateAll() error
- type ListBusinessValueReplyMultiError
- type ListBusinessValueReplyValidationError
- func (e ListBusinessValueReplyValidationError) Cause() error
- func (e ListBusinessValueReplyValidationError) Error() string
- func (e ListBusinessValueReplyValidationError) ErrorName() string
- func (e ListBusinessValueReplyValidationError) Field() string
- func (e ListBusinessValueReplyValidationError) Key() bool
- func (e ListBusinessValueReplyValidationError) Reason() string
- type ListBusinessValueReply_BusinessValue
- func (*ListBusinessValueReply_BusinessValue) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessValueReply_BusinessValue) GetBusinessId() uint32
- func (x *ListBusinessValueReply_BusinessValue) GetCreatedAt() uint32
- func (x *ListBusinessValueReply_BusinessValue) GetEnvId() uint32
- func (x *ListBusinessValueReply_BusinessValue) GetId() uint32
- func (x *ListBusinessValueReply_BusinessValue) GetUpdatedAt() uint32
- func (x *ListBusinessValueReply_BusinessValue) GetValue() string
- func (*ListBusinessValueReply_BusinessValue) ProtoMessage()
- func (x *ListBusinessValueReply_BusinessValue) ProtoReflect() protoreflect.Message
- func (x *ListBusinessValueReply_BusinessValue) Reset()
- func (x *ListBusinessValueReply_BusinessValue) String() string
- func (m *ListBusinessValueReply_BusinessValue) Validate() error
- func (m *ListBusinessValueReply_BusinessValue) ValidateAll() error
- type ListBusinessValueReply_BusinessValueMultiError
- type ListBusinessValueReply_BusinessValueValidationError
- func (e ListBusinessValueReply_BusinessValueValidationError) Cause() error
- func (e ListBusinessValueReply_BusinessValueValidationError) Error() string
- func (e ListBusinessValueReply_BusinessValueValidationError) ErrorName() string
- func (e ListBusinessValueReply_BusinessValueValidationError) Field() string
- func (e ListBusinessValueReply_BusinessValueValidationError) Key() bool
- func (e ListBusinessValueReply_BusinessValueValidationError) Reason() string
- type ListBusinessValueRequest
- func (*ListBusinessValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBusinessValueRequest) GetBusinessId() uint32
- func (*ListBusinessValueRequest) ProtoMessage()
- func (x *ListBusinessValueRequest) ProtoReflect() protoreflect.Message
- func (x *ListBusinessValueRequest) Reset()
- func (x *ListBusinessValueRequest) String() string
- func (m *ListBusinessValueRequest) Validate() error
- func (m *ListBusinessValueRequest) ValidateAll() error
- type ListBusinessValueRequestMultiError
- type ListBusinessValueRequestValidationError
- func (e ListBusinessValueRequestValidationError) Cause() error
- func (e ListBusinessValueRequestValidationError) Error() string
- func (e ListBusinessValueRequestValidationError) ErrorName() string
- func (e ListBusinessValueRequestValidationError) Field() string
- func (e ListBusinessValueRequestValidationError) Key() bool
- func (e ListBusinessValueRequestValidationError) Reason() string
- type UnimplementedBusinessServer
- func (UnimplementedBusinessServer) CreateBusiness(context.Context, *CreateBusinessRequest) (*CreateBusinessReply, error)
- func (UnimplementedBusinessServer) DeleteBusiness(context.Context, *DeleteBusinessRequest) (*DeleteBusinessReply, error)
- func (UnimplementedBusinessServer) ListBusiness(context.Context, *ListBusinessRequest) (*ListBusinessReply, error)
- func (UnimplementedBusinessServer) ListBusinessValue(context.Context, *ListBusinessValueRequest) (*ListBusinessValueReply, error)
- func (UnimplementedBusinessServer) UpdateBusiness(context.Context, *UpdateBusinessRequest) (*UpdateBusinessReply, error)
- func (UnimplementedBusinessServer) UpdateBusinessValue(context.Context, *UpdateBusinessValueRequest) (*UpdateBusinessValueReply, error)
- type UnsafeBusinessServer
- type UpdateBusinessReply
- func (*UpdateBusinessReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateBusinessReply) ProtoMessage()
- func (x *UpdateBusinessReply) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessReply) Reset()
- func (x *UpdateBusinessReply) String() string
- func (m *UpdateBusinessReply) Validate() error
- func (m *UpdateBusinessReply) ValidateAll() error
- type UpdateBusinessReplyMultiError
- type UpdateBusinessReplyValidationError
- func (e UpdateBusinessReplyValidationError) Cause() error
- func (e UpdateBusinessReplyValidationError) Error() string
- func (e UpdateBusinessReplyValidationError) ErrorName() string
- func (e UpdateBusinessReplyValidationError) Field() string
- func (e UpdateBusinessReplyValidationError) Key() bool
- func (e UpdateBusinessReplyValidationError) Reason() string
- type UpdateBusinessRequest
- func (*UpdateBusinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessRequest) GetDescription() string
- func (x *UpdateBusinessRequest) GetId() uint32
- func (x *UpdateBusinessRequest) GetKeyword() string
- func (x *UpdateBusinessRequest) GetType() string
- func (*UpdateBusinessRequest) ProtoMessage()
- func (x *UpdateBusinessRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessRequest) Reset()
- func (x *UpdateBusinessRequest) String() string
- func (m *UpdateBusinessRequest) Validate() error
- func (m *UpdateBusinessRequest) ValidateAll() error
- type UpdateBusinessRequestMultiError
- type UpdateBusinessRequestValidationError
- func (e UpdateBusinessRequestValidationError) Cause() error
- func (e UpdateBusinessRequestValidationError) Error() string
- func (e UpdateBusinessRequestValidationError) ErrorName() string
- func (e UpdateBusinessRequestValidationError) Field() string
- func (e UpdateBusinessRequestValidationError) Key() bool
- func (e UpdateBusinessRequestValidationError) Reason() string
- type UpdateBusinessValueReply
- func (*UpdateBusinessValueReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateBusinessValueReply) ProtoMessage()
- func (x *UpdateBusinessValueReply) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessValueReply) Reset()
- func (x *UpdateBusinessValueReply) String() string
- func (m *UpdateBusinessValueReply) Validate() error
- func (m *UpdateBusinessValueReply) ValidateAll() error
- type UpdateBusinessValueReplyMultiError
- type UpdateBusinessValueReplyValidationError
- func (e UpdateBusinessValueReplyValidationError) Cause() error
- func (e UpdateBusinessValueReplyValidationError) Error() string
- func (e UpdateBusinessValueReplyValidationError) ErrorName() string
- func (e UpdateBusinessValueReplyValidationError) Field() string
- func (e UpdateBusinessValueReplyValidationError) Key() bool
- func (e UpdateBusinessValueReplyValidationError) Reason() string
- type UpdateBusinessValueRequest
- func (*UpdateBusinessValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessValueRequest) GetBusinessId() uint32
- func (x *UpdateBusinessValueRequest) GetList() []*UpdateBusinessValueRequest_Value
- func (*UpdateBusinessValueRequest) ProtoMessage()
- func (x *UpdateBusinessValueRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessValueRequest) Reset()
- func (x *UpdateBusinessValueRequest) String() string
- func (m *UpdateBusinessValueRequest) Validate() error
- func (m *UpdateBusinessValueRequest) ValidateAll() error
- type UpdateBusinessValueRequestMultiError
- type UpdateBusinessValueRequestValidationError
- func (e UpdateBusinessValueRequestValidationError) Cause() error
- func (e UpdateBusinessValueRequestValidationError) Error() string
- func (e UpdateBusinessValueRequestValidationError) ErrorName() string
- func (e UpdateBusinessValueRequestValidationError) Field() string
- func (e UpdateBusinessValueRequestValidationError) Key() bool
- func (e UpdateBusinessValueRequestValidationError) Reason() string
- type UpdateBusinessValueRequest_Value
- func (*UpdateBusinessValueRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessValueRequest_Value) GetEnvId() uint32
- func (x *UpdateBusinessValueRequest_Value) GetValue() string
- func (*UpdateBusinessValueRequest_Value) ProtoMessage()
- func (x *UpdateBusinessValueRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessValueRequest_Value) Reset()
- func (x *UpdateBusinessValueRequest_Value) String() string
- func (m *UpdateBusinessValueRequest_Value) Validate() error
- func (m *UpdateBusinessValueRequest_Value) ValidateAll() error
- type UpdateBusinessValueRequest_ValueMultiError
- type UpdateBusinessValueRequest_ValueValidationError
- func (e UpdateBusinessValueRequest_ValueValidationError) Cause() error
- func (e UpdateBusinessValueRequest_ValueValidationError) Error() string
- func (e UpdateBusinessValueRequest_ValueValidationError) ErrorName() string
- func (e UpdateBusinessValueRequest_ValueValidationError) Field() string
- func (e UpdateBusinessValueRequest_ValueValidationError) Key() bool
- func (e UpdateBusinessValueRequest_ValueValidationError) Reason() string
Constants ¶
const ( Business_ListBusiness_FullMethodName = "/configure.api.configure.business.v1.Business/ListBusiness" Business_CreateBusiness_FullMethodName = "/configure.api.configure.business.v1.Business/CreateBusiness" Business_UpdateBusiness_FullMethodName = "/configure.api.configure.business.v1.Business/UpdateBusiness" Business_DeleteBusiness_FullMethodName = "/configure.api.configure.business.v1.Business/DeleteBusiness" Business_ListBusinessValue_FullMethodName = "/configure.api.configure.business.v1.Business/ListBusinessValue" Business_UpdateBusinessValue_FullMethodName = "/configure.api.configure.business.v1.Business/UpdateBusinessValue" )
const OperationBusinessCreateBusiness = "/configure.api.configure.business.v1.Business/CreateBusiness"
const OperationBusinessDeleteBusiness = "/configure.api.configure.business.v1.Business/DeleteBusiness"
const OperationBusinessListBusiness = "/configure.api.configure.business.v1.Business/ListBusiness"
const OperationBusinessListBusinessValue = "/configure.api.configure.business.v1.Business/ListBusinessValue"
const OperationBusinessUpdateBusiness = "/configure.api.configure.business.v1.Business/UpdateBusiness"
const OperationBusinessUpdateBusinessValue = "/configure.api.configure.business.v1.Business/UpdateBusinessValue"
Variables ¶
var Business_ServiceDesc = grpc.ServiceDesc{ ServiceName: "configure.api.configure.business.v1.Business", HandlerType: (*BusinessServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListBusiness", Handler: _Business_ListBusiness_Handler, }, { MethodName: "CreateBusiness", Handler: _Business_CreateBusiness_Handler, }, { MethodName: "UpdateBusiness", Handler: _Business_UpdateBusiness_Handler, }, { MethodName: "DeleteBusiness", Handler: _Business_DeleteBusiness_Handler, }, { MethodName: "ListBusinessValue", Handler: _Business_ListBusinessValue_Handler, }, { MethodName: "UpdateBusinessValue", Handler: _Business_UpdateBusinessValue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/configure/business/configure_business_service.proto", }
Business_ServiceDesc is the grpc.ServiceDesc for Business service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_configure_business_configure_business_proto protoreflect.FileDescriptor
var File_api_configure_business_configure_business_service_proto protoreflect.FileDescriptor
var File_api_configure_business_configure_business_value_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBusinessHTTPServer ¶
func RegisterBusinessHTTPServer(s *http.Server, srv BusinessHTTPServer)
func RegisterBusinessServer ¶
func RegisterBusinessServer(s grpc.ServiceRegistrar, srv BusinessServer)
Types ¶
type BusinessClient ¶
type BusinessClient interface { // ListBusiness 获取业务配置信息列表 ListBusiness(ctx context.Context, in *ListBusinessRequest, opts ...grpc.CallOption) (*ListBusinessReply, error) // CreateBusiness 创建业务配置信息 CreateBusiness(ctx context.Context, in *CreateBusinessRequest, opts ...grpc.CallOption) (*CreateBusinessReply, error) // UpdateBusiness 更新业务配置信息 UpdateBusiness(ctx context.Context, in *UpdateBusinessRequest, opts ...grpc.CallOption) (*UpdateBusinessReply, error) // DeleteBusiness 删除业务配置信息 DeleteBusiness(ctx context.Context, in *DeleteBusinessRequest, opts ...grpc.CallOption) (*DeleteBusinessReply, error) // ListBusinessValue 获取业务配置值信息列表 ListBusinessValue(ctx context.Context, in *ListBusinessValueRequest, opts ...grpc.CallOption) (*ListBusinessValueReply, error) // UpdateBusinessValue 更新业务配置值信息 UpdateBusinessValue(ctx context.Context, in *UpdateBusinessValueRequest, opts ...grpc.CallOption) (*UpdateBusinessValueReply, error) }
BusinessClient is the client API for Business 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 NewBusinessClient ¶
func NewBusinessClient(cc grpc.ClientConnInterface) BusinessClient
type BusinessHTTPClient ¶
type BusinessHTTPClient interface { CreateBusiness(ctx context.Context, req *CreateBusinessRequest, opts ...http.CallOption) (rsp *CreateBusinessReply, err error) DeleteBusiness(ctx context.Context, req *DeleteBusinessRequest, opts ...http.CallOption) (rsp *DeleteBusinessReply, err error) ListBusiness(ctx context.Context, req *ListBusinessRequest, opts ...http.CallOption) (rsp *ListBusinessReply, err error) ListBusinessValue(ctx context.Context, req *ListBusinessValueRequest, opts ...http.CallOption) (rsp *ListBusinessValueReply, err error) UpdateBusiness(ctx context.Context, req *UpdateBusinessRequest, opts ...http.CallOption) (rsp *UpdateBusinessReply, err error) UpdateBusinessValue(ctx context.Context, req *UpdateBusinessValueRequest, opts ...http.CallOption) (rsp *UpdateBusinessValueReply, err error) }
func NewBusinessHTTPClient ¶
func NewBusinessHTTPClient(client *http.Client) BusinessHTTPClient
type BusinessHTTPClientImpl ¶
type BusinessHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*BusinessHTTPClientImpl) CreateBusiness ¶
func (c *BusinessHTTPClientImpl) CreateBusiness(ctx context.Context, in *CreateBusinessRequest, opts ...http.CallOption) (*CreateBusinessReply, error)
func (*BusinessHTTPClientImpl) DeleteBusiness ¶
func (c *BusinessHTTPClientImpl) DeleteBusiness(ctx context.Context, in *DeleteBusinessRequest, opts ...http.CallOption) (*DeleteBusinessReply, error)
func (*BusinessHTTPClientImpl) ListBusiness ¶
func (c *BusinessHTTPClientImpl) ListBusiness(ctx context.Context, in *ListBusinessRequest, opts ...http.CallOption) (*ListBusinessReply, error)
func (*BusinessHTTPClientImpl) ListBusinessValue ¶
func (c *BusinessHTTPClientImpl) ListBusinessValue(ctx context.Context, in *ListBusinessValueRequest, opts ...http.CallOption) (*ListBusinessValueReply, error)
func (*BusinessHTTPClientImpl) UpdateBusiness ¶
func (c *BusinessHTTPClientImpl) UpdateBusiness(ctx context.Context, in *UpdateBusinessRequest, opts ...http.CallOption) (*UpdateBusinessReply, error)
func (*BusinessHTTPClientImpl) UpdateBusinessValue ¶
func (c *BusinessHTTPClientImpl) UpdateBusinessValue(ctx context.Context, in *UpdateBusinessValueRequest, opts ...http.CallOption) (*UpdateBusinessValueReply, error)
type BusinessHTTPServer ¶
type BusinessHTTPServer interface { // CreateBusiness CreateBusiness 创建业务配置信息 CreateBusiness(context.Context, *CreateBusinessRequest) (*CreateBusinessReply, error) // DeleteBusiness DeleteBusiness 删除业务配置信息 DeleteBusiness(context.Context, *DeleteBusinessRequest) (*DeleteBusinessReply, error) // ListBusiness ListBusiness 获取业务配置信息列表 ListBusiness(context.Context, *ListBusinessRequest) (*ListBusinessReply, error) // ListBusinessValue ListBusinessValue 获取业务配置值信息列表 ListBusinessValue(context.Context, *ListBusinessValueRequest) (*ListBusinessValueReply, error) // UpdateBusiness UpdateBusiness 更新业务配置信息 UpdateBusiness(context.Context, *UpdateBusinessRequest) (*UpdateBusinessReply, error) // UpdateBusinessValue UpdateBusinessValue 更新业务配置值信息 UpdateBusinessValue(context.Context, *UpdateBusinessValueRequest) (*UpdateBusinessValueReply, error) }
type BusinessServer ¶
type BusinessServer interface { // ListBusiness 获取业务配置信息列表 ListBusiness(context.Context, *ListBusinessRequest) (*ListBusinessReply, error) // CreateBusiness 创建业务配置信息 CreateBusiness(context.Context, *CreateBusinessRequest) (*CreateBusinessReply, error) // UpdateBusiness 更新业务配置信息 UpdateBusiness(context.Context, *UpdateBusinessRequest) (*UpdateBusinessReply, error) // DeleteBusiness 删除业务配置信息 DeleteBusiness(context.Context, *DeleteBusinessRequest) (*DeleteBusinessReply, error) // ListBusinessValue 获取业务配置值信息列表 ListBusinessValue(context.Context, *ListBusinessValueRequest) (*ListBusinessValueReply, error) // UpdateBusinessValue 更新业务配置值信息 UpdateBusinessValue(context.Context, *UpdateBusinessValueRequest) (*UpdateBusinessValueReply, error) // contains filtered or unexported methods }
BusinessServer is the server API for Business service. All implementations must embed UnimplementedBusinessServer for forward compatibility
type CreateBusinessReply ¶
type CreateBusinessReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateBusinessReply) Descriptor
deprecated
func (*CreateBusinessReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateBusinessReply.ProtoReflect.Descriptor instead.
func (*CreateBusinessReply) GetId ¶
func (x *CreateBusinessReply) GetId() uint32
func (*CreateBusinessReply) ProtoMessage ¶
func (*CreateBusinessReply) ProtoMessage()
func (*CreateBusinessReply) ProtoReflect ¶
func (x *CreateBusinessReply) ProtoReflect() protoreflect.Message
func (*CreateBusinessReply) Reset ¶
func (x *CreateBusinessReply) Reset()
func (*CreateBusinessReply) String ¶
func (x *CreateBusinessReply) String() string
func (*CreateBusinessReply) Validate ¶
func (m *CreateBusinessReply) Validate() error
Validate checks the field values on CreateBusinessReply 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 (*CreateBusinessReply) ValidateAll ¶
func (m *CreateBusinessReply) ValidateAll() error
ValidateAll checks the field values on CreateBusinessReply 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 CreateBusinessReplyMultiError, or nil if none found.
type CreateBusinessReplyMultiError ¶
type CreateBusinessReplyMultiError []error
CreateBusinessReplyMultiError is an error wrapping multiple validation errors returned by CreateBusinessReply.ValidateAll() if the designated constraints aren't met.
func (CreateBusinessReplyMultiError) AllErrors ¶
func (m CreateBusinessReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBusinessReplyMultiError) Error ¶
func (m CreateBusinessReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBusinessReplyValidationError ¶
type CreateBusinessReplyValidationError struct {
// contains filtered or unexported fields
}
CreateBusinessReplyValidationError is the validation error returned by CreateBusinessReply.Validate if the designated constraints aren't met.
func (CreateBusinessReplyValidationError) Cause ¶
func (e CreateBusinessReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateBusinessReplyValidationError) Error ¶
func (e CreateBusinessReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBusinessReplyValidationError) ErrorName ¶
func (e CreateBusinessReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBusinessReplyValidationError) Field ¶
func (e CreateBusinessReplyValidationError) Field() string
Field function returns field value.
func (CreateBusinessReplyValidationError) Key ¶
func (e CreateBusinessReplyValidationError) Key() bool
Key function returns key value.
func (CreateBusinessReplyValidationError) Reason ¶
func (e CreateBusinessReplyValidationError) Reason() string
Reason function returns reason value.
type CreateBusinessRequest ¶
type CreateBusinessRequest struct { ServerId uint32 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateBusinessRequest) Descriptor
deprecated
func (*CreateBusinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBusinessRequest.ProtoReflect.Descriptor instead.
func (*CreateBusinessRequest) GetDescription ¶
func (x *CreateBusinessRequest) GetDescription() string
func (*CreateBusinessRequest) GetKeyword ¶
func (x *CreateBusinessRequest) GetKeyword() string
func (*CreateBusinessRequest) GetServerId ¶
func (x *CreateBusinessRequest) GetServerId() uint32
func (*CreateBusinessRequest) GetType ¶
func (x *CreateBusinessRequest) GetType() string
func (*CreateBusinessRequest) ProtoMessage ¶
func (*CreateBusinessRequest) ProtoMessage()
func (*CreateBusinessRequest) ProtoReflect ¶
func (x *CreateBusinessRequest) ProtoReflect() protoreflect.Message
func (*CreateBusinessRequest) Reset ¶
func (x *CreateBusinessRequest) Reset()
func (*CreateBusinessRequest) String ¶
func (x *CreateBusinessRequest) String() string
func (*CreateBusinessRequest) Validate ¶
func (m *CreateBusinessRequest) Validate() error
Validate checks the field values on CreateBusinessRequest 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 (*CreateBusinessRequest) ValidateAll ¶
func (m *CreateBusinessRequest) ValidateAll() error
ValidateAll checks the field values on CreateBusinessRequest 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 CreateBusinessRequestMultiError, or nil if none found.
type CreateBusinessRequestMultiError ¶
type CreateBusinessRequestMultiError []error
CreateBusinessRequestMultiError is an error wrapping multiple validation errors returned by CreateBusinessRequest.ValidateAll() if the designated constraints aren't met.
func (CreateBusinessRequestMultiError) AllErrors ¶
func (m CreateBusinessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBusinessRequestMultiError) Error ¶
func (m CreateBusinessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBusinessRequestValidationError ¶
type CreateBusinessRequestValidationError struct {
// contains filtered or unexported fields
}
CreateBusinessRequestValidationError is the validation error returned by CreateBusinessRequest.Validate if the designated constraints aren't met.
func (CreateBusinessRequestValidationError) Cause ¶
func (e CreateBusinessRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateBusinessRequestValidationError) Error ¶
func (e CreateBusinessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBusinessRequestValidationError) ErrorName ¶
func (e CreateBusinessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBusinessRequestValidationError) Field ¶
func (e CreateBusinessRequestValidationError) Field() string
Field function returns field value.
func (CreateBusinessRequestValidationError) Key ¶
func (e CreateBusinessRequestValidationError) Key() bool
Key function returns key value.
func (CreateBusinessRequestValidationError) Reason ¶
func (e CreateBusinessRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteBusinessReply ¶
type DeleteBusinessReply struct {
// contains filtered or unexported fields
}
func (*DeleteBusinessReply) Descriptor
deprecated
func (*DeleteBusinessReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBusinessReply.ProtoReflect.Descriptor instead.
func (*DeleteBusinessReply) ProtoMessage ¶
func (*DeleteBusinessReply) ProtoMessage()
func (*DeleteBusinessReply) ProtoReflect ¶
func (x *DeleteBusinessReply) ProtoReflect() protoreflect.Message
func (*DeleteBusinessReply) Reset ¶
func (x *DeleteBusinessReply) Reset()
func (*DeleteBusinessReply) String ¶
func (x *DeleteBusinessReply) String() string
func (*DeleteBusinessReply) Validate ¶
func (m *DeleteBusinessReply) Validate() error
Validate checks the field values on DeleteBusinessReply 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 (*DeleteBusinessReply) ValidateAll ¶
func (m *DeleteBusinessReply) ValidateAll() error
ValidateAll checks the field values on DeleteBusinessReply 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 DeleteBusinessReplyMultiError, or nil if none found.
type DeleteBusinessReplyMultiError ¶
type DeleteBusinessReplyMultiError []error
DeleteBusinessReplyMultiError is an error wrapping multiple validation errors returned by DeleteBusinessReply.ValidateAll() if the designated constraints aren't met.
func (DeleteBusinessReplyMultiError) AllErrors ¶
func (m DeleteBusinessReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteBusinessReplyMultiError) Error ¶
func (m DeleteBusinessReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteBusinessReplyValidationError ¶
type DeleteBusinessReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteBusinessReplyValidationError is the validation error returned by DeleteBusinessReply.Validate if the designated constraints aren't met.
func (DeleteBusinessReplyValidationError) Cause ¶
func (e DeleteBusinessReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteBusinessReplyValidationError) Error ¶
func (e DeleteBusinessReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteBusinessReplyValidationError) ErrorName ¶
func (e DeleteBusinessReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteBusinessReplyValidationError) Field ¶
func (e DeleteBusinessReplyValidationError) Field() string
Field function returns field value.
func (DeleteBusinessReplyValidationError) Key ¶
func (e DeleteBusinessReplyValidationError) Key() bool
Key function returns key value.
func (DeleteBusinessReplyValidationError) Reason ¶
func (e DeleteBusinessReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteBusinessRequest ¶
type DeleteBusinessRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteBusinessRequest) Descriptor
deprecated
func (*DeleteBusinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBusinessRequest.ProtoReflect.Descriptor instead.
func (*DeleteBusinessRequest) GetId ¶
func (x *DeleteBusinessRequest) GetId() uint32
func (*DeleteBusinessRequest) ProtoMessage ¶
func (*DeleteBusinessRequest) ProtoMessage()
func (*DeleteBusinessRequest) ProtoReflect ¶
func (x *DeleteBusinessRequest) ProtoReflect() protoreflect.Message
func (*DeleteBusinessRequest) Reset ¶
func (x *DeleteBusinessRequest) Reset()
func (*DeleteBusinessRequest) String ¶
func (x *DeleteBusinessRequest) String() string
func (*DeleteBusinessRequest) Validate ¶
func (m *DeleteBusinessRequest) Validate() error
Validate checks the field values on DeleteBusinessRequest 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 (*DeleteBusinessRequest) ValidateAll ¶
func (m *DeleteBusinessRequest) ValidateAll() error
ValidateAll checks the field values on DeleteBusinessRequest 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 DeleteBusinessRequestMultiError, or nil if none found.
type DeleteBusinessRequestMultiError ¶
type DeleteBusinessRequestMultiError []error
DeleteBusinessRequestMultiError is an error wrapping multiple validation errors returned by DeleteBusinessRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteBusinessRequestMultiError) AllErrors ¶
func (m DeleteBusinessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteBusinessRequestMultiError) Error ¶
func (m DeleteBusinessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteBusinessRequestValidationError ¶
type DeleteBusinessRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteBusinessRequestValidationError is the validation error returned by DeleteBusinessRequest.Validate if the designated constraints aren't met.
func (DeleteBusinessRequestValidationError) Cause ¶
func (e DeleteBusinessRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteBusinessRequestValidationError) Error ¶
func (e DeleteBusinessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteBusinessRequestValidationError) ErrorName ¶
func (e DeleteBusinessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteBusinessRequestValidationError) Field ¶
func (e DeleteBusinessRequestValidationError) Field() string
Field function returns field value.
func (DeleteBusinessRequestValidationError) Key ¶
func (e DeleteBusinessRequestValidationError) Key() bool
Key function returns key value.
func (DeleteBusinessRequestValidationError) Reason ¶
func (e DeleteBusinessRequestValidationError) Reason() string
Reason function returns reason value.
type ListBusinessReply ¶
type ListBusinessReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListBusinessReply_Business `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessReply) Descriptor
deprecated
func (*ListBusinessReply) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessReply.ProtoReflect.Descriptor instead.
func (*ListBusinessReply) GetList ¶
func (x *ListBusinessReply) GetList() []*ListBusinessReply_Business
func (*ListBusinessReply) GetTotal ¶
func (x *ListBusinessReply) GetTotal() uint32
func (*ListBusinessReply) ProtoMessage ¶
func (*ListBusinessReply) ProtoMessage()
func (*ListBusinessReply) ProtoReflect ¶
func (x *ListBusinessReply) ProtoReflect() protoreflect.Message
func (*ListBusinessReply) Reset ¶
func (x *ListBusinessReply) Reset()
func (*ListBusinessReply) String ¶
func (x *ListBusinessReply) String() string
func (*ListBusinessReply) Validate ¶
func (m *ListBusinessReply) Validate() error
Validate checks the field values on ListBusinessReply 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 (*ListBusinessReply) ValidateAll ¶
func (m *ListBusinessReply) ValidateAll() error
ValidateAll checks the field values on ListBusinessReply 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 ListBusinessReplyMultiError, or nil if none found.
type ListBusinessReplyMultiError ¶
type ListBusinessReplyMultiError []error
ListBusinessReplyMultiError is an error wrapping multiple validation errors returned by ListBusinessReply.ValidateAll() if the designated constraints aren't met.
func (ListBusinessReplyMultiError) AllErrors ¶
func (m ListBusinessReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessReplyMultiError) Error ¶
func (m ListBusinessReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessReplyValidationError ¶
type ListBusinessReplyValidationError struct {
// contains filtered or unexported fields
}
ListBusinessReplyValidationError is the validation error returned by ListBusinessReply.Validate if the designated constraints aren't met.
func (ListBusinessReplyValidationError) Cause ¶
func (e ListBusinessReplyValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessReplyValidationError) Error ¶
func (e ListBusinessReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessReplyValidationError) ErrorName ¶
func (e ListBusinessReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessReplyValidationError) Field ¶
func (e ListBusinessReplyValidationError) Field() string
Field function returns field value.
func (ListBusinessReplyValidationError) Key ¶
func (e ListBusinessReplyValidationError) Key() bool
Key function returns key value.
func (ListBusinessReplyValidationError) Reason ¶
func (e ListBusinessReplyValidationError) Reason() string
Reason function returns reason value.
type ListBusinessReply_Business ¶
type ListBusinessReply_Business struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessReply_Business) Descriptor
deprecated
func (*ListBusinessReply_Business) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessReply_Business.ProtoReflect.Descriptor instead.
func (*ListBusinessReply_Business) GetCreatedAt ¶
func (x *ListBusinessReply_Business) GetCreatedAt() uint32
func (*ListBusinessReply_Business) GetDescription ¶
func (x *ListBusinessReply_Business) GetDescription() string
func (*ListBusinessReply_Business) GetId ¶
func (x *ListBusinessReply_Business) GetId() uint32
func (*ListBusinessReply_Business) GetKeyword ¶
func (x *ListBusinessReply_Business) GetKeyword() string
func (*ListBusinessReply_Business) GetServerId ¶
func (x *ListBusinessReply_Business) GetServerId() uint32
func (*ListBusinessReply_Business) GetType ¶
func (x *ListBusinessReply_Business) GetType() string
func (*ListBusinessReply_Business) GetUpdatedAt ¶
func (x *ListBusinessReply_Business) GetUpdatedAt() uint32
func (*ListBusinessReply_Business) ProtoMessage ¶
func (*ListBusinessReply_Business) ProtoMessage()
func (*ListBusinessReply_Business) ProtoReflect ¶
func (x *ListBusinessReply_Business) ProtoReflect() protoreflect.Message
func (*ListBusinessReply_Business) Reset ¶
func (x *ListBusinessReply_Business) Reset()
func (*ListBusinessReply_Business) String ¶
func (x *ListBusinessReply_Business) String() string
func (*ListBusinessReply_Business) Validate ¶
func (m *ListBusinessReply_Business) Validate() error
Validate checks the field values on ListBusinessReply_Business 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 (*ListBusinessReply_Business) ValidateAll ¶
func (m *ListBusinessReply_Business) ValidateAll() error
ValidateAll checks the field values on ListBusinessReply_Business 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 ListBusinessReply_BusinessMultiError, or nil if none found.
type ListBusinessReply_BusinessMultiError ¶
type ListBusinessReply_BusinessMultiError []error
ListBusinessReply_BusinessMultiError is an error wrapping multiple validation errors returned by ListBusinessReply_Business.ValidateAll() if the designated constraints aren't met.
func (ListBusinessReply_BusinessMultiError) AllErrors ¶
func (m ListBusinessReply_BusinessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessReply_BusinessMultiError) Error ¶
func (m ListBusinessReply_BusinessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessReply_BusinessValidationError ¶
type ListBusinessReply_BusinessValidationError struct {
// contains filtered or unexported fields
}
ListBusinessReply_BusinessValidationError is the validation error returned by ListBusinessReply_Business.Validate if the designated constraints aren't met.
func (ListBusinessReply_BusinessValidationError) Cause ¶
func (e ListBusinessReply_BusinessValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessReply_BusinessValidationError) Error ¶
func (e ListBusinessReply_BusinessValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessReply_BusinessValidationError) ErrorName ¶
func (e ListBusinessReply_BusinessValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessReply_BusinessValidationError) Field ¶
func (e ListBusinessReply_BusinessValidationError) Field() string
Field function returns field value.
func (ListBusinessReply_BusinessValidationError) Key ¶
func (e ListBusinessReply_BusinessValidationError) Key() bool
Key function returns key value.
func (ListBusinessReply_BusinessValidationError) Reason ¶
func (e ListBusinessReply_BusinessValidationError) Reason() string
Reason function returns reason value.
type ListBusinessRequest ¶
type ListBusinessRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` ServerId uint32 `protobuf:"varint,5,opt,name=serverId,proto3" json:"serverId,omitempty"` Keyword *string `protobuf:"bytes,6,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessRequest) Descriptor
deprecated
func (*ListBusinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessRequest.ProtoReflect.Descriptor instead.
func (*ListBusinessRequest) GetKeyword ¶
func (x *ListBusinessRequest) GetKeyword() string
func (*ListBusinessRequest) GetOrder ¶
func (x *ListBusinessRequest) GetOrder() string
func (*ListBusinessRequest) GetOrderBy ¶
func (x *ListBusinessRequest) GetOrderBy() string
func (*ListBusinessRequest) GetPage ¶
func (x *ListBusinessRequest) GetPage() uint32
func (*ListBusinessRequest) GetPageSize ¶
func (x *ListBusinessRequest) GetPageSize() uint32
func (*ListBusinessRequest) GetServerId ¶
func (x *ListBusinessRequest) GetServerId() uint32
func (*ListBusinessRequest) ProtoMessage ¶
func (*ListBusinessRequest) ProtoMessage()
func (*ListBusinessRequest) ProtoReflect ¶
func (x *ListBusinessRequest) ProtoReflect() protoreflect.Message
func (*ListBusinessRequest) Reset ¶
func (x *ListBusinessRequest) Reset()
func (*ListBusinessRequest) String ¶
func (x *ListBusinessRequest) String() string
func (*ListBusinessRequest) Validate ¶
func (m *ListBusinessRequest) Validate() error
Validate checks the field values on ListBusinessRequest 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 (*ListBusinessRequest) ValidateAll ¶
func (m *ListBusinessRequest) ValidateAll() error
ValidateAll checks the field values on ListBusinessRequest 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 ListBusinessRequestMultiError, or nil if none found.
type ListBusinessRequestMultiError ¶
type ListBusinessRequestMultiError []error
ListBusinessRequestMultiError is an error wrapping multiple validation errors returned by ListBusinessRequest.ValidateAll() if the designated constraints aren't met.
func (ListBusinessRequestMultiError) AllErrors ¶
func (m ListBusinessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessRequestMultiError) Error ¶
func (m ListBusinessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessRequestValidationError ¶
type ListBusinessRequestValidationError struct {
// contains filtered or unexported fields
}
ListBusinessRequestValidationError is the validation error returned by ListBusinessRequest.Validate if the designated constraints aren't met.
func (ListBusinessRequestValidationError) Cause ¶
func (e ListBusinessRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessRequestValidationError) Error ¶
func (e ListBusinessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessRequestValidationError) ErrorName ¶
func (e ListBusinessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessRequestValidationError) Field ¶
func (e ListBusinessRequestValidationError) Field() string
Field function returns field value.
func (ListBusinessRequestValidationError) Key ¶
func (e ListBusinessRequestValidationError) Key() bool
Key function returns key value.
func (ListBusinessRequestValidationError) Reason ¶
func (e ListBusinessRequestValidationError) Reason() string
Reason function returns reason value.
type ListBusinessValueReply ¶
type ListBusinessValueReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListBusinessValueReply_BusinessValue `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessValueReply) Descriptor
deprecated
func (*ListBusinessValueReply) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessValueReply.ProtoReflect.Descriptor instead.
func (*ListBusinessValueReply) GetList ¶
func (x *ListBusinessValueReply) GetList() []*ListBusinessValueReply_BusinessValue
func (*ListBusinessValueReply) GetTotal ¶
func (x *ListBusinessValueReply) GetTotal() uint32
func (*ListBusinessValueReply) ProtoMessage ¶
func (*ListBusinessValueReply) ProtoMessage()
func (*ListBusinessValueReply) ProtoReflect ¶
func (x *ListBusinessValueReply) ProtoReflect() protoreflect.Message
func (*ListBusinessValueReply) Reset ¶
func (x *ListBusinessValueReply) Reset()
func (*ListBusinessValueReply) String ¶
func (x *ListBusinessValueReply) String() string
func (*ListBusinessValueReply) Validate ¶
func (m *ListBusinessValueReply) Validate() error
Validate checks the field values on ListBusinessValueReply 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 (*ListBusinessValueReply) ValidateAll ¶
func (m *ListBusinessValueReply) ValidateAll() error
ValidateAll checks the field values on ListBusinessValueReply 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 ListBusinessValueReplyMultiError, or nil if none found.
type ListBusinessValueReplyMultiError ¶
type ListBusinessValueReplyMultiError []error
ListBusinessValueReplyMultiError is an error wrapping multiple validation errors returned by ListBusinessValueReply.ValidateAll() if the designated constraints aren't met.
func (ListBusinessValueReplyMultiError) AllErrors ¶
func (m ListBusinessValueReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessValueReplyMultiError) Error ¶
func (m ListBusinessValueReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessValueReplyValidationError ¶
type ListBusinessValueReplyValidationError struct {
// contains filtered or unexported fields
}
ListBusinessValueReplyValidationError is the validation error returned by ListBusinessValueReply.Validate if the designated constraints aren't met.
func (ListBusinessValueReplyValidationError) Cause ¶
func (e ListBusinessValueReplyValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessValueReplyValidationError) Error ¶
func (e ListBusinessValueReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessValueReplyValidationError) ErrorName ¶
func (e ListBusinessValueReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessValueReplyValidationError) Field ¶
func (e ListBusinessValueReplyValidationError) Field() string
Field function returns field value.
func (ListBusinessValueReplyValidationError) Key ¶
func (e ListBusinessValueReplyValidationError) Key() bool
Key function returns key value.
func (ListBusinessValueReplyValidationError) Reason ¶
func (e ListBusinessValueReplyValidationError) Reason() string
Reason function returns reason value.
type ListBusinessValueReply_BusinessValue ¶
type ListBusinessValueReply_BusinessValue struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"` BusinessId uint32 `protobuf:"varint,3,opt,name=businessId,proto3" json:"businessId,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` CreatedAt uint32 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessValueReply_BusinessValue) Descriptor
deprecated
func (*ListBusinessValueReply_BusinessValue) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessValueReply_BusinessValue.ProtoReflect.Descriptor instead.
func (*ListBusinessValueReply_BusinessValue) GetBusinessId ¶
func (x *ListBusinessValueReply_BusinessValue) GetBusinessId() uint32
func (*ListBusinessValueReply_BusinessValue) GetCreatedAt ¶
func (x *ListBusinessValueReply_BusinessValue) GetCreatedAt() uint32
func (*ListBusinessValueReply_BusinessValue) GetEnvId ¶
func (x *ListBusinessValueReply_BusinessValue) GetEnvId() uint32
func (*ListBusinessValueReply_BusinessValue) GetId ¶
func (x *ListBusinessValueReply_BusinessValue) GetId() uint32
func (*ListBusinessValueReply_BusinessValue) GetUpdatedAt ¶
func (x *ListBusinessValueReply_BusinessValue) GetUpdatedAt() uint32
func (*ListBusinessValueReply_BusinessValue) GetValue ¶
func (x *ListBusinessValueReply_BusinessValue) GetValue() string
func (*ListBusinessValueReply_BusinessValue) ProtoMessage ¶
func (*ListBusinessValueReply_BusinessValue) ProtoMessage()
func (*ListBusinessValueReply_BusinessValue) ProtoReflect ¶
func (x *ListBusinessValueReply_BusinessValue) ProtoReflect() protoreflect.Message
func (*ListBusinessValueReply_BusinessValue) Reset ¶
func (x *ListBusinessValueReply_BusinessValue) Reset()
func (*ListBusinessValueReply_BusinessValue) String ¶
func (x *ListBusinessValueReply_BusinessValue) String() string
func (*ListBusinessValueReply_BusinessValue) Validate ¶
func (m *ListBusinessValueReply_BusinessValue) Validate() error
Validate checks the field values on ListBusinessValueReply_BusinessValue 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 (*ListBusinessValueReply_BusinessValue) ValidateAll ¶
func (m *ListBusinessValueReply_BusinessValue) ValidateAll() error
ValidateAll checks the field values on ListBusinessValueReply_BusinessValue 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 ListBusinessValueReply_BusinessValueMultiError, or nil if none found.
type ListBusinessValueReply_BusinessValueMultiError ¶
type ListBusinessValueReply_BusinessValueMultiError []error
ListBusinessValueReply_BusinessValueMultiError is an error wrapping multiple validation errors returned by ListBusinessValueReply_BusinessValue.ValidateAll() if the designated constraints aren't met.
func (ListBusinessValueReply_BusinessValueMultiError) AllErrors ¶
func (m ListBusinessValueReply_BusinessValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessValueReply_BusinessValueMultiError) Error ¶
func (m ListBusinessValueReply_BusinessValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessValueReply_BusinessValueValidationError ¶
type ListBusinessValueReply_BusinessValueValidationError struct {
// contains filtered or unexported fields
}
ListBusinessValueReply_BusinessValueValidationError is the validation error returned by ListBusinessValueReply_BusinessValue.Validate if the designated constraints aren't met.
func (ListBusinessValueReply_BusinessValueValidationError) Cause ¶
func (e ListBusinessValueReply_BusinessValueValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessValueReply_BusinessValueValidationError) Error ¶
func (e ListBusinessValueReply_BusinessValueValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessValueReply_BusinessValueValidationError) ErrorName ¶
func (e ListBusinessValueReply_BusinessValueValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessValueReply_BusinessValueValidationError) Field ¶
func (e ListBusinessValueReply_BusinessValueValidationError) Field() string
Field function returns field value.
func (ListBusinessValueReply_BusinessValueValidationError) Key ¶
func (e ListBusinessValueReply_BusinessValueValidationError) Key() bool
Key function returns key value.
func (ListBusinessValueReply_BusinessValueValidationError) Reason ¶
func (e ListBusinessValueReply_BusinessValueValidationError) Reason() string
Reason function returns reason value.
type ListBusinessValueRequest ¶
type ListBusinessValueRequest struct { BusinessId uint32 `protobuf:"varint,3,opt,name=businessId,proto3" json:"businessId,omitempty"` // contains filtered or unexported fields }
func (*ListBusinessValueRequest) Descriptor
deprecated
func (*ListBusinessValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBusinessValueRequest.ProtoReflect.Descriptor instead.
func (*ListBusinessValueRequest) GetBusinessId ¶
func (x *ListBusinessValueRequest) GetBusinessId() uint32
func (*ListBusinessValueRequest) ProtoMessage ¶
func (*ListBusinessValueRequest) ProtoMessage()
func (*ListBusinessValueRequest) ProtoReflect ¶
func (x *ListBusinessValueRequest) ProtoReflect() protoreflect.Message
func (*ListBusinessValueRequest) Reset ¶
func (x *ListBusinessValueRequest) Reset()
func (*ListBusinessValueRequest) String ¶
func (x *ListBusinessValueRequest) String() string
func (*ListBusinessValueRequest) Validate ¶
func (m *ListBusinessValueRequest) Validate() error
Validate checks the field values on ListBusinessValueRequest 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 (*ListBusinessValueRequest) ValidateAll ¶
func (m *ListBusinessValueRequest) ValidateAll() error
ValidateAll checks the field values on ListBusinessValueRequest 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 ListBusinessValueRequestMultiError, or nil if none found.
type ListBusinessValueRequestMultiError ¶
type ListBusinessValueRequestMultiError []error
ListBusinessValueRequestMultiError is an error wrapping multiple validation errors returned by ListBusinessValueRequest.ValidateAll() if the designated constraints aren't met.
func (ListBusinessValueRequestMultiError) AllErrors ¶
func (m ListBusinessValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBusinessValueRequestMultiError) Error ¶
func (m ListBusinessValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBusinessValueRequestValidationError ¶
type ListBusinessValueRequestValidationError struct {
// contains filtered or unexported fields
}
ListBusinessValueRequestValidationError is the validation error returned by ListBusinessValueRequest.Validate if the designated constraints aren't met.
func (ListBusinessValueRequestValidationError) Cause ¶
func (e ListBusinessValueRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBusinessValueRequestValidationError) Error ¶
func (e ListBusinessValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBusinessValueRequestValidationError) ErrorName ¶
func (e ListBusinessValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBusinessValueRequestValidationError) Field ¶
func (e ListBusinessValueRequestValidationError) Field() string
Field function returns field value.
func (ListBusinessValueRequestValidationError) Key ¶
func (e ListBusinessValueRequestValidationError) Key() bool
Key function returns key value.
func (ListBusinessValueRequestValidationError) Reason ¶
func (e ListBusinessValueRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedBusinessServer ¶
type UnimplementedBusinessServer struct { }
UnimplementedBusinessServer must be embedded to have forward compatible implementations.
func (UnimplementedBusinessServer) CreateBusiness ¶
func (UnimplementedBusinessServer) CreateBusiness(context.Context, *CreateBusinessRequest) (*CreateBusinessReply, error)
func (UnimplementedBusinessServer) DeleteBusiness ¶
func (UnimplementedBusinessServer) DeleteBusiness(context.Context, *DeleteBusinessRequest) (*DeleteBusinessReply, error)
func (UnimplementedBusinessServer) ListBusiness ¶
func (UnimplementedBusinessServer) ListBusiness(context.Context, *ListBusinessRequest) (*ListBusinessReply, error)
func (UnimplementedBusinessServer) ListBusinessValue ¶
func (UnimplementedBusinessServer) ListBusinessValue(context.Context, *ListBusinessValueRequest) (*ListBusinessValueReply, error)
func (UnimplementedBusinessServer) UpdateBusiness ¶
func (UnimplementedBusinessServer) UpdateBusiness(context.Context, *UpdateBusinessRequest) (*UpdateBusinessReply, error)
func (UnimplementedBusinessServer) UpdateBusinessValue ¶
func (UnimplementedBusinessServer) UpdateBusinessValue(context.Context, *UpdateBusinessValueRequest) (*UpdateBusinessValueReply, error)
type UnsafeBusinessServer ¶
type UnsafeBusinessServer interface {
// contains filtered or unexported methods
}
UnsafeBusinessServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BusinessServer will result in compilation errors.
type UpdateBusinessReply ¶
type UpdateBusinessReply struct {
// contains filtered or unexported fields
}
func (*UpdateBusinessReply) Descriptor
deprecated
func (*UpdateBusinessReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessReply.ProtoReflect.Descriptor instead.
func (*UpdateBusinessReply) ProtoMessage ¶
func (*UpdateBusinessReply) ProtoMessage()
func (*UpdateBusinessReply) ProtoReflect ¶
func (x *UpdateBusinessReply) ProtoReflect() protoreflect.Message
func (*UpdateBusinessReply) Reset ¶
func (x *UpdateBusinessReply) Reset()
func (*UpdateBusinessReply) String ¶
func (x *UpdateBusinessReply) String() string
func (*UpdateBusinessReply) Validate ¶
func (m *UpdateBusinessReply) Validate() error
Validate checks the field values on UpdateBusinessReply 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 (*UpdateBusinessReply) ValidateAll ¶
func (m *UpdateBusinessReply) ValidateAll() error
ValidateAll checks the field values on UpdateBusinessReply 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 UpdateBusinessReplyMultiError, or nil if none found.
type UpdateBusinessReplyMultiError ¶
type UpdateBusinessReplyMultiError []error
UpdateBusinessReplyMultiError is an error wrapping multiple validation errors returned by UpdateBusinessReply.ValidateAll() if the designated constraints aren't met.
func (UpdateBusinessReplyMultiError) AllErrors ¶
func (m UpdateBusinessReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBusinessReplyMultiError) Error ¶
func (m UpdateBusinessReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBusinessReplyValidationError ¶
type UpdateBusinessReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateBusinessReplyValidationError is the validation error returned by UpdateBusinessReply.Validate if the designated constraints aren't met.
func (UpdateBusinessReplyValidationError) Cause ¶
func (e UpdateBusinessReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateBusinessReplyValidationError) Error ¶
func (e UpdateBusinessReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBusinessReplyValidationError) ErrorName ¶
func (e UpdateBusinessReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBusinessReplyValidationError) Field ¶
func (e UpdateBusinessReplyValidationError) Field() string
Field function returns field value.
func (UpdateBusinessReplyValidationError) Key ¶
func (e UpdateBusinessReplyValidationError) Key() bool
Key function returns key value.
func (UpdateBusinessReplyValidationError) Reason ¶
func (e UpdateBusinessReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateBusinessRequest ¶
type UpdateBusinessRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateBusinessRequest) Descriptor
deprecated
func (*UpdateBusinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessRequest.ProtoReflect.Descriptor instead.
func (*UpdateBusinessRequest) GetDescription ¶
func (x *UpdateBusinessRequest) GetDescription() string
func (*UpdateBusinessRequest) GetId ¶
func (x *UpdateBusinessRequest) GetId() uint32
func (*UpdateBusinessRequest) GetKeyword ¶
func (x *UpdateBusinessRequest) GetKeyword() string
func (*UpdateBusinessRequest) GetType ¶
func (x *UpdateBusinessRequest) GetType() string
func (*UpdateBusinessRequest) ProtoMessage ¶
func (*UpdateBusinessRequest) ProtoMessage()
func (*UpdateBusinessRequest) ProtoReflect ¶
func (x *UpdateBusinessRequest) ProtoReflect() protoreflect.Message
func (*UpdateBusinessRequest) Reset ¶
func (x *UpdateBusinessRequest) Reset()
func (*UpdateBusinessRequest) String ¶
func (x *UpdateBusinessRequest) String() string
func (*UpdateBusinessRequest) Validate ¶
func (m *UpdateBusinessRequest) Validate() error
Validate checks the field values on UpdateBusinessRequest 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 (*UpdateBusinessRequest) ValidateAll ¶
func (m *UpdateBusinessRequest) ValidateAll() error
ValidateAll checks the field values on UpdateBusinessRequest 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 UpdateBusinessRequestMultiError, or nil if none found.
type UpdateBusinessRequestMultiError ¶
type UpdateBusinessRequestMultiError []error
UpdateBusinessRequestMultiError is an error wrapping multiple validation errors returned by UpdateBusinessRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateBusinessRequestMultiError) AllErrors ¶
func (m UpdateBusinessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBusinessRequestMultiError) Error ¶
func (m UpdateBusinessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBusinessRequestValidationError ¶
type UpdateBusinessRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateBusinessRequestValidationError is the validation error returned by UpdateBusinessRequest.Validate if the designated constraints aren't met.
func (UpdateBusinessRequestValidationError) Cause ¶
func (e UpdateBusinessRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateBusinessRequestValidationError) Error ¶
func (e UpdateBusinessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBusinessRequestValidationError) ErrorName ¶
func (e UpdateBusinessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBusinessRequestValidationError) Field ¶
func (e UpdateBusinessRequestValidationError) Field() string
Field function returns field value.
func (UpdateBusinessRequestValidationError) Key ¶
func (e UpdateBusinessRequestValidationError) Key() bool
Key function returns key value.
func (UpdateBusinessRequestValidationError) Reason ¶
func (e UpdateBusinessRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateBusinessValueReply ¶
type UpdateBusinessValueReply struct {
// contains filtered or unexported fields
}
func (*UpdateBusinessValueReply) Descriptor
deprecated
func (*UpdateBusinessValueReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessValueReply.ProtoReflect.Descriptor instead.
func (*UpdateBusinessValueReply) ProtoMessage ¶
func (*UpdateBusinessValueReply) ProtoMessage()
func (*UpdateBusinessValueReply) ProtoReflect ¶
func (x *UpdateBusinessValueReply) ProtoReflect() protoreflect.Message
func (*UpdateBusinessValueReply) Reset ¶
func (x *UpdateBusinessValueReply) Reset()
func (*UpdateBusinessValueReply) String ¶
func (x *UpdateBusinessValueReply) String() string
func (*UpdateBusinessValueReply) Validate ¶
func (m *UpdateBusinessValueReply) Validate() error
Validate checks the field values on UpdateBusinessValueReply 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 (*UpdateBusinessValueReply) ValidateAll ¶
func (m *UpdateBusinessValueReply) ValidateAll() error
ValidateAll checks the field values on UpdateBusinessValueReply 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 UpdateBusinessValueReplyMultiError, or nil if none found.
type UpdateBusinessValueReplyMultiError ¶
type UpdateBusinessValueReplyMultiError []error
UpdateBusinessValueReplyMultiError is an error wrapping multiple validation errors returned by UpdateBusinessValueReply.ValidateAll() if the designated constraints aren't met.
func (UpdateBusinessValueReplyMultiError) AllErrors ¶
func (m UpdateBusinessValueReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBusinessValueReplyMultiError) Error ¶
func (m UpdateBusinessValueReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBusinessValueReplyValidationError ¶
type UpdateBusinessValueReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateBusinessValueReplyValidationError is the validation error returned by UpdateBusinessValueReply.Validate if the designated constraints aren't met.
func (UpdateBusinessValueReplyValidationError) Cause ¶
func (e UpdateBusinessValueReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateBusinessValueReplyValidationError) Error ¶
func (e UpdateBusinessValueReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBusinessValueReplyValidationError) ErrorName ¶
func (e UpdateBusinessValueReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBusinessValueReplyValidationError) Field ¶
func (e UpdateBusinessValueReplyValidationError) Field() string
Field function returns field value.
func (UpdateBusinessValueReplyValidationError) Key ¶
func (e UpdateBusinessValueReplyValidationError) Key() bool
Key function returns key value.
func (UpdateBusinessValueReplyValidationError) Reason ¶
func (e UpdateBusinessValueReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateBusinessValueRequest ¶
type UpdateBusinessValueRequest struct { List []*UpdateBusinessValueRequest_Value `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` BusinessId uint32 `protobuf:"varint,2,opt,name=businessId,proto3" json:"businessId,omitempty"` // contains filtered or unexported fields }
func (*UpdateBusinessValueRequest) Descriptor
deprecated
func (*UpdateBusinessValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessValueRequest.ProtoReflect.Descriptor instead.
func (*UpdateBusinessValueRequest) GetBusinessId ¶
func (x *UpdateBusinessValueRequest) GetBusinessId() uint32
func (*UpdateBusinessValueRequest) GetList ¶
func (x *UpdateBusinessValueRequest) GetList() []*UpdateBusinessValueRequest_Value
func (*UpdateBusinessValueRequest) ProtoMessage ¶
func (*UpdateBusinessValueRequest) ProtoMessage()
func (*UpdateBusinessValueRequest) ProtoReflect ¶
func (x *UpdateBusinessValueRequest) ProtoReflect() protoreflect.Message
func (*UpdateBusinessValueRequest) Reset ¶
func (x *UpdateBusinessValueRequest) Reset()
func (*UpdateBusinessValueRequest) String ¶
func (x *UpdateBusinessValueRequest) String() string
func (*UpdateBusinessValueRequest) Validate ¶
func (m *UpdateBusinessValueRequest) Validate() error
Validate checks the field values on UpdateBusinessValueRequest 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 (*UpdateBusinessValueRequest) ValidateAll ¶
func (m *UpdateBusinessValueRequest) ValidateAll() error
ValidateAll checks the field values on UpdateBusinessValueRequest 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 UpdateBusinessValueRequestMultiError, or nil if none found.
type UpdateBusinessValueRequestMultiError ¶
type UpdateBusinessValueRequestMultiError []error
UpdateBusinessValueRequestMultiError is an error wrapping multiple validation errors returned by UpdateBusinessValueRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateBusinessValueRequestMultiError) AllErrors ¶
func (m UpdateBusinessValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBusinessValueRequestMultiError) Error ¶
func (m UpdateBusinessValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBusinessValueRequestValidationError ¶
type UpdateBusinessValueRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateBusinessValueRequestValidationError is the validation error returned by UpdateBusinessValueRequest.Validate if the designated constraints aren't met.
func (UpdateBusinessValueRequestValidationError) Cause ¶
func (e UpdateBusinessValueRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateBusinessValueRequestValidationError) Error ¶
func (e UpdateBusinessValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBusinessValueRequestValidationError) ErrorName ¶
func (e UpdateBusinessValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBusinessValueRequestValidationError) Field ¶
func (e UpdateBusinessValueRequestValidationError) Field() string
Field function returns field value.
func (UpdateBusinessValueRequestValidationError) Key ¶
func (e UpdateBusinessValueRequestValidationError) Key() bool
Key function returns key value.
func (UpdateBusinessValueRequestValidationError) Reason ¶
func (e UpdateBusinessValueRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateBusinessValueRequest_Value ¶
type UpdateBusinessValueRequest_Value struct { EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UpdateBusinessValueRequest_Value) Descriptor
deprecated
func (*UpdateBusinessValueRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessValueRequest_Value.ProtoReflect.Descriptor instead.
func (*UpdateBusinessValueRequest_Value) GetEnvId ¶
func (x *UpdateBusinessValueRequest_Value) GetEnvId() uint32
func (*UpdateBusinessValueRequest_Value) GetValue ¶
func (x *UpdateBusinessValueRequest_Value) GetValue() string
func (*UpdateBusinessValueRequest_Value) ProtoMessage ¶
func (*UpdateBusinessValueRequest_Value) ProtoMessage()
func (*UpdateBusinessValueRequest_Value) ProtoReflect ¶
func (x *UpdateBusinessValueRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateBusinessValueRequest_Value) Reset ¶
func (x *UpdateBusinessValueRequest_Value) Reset()
func (*UpdateBusinessValueRequest_Value) String ¶
func (x *UpdateBusinessValueRequest_Value) String() string
func (*UpdateBusinessValueRequest_Value) Validate ¶
func (m *UpdateBusinessValueRequest_Value) Validate() error
Validate checks the field values on UpdateBusinessValueRequest_Value 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 (*UpdateBusinessValueRequest_Value) ValidateAll ¶
func (m *UpdateBusinessValueRequest_Value) ValidateAll() error
ValidateAll checks the field values on UpdateBusinessValueRequest_Value 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 UpdateBusinessValueRequest_ValueMultiError, or nil if none found.
type UpdateBusinessValueRequest_ValueMultiError ¶
type UpdateBusinessValueRequest_ValueMultiError []error
UpdateBusinessValueRequest_ValueMultiError is an error wrapping multiple validation errors returned by UpdateBusinessValueRequest_Value.ValidateAll() if the designated constraints aren't met.
func (UpdateBusinessValueRequest_ValueMultiError) AllErrors ¶
func (m UpdateBusinessValueRequest_ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBusinessValueRequest_ValueMultiError) Error ¶
func (m UpdateBusinessValueRequest_ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBusinessValueRequest_ValueValidationError ¶
type UpdateBusinessValueRequest_ValueValidationError struct {
// contains filtered or unexported fields
}
UpdateBusinessValueRequest_ValueValidationError is the validation error returned by UpdateBusinessValueRequest_Value.Validate if the designated constraints aren't met.
func (UpdateBusinessValueRequest_ValueValidationError) Cause ¶
func (e UpdateBusinessValueRequest_ValueValidationError) Cause() error
Cause function returns cause value.
func (UpdateBusinessValueRequest_ValueValidationError) Error ¶
func (e UpdateBusinessValueRequest_ValueValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBusinessValueRequest_ValueValidationError) ErrorName ¶
func (e UpdateBusinessValueRequest_ValueValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBusinessValueRequest_ValueValidationError) Field ¶
func (e UpdateBusinessValueRequest_ValueValidationError) Field() string
Field function returns field value.
func (UpdateBusinessValueRequest_ValueValidationError) Key ¶
func (e UpdateBusinessValueRequest_ValueValidationError) Key() bool
Key function returns key value.
func (UpdateBusinessValueRequest_ValueValidationError) Reason ¶
func (e UpdateBusinessValueRequest_ValueValidationError) Reason() string
Reason function returns reason value.