estates

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: 30 Imported by: 2

Documentation

Overview

Package estates is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_estates_estates_proto protoreflect.FileDescriptor

Functions

func RegisterMruVEstateServiceHandler

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

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

func RegisterMruVEstateServiceHandlerClient

func RegisterMruVEstateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVEstateServiceClient) error

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

func RegisterMruVEstateServiceHandlerFromEndpoint

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

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

func RegisterMruVEstateServiceHandlerServer

func RegisterMruVEstateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVEstateServiceServer) error

RegisterMruVEstateServiceHandlerServer registers the http handlers for service MruVEstateService to "mux". UnaryRPC :call MruVEstateServiceServer 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 RegisterMruVEstateServiceHandlerFromEndpoint instead.

func RegisterMruVEstateServiceServer

func RegisterMruVEstateServiceServer(s *grpc.Server, srv MruVEstateServiceServer)

Types

type AddEntranceRequest

type AddEntranceRequest struct {
	EstateId   uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	EntranceId uint32 `protobuf:"varint,2,opt,name=entrance_id,json=entranceId,proto3" json:"entrance_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `AddEntrance`.

func (*AddEntranceRequest) Descriptor deprecated

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

Deprecated: Use AddEntranceRequest.ProtoReflect.Descriptor instead.

func (*AddEntranceRequest) GetEntranceId

func (x *AddEntranceRequest) GetEntranceId() uint32

func (*AddEntranceRequest) GetEstateId

func (x *AddEntranceRequest) GetEstateId() uint32

func (*AddEntranceRequest) ProtoMessage

func (*AddEntranceRequest) ProtoMessage()

func (*AddEntranceRequest) ProtoReflect added in v0.8.4

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

func (*AddEntranceRequest) Reset

func (x *AddEntranceRequest) Reset()

func (*AddEntranceRequest) String

func (x *AddEntranceRequest) String() string

func (*AddEntranceRequest) Validate

func (m *AddEntranceRequest) Validate() error

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

type AddEntranceRequestValidationError

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

AddEntranceRequestValidationError is the validation error returned by AddEntranceRequest.Validate if the designated constraints aren't met.

func (AddEntranceRequestValidationError) Cause

Cause function returns cause value.

func (AddEntranceRequestValidationError) Error

Error satisfies the builtin error interface

func (AddEntranceRequestValidationError) ErrorName

ErrorName returns error name.

func (AddEntranceRequestValidationError) Field

Field function returns field value.

func (AddEntranceRequestValidationError) Key

Key function returns key value.

func (AddEntranceRequestValidationError) Reason

Reason function returns reason value.

type AddEntranceResponse

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

Response message for rpc `AddEntrance`.

func (*AddEntranceResponse) Descriptor deprecated

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

Deprecated: Use AddEntranceResponse.ProtoReflect.Descriptor instead.

func (*AddEntranceResponse) ProtoMessage

func (*AddEntranceResponse) ProtoMessage()

func (*AddEntranceResponse) ProtoReflect added in v0.8.4

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

func (*AddEntranceResponse) Reset

func (x *AddEntranceResponse) Reset()

func (*AddEntranceResponse) String

func (x *AddEntranceResponse) String() string

func (*AddEntranceResponse) Validate

func (m *AddEntranceResponse) Validate() error

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

type AddEntranceResponseValidationError

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

AddEntranceResponseValidationError is the validation error returned by AddEntranceResponse.Validate if the designated constraints aren't met.

func (AddEntranceResponseValidationError) Cause

Cause function returns cause value.

func (AddEntranceResponseValidationError) Error

Error satisfies the builtin error interface

func (AddEntranceResponseValidationError) ErrorName

ErrorName returns error name.

func (AddEntranceResponseValidationError) Field

Field function returns field value.

func (AddEntranceResponseValidationError) Key

Key function returns key value.

func (AddEntranceResponseValidationError) Reason

Reason function returns reason value.

type AddGateRequest

type AddGateRequest struct {
	EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	GateId   uint32 `protobuf:"varint,2,opt,name=gate_id,json=gateId,proto3" json:"gate_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `AddGate`.

func (*AddGateRequest) Descriptor deprecated

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

Deprecated: Use AddGateRequest.ProtoReflect.Descriptor instead.

func (*AddGateRequest) GetEstateId

func (x *AddGateRequest) GetEstateId() uint32

func (*AddGateRequest) GetGateId

func (x *AddGateRequest) GetGateId() uint32

func (*AddGateRequest) ProtoMessage

func (*AddGateRequest) ProtoMessage()

func (*AddGateRequest) ProtoReflect added in v0.8.4

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

func (*AddGateRequest) Reset

func (x *AddGateRequest) Reset()

func (*AddGateRequest) String

func (x *AddGateRequest) String() string

func (*AddGateRequest) Validate

func (m *AddGateRequest) Validate() error

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

type AddGateRequestValidationError

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

AddGateRequestValidationError is the validation error returned by AddGateRequest.Validate if the designated constraints aren't met.

func (AddGateRequestValidationError) Cause

Cause function returns cause value.

func (AddGateRequestValidationError) Error

Error satisfies the builtin error interface

func (AddGateRequestValidationError) ErrorName

func (e AddGateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddGateRequestValidationError) Field

Field function returns field value.

func (AddGateRequestValidationError) Key

Key function returns key value.

func (AddGateRequestValidationError) Reason

Reason function returns reason value.

type AddGateResponse

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

Response message for rpc `AddGate`.

func (*AddGateResponse) Descriptor deprecated

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

Deprecated: Use AddGateResponse.ProtoReflect.Descriptor instead.

func (*AddGateResponse) ProtoMessage

func (*AddGateResponse) ProtoMessage()

func (*AddGateResponse) ProtoReflect added in v0.8.4

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

func (*AddGateResponse) Reset

func (x *AddGateResponse) Reset()

func (*AddGateResponse) String

func (x *AddGateResponse) String() string

func (*AddGateResponse) Validate

func (m *AddGateResponse) Validate() error

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

type AddGateResponseValidationError

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

AddGateResponseValidationError is the validation error returned by AddGateResponse.Validate if the designated constraints aren't met.

func (AddGateResponseValidationError) Cause

Cause function returns cause value.

func (AddGateResponseValidationError) Error

Error satisfies the builtin error interface

func (AddGateResponseValidationError) ErrorName

func (e AddGateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AddGateResponseValidationError) Field

Field function returns field value.

func (AddGateResponseValidationError) Key

Key function returns key value.

func (AddGateResponseValidationError) Reason

Reason function returns reason value.

type CreateEstateRequest

type CreateEstateRequest 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"`
	// contains filtered or unexported fields
}

Request message for rpc `CreateEstate`.

func (*CreateEstateRequest) Descriptor deprecated

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

Deprecated: Use CreateEstateRequest.ProtoReflect.Descriptor instead.

func (*CreateEstateRequest) GetDescription

func (x *CreateEstateRequest) GetDescription() string

func (*CreateEstateRequest) GetName

func (x *CreateEstateRequest) GetName() string

func (*CreateEstateRequest) ProtoMessage

func (*CreateEstateRequest) ProtoMessage()

func (*CreateEstateRequest) ProtoReflect added in v0.8.4

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

func (*CreateEstateRequest) Reset

func (x *CreateEstateRequest) Reset()

func (*CreateEstateRequest) String

func (x *CreateEstateRequest) String() string

func (*CreateEstateRequest) Validate

func (m *CreateEstateRequest) Validate() error

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

type CreateEstateRequestValidationError

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

CreateEstateRequestValidationError is the validation error returned by CreateEstateRequest.Validate if the designated constraints aren't met.

func (CreateEstateRequestValidationError) Cause

Cause function returns cause value.

func (CreateEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEstateRequestValidationError) Field

Field function returns field value.

func (CreateEstateRequestValidationError) Key

Key function returns key value.

func (CreateEstateRequestValidationError) Reason

Reason function returns reason value.

type CreateEstateResponse

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

Response message for rpc `CreateEstate`.

func (*CreateEstateResponse) Descriptor deprecated

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

Deprecated: Use CreateEstateResponse.ProtoReflect.Descriptor instead.

func (*CreateEstateResponse) GetId

func (x *CreateEstateResponse) GetId() uint32

func (*CreateEstateResponse) ProtoMessage

func (*CreateEstateResponse) ProtoMessage()

func (*CreateEstateResponse) ProtoReflect added in v0.8.4

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

func (*CreateEstateResponse) Reset

func (x *CreateEstateResponse) Reset()

func (*CreateEstateResponse) String

func (x *CreateEstateResponse) String() string

func (*CreateEstateResponse) Validate

func (m *CreateEstateResponse) Validate() error

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

type CreateEstateResponseValidationError

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

CreateEstateResponseValidationError is the validation error returned by CreateEstateResponse.Validate if the designated constraints aren't met.

func (CreateEstateResponseValidationError) Cause

Cause function returns cause value.

func (CreateEstateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateEstateResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateEstateResponseValidationError) Field

Field function returns field value.

func (CreateEstateResponseValidationError) Key

Key function returns key value.

func (CreateEstateResponseValidationError) Reason

Reason function returns reason value.

type DeleteEstateRequest

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

Request message for rpc `DeleteEstate`.

func (*DeleteEstateRequest) Descriptor deprecated

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

Deprecated: Use DeleteEstateRequest.ProtoReflect.Descriptor instead.

func (*DeleteEstateRequest) GetId

func (x *DeleteEstateRequest) GetId() uint32

func (*DeleteEstateRequest) ProtoMessage

func (*DeleteEstateRequest) ProtoMessage()

func (*DeleteEstateRequest) ProtoReflect added in v0.8.4

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

func (*DeleteEstateRequest) Reset

func (x *DeleteEstateRequest) Reset()

func (*DeleteEstateRequest) String

func (x *DeleteEstateRequest) String() string

func (*DeleteEstateRequest) Validate

func (m *DeleteEstateRequest) Validate() error

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

type DeleteEstateRequestValidationError

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

DeleteEstateRequestValidationError is the validation error returned by DeleteEstateRequest.Validate if the designated constraints aren't met.

func (DeleteEstateRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEstateRequestValidationError) Field

Field function returns field value.

func (DeleteEstateRequestValidationError) Key

Key function returns key value.

func (DeleteEstateRequestValidationError) Reason

Reason function returns reason value.

type DeleteEstateResponse

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

Response message for rpc `DeleteEstate`.

func (*DeleteEstateResponse) Descriptor deprecated

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

Deprecated: Use DeleteEstateResponse.ProtoReflect.Descriptor instead.

func (*DeleteEstateResponse) ProtoMessage

func (*DeleteEstateResponse) ProtoMessage()

func (*DeleteEstateResponse) ProtoReflect added in v0.8.4

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

func (*DeleteEstateResponse) Reset

func (x *DeleteEstateResponse) Reset()

func (*DeleteEstateResponse) String

func (x *DeleteEstateResponse) String() string

func (*DeleteEstateResponse) Validate

func (m *DeleteEstateResponse) Validate() error

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

type DeleteEstateResponseValidationError

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

DeleteEstateResponseValidationError is the validation error returned by DeleteEstateResponse.Validate if the designated constraints aren't met.

func (DeleteEstateResponseValidationError) Cause

Cause function returns cause value.

func (DeleteEstateResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteEstateResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteEstateResponseValidationError) Field

Field function returns field value.

func (DeleteEstateResponseValidationError) Key

Key function returns key value.

func (DeleteEstateResponseValidationError) Reason

Reason function returns reason value.

type Estate

type Estate struct {
	Id          uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Entrances   []uint32 `protobuf:"varint,4,rep,packed,name=entrances,proto3" json:"entrances,omitempty"`
	Gates       []uint32 `protobuf:"varint,5,rep,packed,name=gates,proto3" json:"gates,omitempty"`
	Rooms       []uint32 `protobuf:"varint,6,rep,packed,name=rooms,proto3" json:"rooms,omitempty"`
	ProductId   uint32   `protobuf:"varint,7,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Estate) Descriptor deprecated

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

Deprecated: Use Estate.ProtoReflect.Descriptor instead.

func (*Estate) GetDescription

func (x *Estate) GetDescription() string

func (*Estate) GetEntrances

func (x *Estate) GetEntrances() []uint32

func (*Estate) GetGates

func (x *Estate) GetGates() []uint32

func (*Estate) GetId

func (x *Estate) GetId() uint32

func (*Estate) GetName

func (x *Estate) GetName() string

func (*Estate) GetProductId

func (x *Estate) GetProductId() uint32

func (*Estate) GetRooms

func (x *Estate) GetRooms() []uint32

func (*Estate) ProtoMessage

func (*Estate) ProtoMessage()

func (*Estate) ProtoReflect added in v0.8.4

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

func (*Estate) Reset

func (x *Estate) Reset()

func (*Estate) String

func (x *Estate) String() string

func (*Estate) Validate

func (m *Estate) Validate() error

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

type EstateValidationError

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

EstateValidationError is the validation error returned by Estate.Validate if the designated constraints aren't met.

func (EstateValidationError) Cause

func (e EstateValidationError) Cause() error

Cause function returns cause value.

func (EstateValidationError) Error

func (e EstateValidationError) Error() string

Error satisfies the builtin error interface

func (EstateValidationError) ErrorName

func (e EstateValidationError) ErrorName() string

ErrorName returns error name.

func (EstateValidationError) Field

func (e EstateValidationError) Field() string

Field function returns field value.

func (EstateValidationError) Key

func (e EstateValidationError) Key() bool

Key function returns key value.

func (EstateValidationError) Reason

func (e EstateValidationError) Reason() string

Reason function returns reason value.

type FetchAllEstatesRequest

type FetchAllEstatesRequest struct {
	ChunkSize uint32 `protobuf:"varint,1,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `FetchAll`.

func (*FetchAllEstatesRequest) Descriptor deprecated

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

Deprecated: Use FetchAllEstatesRequest.ProtoReflect.Descriptor instead.

func (*FetchAllEstatesRequest) GetChunkSize

func (x *FetchAllEstatesRequest) GetChunkSize() uint32

func (*FetchAllEstatesRequest) ProtoMessage

func (*FetchAllEstatesRequest) ProtoMessage()

func (*FetchAllEstatesRequest) ProtoReflect added in v0.8.4

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

func (*FetchAllEstatesRequest) Reset

func (x *FetchAllEstatesRequest) Reset()

func (*FetchAllEstatesRequest) String

func (x *FetchAllEstatesRequest) String() string

func (*FetchAllEstatesRequest) Validate

func (m *FetchAllEstatesRequest) Validate() error

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

type FetchAllEstatesRequestValidationError

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

FetchAllEstatesRequestValidationError is the validation error returned by FetchAllEstatesRequest.Validate if the designated constraints aren't met.

func (FetchAllEstatesRequestValidationError) Cause

Cause function returns cause value.

func (FetchAllEstatesRequestValidationError) Error

Error satisfies the builtin error interface

func (FetchAllEstatesRequestValidationError) ErrorName

ErrorName returns error name.

func (FetchAllEstatesRequestValidationError) Field

Field function returns field value.

func (FetchAllEstatesRequestValidationError) Key

Key function returns key value.

func (FetchAllEstatesRequestValidationError) Reason

Reason function returns reason value.

type FetchAllEstatesResponse

type FetchAllEstatesResponse struct {
	Estates []*FullEstate `protobuf:"bytes,1,rep,name=estates,proto3" json:"estates,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `FetchAll`.

func (*FetchAllEstatesResponse) Descriptor deprecated

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

Deprecated: Use FetchAllEstatesResponse.ProtoReflect.Descriptor instead.

func (*FetchAllEstatesResponse) GetEstates

func (x *FetchAllEstatesResponse) GetEstates() []*FullEstate

func (*FetchAllEstatesResponse) ProtoMessage

func (*FetchAllEstatesResponse) ProtoMessage()

func (*FetchAllEstatesResponse) ProtoReflect added in v0.8.4

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

func (*FetchAllEstatesResponse) Reset

func (x *FetchAllEstatesResponse) Reset()

func (*FetchAllEstatesResponse) String

func (x *FetchAllEstatesResponse) String() string

func (*FetchAllEstatesResponse) Validate

func (m *FetchAllEstatesResponse) Validate() error

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

type FetchAllEstatesResponseValidationError

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

FetchAllEstatesResponseValidationError is the validation error returned by FetchAllEstatesResponse.Validate if the designated constraints aren't met.

func (FetchAllEstatesResponseValidationError) Cause

Cause function returns cause value.

func (FetchAllEstatesResponseValidationError) Error

Error satisfies the builtin error interface

func (FetchAllEstatesResponseValidationError) ErrorName

ErrorName returns error name.

func (FetchAllEstatesResponseValidationError) Field

Field function returns field value.

func (FetchAllEstatesResponseValidationError) Key

Key function returns key value.

func (FetchAllEstatesResponseValidationError) Reason

Reason function returns reason value.

type FullEstate

type FullEstate struct {
	Id               uint32                              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                              `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Objects          map[uint32]*objects.Object          `` /* 156-byte string literal not displayed */
	RemovedBuildings map[uint32]*objects.RemovedBuilding `` /* 198-byte string literal not displayed */
	Entrances        map[uint32]*entrances.Entrance      `` /* 160-byte string literal not displayed */
	Gates            map[uint32]*gates.Gate              `` // TODO: map<uint32, mruv.plots.Plot> rooms = 8;
	/* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FullEstate) Descriptor deprecated

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

Deprecated: Use FullEstate.ProtoReflect.Descriptor instead.

func (*FullEstate) GetDescription

func (x *FullEstate) GetDescription() string

func (*FullEstate) GetEntrances

func (x *FullEstate) GetEntrances() map[uint32]*entrances.Entrance

func (*FullEstate) GetGates

func (x *FullEstate) GetGates() map[uint32]*gates.Gate

func (*FullEstate) GetId

func (x *FullEstate) GetId() uint32

func (*FullEstate) GetName

func (x *FullEstate) GetName() string

func (*FullEstate) GetObjects

func (x *FullEstate) GetObjects() map[uint32]*objects.Object

func (*FullEstate) GetRemovedBuildings

func (x *FullEstate) GetRemovedBuildings() map[uint32]*objects.RemovedBuilding

func (*FullEstate) ProtoMessage

func (*FullEstate) ProtoMessage()

func (*FullEstate) ProtoReflect added in v0.8.4

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

func (*FullEstate) Reset

func (x *FullEstate) Reset()

func (*FullEstate) String

func (x *FullEstate) String() string

func (*FullEstate) Validate

func (m *FullEstate) Validate() error

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

type FullEstateValidationError

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

FullEstateValidationError is the validation error returned by FullEstate.Validate if the designated constraints aren't met.

func (FullEstateValidationError) Cause

func (e FullEstateValidationError) Cause() error

Cause function returns cause value.

func (FullEstateValidationError) Error

Error satisfies the builtin error interface

func (FullEstateValidationError) ErrorName

func (e FullEstateValidationError) ErrorName() string

ErrorName returns error name.

func (FullEstateValidationError) Field

Field function returns field value.

func (FullEstateValidationError) Key

Key function returns key value.

func (FullEstateValidationError) Reason

func (e FullEstateValidationError) Reason() string

Reason function returns reason value.

type GetEstateEntrancesRequest

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

Request message for rpc `GetEstateEntrances`.

func (*GetEstateEntrancesRequest) Descriptor deprecated

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

Deprecated: Use GetEstateEntrancesRequest.ProtoReflect.Descriptor instead.

func (*GetEstateEntrancesRequest) GetEstateId

func (x *GetEstateEntrancesRequest) GetEstateId() uint32

func (*GetEstateEntrancesRequest) ProtoMessage

func (*GetEstateEntrancesRequest) ProtoMessage()

func (*GetEstateEntrancesRequest) ProtoReflect added in v0.8.4

func (*GetEstateEntrancesRequest) Reset

func (x *GetEstateEntrancesRequest) Reset()

func (*GetEstateEntrancesRequest) String

func (x *GetEstateEntrancesRequest) String() string

func (*GetEstateEntrancesRequest) Validate

func (m *GetEstateEntrancesRequest) Validate() error

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

type GetEstateEntrancesRequestValidationError

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

GetEstateEntrancesRequestValidationError is the validation error returned by GetEstateEntrancesRequest.Validate if the designated constraints aren't met.

func (GetEstateEntrancesRequestValidationError) Cause

Cause function returns cause value.

func (GetEstateEntrancesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEstateEntrancesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEstateEntrancesRequestValidationError) Field

Field function returns field value.

func (GetEstateEntrancesRequestValidationError) Key

Key function returns key value.

func (GetEstateEntrancesRequestValidationError) Reason

Reason function returns reason value.

type GetEstateEntrancesResponse

type GetEstateEntrancesResponse struct {
	Entrances []*entrances.Entrance `protobuf:"bytes,1,rep,name=entrances,proto3" json:"entrances,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `GetEstateEntrances`.

func (*GetEstateEntrancesResponse) Descriptor deprecated

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

Deprecated: Use GetEstateEntrancesResponse.ProtoReflect.Descriptor instead.

func (*GetEstateEntrancesResponse) GetEntrances

func (x *GetEstateEntrancesResponse) GetEntrances() []*entrances.Entrance

func (*GetEstateEntrancesResponse) ProtoMessage

func (*GetEstateEntrancesResponse) ProtoMessage()

func (*GetEstateEntrancesResponse) ProtoReflect added in v0.8.4

func (*GetEstateEntrancesResponse) Reset

func (x *GetEstateEntrancesResponse) Reset()

func (*GetEstateEntrancesResponse) String

func (x *GetEstateEntrancesResponse) String() string

func (*GetEstateEntrancesResponse) Validate

func (m *GetEstateEntrancesResponse) Validate() error

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

type GetEstateEntrancesResponseValidationError

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

GetEstateEntrancesResponseValidationError is the validation error returned by GetEstateEntrancesResponse.Validate if the designated constraints aren't met.

func (GetEstateEntrancesResponseValidationError) Cause

Cause function returns cause value.

func (GetEstateEntrancesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEstateEntrancesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEstateEntrancesResponseValidationError) Field

Field function returns field value.

func (GetEstateEntrancesResponseValidationError) Key

Key function returns key value.

func (GetEstateEntrancesResponseValidationError) Reason

Reason function returns reason value.

type GetEstateGatesRequest

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

Request message for rpc `GetEstateGates`.

func (*GetEstateGatesRequest) Descriptor deprecated

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

Deprecated: Use GetEstateGatesRequest.ProtoReflect.Descriptor instead.

func (*GetEstateGatesRequest) GetEstateId

func (x *GetEstateGatesRequest) GetEstateId() uint32

func (*GetEstateGatesRequest) ProtoMessage

func (*GetEstateGatesRequest) ProtoMessage()

func (*GetEstateGatesRequest) ProtoReflect added in v0.8.4

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

func (*GetEstateGatesRequest) Reset

func (x *GetEstateGatesRequest) Reset()

func (*GetEstateGatesRequest) String

func (x *GetEstateGatesRequest) String() string

func (*GetEstateGatesRequest) Validate

func (m *GetEstateGatesRequest) Validate() error

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

type GetEstateGatesRequestValidationError

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

GetEstateGatesRequestValidationError is the validation error returned by GetEstateGatesRequest.Validate if the designated constraints aren't met.

func (GetEstateGatesRequestValidationError) Cause

Cause function returns cause value.

func (GetEstateGatesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEstateGatesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEstateGatesRequestValidationError) Field

Field function returns field value.

func (GetEstateGatesRequestValidationError) Key

Key function returns key value.

func (GetEstateGatesRequestValidationError) Reason

Reason function returns reason value.

type GetEstateGatesResponse

type GetEstateGatesResponse struct {
	Gates []*gates.Gate `protobuf:"bytes,1,rep,name=gates,proto3" json:"gates,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `GetEstateGates`.

func (*GetEstateGatesResponse) Descriptor deprecated

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

Deprecated: Use GetEstateGatesResponse.ProtoReflect.Descriptor instead.

func (*GetEstateGatesResponse) GetGates

func (x *GetEstateGatesResponse) GetGates() []*gates.Gate

func (*GetEstateGatesResponse) ProtoMessage

func (*GetEstateGatesResponse) ProtoMessage()

func (*GetEstateGatesResponse) ProtoReflect added in v0.8.4

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

func (*GetEstateGatesResponse) Reset

func (x *GetEstateGatesResponse) Reset()

func (*GetEstateGatesResponse) String

func (x *GetEstateGatesResponse) String() string

func (*GetEstateGatesResponse) Validate

func (m *GetEstateGatesResponse) Validate() error

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

type GetEstateGatesResponseValidationError

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

GetEstateGatesResponseValidationError is the validation error returned by GetEstateGatesResponse.Validate if the designated constraints aren't met.

func (GetEstateGatesResponseValidationError) Cause

Cause function returns cause value.

func (GetEstateGatesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEstateGatesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEstateGatesResponseValidationError) Field

Field function returns field value.

func (GetEstateGatesResponseValidationError) Key

Key function returns key value.

func (GetEstateGatesResponseValidationError) Reason

Reason function returns reason value.

type GetEstateRequest

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

Request message for rpc `GetEstate`.

func (*GetEstateRequest) Descriptor deprecated

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

Deprecated: Use GetEstateRequest.ProtoReflect.Descriptor instead.

func (*GetEstateRequest) GetId

func (x *GetEstateRequest) GetId() uint32

func (*GetEstateRequest) ProtoMessage

func (*GetEstateRequest) ProtoMessage()

func (*GetEstateRequest) ProtoReflect added in v0.8.4

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

func (*GetEstateRequest) Reset

func (x *GetEstateRequest) Reset()

func (*GetEstateRequest) String

func (x *GetEstateRequest) String() string

func (*GetEstateRequest) Validate

func (m *GetEstateRequest) Validate() error

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

type GetEstateRequestValidationError

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

GetEstateRequestValidationError is the validation error returned by GetEstateRequest.Validate if the designated constraints aren't met.

func (GetEstateRequestValidationError) Cause

Cause function returns cause value.

func (GetEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEstateRequestValidationError) Field

Field function returns field value.

func (GetEstateRequestValidationError) Key

Key function returns key value.

func (GetEstateRequestValidationError) Reason

Reason function returns reason value.

type GetEstatesRequest

type GetEstatesRequest struct {
	From  uint32 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `GetEstates`.

func (*GetEstatesRequest) Descriptor deprecated

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

Deprecated: Use GetEstatesRequest.ProtoReflect.Descriptor instead.

func (*GetEstatesRequest) GetFrom

func (x *GetEstatesRequest) GetFrom() uint32

func (*GetEstatesRequest) GetLimit

func (x *GetEstatesRequest) GetLimit() uint32

func (*GetEstatesRequest) ProtoMessage

func (*GetEstatesRequest) ProtoMessage()

func (*GetEstatesRequest) ProtoReflect added in v0.8.4

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

func (*GetEstatesRequest) Reset

func (x *GetEstatesRequest) Reset()

func (*GetEstatesRequest) String

func (x *GetEstatesRequest) String() string

func (*GetEstatesRequest) Validate

func (m *GetEstatesRequest) Validate() error

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

type GetEstatesRequestValidationError

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

GetEstatesRequestValidationError is the validation error returned by GetEstatesRequest.Validate if the designated constraints aren't met.

func (GetEstatesRequestValidationError) Cause

Cause function returns cause value.

func (GetEstatesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEstatesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEstatesRequestValidationError) Field

Field function returns field value.

func (GetEstatesRequestValidationError) Key

Key function returns key value.

func (GetEstatesRequestValidationError) Reason

Reason function returns reason value.

type GetEstatesResponse

type GetEstatesResponse struct {
	Estates []*Estate `protobuf:"bytes,1,rep,name=estates,proto3" json:"estates,omitempty"`
	// contains filtered or unexported fields
}

Response message for rpc `GetEstates`.

func (*GetEstatesResponse) Descriptor deprecated

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

Deprecated: Use GetEstatesResponse.ProtoReflect.Descriptor instead.

func (*GetEstatesResponse) GetEstates

func (x *GetEstatesResponse) GetEstates() []*Estate

func (*GetEstatesResponse) ProtoMessage

func (*GetEstatesResponse) ProtoMessage()

func (*GetEstatesResponse) ProtoReflect added in v0.8.4

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

func (*GetEstatesResponse) Reset

func (x *GetEstatesResponse) Reset()

func (*GetEstatesResponse) String

func (x *GetEstatesResponse) String() string

func (*GetEstatesResponse) Validate

func (m *GetEstatesResponse) Validate() error

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

type GetEstatesResponseValidationError

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

GetEstatesResponseValidationError is the validation error returned by GetEstatesResponse.Validate if the designated constraints aren't met.

func (GetEstatesResponseValidationError) Cause

Cause function returns cause value.

func (GetEstatesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEstatesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEstatesResponseValidationError) Field

Field function returns field value.

func (GetEstatesResponseValidationError) Key

Key function returns key value.

func (GetEstatesResponseValidationError) Reason

Reason function returns reason value.

type MruVEstateServiceClient

type MruVEstateServiceClient interface {
	// Create real estate.
	CreateEstate(ctx context.Context, in *CreateEstateRequest, opts ...grpc.CallOption) (*CreateEstateResponse, error)
	// Get real estate.
	GetEstate(ctx context.Context, in *GetEstateRequest, opts ...grpc.CallOption) (*Estate, error)
	// Update real estate.
	UpdateEstate(ctx context.Context, in *UpdateEstateRequest, opts ...grpc.CallOption) (*UpdateEstateResponse, error)
	// Delete real estate.
	DeleteEstate(ctx context.Context, in *DeleteEstateRequest, opts ...grpc.CallOption) (*DeleteEstateResponse, error)
	// Get all created real estates.
	GetEstates(ctx context.Context, in *GetEstatesRequest, opts ...grpc.CallOption) (*GetEstatesResponse, error)
	// Add a gate to an estate.
	AddGate(ctx context.Context, in *AddGateRequest, opts ...grpc.CallOption) (*AddGateResponse, error)
	// Delete a gate from estate.
	RemoveGate(ctx context.Context, in *RemoveGateRequest, opts ...grpc.CallOption) (*RemoveGateResponse, error)
	// Get all estate gates.
	GetEstateGates(ctx context.Context, in *GetEstateGatesRequest, opts ...grpc.CallOption) (*GetEstateGatesResponse, error)
	// Add an entrance to estate.
	AddEntrance(ctx context.Context, in *AddEntranceRequest, opts ...grpc.CallOption) (*AddEntranceResponse, error)
	// Remove an entrance from estate.
	RemoveEntrance(ctx context.Context, in *RemoveEntranceRequest, opts ...grpc.CallOption) (*RemoveEntranceResponse, error)
	// Get all estate entrances.
	GetEstateEntrances(ctx context.Context, in *GetEstateEntrancesRequest, opts ...grpc.CallOption) (*GetEstateEntrancesResponse, error)
	// Get full estates data
	FetchAll(ctx context.Context, in *FetchAllEstatesRequest, opts ...grpc.CallOption) (MruVEstateService_FetchAllClient, error)
}

MruVEstateServiceClient is the client API for MruVEstateService service.

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

type MruVEstateServiceServer

type MruVEstateServiceServer interface {
	// Create real estate.
	CreateEstate(context.Context, *CreateEstateRequest) (*CreateEstateResponse, error)
	// Get real estate.
	GetEstate(context.Context, *GetEstateRequest) (*Estate, error)
	// Update real estate.
	UpdateEstate(context.Context, *UpdateEstateRequest) (*UpdateEstateResponse, error)
	// Delete real estate.
	DeleteEstate(context.Context, *DeleteEstateRequest) (*DeleteEstateResponse, error)
	// Get all created real estates.
	GetEstates(context.Context, *GetEstatesRequest) (*GetEstatesResponse, error)
	// Add a gate to an estate.
	AddGate(context.Context, *AddGateRequest) (*AddGateResponse, error)
	// Delete a gate from estate.
	RemoveGate(context.Context, *RemoveGateRequest) (*RemoveGateResponse, error)
	// Get all estate gates.
	GetEstateGates(context.Context, *GetEstateGatesRequest) (*GetEstateGatesResponse, error)
	// Add an entrance to estate.
	AddEntrance(context.Context, *AddEntranceRequest) (*AddEntranceResponse, error)
	// Remove an entrance from estate.
	RemoveEntrance(context.Context, *RemoveEntranceRequest) (*RemoveEntranceResponse, error)
	// Get all estate entrances.
	GetEstateEntrances(context.Context, *GetEstateEntrancesRequest) (*GetEstateEntrancesResponse, error)
	// Get full estates data
	FetchAll(*FetchAllEstatesRequest, MruVEstateService_FetchAllServer) error
}

MruVEstateServiceServer is the server API for MruVEstateService service.

type MruVEstateService_FetchAllClient

type MruVEstateService_FetchAllClient interface {
	Recv() (*FetchAllEstatesResponse, error)
	grpc.ClientStream
}

type MruVEstateService_FetchAllServer

type MruVEstateService_FetchAllServer interface {
	Send(*FetchAllEstatesResponse) error
	grpc.ServerStream
}

type RemoveEntranceRequest

type RemoveEntranceRequest struct {
	EstateId   uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	EntranceId uint32 `protobuf:"varint,2,opt,name=entrance_id,json=entranceId,proto3" json:"entrance_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `RemoveEntrance`.

func (*RemoveEntranceRequest) Descriptor deprecated

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

Deprecated: Use RemoveEntranceRequest.ProtoReflect.Descriptor instead.

func (*RemoveEntranceRequest) GetEntranceId

func (x *RemoveEntranceRequest) GetEntranceId() uint32

func (*RemoveEntranceRequest) GetEstateId

func (x *RemoveEntranceRequest) GetEstateId() uint32

func (*RemoveEntranceRequest) ProtoMessage

func (*RemoveEntranceRequest) ProtoMessage()

func (*RemoveEntranceRequest) ProtoReflect added in v0.8.4

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

func (*RemoveEntranceRequest) Reset

func (x *RemoveEntranceRequest) Reset()

func (*RemoveEntranceRequest) String

func (x *RemoveEntranceRequest) String() string

func (*RemoveEntranceRequest) Validate

func (m *RemoveEntranceRequest) Validate() error

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

type RemoveEntranceRequestValidationError

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

RemoveEntranceRequestValidationError is the validation error returned by RemoveEntranceRequest.Validate if the designated constraints aren't met.

func (RemoveEntranceRequestValidationError) Cause

Cause function returns cause value.

func (RemoveEntranceRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveEntranceRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveEntranceRequestValidationError) Field

Field function returns field value.

func (RemoveEntranceRequestValidationError) Key

Key function returns key value.

func (RemoveEntranceRequestValidationError) Reason

Reason function returns reason value.

type RemoveEntranceResponse

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

Response message for rpc `RemoveEntrance`.

func (*RemoveEntranceResponse) Descriptor deprecated

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

Deprecated: Use RemoveEntranceResponse.ProtoReflect.Descriptor instead.

func (*RemoveEntranceResponse) ProtoMessage

func (*RemoveEntranceResponse) ProtoMessage()

func (*RemoveEntranceResponse) ProtoReflect added in v0.8.4

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

func (*RemoveEntranceResponse) Reset

func (x *RemoveEntranceResponse) Reset()

func (*RemoveEntranceResponse) String

func (x *RemoveEntranceResponse) String() string

func (*RemoveEntranceResponse) Validate

func (m *RemoveEntranceResponse) Validate() error

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

type RemoveEntranceResponseValidationError

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

RemoveEntranceResponseValidationError is the validation error returned by RemoveEntranceResponse.Validate if the designated constraints aren't met.

func (RemoveEntranceResponseValidationError) Cause

Cause function returns cause value.

func (RemoveEntranceResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveEntranceResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveEntranceResponseValidationError) Field

Field function returns field value.

func (RemoveEntranceResponseValidationError) Key

Key function returns key value.

func (RemoveEntranceResponseValidationError) Reason

Reason function returns reason value.

type RemoveGateRequest

type RemoveGateRequest struct {
	EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"`
	GateId   uint32 `protobuf:"varint,2,opt,name=gate_id,json=gateId,proto3" json:"gate_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `RemoveGate`.

func (*RemoveGateRequest) Descriptor deprecated

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

Deprecated: Use RemoveGateRequest.ProtoReflect.Descriptor instead.

func (*RemoveGateRequest) GetEstateId

func (x *RemoveGateRequest) GetEstateId() uint32

func (*RemoveGateRequest) GetGateId

func (x *RemoveGateRequest) GetGateId() uint32

func (*RemoveGateRequest) ProtoMessage

func (*RemoveGateRequest) ProtoMessage()

func (*RemoveGateRequest) ProtoReflect added in v0.8.4

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

func (*RemoveGateRequest) Reset

func (x *RemoveGateRequest) Reset()

func (*RemoveGateRequest) String

func (x *RemoveGateRequest) String() string

func (*RemoveGateRequest) Validate

func (m *RemoveGateRequest) Validate() error

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

type RemoveGateRequestValidationError

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

RemoveGateRequestValidationError is the validation error returned by RemoveGateRequest.Validate if the designated constraints aren't met.

func (RemoveGateRequestValidationError) Cause

Cause function returns cause value.

func (RemoveGateRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveGateRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveGateRequestValidationError) Field

Field function returns field value.

func (RemoveGateRequestValidationError) Key

Key function returns key value.

func (RemoveGateRequestValidationError) Reason

Reason function returns reason value.

type RemoveGateResponse

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

Response message for rpc `RemoveGate`.

func (*RemoveGateResponse) Descriptor deprecated

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

Deprecated: Use RemoveGateResponse.ProtoReflect.Descriptor instead.

func (*RemoveGateResponse) ProtoMessage

func (*RemoveGateResponse) ProtoMessage()

func (*RemoveGateResponse) ProtoReflect added in v0.8.4

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

func (*RemoveGateResponse) Reset

func (x *RemoveGateResponse) Reset()

func (*RemoveGateResponse) String

func (x *RemoveGateResponse) String() string

func (*RemoveGateResponse) Validate

func (m *RemoveGateResponse) Validate() error

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

type RemoveGateResponseValidationError

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

RemoveGateResponseValidationError is the validation error returned by RemoveGateResponse.Validate if the designated constraints aren't met.

func (RemoveGateResponseValidationError) Cause

Cause function returns cause value.

func (RemoveGateResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveGateResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveGateResponseValidationError) Field

Field function returns field value.

func (RemoveGateResponseValidationError) Key

Key function returns key value.

func (RemoveGateResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedMruVEstateServiceServer

type UnimplementedMruVEstateServiceServer struct {
}

UnimplementedMruVEstateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMruVEstateServiceServer) AddEntrance

func (*UnimplementedMruVEstateServiceServer) AddGate

func (*UnimplementedMruVEstateServiceServer) CreateEstate

func (*UnimplementedMruVEstateServiceServer) DeleteEstate

func (*UnimplementedMruVEstateServiceServer) FetchAll

func (*UnimplementedMruVEstateServiceServer) GetEstate

func (*UnimplementedMruVEstateServiceServer) GetEstateEntrances

func (*UnimplementedMruVEstateServiceServer) GetEstateGates

func (*UnimplementedMruVEstateServiceServer) GetEstates

func (*UnimplementedMruVEstateServiceServer) RemoveEntrance

func (*UnimplementedMruVEstateServiceServer) RemoveGate

func (*UnimplementedMruVEstateServiceServer) UpdateEstate

type UpdateEstateRequest

type UpdateEstateRequest struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Request message for rpc `UpdateEstate`.

func (*UpdateEstateRequest) Descriptor deprecated

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

Deprecated: Use UpdateEstateRequest.ProtoReflect.Descriptor instead.

func (*UpdateEstateRequest) GetDescription

func (x *UpdateEstateRequest) GetDescription() string

func (*UpdateEstateRequest) GetId

func (x *UpdateEstateRequest) GetId() uint32

func (*UpdateEstateRequest) GetName

func (x *UpdateEstateRequest) GetName() string

func (*UpdateEstateRequest) ProtoMessage

func (*UpdateEstateRequest) ProtoMessage()

func (*UpdateEstateRequest) ProtoReflect added in v0.8.4

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

func (*UpdateEstateRequest) Reset

func (x *UpdateEstateRequest) Reset()

func (*UpdateEstateRequest) String

func (x *UpdateEstateRequest) String() string

func (*UpdateEstateRequest) Validate

func (m *UpdateEstateRequest) Validate() error

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

type UpdateEstateRequestValidationError

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

UpdateEstateRequestValidationError is the validation error returned by UpdateEstateRequest.Validate if the designated constraints aren't met.

func (UpdateEstateRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEstateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEstateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEstateRequestValidationError) Field

Field function returns field value.

func (UpdateEstateRequestValidationError) Key

Key function returns key value.

func (UpdateEstateRequestValidationError) Reason

Reason function returns reason value.

type UpdateEstateResponse

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

Response message for rpc `UpdateEstate`.

func (*UpdateEstateResponse) Descriptor deprecated

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

Deprecated: Use UpdateEstateResponse.ProtoReflect.Descriptor instead.

func (*UpdateEstateResponse) ProtoMessage

func (*UpdateEstateResponse) ProtoMessage()

func (*UpdateEstateResponse) ProtoReflect added in v0.8.4

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

func (*UpdateEstateResponse) Reset

func (x *UpdateEstateResponse) Reset()

func (*UpdateEstateResponse) String

func (x *UpdateEstateResponse) String() string

func (*UpdateEstateResponse) Validate

func (m *UpdateEstateResponse) Validate() error

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

type UpdateEstateResponseValidationError

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

UpdateEstateResponseValidationError is the validation error returned by UpdateEstateResponse.Validate if the designated constraints aren't met.

func (UpdateEstateResponseValidationError) Cause

Cause function returns cause value.

func (UpdateEstateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateEstateResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateEstateResponseValidationError) Field

Field function returns field value.

func (UpdateEstateResponseValidationError) Key

Key function returns key value.

func (UpdateEstateResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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