proto

package
v0.0.0-...-1b067dd Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Item_ItemPriority_name = map[int32]string{
		0:   "LOW",
		50:  "MID",
		100: "HIGH",
	}
	Item_ItemPriority_value = map[string]int32{
		"LOW":  0,
		"MID":  50,
		"HIGH": 100,
	}
)

Enum value maps for Item_ItemPriority.

View Source
var (
	Item_ItemStatus_name = map[int32]string{
		0: "INACTIVE",
		1: "ACTIVE",
	}
	Item_ItemStatus_value = map[string]int32{
		"INACTIVE": 0,
		"ACTIVE":   1,
	}
)

Enum value maps for Item_ItemStatus.

View Source
var (
	WishList_WishListStatus_name = map[int32]string{
		0: "INACTIVE",
		1: "ACTIVE",
	}
	WishList_WishListStatus_value = map[string]int32{
		"INACTIVE": 0,
		"ACTIVE":   1,
	}
)

Enum value maps for WishList_WishListStatus.

View Source
var File_proto_wishlist_proto protoreflect.FileDescriptor
View Source
var WishListService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.WishListService",
	HandlerType: (*WishListServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _WishListService_Create_Handler,
		},
		{
			MethodName: "Add",
			Handler:    _WishListService_Add_Handler,
		},
		{
			MethodName: "List",
			Handler:    _WishListService_List_Handler,
		},
		{
			MethodName: "AddCity",
			Handler:    _WishListService_AddCity_Handler,
		},
		{
			MethodName: "UpdateName",
			Handler:    _WishListService_UpdateName_Handler,
		},
		{
			MethodName: "UpdateNumber",
			Handler:    _WishListService_UpdateNumber_Handler,
		},
		{
			MethodName: "DeleteCity",
			Handler:    _WishListService_DeleteCity_Handler,
		},
		{
			MethodName: "GetNumberRebelds",
			Handler:    _WishListService_GetNumberRebelds_Handler,
		},
		{
			MethodName: "GetVector",
			Handler:    _WishListService_GetVector_Handler,
		},
		{
			MethodName: "MergeF2F3",
			Handler:    _WishListService_MergeF2F3_Handler,
		},
		{
			MethodName: "SendServer",
			Handler:    _WishListService_SendServer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/wishlist.proto",
}

WishListService_ServiceDesc is the grpc.ServiceDesc for WishListService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterWishListServiceServer

func RegisterWishListServiceServer(s grpc.ServiceRegistrar, srv WishListServiceServer)

Types

type Acity

type Acity struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	NombreCiudad  string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"`
	NuevoValor    string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"`
	// contains filtered or unexported fields
}

func (*Acity) Descriptor deprecated

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

Deprecated: Use Acity.ProtoReflect.Descriptor instead.

func (*Acity) GetNombreCiudad

func (x *Acity) GetNombreCiudad() string

func (*Acity) GetNombrePlaneta

func (x *Acity) GetNombrePlaneta() string

func (*Acity) GetNuevoValor

func (x *Acity) GetNuevoValor() string

func (*Acity) ProtoMessage

func (*Acity) ProtoMessage()

func (*Acity) ProtoReflect

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

func (*Acity) Reset

func (x *Acity) Reset()

func (*Acity) String

func (x *Acity) String() string

type AddItemReq

type AddItemReq struct {
	Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*AddItemReq) Descriptor deprecated

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

Deprecated: Use AddItemReq.ProtoReflect.Descriptor instead.

func (*AddItemReq) GetItem

func (x *AddItemReq) GetItem() *Item

func (*AddItemReq) ProtoMessage

func (*AddItemReq) ProtoMessage()

func (*AddItemReq) ProtoReflect

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

func (*AddItemReq) Reset

func (x *AddItemReq) Reset()

func (*AddItemReq) String

func (x *AddItemReq) String() string

type AddItemResp

type AddItemResp struct {
	ItemId string `protobuf:"bytes,1,opt,name=itemId,proto3" json:"itemId,omitempty"`
	// contains filtered or unexported fields
}

func (*AddItemResp) Descriptor deprecated

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

Deprecated: Use AddItemResp.ProtoReflect.Descriptor instead.

func (*AddItemResp) GetItemId

func (x *AddItemResp) GetItemId() string

func (*AddItemResp) ProtoMessage

func (*AddItemResp) ProtoMessage()

func (*AddItemResp) ProtoReflect

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

func (*AddItemResp) Reset

func (x *AddItemResp) Reset()

func (*AddItemResp) String

func (x *AddItemResp) String() string

type CreateWishListReq

type CreateWishListReq struct {
	WishList *WishList `protobuf:"bytes,1,opt,name=wishList,proto3" json:"wishList,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWishListReq) Descriptor deprecated

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

Deprecated: Use CreateWishListReq.ProtoReflect.Descriptor instead.

func (*CreateWishListReq) GetWishList

func (x *CreateWishListReq) GetWishList() *WishList

func (*CreateWishListReq) ProtoMessage

func (*CreateWishListReq) ProtoMessage()

func (*CreateWishListReq) ProtoReflect

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

func (*CreateWishListReq) Reset

func (x *CreateWishListReq) Reset()

func (*CreateWishListReq) String

func (x *CreateWishListReq) String() string

type CreateWishListResp

type CreateWishListResp struct {
	WishListId string `protobuf:"bytes,1,opt,name=wishListId,proto3" json:"wishListId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWishListResp) Descriptor deprecated

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

Deprecated: Use CreateWishListResp.ProtoReflect.Descriptor instead.

func (*CreateWishListResp) GetWishListId

func (x *CreateWishListResp) GetWishListId() string

func (*CreateWishListResp) ProtoMessage

func (*CreateWishListResp) ProtoMessage()

func (*CreateWishListResp) ProtoReflect

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

func (*CreateWishListResp) Reset

func (x *CreateWishListResp) Reset()

func (*CreateWishListResp) String

func (x *CreateWishListResp) String() string

type Dcity

type Dcity struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	NombreCiudad  string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"`
	// contains filtered or unexported fields
}

func (*Dcity) Descriptor deprecated

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

Deprecated: Use Dcity.ProtoReflect.Descriptor instead.

func (*Dcity) GetNombreCiudad

func (x *Dcity) GetNombreCiudad() string

func (*Dcity) GetNombrePlaneta

func (x *Dcity) GetNombrePlaneta() string

func (*Dcity) ProtoMessage

func (*Dcity) ProtoMessage()

func (*Dcity) ProtoReflect

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

func (*Dcity) Reset

func (x *Dcity) Reset()

func (*Dcity) String

func (x *Dcity) String() string

type GnumberR

type GnumberR struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	NombreCiudad  string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"`
	// contains filtered or unexported fields
}

func (*GnumberR) Descriptor deprecated

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

Deprecated: Use GnumberR.ProtoReflect.Descriptor instead.

func (*GnumberR) GetNombreCiudad

func (x *GnumberR) GetNombreCiudad() string

func (*GnumberR) GetNombrePlaneta

func (x *GnumberR) GetNombrePlaneta() string

func (*GnumberR) ProtoMessage

func (*GnumberR) ProtoMessage()

func (*GnumberR) ProtoReflect

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

func (*GnumberR) Reset

func (x *GnumberR) Reset()

func (*GnumberR) String

func (x *GnumberR) String() string

type Gvector

type Gvector struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	// contains filtered or unexported fields
}

func (*Gvector) Descriptor deprecated

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

Deprecated: Use Gvector.ProtoReflect.Descriptor instead.

func (*Gvector) GetNombrePlaneta

func (x *Gvector) GetNombrePlaneta() string

func (*Gvector) ProtoMessage

func (*Gvector) ProtoMessage()

func (*Gvector) ProtoReflect

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

func (*Gvector) Reset

func (x *Gvector) Reset()

func (*Gvector) String

func (x *Gvector) String() string

type Item

type Item struct {
	Id         string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	WishListId string            `protobuf:"bytes,2,opt,name=wishListId,proto3" json:"wishListId,omitempty"`
	Name       string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Link       string            `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"`
	Price      float64           `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
	Priority   Item_ItemPriority `protobuf:"varint,6,opt,name=priority,proto3,enum=grpc.Item_ItemPriority" json:"priority,omitempty"`
	Status     Item_ItemStatus   `protobuf:"varint,7,opt,name=status,proto3,enum=grpc.Item_ItemStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetId

func (x *Item) GetId() string
func (x *Item) GetLink() string

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) GetPrice

func (x *Item) GetPrice() float64

func (*Item) GetPriority

func (x *Item) GetPriority() Item_ItemPriority

func (*Item) GetStatus

func (x *Item) GetStatus() Item_ItemStatus

func (*Item) GetWishListId

func (x *Item) GetWishListId() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type Item_ItemPriority

type Item_ItemPriority int32
const (
	Item_LOW  Item_ItemPriority = 0
	Item_MID  Item_ItemPriority = 50
	Item_HIGH Item_ItemPriority = 100
)

func (Item_ItemPriority) Descriptor

func (Item_ItemPriority) Enum

func (Item_ItemPriority) EnumDescriptor deprecated

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

Deprecated: Use Item_ItemPriority.Descriptor instead.

func (Item_ItemPriority) Number

func (Item_ItemPriority) String

func (x Item_ItemPriority) String() string

func (Item_ItemPriority) Type

type Item_ItemStatus

type Item_ItemStatus int32
const (
	Item_INACTIVE Item_ItemStatus = 0
	Item_ACTIVE   Item_ItemStatus = 1
)

func (Item_ItemStatus) Descriptor

func (Item_ItemStatus) Enum

func (x Item_ItemStatus) Enum() *Item_ItemStatus

func (Item_ItemStatus) EnumDescriptor deprecated

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

Deprecated: Use Item_ItemStatus.Descriptor instead.

func (Item_ItemStatus) Number

func (Item_ItemStatus) String

func (x Item_ItemStatus) String() string

func (Item_ItemStatus) Type

type ListWishListReq

type ListWishListReq struct {
	WishListId string `protobuf:"bytes,1,opt,name=wishListId,proto3" json:"wishListId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWishListReq) Descriptor deprecated

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

Deprecated: Use ListWishListReq.ProtoReflect.Descriptor instead.

func (*ListWishListReq) GetWishListId

func (x *ListWishListReq) GetWishListId() string

func (*ListWishListReq) ProtoMessage

func (*ListWishListReq) ProtoMessage()

func (*ListWishListReq) ProtoReflect

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

func (*ListWishListReq) Reset

func (x *ListWishListReq) Reset()

func (*ListWishListReq) String

func (x *ListWishListReq) String() string

type ListWishListResp

type ListWishListResp struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWishListResp) Descriptor deprecated

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

Deprecated: Use ListWishListResp.ProtoReflect.Descriptor instead.

func (*ListWishListResp) GetItems

func (x *ListWishListResp) GetItems() []*Item

func (*ListWishListResp) ProtoMessage

func (*ListWishListResp) ProtoMessage()

func (*ListWishListResp) ProtoReflect

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

func (*ListWishListResp) Reset

func (x *ListWishListResp) Reset()

func (*ListWishListResp) String

func (x *ListWishListResp) String() string

type NumberRebeldsReq

type NumberRebeldsReq struct {
	Option string `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"`
	Planet string `protobuf:"bytes,2,opt,name=planet,proto3" json:"planet,omitempty"`
	City   string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
	X      string `protobuf:"bytes,4,opt,name=X,proto3" json:"X,omitempty"`
	Y      string `protobuf:"bytes,5,opt,name=Y,proto3" json:"Y,omitempty"`
	Z      string `protobuf:"bytes,6,opt,name=Z,proto3" json:"Z,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberRebeldsReq) Descriptor deprecated

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

Deprecated: Use NumberRebeldsReq.ProtoReflect.Descriptor instead.

func (*NumberRebeldsReq) GetCity

func (x *NumberRebeldsReq) GetCity() string

func (*NumberRebeldsReq) GetOption

func (x *NumberRebeldsReq) GetOption() string

func (*NumberRebeldsReq) GetPlanet

func (x *NumberRebeldsReq) GetPlanet() string

func (*NumberRebeldsReq) GetX

func (x *NumberRebeldsReq) GetX() string

func (*NumberRebeldsReq) GetY

func (x *NumberRebeldsReq) GetY() string

func (*NumberRebeldsReq) GetZ

func (x *NumberRebeldsReq) GetZ() string

func (*NumberRebeldsReq) ProtoMessage

func (*NumberRebeldsReq) ProtoMessage()

func (*NumberRebeldsReq) ProtoReflect

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

func (*NumberRebeldsReq) Reset

func (x *NumberRebeldsReq) Reset()

func (*NumberRebeldsReq) String

func (x *NumberRebeldsReq) String() string

type NumberRebeldsRes

type NumberRebeldsRes struct {
	X            int32  `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y            int32  `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	Z            int32  `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"`
	TotalRebelds string `protobuf:"bytes,4,opt,name=totalRebelds,proto3" json:"totalRebelds,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberRebeldsRes) Descriptor deprecated

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

Deprecated: Use NumberRebeldsRes.ProtoReflect.Descriptor instead.

func (*NumberRebeldsRes) GetTotalRebelds

func (x *NumberRebeldsRes) GetTotalRebelds() string

func (*NumberRebeldsRes) GetX

func (x *NumberRebeldsRes) GetX() int32

func (*NumberRebeldsRes) GetY

func (x *NumberRebeldsRes) GetY() int32

func (*NumberRebeldsRes) GetZ

func (x *NumberRebeldsRes) GetZ() int32

func (*NumberRebeldsRes) ProtoMessage

func (*NumberRebeldsRes) ProtoMessage()

func (*NumberRebeldsRes) ProtoReflect

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

func (*NumberRebeldsRes) Reset

func (x *NumberRebeldsRes) Reset()

func (*NumberRebeldsRes) String

func (x *NumberRebeldsRes) String() string

type ServerInfo

type ServerInfo struct {
	Ip     string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port   string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInfo) Descriptor deprecated

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

Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.

func (*ServerInfo) GetIp

func (x *ServerInfo) GetIp() string

func (*ServerInfo) GetPort

func (x *ServerInfo) GetPort() string

func (*ServerInfo) GetServer

func (x *ServerInfo) GetServer() string

func (*ServerInfo) ProtoMessage

func (*ServerInfo) ProtoMessage()

func (*ServerInfo) ProtoReflect

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

func (*ServerInfo) Reset

func (x *ServerInfo) Reset()

func (*ServerInfo) String

func (x *ServerInfo) String() string

type ServerInfoRes

type ServerInfoRes struct {
	Planeta string `protobuf:"bytes,1,opt,name=planeta,proto3" json:"planeta,omitempty"`
	X       string `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
	Y       string `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
	Z       string `protobuf:"bytes,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInfoRes) Descriptor deprecated

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

Deprecated: Use ServerInfoRes.ProtoReflect.Descriptor instead.

func (*ServerInfoRes) GetPlaneta

func (x *ServerInfoRes) GetPlaneta() string

func (*ServerInfoRes) GetX

func (x *ServerInfoRes) GetX() string

func (*ServerInfoRes) GetY

func (x *ServerInfoRes) GetY() string

func (*ServerInfoRes) GetZ

func (x *ServerInfoRes) GetZ() string

func (*ServerInfoRes) ProtoMessage

func (*ServerInfoRes) ProtoMessage()

func (*ServerInfoRes) ProtoReflect

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

func (*ServerInfoRes) Reset

func (x *ServerInfoRes) Reset()

func (*ServerInfoRes) String

func (x *ServerInfoRes) String() string

type State

type State struct {
	Mensage string `protobuf:"bytes,1,opt,name=mensage,proto3" json:"mensage,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetMensage

func (x *State) GetMensage() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

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

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

type Uname

type Uname struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	NombreCiudad  string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"`
	NuevoValor    string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"`
	// contains filtered or unexported fields
}

func (*Uname) Descriptor deprecated

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

Deprecated: Use Uname.ProtoReflect.Descriptor instead.

func (*Uname) GetNombreCiudad

func (x *Uname) GetNombreCiudad() string

func (*Uname) GetNombrePlaneta

func (x *Uname) GetNombrePlaneta() string

func (*Uname) GetNuevoValor

func (x *Uname) GetNuevoValor() string

func (*Uname) ProtoMessage

func (*Uname) ProtoMessage()

func (*Uname) ProtoReflect

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

func (*Uname) Reset

func (x *Uname) Reset()

func (*Uname) String

func (x *Uname) String() string

type UnimplementedWishListServiceServer

type UnimplementedWishListServiceServer struct {
}

UnimplementedWishListServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWishListServiceServer) Add

func (UnimplementedWishListServiceServer) AddCity

func (UnimplementedWishListServiceServer) Create

func (UnimplementedWishListServiceServer) DeleteCity

func (UnimplementedWishListServiceServer) GetNumberRebelds

func (UnimplementedWishListServiceServer) GetVector

func (UnimplementedWishListServiceServer) List

func (UnimplementedWishListServiceServer) MergeF2F3

func (UnimplementedWishListServiceServer) SendServer

func (UnimplementedWishListServiceServer) UpdateName

func (UnimplementedWishListServiceServer) UpdateNumber

type UnsafeWishListServiceServer

type UnsafeWishListServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWishListServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WishListServiceServer will result in compilation errors.

type Unumber

type Unumber struct {
	NombrePlaneta string `protobuf:"bytes,1,opt,name=nombre_planeta,json=nombrePlaneta,proto3" json:"nombre_planeta,omitempty"`
	NombreCiudad  string `protobuf:"bytes,2,opt,name=nombre_ciudad,json=nombreCiudad,proto3" json:"nombre_ciudad,omitempty"`
	NuevoValor    string `protobuf:"bytes,3,opt,name=nuevo_valor,json=nuevoValor,proto3" json:"nuevo_valor,omitempty"`
	// contains filtered or unexported fields
}

func (*Unumber) Descriptor deprecated

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

Deprecated: Use Unumber.ProtoReflect.Descriptor instead.

func (*Unumber) GetNombreCiudad

func (x *Unumber) GetNombreCiudad() string

func (*Unumber) GetNombrePlaneta

func (x *Unumber) GetNombrePlaneta() string

func (*Unumber) GetNuevoValor

func (x *Unumber) GetNuevoValor() string

func (*Unumber) ProtoMessage

func (*Unumber) ProtoMessage()

func (*Unumber) ProtoReflect

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

func (*Unumber) Reset

func (x *Unumber) Reset()

func (*Unumber) String

func (x *Unumber) String() string

type Vector

type Vector struct {

	// string planeta = 1;
	X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	Z int32 `protobuf:"varint,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*Vector) Descriptor deprecated

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

Deprecated: Use Vector.ProtoReflect.Descriptor instead.

func (*Vector) GetX

func (x *Vector) GetX() int32

func (*Vector) GetY

func (x *Vector) GetY() int32

func (*Vector) GetZ

func (x *Vector) GetZ() int32

func (*Vector) ProtoMessage

func (*Vector) ProtoMessage()

func (*Vector) ProtoReflect

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

func (*Vector) Reset

func (x *Vector) Reset()

func (*Vector) String

func (x *Vector) String() string

type Vector2

type Vector2 struct {
	Planeta string `protobuf:"bytes,1,opt,name=planeta,proto3" json:"planeta,omitempty"`
	X       int32  `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y       int32  `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	Z       int32  `protobuf:"varint,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*Vector2) Descriptor deprecated

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

Deprecated: Use Vector2.ProtoReflect.Descriptor instead.

func (*Vector2) GetPlaneta

func (x *Vector2) GetPlaneta() string

func (*Vector2) GetX

func (x *Vector2) GetX() int32

func (*Vector2) GetY

func (x *Vector2) GetY() int32

func (*Vector2) GetZ

func (x *Vector2) GetZ() int32

func (*Vector2) ProtoMessage

func (*Vector2) ProtoMessage()

func (*Vector2) ProtoReflect

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

func (*Vector2) Reset

func (x *Vector2) Reset()

func (*Vector2) String

func (x *Vector2) String() string

type VectoresRes

type VectoresRes struct {
	Registro string     `protobuf:"bytes,1,opt,name=Registro,proto3" json:"Registro,omitempty"`
	Vectores []*Vector2 `protobuf:"bytes,2,rep,name=Vectores,proto3" json:"Vectores,omitempty"`
	// contains filtered or unexported fields
}

func (*VectoresRes) Descriptor deprecated

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

Deprecated: Use VectoresRes.ProtoReflect.Descriptor instead.

func (*VectoresRes) GetRegistro

func (x *VectoresRes) GetRegistro() string

func (*VectoresRes) GetVectores

func (x *VectoresRes) GetVectores() []*Vector2

func (*VectoresRes) ProtoMessage

func (*VectoresRes) ProtoMessage()

func (*VectoresRes) ProtoReflect

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

func (*VectoresRes) Reset

func (x *VectoresRes) Reset()

func (*VectoresRes) String

func (x *VectoresRes) String() string

type WishList

type WishList struct {
	Id     string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status WishList_WishListStatus `protobuf:"varint,3,opt,name=status,proto3,enum=grpc.WishList_WishListStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*WishList) Descriptor deprecated

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

Deprecated: Use WishList.ProtoReflect.Descriptor instead.

func (*WishList) GetId

func (x *WishList) GetId() string

func (*WishList) GetName

func (x *WishList) GetName() string

func (*WishList) GetStatus

func (x *WishList) GetStatus() WishList_WishListStatus

func (*WishList) ProtoMessage

func (*WishList) ProtoMessage()

func (*WishList) ProtoReflect

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

func (*WishList) Reset

func (x *WishList) Reset()

func (*WishList) String

func (x *WishList) String() string

type WishListServiceClient

type WishListServiceClient interface {
	Create(ctx context.Context, in *CreateWishListReq, opts ...grpc.CallOption) (*CreateWishListResp, error)
	Add(ctx context.Context, in *AddItemReq, opts ...grpc.CallOption) (*AddItemResp, error)
	List(ctx context.Context, in *ListWishListReq, opts ...grpc.CallOption) (*ListWishListResp, error)
	AddCity(ctx context.Context, in *Acity, opts ...grpc.CallOption) (*Vector, error)
	UpdateName(ctx context.Context, in *Uname, opts ...grpc.CallOption) (*Vector, error)
	UpdateNumber(ctx context.Context, in *Unumber, opts ...grpc.CallOption) (*Vector, error)
	DeleteCity(ctx context.Context, in *Dcity, opts ...grpc.CallOption) (*Vector, error)
	GetNumberRebelds(ctx context.Context, in *NumberRebeldsReq, opts ...grpc.CallOption) (*NumberRebeldsRes, error)
	GetVector(ctx context.Context, in *Gvector, opts ...grpc.CallOption) (*Vector, error)
	MergeF2F3(ctx context.Context, in *VectoresRes, opts ...grpc.CallOption) (*State, error)
	SendServer(ctx context.Context, in *ServerInfoRes, opts ...grpc.CallOption) (*ServerInfo, error)
}

WishListServiceClient is the client API for WishListService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WishListServiceServer

type WishListServiceServer interface {
	Create(context.Context, *CreateWishListReq) (*CreateWishListResp, error)
	Add(context.Context, *AddItemReq) (*AddItemResp, error)
	List(context.Context, *ListWishListReq) (*ListWishListResp, error)
	AddCity(context.Context, *Acity) (*Vector, error)
	UpdateName(context.Context, *Uname) (*Vector, error)
	UpdateNumber(context.Context, *Unumber) (*Vector, error)
	DeleteCity(context.Context, *Dcity) (*Vector, error)
	GetNumberRebelds(context.Context, *NumberRebeldsReq) (*NumberRebeldsRes, error)
	GetVector(context.Context, *Gvector) (*Vector, error)
	MergeF2F3(context.Context, *VectoresRes) (*State, error)
	SendServer(context.Context, *ServerInfoRes) (*ServerInfo, error)
	// contains filtered or unexported methods
}

WishListServiceServer is the server API for WishListService service. All implementations must embed UnimplementedWishListServiceServer for forward compatibility

type WishList_WishListStatus

type WishList_WishListStatus int32
const (
	WishList_INACTIVE WishList_WishListStatus = 0
	WishList_ACTIVE   WishList_WishListStatus = 1
)

func (WishList_WishListStatus) Descriptor

func (WishList_WishListStatus) Enum

func (WishList_WishListStatus) EnumDescriptor deprecated

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

Deprecated: Use WishList_WishListStatus.Descriptor instead.

func (WishList_WishListStatus) Number

func (WishList_WishListStatus) String

func (x WishList_WishListStatus) String() string

func (WishList_WishListStatus) Type

Jump to

Keyboard shortcuts

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