v1

package
v0.2.168 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GameRevisionStatus_name = map[int32]string{
		0: "GAME_REVISION_STATUS_UNSPECIFIED",
		1: "GAME_REVISION_STATUS_UNPUBLISHED",
		2: "GAME_REVISION_STATUS_PUBLISHED",
	}
	GameRevisionStatus_value = map[string]int32{
		"GAME_REVISION_STATUS_UNSPECIFIED": 0,
		"GAME_REVISION_STATUS_UNPUBLISHED": 1,
		"GAME_REVISION_STATUS_PUBLISHED":   2,
	}
)

Enum value maps for GameRevisionStatus.

View Source
var File_basket_game_service_v1_game_proto protoreflect.FileDescriptor
View Source
var GameService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "basket.game_service.v1.GameService",
	HandlerType: (*GameServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGame",
			Handler:    _GameService_CreateGame_Handler,
		},
		{
			MethodName: "UpdateGame",
			Handler:    _GameService_UpdateGame_Handler,
		},
		{
			MethodName: "DeleteGame",
			Handler:    _GameService_DeleteGame_Handler,
		},
		{
			MethodName: "GetGames",
			Handler:    _GameService_GetGames_Handler,
		},
		{
			MethodName: "GetGame",
			Handler:    _GameService_GetGame_Handler,
		},
		{
			MethodName: "CreateGameRevision",
			Handler:    _GameService_CreateGameRevision_Handler,
		},
		{
			MethodName: "DeleteGameRevision",
			Handler:    _GameService_DeleteGameRevision_Handler,
		},
		{
			MethodName: "PublishGameRevision",
			Handler:    _GameService_PublishGameRevision_Handler,
		},
		{
			MethodName: "UnpublishGameRevision",
			Handler:    _GameService_UnpublishGameRevision_Handler,
		},
		{
			MethodName: "GetGameRevisions",
			Handler:    _GameService_GetGameRevisions_Handler,
		},
		{
			MethodName: "GetGameRevision",
			Handler:    _GameService_GetGameRevision_Handler,
		},
		{
			MethodName: "CreateGameProfileImage",
			Handler:    _GameService_CreateGameProfileImage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "basket/game-service/v1/game.proto",
}

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

Functions

func RegisterGameServiceServer

func RegisterGameServiceServer(s grpc.ServiceRegistrar, srv GameServiceServer)

Types

type CreateGameProfileImageRequest added in v0.2.164

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

func (*CreateGameProfileImageRequest) Descriptor deprecated added in v0.2.164

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

Deprecated: Use CreateGameProfileImageRequest.ProtoReflect.Descriptor instead.

func (*CreateGameProfileImageRequest) ProtoMessage added in v0.2.164

func (*CreateGameProfileImageRequest) ProtoMessage()

func (*CreateGameProfileImageRequest) ProtoReflect added in v0.2.164

func (*CreateGameProfileImageRequest) Reset added in v0.2.164

func (x *CreateGameProfileImageRequest) Reset()

func (*CreateGameProfileImageRequest) String added in v0.2.164

type CreateGameProfileImageResponse added in v0.2.164

type CreateGameProfileImageResponse struct {
	FileId    string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameProfileImageResponse) Descriptor deprecated added in v0.2.164

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

Deprecated: Use CreateGameProfileImageResponse.ProtoReflect.Descriptor instead.

func (*CreateGameProfileImageResponse) GetFileId added in v0.2.164

func (x *CreateGameProfileImageResponse) GetFileId() string

func (*CreateGameProfileImageResponse) GetUploadUrl added in v0.2.164

func (x *CreateGameProfileImageResponse) GetUploadUrl() string

func (*CreateGameProfileImageResponse) ProtoMessage added in v0.2.164

func (*CreateGameProfileImageResponse) ProtoMessage()

func (*CreateGameProfileImageResponse) ProtoReflect added in v0.2.164

func (*CreateGameProfileImageResponse) Reset added in v0.2.164

func (x *CreateGameProfileImageResponse) Reset()

func (*CreateGameProfileImageResponse) String added in v0.2.164

type CreateGameRequest

type CreateGameRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProfileImageId string `protobuf:"bytes,2,opt,name=profile_image_id,json=profileImageId,proto3" json:"profile_image_id,omitempty"`
	Description    string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameRequest) Descriptor deprecated

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

Deprecated: Use CreateGameRequest.ProtoReflect.Descriptor instead.

func (*CreateGameRequest) GetDescription added in v0.2.162

func (x *CreateGameRequest) GetDescription() string

func (*CreateGameRequest) GetName

func (x *CreateGameRequest) GetName() string

func (*CreateGameRequest) GetProfileImageId

func (x *CreateGameRequest) GetProfileImageId() string

func (*CreateGameRequest) ProtoMessage

func (*CreateGameRequest) ProtoMessage()

func (*CreateGameRequest) ProtoReflect

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

func (*CreateGameRequest) Reset

func (x *CreateGameRequest) Reset()

func (*CreateGameRequest) String

func (x *CreateGameRequest) String() string

type CreateGameResponse

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

func (*CreateGameResponse) Descriptor deprecated

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

Deprecated: Use CreateGameResponse.ProtoReflect.Descriptor instead.

func (*CreateGameResponse) GetGame

func (x *CreateGameResponse) GetGame() *Game

func (*CreateGameResponse) ProtoMessage

func (*CreateGameResponse) ProtoMessage()

func (*CreateGameResponse) ProtoReflect

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

func (*CreateGameResponse) Reset

func (x *CreateGameResponse) Reset()

func (*CreateGameResponse) String

func (x *CreateGameResponse) String() string

type CreateGameRevisionRequest

type CreateGameRevisionRequest struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameRevisionRequest) Descriptor deprecated

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

Deprecated: Use CreateGameRevisionRequest.ProtoReflect.Descriptor instead.

func (*CreateGameRevisionRequest) GetGameId added in v0.2.163

func (x *CreateGameRevisionRequest) GetGameId() string

func (*CreateGameRevisionRequest) GetName

func (x *CreateGameRevisionRequest) GetName() string

func (*CreateGameRevisionRequest) ProtoMessage

func (*CreateGameRevisionRequest) ProtoMessage()

func (*CreateGameRevisionRequest) ProtoReflect

func (*CreateGameRevisionRequest) Reset

func (x *CreateGameRevisionRequest) Reset()

func (*CreateGameRevisionRequest) String

func (x *CreateGameRevisionRequest) String() string

type CreateGameRevisionResponse

type CreateGameRevisionResponse struct {
	Revision  *GameRevision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	UploadUrl string        `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGameRevisionResponse) Descriptor deprecated

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

Deprecated: Use CreateGameRevisionResponse.ProtoReflect.Descriptor instead.

func (*CreateGameRevisionResponse) GetRevision

func (x *CreateGameRevisionResponse) GetRevision() *GameRevision

func (*CreateGameRevisionResponse) GetUploadUrl

func (x *CreateGameRevisionResponse) GetUploadUrl() string

func (*CreateGameRevisionResponse) ProtoMessage

func (*CreateGameRevisionResponse) ProtoMessage()

func (*CreateGameRevisionResponse) ProtoReflect

func (*CreateGameRevisionResponse) Reset

func (x *CreateGameRevisionResponse) Reset()

func (*CreateGameRevisionResponse) String

func (x *CreateGameRevisionResponse) String() string

type DeleteGameRequest

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

func (*DeleteGameRequest) Descriptor deprecated

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

Deprecated: Use DeleteGameRequest.ProtoReflect.Descriptor instead.

func (*DeleteGameRequest) GetId

func (x *DeleteGameRequest) GetId() string

func (*DeleteGameRequest) ProtoMessage

func (*DeleteGameRequest) ProtoMessage()

func (*DeleteGameRequest) ProtoReflect

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

func (*DeleteGameRequest) Reset

func (x *DeleteGameRequest) Reset()

func (*DeleteGameRequest) String

func (x *DeleteGameRequest) String() string

type DeleteGameResponse

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

func (*DeleteGameResponse) Descriptor deprecated

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

Deprecated: Use DeleteGameResponse.ProtoReflect.Descriptor instead.

func (*DeleteGameResponse) ProtoMessage

func (*DeleteGameResponse) ProtoMessage()

func (*DeleteGameResponse) ProtoReflect

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

func (*DeleteGameResponse) Reset

func (x *DeleteGameResponse) Reset()

func (*DeleteGameResponse) String

func (x *DeleteGameResponse) String() string

type DeleteGameRevisionRequest

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

func (*DeleteGameRevisionRequest) Descriptor deprecated

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

Deprecated: Use DeleteGameRevisionRequest.ProtoReflect.Descriptor instead.

func (*DeleteGameRevisionRequest) GetId

func (x *DeleteGameRevisionRequest) GetId() string

func (*DeleteGameRevisionRequest) ProtoMessage

func (*DeleteGameRevisionRequest) ProtoMessage()

func (*DeleteGameRevisionRequest) ProtoReflect

func (*DeleteGameRevisionRequest) Reset

func (x *DeleteGameRevisionRequest) Reset()

func (*DeleteGameRevisionRequest) String

func (x *DeleteGameRevisionRequest) String() string

type DeleteGameRevisionResponse

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

func (*DeleteGameRevisionResponse) Descriptor deprecated

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

Deprecated: Use DeleteGameRevisionResponse.ProtoReflect.Descriptor instead.

func (*DeleteGameRevisionResponse) ProtoMessage

func (*DeleteGameRevisionResponse) ProtoMessage()

func (*DeleteGameRevisionResponse) ProtoReflect

func (*DeleteGameRevisionResponse) Reset

func (x *DeleteGameRevisionResponse) Reset()

func (*DeleteGameRevisionResponse) String

func (x *DeleteGameRevisionResponse) String() string

type Game

type Game 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"`
	ProfileImage *protobuf.Image `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
	Description  string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	OwnerId      string          `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Game) Descriptor deprecated

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

Deprecated: Use Game.ProtoReflect.Descriptor instead.

func (*Game) GetDescription

func (x *Game) GetDescription() string

func (*Game) GetId

func (x *Game) GetId() string

func (*Game) GetName

func (x *Game) GetName() string

func (*Game) GetOwnerId

func (x *Game) GetOwnerId() string

func (*Game) GetProfileImage

func (x *Game) GetProfileImage() *protobuf.Image

func (*Game) ProtoMessage

func (*Game) ProtoMessage()

func (*Game) ProtoReflect

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

func (*Game) Reset

func (x *Game) Reset()

func (*Game) String

func (x *Game) String() string

type GameRevision

type GameRevision 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"`
	Url    string             `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Status GameRevisionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=basket.game_service.v1.GameRevisionStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GameRevision) Descriptor deprecated

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

Deprecated: Use GameRevision.ProtoReflect.Descriptor instead.

func (*GameRevision) GetId

func (x *GameRevision) GetId() string

func (*GameRevision) GetName

func (x *GameRevision) GetName() string

func (*GameRevision) GetStatus

func (x *GameRevision) GetStatus() GameRevisionStatus

func (*GameRevision) GetUrl

func (x *GameRevision) GetUrl() string

func (*GameRevision) ProtoMessage

func (*GameRevision) ProtoMessage()

func (*GameRevision) ProtoReflect

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

func (*GameRevision) Reset

func (x *GameRevision) Reset()

func (*GameRevision) String

func (x *GameRevision) String() string

type GameRevisionStatus

type GameRevisionStatus int32
const (
	GameRevisionStatus_GAME_REVISION_STATUS_UNSPECIFIED GameRevisionStatus = 0
	GameRevisionStatus_GAME_REVISION_STATUS_UNPUBLISHED GameRevisionStatus = 1
	GameRevisionStatus_GAME_REVISION_STATUS_PUBLISHED   GameRevisionStatus = 2
)

func (GameRevisionStatus) Descriptor

func (GameRevisionStatus) Enum

func (GameRevisionStatus) EnumDescriptor deprecated

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

Deprecated: Use GameRevisionStatus.Descriptor instead.

func (GameRevisionStatus) Number

func (GameRevisionStatus) String

func (x GameRevisionStatus) String() string

func (GameRevisionStatus) Type

type GameServiceClient

type GameServiceClient interface {
	CreateGame(ctx context.Context, in *CreateGameRequest, opts ...grpc.CallOption) (*CreateGameResponse, error)
	UpdateGame(ctx context.Context, in *UpdateGameRequest, opts ...grpc.CallOption) (*UpdateGameResponse, error)
	DeleteGame(ctx context.Context, in *DeleteGameRequest, opts ...grpc.CallOption) (*DeleteGameResponse, error)
	GetGames(ctx context.Context, in *GetGamesRequest, opts ...grpc.CallOption) (*GetGamesResponse, error)
	GetGame(ctx context.Context, in *GetGameRequest, opts ...grpc.CallOption) (*GetGameResponse, error)
	CreateGameRevision(ctx context.Context, in *CreateGameRevisionRequest, opts ...grpc.CallOption) (*CreateGameRevisionResponse, error)
	DeleteGameRevision(ctx context.Context, in *DeleteGameRevisionRequest, opts ...grpc.CallOption) (*DeleteGameRevisionResponse, error)
	PublishGameRevision(ctx context.Context, in *PublishGameRevisionRequest, opts ...grpc.CallOption) (*PublishGameRevisionResponse, error)
	UnpublishGameRevision(ctx context.Context, in *UnpublishGameRevisionRequest, opts ...grpc.CallOption) (*UnpublishGameRevisionResponse, error)
	GetGameRevisions(ctx context.Context, in *GetGameRevisionsRequest, opts ...grpc.CallOption) (*GetGameRevisionsResponse, error)
	GetGameRevision(ctx context.Context, in *GetGameRevisionRequest, opts ...grpc.CallOption) (*GetGameRevisionResponse, error)
	CreateGameProfileImage(ctx context.Context, in *CreateGameProfileImageRequest, opts ...grpc.CallOption) (*CreateGameProfileImageResponse, error)
}

GameServiceClient is the client API for GameService 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 GameServiceServer

GameServiceServer is the server API for GameService service. All implementations must embed UnimplementedGameServiceServer for forward compatibility

type GetGameRequest

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

func (*GetGameRequest) Descriptor deprecated

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

Deprecated: Use GetGameRequest.ProtoReflect.Descriptor instead.

func (*GetGameRequest) GetId

func (x *GetGameRequest) GetId() string

func (*GetGameRequest) ProtoMessage

func (*GetGameRequest) ProtoMessage()

func (*GetGameRequest) ProtoReflect

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

func (*GetGameRequest) Reset

func (x *GetGameRequest) Reset()

func (*GetGameRequest) String

func (x *GetGameRequest) String() string

type GetGameResponse

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

func (*GetGameResponse) Descriptor deprecated

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

Deprecated: Use GetGameResponse.ProtoReflect.Descriptor instead.

func (*GetGameResponse) GetGame

func (x *GetGameResponse) GetGame() *Game

func (*GetGameResponse) ProtoMessage

func (*GetGameResponse) ProtoMessage()

func (*GetGameResponse) ProtoReflect

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

func (*GetGameResponse) Reset

func (x *GetGameResponse) Reset()

func (*GetGameResponse) String

func (x *GetGameResponse) String() string

type GetGameRevisionRequest

type GetGameRevisionRequest struct {
	RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameRevisionRequest) Descriptor deprecated

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

Deprecated: Use GetGameRevisionRequest.ProtoReflect.Descriptor instead.

func (*GetGameRevisionRequest) GetRevisionId

func (x *GetGameRevisionRequest) GetRevisionId() string

func (*GetGameRevisionRequest) ProtoMessage

func (*GetGameRevisionRequest) ProtoMessage()

func (*GetGameRevisionRequest) ProtoReflect

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

func (*GetGameRevisionRequest) Reset

func (x *GetGameRevisionRequest) Reset()

func (*GetGameRevisionRequest) String

func (x *GetGameRevisionRequest) String() string

type GetGameRevisionResponse

type GetGameRevisionResponse struct {
	Revision *GameRevision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameRevisionResponse) Descriptor deprecated

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

Deprecated: Use GetGameRevisionResponse.ProtoReflect.Descriptor instead.

func (*GetGameRevisionResponse) GetRevision

func (x *GetGameRevisionResponse) GetRevision() *GameRevision

func (*GetGameRevisionResponse) ProtoMessage

func (*GetGameRevisionResponse) ProtoMessage()

func (*GetGameRevisionResponse) ProtoReflect

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

func (*GetGameRevisionResponse) Reset

func (x *GetGameRevisionResponse) Reset()

func (*GetGameRevisionResponse) String

func (x *GetGameRevisionResponse) String() string

type GetGameRevisionsRequest

type GetGameRevisionsRequest struct {

	// Types that are assignable to SearchKind:
	//
	//	*GetGameRevisionsRequest_ByGameId
	//	*GetGameRevisionsRequest_ByRevisionIds
	SearchKind isGetGameRevisionsRequest_SearchKind `protobuf_oneof:"search_kind"`
	Status     GameRevisionStatus                   `protobuf:"varint,3,opt,name=status,proto3,enum=basket.game_service.v1.GameRevisionStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameRevisionsRequest) Descriptor deprecated

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

Deprecated: Use GetGameRevisionsRequest.ProtoReflect.Descriptor instead.

func (*GetGameRevisionsRequest) GetByGameId

func (*GetGameRevisionsRequest) GetByRevisionIds

func (*GetGameRevisionsRequest) GetSearchKind

func (m *GetGameRevisionsRequest) GetSearchKind() isGetGameRevisionsRequest_SearchKind

func (*GetGameRevisionsRequest) GetStatus

func (*GetGameRevisionsRequest) ProtoMessage

func (*GetGameRevisionsRequest) ProtoMessage()

func (*GetGameRevisionsRequest) ProtoReflect

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

func (*GetGameRevisionsRequest) Reset

func (x *GetGameRevisionsRequest) Reset()

func (*GetGameRevisionsRequest) String

func (x *GetGameRevisionsRequest) String() string

type GetGameRevisionsRequest_ByGameId

type GetGameRevisionsRequest_ByGameId struct {
	ByGameId *GetGameRevisionsRequest_GameID `protobuf:"bytes,1,opt,name=by_game_id,json=byGameId,proto3,oneof"`
}

type GetGameRevisionsRequest_ByRevisionIds

type GetGameRevisionsRequest_ByRevisionIds struct {
	ByRevisionIds *GetGameRevisionsRequest_RevisionIDs `protobuf:"bytes,2,opt,name=by_revision_ids,json=byRevisionIds,proto3,oneof"`
}

type GetGameRevisionsRequest_GameID

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

func (*GetGameRevisionsRequest_GameID) Descriptor deprecated

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

Deprecated: Use GetGameRevisionsRequest_GameID.ProtoReflect.Descriptor instead.

func (*GetGameRevisionsRequest_GameID) GetId

func (*GetGameRevisionsRequest_GameID) ProtoMessage

func (*GetGameRevisionsRequest_GameID) ProtoMessage()

func (*GetGameRevisionsRequest_GameID) ProtoReflect

func (*GetGameRevisionsRequest_GameID) Reset

func (x *GetGameRevisionsRequest_GameID) Reset()

func (*GetGameRevisionsRequest_GameID) String

type GetGameRevisionsRequest_RevisionIDs

type GetGameRevisionsRequest_RevisionIDs struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameRevisionsRequest_RevisionIDs) Descriptor deprecated

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

Deprecated: Use GetGameRevisionsRequest_RevisionIDs.ProtoReflect.Descriptor instead.

func (*GetGameRevisionsRequest_RevisionIDs) GetIds

func (*GetGameRevisionsRequest_RevisionIDs) ProtoMessage

func (*GetGameRevisionsRequest_RevisionIDs) ProtoMessage()

func (*GetGameRevisionsRequest_RevisionIDs) ProtoReflect

func (*GetGameRevisionsRequest_RevisionIDs) Reset

func (*GetGameRevisionsRequest_RevisionIDs) String

type GetGameRevisionsResponse

type GetGameRevisionsResponse struct {
	Revisions []*GameRevision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGameRevisionsResponse) Descriptor deprecated

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

Deprecated: Use GetGameRevisionsResponse.ProtoReflect.Descriptor instead.

func (*GetGameRevisionsResponse) GetRevisions

func (x *GetGameRevisionsResponse) GetRevisions() []*GameRevision

func (*GetGameRevisionsResponse) ProtoMessage

func (*GetGameRevisionsResponse) ProtoMessage()

func (*GetGameRevisionsResponse) ProtoReflect

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

func (*GetGameRevisionsResponse) Reset

func (x *GetGameRevisionsResponse) Reset()

func (*GetGameRevisionsResponse) String

func (x *GetGameRevisionsResponse) String() string

type GetGamesRequest

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

func (*GetGamesRequest) Descriptor deprecated

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

Deprecated: Use GetGamesRequest.ProtoReflect.Descriptor instead.

func (*GetGamesRequest) GetSearch

func (x *GetGamesRequest) GetSearch() string

func (*GetGamesRequest) ProtoMessage

func (*GetGamesRequest) ProtoMessage()

func (*GetGamesRequest) ProtoReflect

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

func (*GetGamesRequest) Reset

func (x *GetGamesRequest) Reset()

func (*GetGamesRequest) String

func (x *GetGamesRequest) String() string

type GetGamesResponse

type GetGamesResponse struct {
	Games []*Game `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGamesResponse) Descriptor deprecated

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

Deprecated: Use GetGamesResponse.ProtoReflect.Descriptor instead.

func (*GetGamesResponse) GetGames

func (x *GetGamesResponse) GetGames() []*Game

func (*GetGamesResponse) ProtoMessage

func (*GetGamesResponse) ProtoMessage()

func (*GetGamesResponse) ProtoReflect

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

func (*GetGamesResponse) Reset

func (x *GetGamesResponse) Reset()

func (*GetGamesResponse) String

func (x *GetGamesResponse) String() string

type PublishGameRevisionRequest

type PublishGameRevisionRequest struct {
	RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishGameRevisionRequest) Descriptor deprecated

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

Deprecated: Use PublishGameRevisionRequest.ProtoReflect.Descriptor instead.

func (*PublishGameRevisionRequest) GetRevisionId

func (x *PublishGameRevisionRequest) GetRevisionId() string

func (*PublishGameRevisionRequest) ProtoMessage

func (*PublishGameRevisionRequest) ProtoMessage()

func (*PublishGameRevisionRequest) ProtoReflect

func (*PublishGameRevisionRequest) Reset

func (x *PublishGameRevisionRequest) Reset()

func (*PublishGameRevisionRequest) String

func (x *PublishGameRevisionRequest) String() string

type PublishGameRevisionResponse

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

func (*PublishGameRevisionResponse) Descriptor deprecated

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

Deprecated: Use PublishGameRevisionResponse.ProtoReflect.Descriptor instead.

func (*PublishGameRevisionResponse) ProtoMessage

func (*PublishGameRevisionResponse) ProtoMessage()

func (*PublishGameRevisionResponse) ProtoReflect

func (*PublishGameRevisionResponse) Reset

func (x *PublishGameRevisionResponse) Reset()

func (*PublishGameRevisionResponse) String

func (x *PublishGameRevisionResponse) String() string

type UnimplementedGameServiceServer

type UnimplementedGameServiceServer struct {
}

UnimplementedGameServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGameServiceServer) CreateGame

func (UnimplementedGameServiceServer) CreateGameProfileImage added in v0.2.164

func (UnimplementedGameServiceServer) CreateGameRevision

func (UnimplementedGameServiceServer) DeleteGame

func (UnimplementedGameServiceServer) DeleteGameRevision

func (UnimplementedGameServiceServer) GetGame

func (UnimplementedGameServiceServer) GetGameRevision

func (UnimplementedGameServiceServer) GetGameRevisions

func (UnimplementedGameServiceServer) GetGames

func (UnimplementedGameServiceServer) UpdateGame

type UnpublishGameRevisionRequest

type UnpublishGameRevisionRequest struct {
	RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnpublishGameRevisionRequest) Descriptor deprecated

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

Deprecated: Use UnpublishGameRevisionRequest.ProtoReflect.Descriptor instead.

func (*UnpublishGameRevisionRequest) GetRevisionId

func (x *UnpublishGameRevisionRequest) GetRevisionId() string

func (*UnpublishGameRevisionRequest) ProtoMessage

func (*UnpublishGameRevisionRequest) ProtoMessage()

func (*UnpublishGameRevisionRequest) ProtoReflect

func (*UnpublishGameRevisionRequest) Reset

func (x *UnpublishGameRevisionRequest) Reset()

func (*UnpublishGameRevisionRequest) String

type UnpublishGameRevisionResponse

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

func (*UnpublishGameRevisionResponse) Descriptor deprecated

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

Deprecated: Use UnpublishGameRevisionResponse.ProtoReflect.Descriptor instead.

func (*UnpublishGameRevisionResponse) ProtoMessage

func (*UnpublishGameRevisionResponse) ProtoMessage()

func (*UnpublishGameRevisionResponse) ProtoReflect

func (*UnpublishGameRevisionResponse) Reset

func (x *UnpublishGameRevisionResponse) Reset()

func (*UnpublishGameRevisionResponse) String

type UnsafeGameServiceServer

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

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

type UpdateGameRequest

type UpdateGameRequest 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"`
	ProfileImageId string `protobuf:"bytes,3,opt,name=profile_image_id,json=profileImageId,proto3" json:"profile_image_id,omitempty"`
	Description    string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGameRequest) Descriptor deprecated

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

Deprecated: Use UpdateGameRequest.ProtoReflect.Descriptor instead.

func (*UpdateGameRequest) GetDescription

func (x *UpdateGameRequest) GetDescription() string

func (*UpdateGameRequest) GetId

func (x *UpdateGameRequest) GetId() string

func (*UpdateGameRequest) GetName

func (x *UpdateGameRequest) GetName() string

func (*UpdateGameRequest) GetProfileImageId

func (x *UpdateGameRequest) GetProfileImageId() string

func (*UpdateGameRequest) ProtoMessage

func (*UpdateGameRequest) ProtoMessage()

func (*UpdateGameRequest) ProtoReflect

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

func (*UpdateGameRequest) Reset

func (x *UpdateGameRequest) Reset()

func (*UpdateGameRequest) String

func (x *UpdateGameRequest) String() string

type UpdateGameResponse

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

func (*UpdateGameResponse) Descriptor deprecated

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

Deprecated: Use UpdateGameResponse.ProtoReflect.Descriptor instead.

func (*UpdateGameResponse) ProtoMessage

func (*UpdateGameResponse) ProtoMessage()

func (*UpdateGameResponse) ProtoReflect

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

func (*UpdateGameResponse) Reset

func (x *UpdateGameResponse) Reset()

func (*UpdateGameResponse) String

func (x *UpdateGameResponse) String() string

Directories

Path Synopsis
Package game_mock is a generated GoMock package.
Package game_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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