business

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 27 Imported by: 2

Documentation

Overview

Package business is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	OwnerType_name = map[int32]string{
		0: "UNKNOWN",
		1: "PLAYER",
		2: "GROUP",
		3: "SYSTEM",
	}
	OwnerType_value = map[string]int32{
		"UNKNOWN": 0,
		"PLAYER":  1,
		"GROUP":   2,
		"SYSTEM":  3,
	}
)

Enum value maps for OwnerType.

View Source
var File_business_business_proto protoreflect.FileDescriptor

Functions

func RegisterMruVBusinessServiceHandler

func RegisterMruVBusinessServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMruVBusinessServiceHandler registers the http handlers for service MruVBusinessService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMruVBusinessServiceHandlerClient

func RegisterMruVBusinessServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVBusinessServiceClient) error

RegisterMruVBusinessServiceHandlerClient registers the http handlers for service MruVBusinessService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MruVBusinessServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MruVBusinessServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MruVBusinessServiceClient" to call the correct interceptors.

func RegisterMruVBusinessServiceHandlerFromEndpoint

func RegisterMruVBusinessServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMruVBusinessServiceHandlerFromEndpoint is same as RegisterMruVBusinessServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMruVBusinessServiceHandlerServer

func RegisterMruVBusinessServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVBusinessServiceServer) error

RegisterMruVBusinessServiceHandlerServer registers the http handlers for service MruVBusinessService to "mux". UnaryRPC :call MruVBusinessServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMruVBusinessServiceHandlerFromEndpoint instead.

func RegisterMruVBusinessServiceServer

func RegisterMruVBusinessServiceServer(s *grpc.Server, srv MruVBusinessServiceServer)

Types

type AssignEstateRequest

type AssignEstateRequest struct {
	BusinessId uint32 `protobuf:"varint,1,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"`
	EstateId   uint32 `protobuf:"varint,2,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `AssignEstate`.

func (*AssignEstateRequest) Descriptor deprecated

func (*AssignEstateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignEstateRequest.ProtoReflect.Descriptor instead.

func (*AssignEstateRequest) GetBusinessId

func (x *AssignEstateRequest) GetBusinessId() uint32

func (*AssignEstateRequest) GetEstateId

func (x *AssignEstateRequest) GetEstateId() uint32

func (*AssignEstateRequest) ProtoMessage

func (*AssignEstateRequest) ProtoMessage()

func (*AssignEstateRequest) ProtoReflect added in v0.8.4

func (x *AssignEstateRequest) ProtoReflect() protoreflect.Message

func (*AssignEstateRequest) Reset

func (x *AssignEstateRequest) Reset()

func (*AssignEstateRequest) String

func (x *AssignEstateRequest) String() string

func (*AssignEstateRequest) Validate

func (m *AssignEstateRequest) Validate() error

Validate checks the field values on AssignEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AssignEstateRequestValidationError

type AssignEstateRequestValidationError struct {
	// contains filtered or unexported fields
}

AssignEstateRequestValidationError is the validation error returned by AssignEstateRequest.Validate if the designated constraints aren't met.

func (AssignEstateRequestValidationError) Cause

Cause function returns cause value.

func (AssignEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (AssignEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (AssignEstateRequestValidationError) Field

Field function returns field value.

func (AssignEstateRequestValidationError) Key

Key function returns key value.

func (AssignEstateRequestValidationError) Reason

Reason function returns reason value.

type AssignEstateResponse

type AssignEstateResponse struct {
	EstateCount uint32 `protobuf:"varint,1,opt,name=estate_count,json=estateCount,proto3" json:"estate_count,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `AssignEstate`.

func (*AssignEstateResponse) Descriptor deprecated

func (*AssignEstateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssignEstateResponse.ProtoReflect.Descriptor instead.

func (*AssignEstateResponse) GetEstateCount

func (x *AssignEstateResponse) GetEstateCount() uint32

func (*AssignEstateResponse) ProtoMessage

func (*AssignEstateResponse) ProtoMessage()

func (*AssignEstateResponse) ProtoReflect added in v0.8.4

func (x *AssignEstateResponse) ProtoReflect() protoreflect.Message

func (*AssignEstateResponse) Reset

func (x *AssignEstateResponse) Reset()

func (*AssignEstateResponse) String

func (x *AssignEstateResponse) String() string

func (*AssignEstateResponse) Validate

func (m *AssignEstateResponse) Validate() error

Validate checks the field values on AssignEstateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AssignEstateResponseValidationError

type AssignEstateResponseValidationError struct {
	// contains filtered or unexported fields
}

AssignEstateResponseValidationError is the validation error returned by AssignEstateResponse.Validate if the designated constraints aren't met.

func (AssignEstateResponseValidationError) Cause

Cause function returns cause value.

func (AssignEstateResponseValidationError) Error

Error satisfies the builtin error interface

func (AssignEstateResponseValidationError) ErrorName

ErrorName returns error name.

func (AssignEstateResponseValidationError) Field

Field function returns field value.

func (AssignEstateResponseValidationError) Key

Key function returns key value.

func (AssignEstateResponseValidationError) Reason

Reason function returns reason value.

type AssignOwnerRequest

type AssignOwnerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `AssignOwner`.

func (*AssignOwnerRequest) Descriptor deprecated

func (*AssignOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignOwnerRequest.ProtoReflect.Descriptor instead.

func (*AssignOwnerRequest) GetId

func (x *AssignOwnerRequest) GetId() uint32

func (*AssignOwnerRequest) ProtoMessage

func (*AssignOwnerRequest) ProtoMessage()

func (*AssignOwnerRequest) ProtoReflect added in v0.8.4

func (x *AssignOwnerRequest) ProtoReflect() protoreflect.Message

func (*AssignOwnerRequest) Reset

func (x *AssignOwnerRequest) Reset()

func (*AssignOwnerRequest) String

func (x *AssignOwnerRequest) String() string

func (*AssignOwnerRequest) Validate

func (m *AssignOwnerRequest) Validate() error

Validate checks the field values on AssignOwnerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AssignOwnerRequestValidationError

type AssignOwnerRequestValidationError struct {
	// contains filtered or unexported fields
}

AssignOwnerRequestValidationError is the validation error returned by AssignOwnerRequest.Validate if the designated constraints aren't met.

func (AssignOwnerRequestValidationError) Cause

Cause function returns cause value.

func (AssignOwnerRequestValidationError) Error

Error satisfies the builtin error interface

func (AssignOwnerRequestValidationError) ErrorName

ErrorName returns error name.

func (AssignOwnerRequestValidationError) Field

Field function returns field value.

func (AssignOwnerRequestValidationError) Key

Key function returns key value.

func (AssignOwnerRequestValidationError) Reason

Reason function returns reason value.

type AssignOwnerResponse

type AssignOwnerResponse struct {
	OwnerType OwnerType `protobuf:"varint,5,opt,name=owner_type,json=ownerType,proto3,enum=mruv.business.OwnerType" json:"owner_type,omitempty"`
	OwnerId   uint32    `protobuf:"varint,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `AssignOwner`.

func (*AssignOwnerResponse) Descriptor deprecated

func (*AssignOwnerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssignOwnerResponse.ProtoReflect.Descriptor instead.

func (*AssignOwnerResponse) GetOwnerId

func (x *AssignOwnerResponse) GetOwnerId() uint32

func (*AssignOwnerResponse) GetOwnerType

func (x *AssignOwnerResponse) GetOwnerType() OwnerType

func (*AssignOwnerResponse) ProtoMessage

func (*AssignOwnerResponse) ProtoMessage()

func (*AssignOwnerResponse) ProtoReflect added in v0.8.4

func (x *AssignOwnerResponse) ProtoReflect() protoreflect.Message

func (*AssignOwnerResponse) Reset

func (x *AssignOwnerResponse) Reset()

func (*AssignOwnerResponse) String

func (x *AssignOwnerResponse) String() string

func (*AssignOwnerResponse) Validate

func (m *AssignOwnerResponse) Validate() error

Validate checks the field values on AssignOwnerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AssignOwnerResponseValidationError

type AssignOwnerResponseValidationError struct {
	// contains filtered or unexported fields
}

AssignOwnerResponseValidationError is the validation error returned by AssignOwnerResponse.Validate if the designated constraints aren't met.

func (AssignOwnerResponseValidationError) Cause

Cause function returns cause value.

func (AssignOwnerResponseValidationError) Error

Error satisfies the builtin error interface

func (AssignOwnerResponseValidationError) ErrorName

ErrorName returns error name.

func (AssignOwnerResponseValidationError) Field

Field function returns field value.

func (AssignOwnerResponseValidationError) Key

Key function returns key value.

func (AssignOwnerResponseValidationError) Reason

Reason function returns reason value.

type Business

type Business struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Estates that belongs to a business.
	EstateIds []int64 `protobuf:"varint,3,rep,packed,name=estate_ids,json=estateIds,proto3" json:"estate_ids,omitempty"`
	// Purchase price in economy system.
	ProductId uint32 `protobuf:"varint,4,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// Owner type of the business.
	OwnerType OwnerType `protobuf:"varint,5,opt,name=owner_type,json=ownerType,proto3,enum=mruv.business.OwnerType" json:"owner_type,omitempty"`
	// Owner of the business.
	OwnerId uint32 `protobuf:"varint,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// Items that belongs to business.
	BusinessItems []uint32 `protobuf:"varint,7,rep,packed,name=business_items,json=businessItems,proto3" json:"business_items,omitempty"`
	// Business group
	BusinessGroup uint32 `protobuf:"varint,8,opt,name=business_group,json=businessGroup,proto3" json:"business_group,omitempty"`
	// contains filtered or unexported fields
}

Business data structure.

func (*Business) Descriptor deprecated

func (*Business) Descriptor() ([]byte, []int)

Deprecated: Use Business.ProtoReflect.Descriptor instead.

func (*Business) GetBusinessGroup

func (x *Business) GetBusinessGroup() uint32

func (*Business) GetBusinessItems

func (x *Business) GetBusinessItems() []uint32

func (*Business) GetDescription

func (x *Business) GetDescription() string

func (*Business) GetEstateIds

func (x *Business) GetEstateIds() []int64

func (*Business) GetName

func (x *Business) GetName() string

func (*Business) GetOwnerId

func (x *Business) GetOwnerId() uint32

func (*Business) GetOwnerType

func (x *Business) GetOwnerType() OwnerType

func (*Business) GetProductId

func (x *Business) GetProductId() uint32

func (*Business) ProtoMessage

func (*Business) ProtoMessage()

func (*Business) ProtoReflect added in v0.8.4

func (x *Business) ProtoReflect() protoreflect.Message

func (*Business) Reset

func (x *Business) Reset()

func (*Business) String

func (x *Business) String() string

func (*Business) Validate

func (m *Business) Validate() error

Validate checks the field values on Business with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BusinessValidationError

type BusinessValidationError struct {
	// contains filtered or unexported fields
}

BusinessValidationError is the validation error returned by Business.Validate if the designated constraints aren't met.

func (BusinessValidationError) Cause

func (e BusinessValidationError) Cause() error

Cause function returns cause value.

func (BusinessValidationError) Error

func (e BusinessValidationError) Error() string

Error satisfies the builtin error interface

func (BusinessValidationError) ErrorName

func (e BusinessValidationError) ErrorName() string

ErrorName returns error name.

func (BusinessValidationError) Field

func (e BusinessValidationError) Field() string

Field function returns field value.

func (BusinessValidationError) Key

func (e BusinessValidationError) Key() bool

Key function returns key value.

func (BusinessValidationError) Reason

func (e BusinessValidationError) Reason() string

Reason function returns reason value.

type BuyBusinessRequest

type BuyBusinessRequest struct {
	Id        uint32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	BuyerType OwnerType `protobuf:"varint,5,opt,name=buyer_type,json=buyerType,proto3,enum=mruv.business.OwnerType" json:"buyer_type,omitempty"`
	BuyerId   uint32    `protobuf:"varint,6,opt,name=buyer_id,json=buyerId,proto3" json:"buyer_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `BuyBusiness`.

func (*BuyBusinessRequest) Descriptor deprecated

func (*BuyBusinessRequest) Descriptor() ([]byte, []int)

Deprecated: Use BuyBusinessRequest.ProtoReflect.Descriptor instead.

func (*BuyBusinessRequest) GetBuyerId

func (x *BuyBusinessRequest) GetBuyerId() uint32

func (*BuyBusinessRequest) GetBuyerType

func (x *BuyBusinessRequest) GetBuyerType() OwnerType

func (*BuyBusinessRequest) GetId

func (x *BuyBusinessRequest) GetId() uint32

func (*BuyBusinessRequest) ProtoMessage

func (*BuyBusinessRequest) ProtoMessage()

func (*BuyBusinessRequest) ProtoReflect added in v0.8.4

func (x *BuyBusinessRequest) ProtoReflect() protoreflect.Message

func (*BuyBusinessRequest) Reset

func (x *BuyBusinessRequest) Reset()

func (*BuyBusinessRequest) String

func (x *BuyBusinessRequest) String() string

func (*BuyBusinessRequest) Validate

func (m *BuyBusinessRequest) Validate() error

Validate checks the field values on BuyBusinessRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BuyBusinessRequestValidationError

type BuyBusinessRequestValidationError struct {
	// contains filtered or unexported fields
}

BuyBusinessRequestValidationError is the validation error returned by BuyBusinessRequest.Validate if the designated constraints aren't met.

func (BuyBusinessRequestValidationError) Cause

Cause function returns cause value.

func (BuyBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (BuyBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (BuyBusinessRequestValidationError) Field

Field function returns field value.

func (BuyBusinessRequestValidationError) Key

Key function returns key value.

func (BuyBusinessRequestValidationError) Reason

Reason function returns reason value.

type BuyBusinessResponse

type BuyBusinessResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `BuyBusiness`.

func (*BuyBusinessResponse) Descriptor deprecated

func (*BuyBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use BuyBusinessResponse.ProtoReflect.Descriptor instead.

func (*BuyBusinessResponse) ProtoMessage

func (*BuyBusinessResponse) ProtoMessage()

func (*BuyBusinessResponse) ProtoReflect added in v0.8.4

func (x *BuyBusinessResponse) ProtoReflect() protoreflect.Message

func (*BuyBusinessResponse) Reset

func (x *BuyBusinessResponse) Reset()

func (*BuyBusinessResponse) String

func (x *BuyBusinessResponse) String() string

func (*BuyBusinessResponse) Validate

func (m *BuyBusinessResponse) Validate() error

Validate checks the field values on BuyBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BuyBusinessResponseValidationError

type BuyBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

BuyBusinessResponseValidationError is the validation error returned by BuyBusinessResponse.Validate if the designated constraints aren't met.

func (BuyBusinessResponseValidationError) Cause

Cause function returns cause value.

func (BuyBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (BuyBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (BuyBusinessResponseValidationError) Field

Field function returns field value.

func (BuyBusinessResponseValidationError) Key

Key function returns key value.

func (BuyBusinessResponseValidationError) Reason

Reason function returns reason value.

type CreateBusinessRequest

type CreateBusinessRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Purchase price in economy system.
	ProductId uint32 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `CreateBusiness`.

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) GetName

func (x *CreateBusinessRequest) GetName() string

func (*CreateBusinessRequest) GetProductId

func (x *CreateBusinessRequest) GetProductId() uint32

func (*CreateBusinessRequest) ProtoMessage

func (*CreateBusinessRequest) ProtoMessage()

func (*CreateBusinessRequest) ProtoReflect added in v0.8.4

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, an error is returned.

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 CreateBusinessResponse

type CreateBusinessResponse struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `CreateBusiness`.

func (*CreateBusinessResponse) Descriptor deprecated

func (*CreateBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateBusinessResponse.ProtoReflect.Descriptor instead.

func (*CreateBusinessResponse) GetId

func (x *CreateBusinessResponse) GetId() uint32

func (*CreateBusinessResponse) ProtoMessage

func (*CreateBusinessResponse) ProtoMessage()

func (*CreateBusinessResponse) ProtoReflect added in v0.8.4

func (x *CreateBusinessResponse) ProtoReflect() protoreflect.Message

func (*CreateBusinessResponse) Reset

func (x *CreateBusinessResponse) Reset()

func (*CreateBusinessResponse) String

func (x *CreateBusinessResponse) String() string

func (*CreateBusinessResponse) Validate

func (m *CreateBusinessResponse) Validate() error

Validate checks the field values on CreateBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateBusinessResponseValidationError

type CreateBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateBusinessResponseValidationError is the validation error returned by CreateBusinessResponse.Validate if the designated constraints aren't met.

func (CreateBusinessResponseValidationError) Cause

Cause function returns cause value.

func (CreateBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateBusinessResponseValidationError) Field

Field function returns field value.

func (CreateBusinessResponseValidationError) Key

Key function returns key value.

func (CreateBusinessResponseValidationError) 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
}

Request message for rpc `DeleteBusiness`.

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 added in v0.8.4

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, an error is returned.

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 DeleteBusinessResponse

type DeleteBusinessResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `DeleteBusiness`.

func (*DeleteBusinessResponse) Descriptor deprecated

func (*DeleteBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBusinessResponse.ProtoReflect.Descriptor instead.

func (*DeleteBusinessResponse) ProtoMessage

func (*DeleteBusinessResponse) ProtoMessage()

func (*DeleteBusinessResponse) ProtoReflect added in v0.8.4

func (x *DeleteBusinessResponse) ProtoReflect() protoreflect.Message

func (*DeleteBusinessResponse) Reset

func (x *DeleteBusinessResponse) Reset()

func (*DeleteBusinessResponse) String

func (x *DeleteBusinessResponse) String() string

func (*DeleteBusinessResponse) Validate

func (m *DeleteBusinessResponse) Validate() error

Validate checks the field values on DeleteBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteBusinessResponseValidationError

type DeleteBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteBusinessResponseValidationError is the validation error returned by DeleteBusinessResponse.Validate if the designated constraints aren't met.

func (DeleteBusinessResponseValidationError) Cause

Cause function returns cause value.

func (DeleteBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteBusinessResponseValidationError) Field

Field function returns field value.

func (DeleteBusinessResponseValidationError) Key

Key function returns key value.

func (DeleteBusinessResponseValidationError) Reason

Reason function returns reason value.

type GetBusinessRequest

type GetBusinessRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `GetBusiness`.

func (*GetBusinessRequest) Descriptor deprecated

func (*GetBusinessRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBusinessRequest.ProtoReflect.Descriptor instead.

func (*GetBusinessRequest) GetId

func (x *GetBusinessRequest) GetId() uint32

func (*GetBusinessRequest) ProtoMessage

func (*GetBusinessRequest) ProtoMessage()

func (*GetBusinessRequest) ProtoReflect added in v0.8.4

func (x *GetBusinessRequest) ProtoReflect() protoreflect.Message

func (*GetBusinessRequest) Reset

func (x *GetBusinessRequest) Reset()

func (*GetBusinessRequest) String

func (x *GetBusinessRequest) String() string

func (*GetBusinessRequest) Validate

func (m *GetBusinessRequest) Validate() error

Validate checks the field values on GetBusinessRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetBusinessRequestValidationError

type GetBusinessRequestValidationError struct {
	// contains filtered or unexported fields
}

GetBusinessRequestValidationError is the validation error returned by GetBusinessRequest.Validate if the designated constraints aren't met.

func (GetBusinessRequestValidationError) Cause

Cause function returns cause value.

func (GetBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBusinessRequestValidationError) Field

Field function returns field value.

func (GetBusinessRequestValidationError) Key

Key function returns key value.

func (GetBusinessRequestValidationError) Reason

Reason function returns reason value.

type GetBusinessResponse

type GetBusinessResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `GetBusiness`.

func (*GetBusinessResponse) Descriptor deprecated

func (*GetBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBusinessResponse.ProtoReflect.Descriptor instead.

func (*GetBusinessResponse) ProtoMessage

func (*GetBusinessResponse) ProtoMessage()

func (*GetBusinessResponse) ProtoReflect added in v0.8.4

func (x *GetBusinessResponse) ProtoReflect() protoreflect.Message

func (*GetBusinessResponse) Reset

func (x *GetBusinessResponse) Reset()

func (*GetBusinessResponse) String

func (x *GetBusinessResponse) String() string

func (*GetBusinessResponse) Validate

func (m *GetBusinessResponse) Validate() error

Validate checks the field values on GetBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetBusinessResponseValidationError

type GetBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

GetBusinessResponseValidationError is the validation error returned by GetBusinessResponse.Validate if the designated constraints aren't met.

func (GetBusinessResponseValidationError) Cause

Cause function returns cause value.

func (GetBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (GetBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (GetBusinessResponseValidationError) Field

Field function returns field value.

func (GetBusinessResponseValidationError) Key

Key function returns key value.

func (GetBusinessResponseValidationError) Reason

Reason function returns reason value.

type MruVBusinessServiceClient

type MruVBusinessServiceClient interface {
	// Create a business.
	CreateBusiness(ctx context.Context, in *CreateBusinessRequest, opts ...grpc.CallOption) (*CreateBusinessResponse, error)
	// Get a business.
	GetBusiness(ctx context.Context, in *GetBusinessRequest, opts ...grpc.CallOption) (*Business, error)
	// Update a business.
	UpdateBusiness(ctx context.Context, in *UpdateBusinessRequest, opts ...grpc.CallOption) (*Business, error)
	// Delete a business.
	DeleteBusiness(ctx context.Context, in *DeleteBusinessRequest, opts ...grpc.CallOption) (*DeleteBusinessResponse, error)
	// Assign a business owner.
	AssignOwner(ctx context.Context, in *AssignOwnerRequest, opts ...grpc.CallOption) (*AssignOwnerResponse, error)
	// Assign an estate to a business.
	AssignEstate(ctx context.Context, in *AssignEstateRequest, opts ...grpc.CallOption) (*AssignEstateResponse, error)
	//
	UnassignEstate(ctx context.Context, in *UnassignEstateRequest, opts ...grpc.CallOption) (*UnassignEstateResponse, error)
	// Buy a business.
	BuyBusiness(ctx context.Context, in *BuyBusinessRequest, opts ...grpc.CallOption) (*BuyBusinessResponse, error)
	// Subscribe to business events.
	WatchBusiness(ctx context.Context, in *WatchBusinessRequest, opts ...grpc.CallOption) (MruVBusinessService_WatchBusinessClient, error)
	// Subscribe to all businesses events.
	WatchBusinesses(ctx context.Context, in *WatchBusinessesRequest, opts ...grpc.CallOption) (MruVBusinessService_WatchBusinessesClient, error)
}

MruVBusinessServiceClient is the client API for MruVBusinessService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MruVBusinessServiceServer

type MruVBusinessServiceServer interface {
	// Create a business.
	CreateBusiness(context.Context, *CreateBusinessRequest) (*CreateBusinessResponse, error)
	// Get a business.
	GetBusiness(context.Context, *GetBusinessRequest) (*Business, error)
	// Update a business.
	UpdateBusiness(context.Context, *UpdateBusinessRequest) (*Business, error)
	// Delete a business.
	DeleteBusiness(context.Context, *DeleteBusinessRequest) (*DeleteBusinessResponse, error)
	// Assign a business owner.
	AssignOwner(context.Context, *AssignOwnerRequest) (*AssignOwnerResponse, error)
	// Assign an estate to a business.
	AssignEstate(context.Context, *AssignEstateRequest) (*AssignEstateResponse, error)
	//
	UnassignEstate(context.Context, *UnassignEstateRequest) (*UnassignEstateResponse, error)
	// Buy a business.
	BuyBusiness(context.Context, *BuyBusinessRequest) (*BuyBusinessResponse, error)
	// Subscribe to business events.
	WatchBusiness(*WatchBusinessRequest, MruVBusinessService_WatchBusinessServer) error
	// Subscribe to all businesses events.
	WatchBusinesses(*WatchBusinessesRequest, MruVBusinessService_WatchBusinessesServer) error
}

MruVBusinessServiceServer is the server API for MruVBusinessService service.

type MruVBusinessService_WatchBusinessClient

type MruVBusinessService_WatchBusinessClient interface {
	Recv() (*WatchBusinessResponse, error)
	grpc.ClientStream
}

type MruVBusinessService_WatchBusinessServer

type MruVBusinessService_WatchBusinessServer interface {
	Send(*WatchBusinessResponse) error
	grpc.ServerStream
}

type MruVBusinessService_WatchBusinessesClient

type MruVBusinessService_WatchBusinessesClient interface {
	Recv() (*WatchBusinessesResponse, error)
	grpc.ClientStream
}

type MruVBusinessService_WatchBusinessesServer

type MruVBusinessService_WatchBusinessesServer interface {
	Send(*WatchBusinessesResponse) error
	grpc.ServerStream
}

type OwnerType

type OwnerType int32

Owner type.

const (
	OwnerType_UNKNOWN OwnerType = 0
	OwnerType_PLAYER  OwnerType = 1
	OwnerType_GROUP   OwnerType = 2
	OwnerType_SYSTEM  OwnerType = 3
)

func (OwnerType) Descriptor added in v0.8.4

func (OwnerType) Descriptor() protoreflect.EnumDescriptor

func (OwnerType) Enum added in v0.8.4

func (x OwnerType) Enum() *OwnerType

func (OwnerType) EnumDescriptor deprecated

func (OwnerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OwnerType.Descriptor instead.

func (OwnerType) Number added in v0.8.4

func (x OwnerType) Number() protoreflect.EnumNumber

func (OwnerType) String

func (x OwnerType) String() string

func (OwnerType) Type added in v0.8.4

type UnassignEstateRequest

type UnassignEstateRequest struct {
	BusinessId uint32 `protobuf:"varint,1,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"`
	EstateId   uint32 `protobuf:"varint,2,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `UnassignEstate`.

func (*UnassignEstateRequest) Descriptor deprecated

func (*UnassignEstateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnassignEstateRequest.ProtoReflect.Descriptor instead.

func (*UnassignEstateRequest) GetBusinessId

func (x *UnassignEstateRequest) GetBusinessId() uint32

func (*UnassignEstateRequest) GetEstateId

func (x *UnassignEstateRequest) GetEstateId() uint32

func (*UnassignEstateRequest) ProtoMessage

func (*UnassignEstateRequest) ProtoMessage()

func (*UnassignEstateRequest) ProtoReflect added in v0.8.4

func (x *UnassignEstateRequest) ProtoReflect() protoreflect.Message

func (*UnassignEstateRequest) Reset

func (x *UnassignEstateRequest) Reset()

func (*UnassignEstateRequest) String

func (x *UnassignEstateRequest) String() string

func (*UnassignEstateRequest) Validate

func (m *UnassignEstateRequest) Validate() error

Validate checks the field values on UnassignEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UnassignEstateRequestValidationError

type UnassignEstateRequestValidationError struct {
	// contains filtered or unexported fields
}

UnassignEstateRequestValidationError is the validation error returned by UnassignEstateRequest.Validate if the designated constraints aren't met.

func (UnassignEstateRequestValidationError) Cause

Cause function returns cause value.

func (UnassignEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (UnassignEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (UnassignEstateRequestValidationError) Field

Field function returns field value.

func (UnassignEstateRequestValidationError) Key

Key function returns key value.

func (UnassignEstateRequestValidationError) Reason

Reason function returns reason value.

type UnassignEstateResponse

type UnassignEstateResponse struct {
	EstateCount uint32 `protobuf:"varint,1,opt,name=estate_count,json=estateCount,proto3" json:"estate_count,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `UnassignEstate`.

func (*UnassignEstateResponse) Descriptor deprecated

func (*UnassignEstateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnassignEstateResponse.ProtoReflect.Descriptor instead.

func (*UnassignEstateResponse) GetEstateCount

func (x *UnassignEstateResponse) GetEstateCount() uint32

func (*UnassignEstateResponse) ProtoMessage

func (*UnassignEstateResponse) ProtoMessage()

func (*UnassignEstateResponse) ProtoReflect added in v0.8.4

func (x *UnassignEstateResponse) ProtoReflect() protoreflect.Message

func (*UnassignEstateResponse) Reset

func (x *UnassignEstateResponse) Reset()

func (*UnassignEstateResponse) String

func (x *UnassignEstateResponse) String() string

func (*UnassignEstateResponse) Validate

func (m *UnassignEstateResponse) Validate() error

Validate checks the field values on UnassignEstateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UnassignEstateResponseValidationError

type UnassignEstateResponseValidationError struct {
	// contains filtered or unexported fields
}

UnassignEstateResponseValidationError is the validation error returned by UnassignEstateResponse.Validate if the designated constraints aren't met.

func (UnassignEstateResponseValidationError) Cause

Cause function returns cause value.

func (UnassignEstateResponseValidationError) Error

Error satisfies the builtin error interface

func (UnassignEstateResponseValidationError) ErrorName

ErrorName returns error name.

func (UnassignEstateResponseValidationError) Field

Field function returns field value.

func (UnassignEstateResponseValidationError) Key

Key function returns key value.

func (UnassignEstateResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedMruVBusinessServiceServer

type UnimplementedMruVBusinessServiceServer struct {
}

UnimplementedMruVBusinessServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMruVBusinessServiceServer) AssignEstate

func (*UnimplementedMruVBusinessServiceServer) AssignOwner

func (*UnimplementedMruVBusinessServiceServer) BuyBusiness

func (*UnimplementedMruVBusinessServiceServer) CreateBusiness

func (*UnimplementedMruVBusinessServiceServer) DeleteBusiness

func (*UnimplementedMruVBusinessServiceServer) GetBusiness

func (*UnimplementedMruVBusinessServiceServer) UnassignEstate

func (*UnimplementedMruVBusinessServiceServer) UpdateBusiness

func (*UnimplementedMruVBusinessServiceServer) WatchBusiness

type UpdateBusinessRequest

type UpdateBusinessRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `UpdateBusiness`.

func (*UpdateBusinessRequest) Descriptor deprecated

func (*UpdateBusinessRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBusinessRequest.ProtoReflect.Descriptor instead.

func (*UpdateBusinessRequest) GetId

func (x *UpdateBusinessRequest) GetId() uint32

func (*UpdateBusinessRequest) ProtoMessage

func (*UpdateBusinessRequest) ProtoMessage()

func (*UpdateBusinessRequest) ProtoReflect added in v0.8.4

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, an error is returned.

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 UpdateBusinessResponse

type UpdateBusinessResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `UpdateBusiness`.

func (*UpdateBusinessResponse) Descriptor deprecated

func (*UpdateBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBusinessResponse.ProtoReflect.Descriptor instead.

func (*UpdateBusinessResponse) ProtoMessage

func (*UpdateBusinessResponse) ProtoMessage()

func (*UpdateBusinessResponse) ProtoReflect added in v0.8.4

func (x *UpdateBusinessResponse) ProtoReflect() protoreflect.Message

func (*UpdateBusinessResponse) Reset

func (x *UpdateBusinessResponse) Reset()

func (*UpdateBusinessResponse) String

func (x *UpdateBusinessResponse) String() string

func (*UpdateBusinessResponse) Validate

func (m *UpdateBusinessResponse) Validate() error

Validate checks the field values on UpdateBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateBusinessResponseValidationError

type UpdateBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateBusinessResponseValidationError is the validation error returned by UpdateBusinessResponse.Validate if the designated constraints aren't met.

func (UpdateBusinessResponseValidationError) Cause

Cause function returns cause value.

func (UpdateBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateBusinessResponseValidationError) Field

Field function returns field value.

func (UpdateBusinessResponseValidationError) Key

Key function returns key value.

func (UpdateBusinessResponseValidationError) Reason

Reason function returns reason value.

type WatchBusinessRequest

type WatchBusinessRequest struct {
	// contains filtered or unexported fields
}

Request message for rpc `WatchBusiness`.

func (*WatchBusinessRequest) Descriptor deprecated

func (*WatchBusinessRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchBusinessRequest.ProtoReflect.Descriptor instead.

func (*WatchBusinessRequest) ProtoMessage

func (*WatchBusinessRequest) ProtoMessage()

func (*WatchBusinessRequest) ProtoReflect added in v0.8.4

func (x *WatchBusinessRequest) ProtoReflect() protoreflect.Message

func (*WatchBusinessRequest) Reset

func (x *WatchBusinessRequest) Reset()

func (*WatchBusinessRequest) String

func (x *WatchBusinessRequest) String() string

func (*WatchBusinessRequest) Validate

func (m *WatchBusinessRequest) Validate() error

Validate checks the field values on WatchBusinessRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchBusinessRequestValidationError

type WatchBusinessRequestValidationError struct {
	// contains filtered or unexported fields
}

WatchBusinessRequestValidationError is the validation error returned by WatchBusinessRequest.Validate if the designated constraints aren't met.

func (WatchBusinessRequestValidationError) Cause

Cause function returns cause value.

func (WatchBusinessRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchBusinessRequestValidationError) ErrorName

ErrorName returns error name.

func (WatchBusinessRequestValidationError) Field

Field function returns field value.

func (WatchBusinessRequestValidationError) Key

Key function returns key value.

func (WatchBusinessRequestValidationError) Reason

Reason function returns reason value.

type WatchBusinessResponse

type WatchBusinessResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `WatchBusiness`.

func (*WatchBusinessResponse) Descriptor deprecated

func (*WatchBusinessResponse) Descriptor() ([]byte, []int)

Deprecated: Use WatchBusinessResponse.ProtoReflect.Descriptor instead.

func (*WatchBusinessResponse) ProtoMessage

func (*WatchBusinessResponse) ProtoMessage()

func (*WatchBusinessResponse) ProtoReflect added in v0.8.4

func (x *WatchBusinessResponse) ProtoReflect() protoreflect.Message

func (*WatchBusinessResponse) Reset

func (x *WatchBusinessResponse) Reset()

func (*WatchBusinessResponse) String

func (x *WatchBusinessResponse) String() string

func (*WatchBusinessResponse) Validate

func (m *WatchBusinessResponse) Validate() error

Validate checks the field values on WatchBusinessResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchBusinessResponseValidationError

type WatchBusinessResponseValidationError struct {
	// contains filtered or unexported fields
}

WatchBusinessResponseValidationError is the validation error returned by WatchBusinessResponse.Validate if the designated constraints aren't met.

func (WatchBusinessResponseValidationError) Cause

Cause function returns cause value.

func (WatchBusinessResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchBusinessResponseValidationError) ErrorName

ErrorName returns error name.

func (WatchBusinessResponseValidationError) Field

Field function returns field value.

func (WatchBusinessResponseValidationError) Key

Key function returns key value.

func (WatchBusinessResponseValidationError) Reason

Reason function returns reason value.

type WatchBusinessesRequest

type WatchBusinessesRequest struct {
	// contains filtered or unexported fields
}

Request message for rpc `WatchBusinesses`.

func (*WatchBusinessesRequest) Descriptor deprecated

func (*WatchBusinessesRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchBusinessesRequest.ProtoReflect.Descriptor instead.

func (*WatchBusinessesRequest) ProtoMessage

func (*WatchBusinessesRequest) ProtoMessage()

func (*WatchBusinessesRequest) ProtoReflect added in v0.8.4

func (x *WatchBusinessesRequest) ProtoReflect() protoreflect.Message

func (*WatchBusinessesRequest) Reset

func (x *WatchBusinessesRequest) Reset()

func (*WatchBusinessesRequest) String

func (x *WatchBusinessesRequest) String() string

func (*WatchBusinessesRequest) Validate

func (m *WatchBusinessesRequest) Validate() error

Validate checks the field values on WatchBusinessesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchBusinessesRequestValidationError

type WatchBusinessesRequestValidationError struct {
	// contains filtered or unexported fields
}

WatchBusinessesRequestValidationError is the validation error returned by WatchBusinessesRequest.Validate if the designated constraints aren't met.

func (WatchBusinessesRequestValidationError) Cause

Cause function returns cause value.

func (WatchBusinessesRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchBusinessesRequestValidationError) ErrorName

ErrorName returns error name.

func (WatchBusinessesRequestValidationError) Field

Field function returns field value.

func (WatchBusinessesRequestValidationError) Key

Key function returns key value.

func (WatchBusinessesRequestValidationError) Reason

Reason function returns reason value.

type WatchBusinessesResponse

type WatchBusinessesResponse struct {
	// contains filtered or unexported fields
}

Response message for rpc `WatchBusinesses`.

func (*WatchBusinessesResponse) Descriptor deprecated

func (*WatchBusinessesResponse) Descriptor() ([]byte, []int)

Deprecated: Use WatchBusinessesResponse.ProtoReflect.Descriptor instead.

func (*WatchBusinessesResponse) ProtoMessage

func (*WatchBusinessesResponse) ProtoMessage()

func (*WatchBusinessesResponse) ProtoReflect added in v0.8.4

func (x *WatchBusinessesResponse) ProtoReflect() protoreflect.Message

func (*WatchBusinessesResponse) Reset

func (x *WatchBusinessesResponse) Reset()

func (*WatchBusinessesResponse) String

func (x *WatchBusinessesResponse) String() string

func (*WatchBusinessesResponse) Validate

func (m *WatchBusinessesResponse) Validate() error

Validate checks the field values on WatchBusinessesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WatchBusinessesResponseValidationError

type WatchBusinessesResponseValidationError struct {
	// contains filtered or unexported fields
}

WatchBusinessesResponseValidationError is the validation error returned by WatchBusinessesResponse.Validate if the designated constraints aren't met.

func (WatchBusinessesResponseValidationError) Cause

Cause function returns cause value.

func (WatchBusinessesResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchBusinessesResponseValidationError) ErrorName

ErrorName returns error name.

func (WatchBusinessesResponseValidationError) Field

Field function returns field value.

func (WatchBusinessesResponseValidationError) Key

Key function returns key value.

func (WatchBusinessesResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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