v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationBusinessCreateBusiness = "/configure.api.configure.business.v1.Business/CreateBusiness"
View Source
const OperationBusinessDeleteBusiness = "/configure.api.configure.business.v1.Business/DeleteBusiness"
View Source
const OperationBusinessListBusiness = "/configure.api.configure.business.v1.Business/ListBusiness"
View Source
const OperationBusinessListBusinessValue = "/configure.api.configure.business.v1.Business/ListBusinessValue"
View Source
const OperationBusinessUpdateBusiness = "/configure.api.configure.business.v1.Business/UpdateBusiness"
View Source
const OperationBusinessUpdateBusinessValue = "/configure.api.configure.business.v1.Business/UpdateBusinessValue"

Variables

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

View Source
var File_api_configure_business_configure_business_proto protoreflect.FileDescriptor
View Source
var File_api_configure_business_configure_business_service_proto protoreflect.FileDescriptor
View Source
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 (*BusinessHTTPClientImpl) DeleteBusiness

func (*BusinessHTTPClientImpl) ListBusiness

func (*BusinessHTTPClientImpl) ListBusinessValue

func (*BusinessHTTPClientImpl) UpdateBusiness

func (*BusinessHTTPClientImpl) UpdateBusinessValue

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

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

Cause function returns cause value.

func (CreateBusinessReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateBusinessReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateBusinessReplyValidationError) Field

Field function returns field value.

func (CreateBusinessReplyValidationError) Key

Key function returns key value.

func (CreateBusinessReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateBusinessRequestValidationError) Field

Field function returns field value.

func (CreateBusinessRequestValidationError) Key

Key function returns key value.

func (CreateBusinessRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteBusinessReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteBusinessReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteBusinessReplyValidationError) Field

Field function returns field value.

func (DeleteBusinessReplyValidationError) Key

Key function returns key value.

func (DeleteBusinessReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteBusinessRequestValidationError) Field

Field function returns field value.

func (DeleteBusinessRequestValidationError) Key

Key function returns key value.

func (DeleteBusinessRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListBusinessReplyValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessReplyValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessReplyValidationError) Field

Field function returns field value.

func (ListBusinessReplyValidationError) Key

Key function returns key value.

func (ListBusinessReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (ListBusinessReply_BusinessMultiError) Error

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

Cause function returns cause value.

func (ListBusinessReply_BusinessValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessReply_BusinessValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessReply_BusinessValidationError) Field

Field function returns field value.

func (ListBusinessReply_BusinessValidationError) Key

Key function returns key value.

func (ListBusinessReply_BusinessValidationError) Reason

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

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

Cause function returns cause value.

func (ListBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessRequestValidationError) Field

Field function returns field value.

func (ListBusinessRequestValidationError) Key

Key function returns key value.

func (ListBusinessRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListBusinessValueReplyValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessValueReplyValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessValueReplyValidationError) Field

Field function returns field value.

func (ListBusinessValueReplyValidationError) Key

Key function returns key value.

func (ListBusinessValueReplyValidationError) Reason

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 (*ListBusinessValueReply_BusinessValue) GetId

func (*ListBusinessValueReply_BusinessValue) GetUpdatedAt

func (x *ListBusinessValueReply_BusinessValue) GetUpdatedAt() uint32

func (*ListBusinessValueReply_BusinessValue) GetValue

func (*ListBusinessValueReply_BusinessValue) ProtoMessage

func (*ListBusinessValueReply_BusinessValue) ProtoMessage()

func (*ListBusinessValueReply_BusinessValue) ProtoReflect

func (*ListBusinessValueReply_BusinessValue) Reset

func (*ListBusinessValueReply_BusinessValue) String

func (*ListBusinessValueReply_BusinessValue) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ListBusinessValueReply_BusinessValueMultiError) Error

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

Cause function returns cause value.

func (ListBusinessValueReply_BusinessValueValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessValueReply_BusinessValueValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessValueReply_BusinessValueValidationError) Field

Field function returns field value.

func (ListBusinessValueReply_BusinessValueValidationError) Key

Key function returns key value.

func (ListBusinessValueReply_BusinessValueValidationError) Reason

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

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

Cause function returns cause value.

func (ListBusinessValueRequestValidationError) Error

Error satisfies the builtin error interface

func (ListBusinessValueRequestValidationError) ErrorName

ErrorName returns error name.

func (ListBusinessValueRequestValidationError) Field

Field function returns field value.

func (ListBusinessValueRequestValidationError) Key

Key function returns key value.

func (ListBusinessValueRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedBusinessServer

type UnimplementedBusinessServer struct {
}

UnimplementedBusinessServer must be embedded to have forward compatible implementations.

func (UnimplementedBusinessServer) CreateBusiness

func (UnimplementedBusinessServer) DeleteBusiness

func (UnimplementedBusinessServer) ListBusiness

func (UnimplementedBusinessServer) ListBusinessValue

func (UnimplementedBusinessServer) UpdateBusiness

func (UnimplementedBusinessServer) UpdateBusinessValue

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

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

Cause function returns cause value.

func (UpdateBusinessReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessReplyValidationError) Field

Field function returns field value.

func (UpdateBusinessReplyValidationError) Key

Key function returns key value.

func (UpdateBusinessReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessRequestValidationError) Field

Field function returns field value.

func (UpdateBusinessRequestValidationError) Key

Key function returns key value.

func (UpdateBusinessRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateBusinessValueReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessValueReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessValueReplyValidationError) Field

Field function returns field value.

func (UpdateBusinessValueReplyValidationError) Key

Key function returns key value.

func (UpdateBusinessValueReplyValidationError) Reason

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 (*UpdateBusinessValueRequest) ProtoMessage

func (*UpdateBusinessValueRequest) ProtoMessage()

func (*UpdateBusinessValueRequest) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (UpdateBusinessValueRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateBusinessValueRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessValueRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessValueRequestValidationError) Field

Field function returns field value.

func (UpdateBusinessValueRequestValidationError) Key

Key function returns key value.

func (UpdateBusinessValueRequestValidationError) Reason

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 (*UpdateBusinessValueRequest_Value) GetValue

func (*UpdateBusinessValueRequest_Value) ProtoMessage

func (*UpdateBusinessValueRequest_Value) ProtoMessage()

func (*UpdateBusinessValueRequest_Value) ProtoReflect

func (*UpdateBusinessValueRequest_Value) Reset

func (*UpdateBusinessValueRequest_Value) String

func (*UpdateBusinessValueRequest_Value) Validate

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

AllErrors returns a list of validation violation errors.

func (UpdateBusinessValueRequest_ValueMultiError) Error

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

Cause function returns cause value.

func (UpdateBusinessValueRequest_ValueValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessValueRequest_ValueValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessValueRequest_ValueValidationError) Field

Field function returns field value.

func (UpdateBusinessValueRequest_ValueValidationError) Key

Key function returns key value.

func (UpdateBusinessValueRequest_ValueValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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