_go

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package _go is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	IntegrationService_GetCompetitions_FullMethodName = "/api.proto.v1.IntegrationService/GetCompetitions"
	IntegrationService_GetCompetition_FullMethodName  = "/api.proto.v1.IntegrationService/GetCompetition"
	IntegrationService_GetStandings_FullMethodName    = "/api.proto.v1.IntegrationService/GetStandings"
)

Variables

View Source
var (
	MatchStatus_name = map[int32]string{
		0: "MATCH_STATUS_UNSPECIFIED",
		1: "MATCH_STATUS_NOT_STARTED",
		2: "MATCH_STATUS_FINISHED",
		3: "MATCH_STATUS_DEFERRED",
		4: "MATCH_STATUS_CLOSED",
	}
	MatchStatus_value = map[string]int32{
		"MATCH_STATUS_UNSPECIFIED": 0,
		"MATCH_STATUS_NOT_STARTED": 1,
		"MATCH_STATUS_FINISHED":    2,
		"MATCH_STATUS_DEFERRED":    3,
		"MATCH_STATUS_CLOSED":      4,
	}
)

Enum value maps for MatchStatus.

View Source
var (
	GroupType_name = map[int32]string{
		0: "GROUP_TYPE_UNSPECIFIED",
		1: "GROUP_TYPE_PLAYOFF",
		2: "GROUP_TYPE_LEAGUE",
	}
	GroupType_value = map[string]int32{
		"GROUP_TYPE_UNSPECIFIED": 0,
		"GROUP_TYPE_PLAYOFF":     1,
		"GROUP_TYPE_LEAGUE":      2,
	}
)

Enum value maps for GroupType.

View Source
var (
	Sex_name = map[int32]string{
		0: "SEX_UNSPECIFIED",
		1: "SEX_MALE",
		2: "SEX_FEMALE",
		3: "SEX_MIXED",
	}
	Sex_value = map[string]int32{
		"SEX_UNSPECIFIED": 0,
		"SEX_MALE":        1,
		"SEX_FEMALE":      2,
		"SEX_MIXED":       3,
	}
)

Enum value maps for Sex.

View Source
var File_api_proto_v1_integration_proto protoreflect.FileDescriptor
View Source
var IntegrationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.proto.v1.IntegrationService",
	HandlerType: (*IntegrationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCompetitions",
			Handler:    _IntegrationService_GetCompetitions_Handler,
		},
		{
			MethodName: "GetCompetition",
			Handler:    _IntegrationService_GetCompetition_Handler,
		},
		{
			MethodName: "GetStandings",
			Handler:    _IntegrationService_GetStandings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/proto/v1/integration.proto",
}

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

Functions

func RegisterIntegrationServiceHandler

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

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

func RegisterIntegrationServiceHandlerClient

func RegisterIntegrationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IntegrationServiceClient) error

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

func RegisterIntegrationServiceHandlerFromEndpoint

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

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

func RegisterIntegrationServiceHandlerServer

func RegisterIntegrationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IntegrationServiceServer) error

RegisterIntegrationServiceHandlerServer registers the http handlers for service IntegrationService to "mux". UnaryRPC :call IntegrationServiceServer 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 RegisterIntegrationServiceHandlerFromEndpoint instead.

func RegisterIntegrationServiceServer

func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer)

Types

type Competition

type Competition struct {
	Fid          string   `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	CmKey        *string  `protobuf:"bytes,2,opt,name=cm_key,json=cmKey,proto3,oneof" json:"cm_key,omitempty"`
	ProjectKey   *string  `protobuf:"bytes,3,opt,name=project_key,json=projectKey,proto3,oneof" json:"project_key,omitempty"`
	SeasonId     string   `protobuf:"bytes,4,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"`
	ProjectName  *string  `protobuf:"bytes,5,opt,name=project_name,json=projectName,proto3,oneof" json:"project_name,omitempty"`
	Name         string   `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Sex          Sex      `protobuf:"varint,7,opt,name=sex,proto3,enum=api.proto.v1.Sex" json:"sex,omitempty"`
	Zone         *string  `protobuf:"bytes,8,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
	Groups       []*Group `protobuf:"bytes,9,rep,name=groups,proto3" json:"groups,omitempty"`
	Season       *string  `protobuf:"bytes,10,opt,name=season,proto3,oneof" json:"season,omitempty"`
	IsFinished   *bool    `protobuf:"varint,11,opt,name=is_finished,json=isFinished,proto3,oneof" json:"is_finished,omitempty"`
	ShortName    *string  `protobuf:"bytes,12,opt,name=short_name,json=shortName,proto3,oneof" json:"short_name,omitempty"`
	CategoryName *string  `protobuf:"bytes,13,opt,name=category_name,json=categoryName,proto3,oneof" json:"category_name,omitempty"`
	CategoryId   *string  `protobuf:"bytes,14,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty"`
	Organizer    *string  `protobuf:"bytes,15,opt,name=organizer,proto3,oneof" json:"organizer,omitempty"`
	OrganizerId  *string  `protobuf:"bytes,16,opt,name=organizer_id,json=organizerId,proto3,oneof" json:"organizer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Competition) Descriptor deprecated

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

Deprecated: Use Competition.ProtoReflect.Descriptor instead.

func (*Competition) GetCategoryId

func (x *Competition) GetCategoryId() string

func (*Competition) GetCategoryName

func (x *Competition) GetCategoryName() string

func (*Competition) GetCmKey

func (x *Competition) GetCmKey() string

func (*Competition) GetFid

func (x *Competition) GetFid() string

func (*Competition) GetGroups

func (x *Competition) GetGroups() []*Group

func (*Competition) GetIsFinished

func (x *Competition) GetIsFinished() bool

func (*Competition) GetName

func (x *Competition) GetName() string

func (*Competition) GetOrganizer

func (x *Competition) GetOrganizer() string

func (*Competition) GetOrganizerId

func (x *Competition) GetOrganizerId() string

func (*Competition) GetProjectKey

func (x *Competition) GetProjectKey() string

func (*Competition) GetProjectName

func (x *Competition) GetProjectName() string

func (*Competition) GetSeason

func (x *Competition) GetSeason() string

func (*Competition) GetSeasonId

func (x *Competition) GetSeasonId() string

func (*Competition) GetSex

func (x *Competition) GetSex() Sex

func (*Competition) GetShortName

func (x *Competition) GetShortName() string

func (*Competition) GetZone

func (x *Competition) GetZone() string

func (*Competition) ProtoMessage

func (*Competition) ProtoMessage()

func (*Competition) ProtoReflect

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

func (*Competition) Reset

func (x *Competition) Reset()

func (*Competition) String

func (x *Competition) String() string

func (*Competition) Validate

func (m *Competition) Validate() error

Validate checks the field values on Competition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Competition) ValidateAll

func (m *Competition) ValidateAll() error

ValidateAll checks the field values on Competition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompetitionMultiError, or nil if none found.

type CompetitionMultiError

type CompetitionMultiError []error

CompetitionMultiError is an error wrapping multiple validation errors returned by Competition.ValidateAll() if the designated constraints aren't met.

func (CompetitionMultiError) AllErrors

func (m CompetitionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompetitionMultiError) Error

func (m CompetitionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CompetitionRef added in v1.0.10

type CompetitionRef struct {
	Fid        string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	ProjectKey string `protobuf:"bytes,2,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"`
	SeasonId   string `protobuf:"bytes,3,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompetitionRef) Descriptor deprecated added in v1.0.10

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

Deprecated: Use CompetitionRef.ProtoReflect.Descriptor instead.

func (*CompetitionRef) GetFid added in v1.0.10

func (x *CompetitionRef) GetFid() string

func (*CompetitionRef) GetProjectKey added in v1.0.10

func (x *CompetitionRef) GetProjectKey() string

func (*CompetitionRef) GetSeasonId added in v1.0.10

func (x *CompetitionRef) GetSeasonId() string

func (*CompetitionRef) ProtoMessage added in v1.0.10

func (*CompetitionRef) ProtoMessage()

func (*CompetitionRef) ProtoReflect added in v1.0.10

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

func (*CompetitionRef) Reset added in v1.0.10

func (x *CompetitionRef) Reset()

func (*CompetitionRef) String added in v1.0.10

func (x *CompetitionRef) String() string

func (*CompetitionRef) Validate added in v1.0.10

func (m *CompetitionRef) Validate() error

Validate checks the field values on CompetitionRef with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CompetitionRef) ValidateAll added in v1.0.10

func (m *CompetitionRef) ValidateAll() error

ValidateAll checks the field values on CompetitionRef with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompetitionRefMultiError, or nil if none found.

type CompetitionRefMultiError added in v1.0.10

type CompetitionRefMultiError []error

CompetitionRefMultiError is an error wrapping multiple validation errors returned by CompetitionRef.ValidateAll() if the designated constraints aren't met.

func (CompetitionRefMultiError) AllErrors added in v1.0.10

func (m CompetitionRefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompetitionRefMultiError) Error added in v1.0.10

func (m CompetitionRefMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CompetitionRefValidationError added in v1.0.10

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

CompetitionRefValidationError is the validation error returned by CompetitionRef.Validate if the designated constraints aren't met.

func (CompetitionRefValidationError) Cause added in v1.0.10

Cause function returns cause value.

func (CompetitionRefValidationError) Error added in v1.0.10

Error satisfies the builtin error interface

func (CompetitionRefValidationError) ErrorName added in v1.0.10

func (e CompetitionRefValidationError) ErrorName() string

ErrorName returns error name.

func (CompetitionRefValidationError) Field added in v1.0.10

Field function returns field value.

func (CompetitionRefValidationError) Key added in v1.0.10

Key function returns key value.

func (CompetitionRefValidationError) Reason added in v1.0.10

Reason function returns reason value.

type CompetitionValidationError

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

CompetitionValidationError is the validation error returned by Competition.Validate if the designated constraints aren't met.

func (CompetitionValidationError) Cause

Cause function returns cause value.

func (CompetitionValidationError) Error

Error satisfies the builtin error interface

func (CompetitionValidationError) ErrorName

func (e CompetitionValidationError) ErrorName() string

ErrorName returns error name.

func (CompetitionValidationError) Field

Field function returns field value.

func (CompetitionValidationError) Key

Key function returns key value.

func (CompetitionValidationError) Reason

Reason function returns reason value.

type Court

type Court struct {
	Fid     *string `protobuf:"bytes,1,opt,name=fid,proto3,oneof" json:"fid,omitempty"`
	Place   *string `protobuf:"bytes,2,opt,name=place,proto3,oneof" json:"place,omitempty"`
	Address *string `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"`
	Town    *string `protobuf:"bytes,4,opt,name=town,proto3,oneof" json:"town,omitempty"`
	// contains filtered or unexported fields
}

func (*Court) Descriptor deprecated

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

Deprecated: Use Court.ProtoReflect.Descriptor instead.

func (*Court) GetAddress

func (x *Court) GetAddress() string

func (*Court) GetFid

func (x *Court) GetFid() string

func (*Court) GetPlace

func (x *Court) GetPlace() string

func (*Court) GetTown

func (x *Court) GetTown() string

func (*Court) ProtoMessage

func (*Court) ProtoMessage()

func (*Court) ProtoReflect

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

func (*Court) Reset

func (x *Court) Reset()

func (*Court) String

func (x *Court) String() string

func (*Court) Validate

func (m *Court) Validate() error

Validate checks the field values on Court with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Court) ValidateAll

func (m *Court) ValidateAll() error

ValidateAll checks the field values on Court with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CourtMultiError, or nil if none found.

type CourtMultiError

type CourtMultiError []error

CourtMultiError is an error wrapping multiple validation errors returned by Court.ValidateAll() if the designated constraints aren't met.

func (CourtMultiError) AllErrors

func (m CourtMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CourtMultiError) Error

func (m CourtMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CourtValidationError

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

CourtValidationError is the validation error returned by Court.Validate if the designated constraints aren't met.

func (CourtValidationError) Cause

func (e CourtValidationError) Cause() error

Cause function returns cause value.

func (CourtValidationError) Error

func (e CourtValidationError) Error() string

Error satisfies the builtin error interface

func (CourtValidationError) ErrorName

func (e CourtValidationError) ErrorName() string

ErrorName returns error name.

func (CourtValidationError) Field

func (e CourtValidationError) Field() string

Field function returns field value.

func (CourtValidationError) Key

func (e CourtValidationError) Key() bool

Key function returns key value.

func (CourtValidationError) Reason

func (e CourtValidationError) Reason() string

Reason function returns reason value.

type GetCompetitionRequest

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

func (*GetCompetitionRequest) Descriptor deprecated

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

Deprecated: Use GetCompetitionRequest.ProtoReflect.Descriptor instead.

func (*GetCompetitionRequest) GetId

func (x *GetCompetitionRequest) GetId() string

func (*GetCompetitionRequest) ProtoMessage

func (*GetCompetitionRequest) ProtoMessage()

func (*GetCompetitionRequest) ProtoReflect

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

func (*GetCompetitionRequest) Reset

func (x *GetCompetitionRequest) Reset()

func (*GetCompetitionRequest) String

func (x *GetCompetitionRequest) String() string

func (*GetCompetitionRequest) Validate

func (m *GetCompetitionRequest) Validate() error

Validate checks the field values on GetCompetitionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCompetitionRequest) ValidateAll

func (m *GetCompetitionRequest) ValidateAll() error

ValidateAll checks the field values on GetCompetitionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCompetitionRequestMultiError, or nil if none found.

type GetCompetitionRequestMultiError

type GetCompetitionRequestMultiError []error

GetCompetitionRequestMultiError is an error wrapping multiple validation errors returned by GetCompetitionRequest.ValidateAll() if the designated constraints aren't met.

func (GetCompetitionRequestMultiError) AllErrors

func (m GetCompetitionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCompetitionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCompetitionRequestValidationError

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

GetCompetitionRequestValidationError is the validation error returned by GetCompetitionRequest.Validate if the designated constraints aren't met.

func (GetCompetitionRequestValidationError) Cause

Cause function returns cause value.

func (GetCompetitionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCompetitionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCompetitionRequestValidationError) Field

Field function returns field value.

func (GetCompetitionRequestValidationError) Key

Key function returns key value.

func (GetCompetitionRequestValidationError) Reason

Reason function returns reason value.

type GetCompetitionResponse

type GetCompetitionResponse struct {
	Competition *Competition `protobuf:"bytes,1,opt,name=competition,proto3,oneof" json:"competition,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompetitionResponse) Descriptor deprecated

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

Deprecated: Use GetCompetitionResponse.ProtoReflect.Descriptor instead.

func (*GetCompetitionResponse) GetCompetition

func (x *GetCompetitionResponse) GetCompetition() *Competition

func (*GetCompetitionResponse) ProtoMessage

func (*GetCompetitionResponse) ProtoMessage()

func (*GetCompetitionResponse) ProtoReflect

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

func (*GetCompetitionResponse) Reset

func (x *GetCompetitionResponse) Reset()

func (*GetCompetitionResponse) String

func (x *GetCompetitionResponse) String() string

func (*GetCompetitionResponse) Validate

func (m *GetCompetitionResponse) Validate() error

Validate checks the field values on GetCompetitionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCompetitionResponse) ValidateAll

func (m *GetCompetitionResponse) ValidateAll() error

ValidateAll checks the field values on GetCompetitionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCompetitionResponseMultiError, or nil if none found.

type GetCompetitionResponseMultiError

type GetCompetitionResponseMultiError []error

GetCompetitionResponseMultiError is an error wrapping multiple validation errors returned by GetCompetitionResponse.ValidateAll() if the designated constraints aren't met.

func (GetCompetitionResponseMultiError) AllErrors

func (m GetCompetitionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCompetitionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCompetitionResponseValidationError

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

GetCompetitionResponseValidationError is the validation error returned by GetCompetitionResponse.Validate if the designated constraints aren't met.

func (GetCompetitionResponseValidationError) Cause

Cause function returns cause value.

func (GetCompetitionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCompetitionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCompetitionResponseValidationError) Field

Field function returns field value.

func (GetCompetitionResponseValidationError) Key

Key function returns key value.

func (GetCompetitionResponseValidationError) Reason

Reason function returns reason value.

type GetCompetitionsRequest

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

func (*GetCompetitionsRequest) Descriptor deprecated

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

Deprecated: Use GetCompetitionsRequest.ProtoReflect.Descriptor instead.

func (*GetCompetitionsRequest) GetTest added in v1.0.1

func (x *GetCompetitionsRequest) GetTest() string

func (*GetCompetitionsRequest) ProtoMessage

func (*GetCompetitionsRequest) ProtoMessage()

func (*GetCompetitionsRequest) ProtoReflect

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

func (*GetCompetitionsRequest) Reset

func (x *GetCompetitionsRequest) Reset()

func (*GetCompetitionsRequest) String

func (x *GetCompetitionsRequest) String() string

func (*GetCompetitionsRequest) Validate

func (m *GetCompetitionsRequest) Validate() error

Validate checks the field values on GetCompetitionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCompetitionsRequest) ValidateAll

func (m *GetCompetitionsRequest) ValidateAll() error

ValidateAll checks the field values on GetCompetitionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCompetitionsRequestMultiError, or nil if none found.

type GetCompetitionsRequestMultiError

type GetCompetitionsRequestMultiError []error

GetCompetitionsRequestMultiError is an error wrapping multiple validation errors returned by GetCompetitionsRequest.ValidateAll() if the designated constraints aren't met.

func (GetCompetitionsRequestMultiError) AllErrors

func (m GetCompetitionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCompetitionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCompetitionsRequestValidationError

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

GetCompetitionsRequestValidationError is the validation error returned by GetCompetitionsRequest.Validate if the designated constraints aren't met.

func (GetCompetitionsRequestValidationError) Cause

Cause function returns cause value.

func (GetCompetitionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCompetitionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCompetitionsRequestValidationError) Field

Field function returns field value.

func (GetCompetitionsRequestValidationError) Key

Key function returns key value.

func (GetCompetitionsRequestValidationError) Reason

Reason function returns reason value.

type GetCompetitionsResponse

type GetCompetitionsResponse struct {
	Competitions []*CompetitionRef `protobuf:"bytes,1,rep,name=competitions,proto3" json:"competitions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompetitionsResponse) Descriptor deprecated

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

Deprecated: Use GetCompetitionsResponse.ProtoReflect.Descriptor instead.

func (*GetCompetitionsResponse) GetCompetitions added in v1.0.12

func (x *GetCompetitionsResponse) GetCompetitions() []*CompetitionRef

func (*GetCompetitionsResponse) ProtoMessage

func (*GetCompetitionsResponse) ProtoMessage()

func (*GetCompetitionsResponse) ProtoReflect

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

func (*GetCompetitionsResponse) Reset

func (x *GetCompetitionsResponse) Reset()

func (*GetCompetitionsResponse) String

func (x *GetCompetitionsResponse) String() string

func (*GetCompetitionsResponse) Validate

func (m *GetCompetitionsResponse) Validate() error

Validate checks the field values on GetCompetitionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCompetitionsResponse) ValidateAll

func (m *GetCompetitionsResponse) ValidateAll() error

ValidateAll checks the field values on GetCompetitionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCompetitionsResponseMultiError, or nil if none found.

type GetCompetitionsResponseMultiError

type GetCompetitionsResponseMultiError []error

GetCompetitionsResponseMultiError is an error wrapping multiple validation errors returned by GetCompetitionsResponse.ValidateAll() if the designated constraints aren't met.

func (GetCompetitionsResponseMultiError) AllErrors

func (m GetCompetitionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCompetitionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCompetitionsResponseValidationError

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

GetCompetitionsResponseValidationError is the validation error returned by GetCompetitionsResponse.Validate if the designated constraints aren't met.

func (GetCompetitionsResponseValidationError) Cause

Cause function returns cause value.

func (GetCompetitionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCompetitionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCompetitionsResponseValidationError) Field

Field function returns field value.

func (GetCompetitionsResponseValidationError) Key

Key function returns key value.

func (GetCompetitionsResponseValidationError) Reason

Reason function returns reason value.

type GetStandingsRequest

type GetStandingsRequest struct {
	GroupId       string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	CompetitionId string `protobuf:"bytes,2,opt,name=competition_id,json=competitionId,proto3" json:"competition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStandingsRequest) Descriptor deprecated

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

Deprecated: Use GetStandingsRequest.ProtoReflect.Descriptor instead.

func (*GetStandingsRequest) GetCompetitionId added in v1.0.2

func (x *GetStandingsRequest) GetCompetitionId() string

func (*GetStandingsRequest) GetGroupId added in v1.0.1

func (x *GetStandingsRequest) GetGroupId() string

func (*GetStandingsRequest) ProtoMessage

func (*GetStandingsRequest) ProtoMessage()

func (*GetStandingsRequest) ProtoReflect

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

func (*GetStandingsRequest) Reset

func (x *GetStandingsRequest) Reset()

func (*GetStandingsRequest) String

func (x *GetStandingsRequest) String() string

func (*GetStandingsRequest) Validate

func (m *GetStandingsRequest) Validate() error

Validate checks the field values on GetStandingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetStandingsRequest) ValidateAll

func (m *GetStandingsRequest) ValidateAll() error

ValidateAll checks the field values on GetStandingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStandingsRequestMultiError, or nil if none found.

type GetStandingsRequestMultiError

type GetStandingsRequestMultiError []error

GetStandingsRequestMultiError is an error wrapping multiple validation errors returned by GetStandingsRequest.ValidateAll() if the designated constraints aren't met.

func (GetStandingsRequestMultiError) AllErrors

func (m GetStandingsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStandingsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetStandingsRequestValidationError

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

GetStandingsRequestValidationError is the validation error returned by GetStandingsRequest.Validate if the designated constraints aren't met.

func (GetStandingsRequestValidationError) Cause

Cause function returns cause value.

func (GetStandingsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStandingsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetStandingsRequestValidationError) Field

Field function returns field value.

func (GetStandingsRequestValidationError) Key

Key function returns key value.

func (GetStandingsRequestValidationError) Reason

Reason function returns reason value.

type GetStandingsResponse

type GetStandingsResponse struct {
	Standings []*Standing `protobuf:"bytes,1,rep,name=standings,proto3" json:"standings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStandingsResponse) Descriptor deprecated

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

Deprecated: Use GetStandingsResponse.ProtoReflect.Descriptor instead.

func (*GetStandingsResponse) GetStandings added in v1.0.4

func (x *GetStandingsResponse) GetStandings() []*Standing

func (*GetStandingsResponse) ProtoMessage

func (*GetStandingsResponse) ProtoMessage()

func (*GetStandingsResponse) ProtoReflect

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

func (*GetStandingsResponse) Reset

func (x *GetStandingsResponse) Reset()

func (*GetStandingsResponse) String

func (x *GetStandingsResponse) String() string

func (*GetStandingsResponse) Validate

func (m *GetStandingsResponse) Validate() error

Validate checks the field values on GetStandingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetStandingsResponse) ValidateAll

func (m *GetStandingsResponse) ValidateAll() error

ValidateAll checks the field values on GetStandingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStandingsResponseMultiError, or nil if none found.

type GetStandingsResponseMultiError

type GetStandingsResponseMultiError []error

GetStandingsResponseMultiError is an error wrapping multiple validation errors returned by GetStandingsResponse.ValidateAll() if the designated constraints aren't met.

func (GetStandingsResponseMultiError) AllErrors

func (m GetStandingsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStandingsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetStandingsResponseValidationError

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

GetStandingsResponseValidationError is the validation error returned by GetStandingsResponse.Validate if the designated constraints aren't met.

func (GetStandingsResponseValidationError) Cause

Cause function returns cause value.

func (GetStandingsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetStandingsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetStandingsResponseValidationError) Field

Field function returns field value.

func (GetStandingsResponseValidationError) Key

Key function returns key value.

func (GetStandingsResponseValidationError) Reason

Reason function returns reason value.

type Group

type Group struct {
	Fid    string    `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Name   string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type   GroupType `protobuf:"varint,3,opt,name=type,proto3,enum=api.proto.v1.GroupType" json:"type,omitempty"`
	Order  int32     `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
	Rounds []*Round  `protobuf:"bytes,5,rep,name=rounds,proto3" json:"rounds,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetFid

func (x *Group) GetFid() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetOrder

func (x *Group) GetOrder() int32

func (*Group) GetRounds

func (x *Group) GetRounds() []*Round

func (*Group) GetType

func (x *Group) GetType() GroupType

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) Validate

func (m *Group) Validate() error

Validate checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Group) ValidateAll

func (m *Group) ValidateAll() error

ValidateAll checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupMultiError, or nil if none found.

type GroupMultiError

type GroupMultiError []error

GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.

func (GroupMultiError) AllErrors

func (m GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupMultiError) Error

func (m GroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupType

type GroupType int32
const (
	GroupType_GROUP_TYPE_UNSPECIFIED GroupType = 0
	GroupType_GROUP_TYPE_PLAYOFF     GroupType = 1
	GroupType_GROUP_TYPE_LEAGUE      GroupType = 2
)

func (GroupType) Descriptor

func (GroupType) Descriptor() protoreflect.EnumDescriptor

func (GroupType) Enum

func (x GroupType) Enum() *GroupType

func (GroupType) EnumDescriptor deprecated

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

Deprecated: Use GroupType.Descriptor instead.

func (GroupType) Number

func (x GroupType) Number() protoreflect.EnumNumber

func (GroupType) String

func (x GroupType) String() string

func (GroupType) Type

type GroupValidationError

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

GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.

func (GroupValidationError) Cause

func (e GroupValidationError) Cause() error

Cause function returns cause value.

func (GroupValidationError) Error

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) ErrorName

func (e GroupValidationError) ErrorName() string

ErrorName returns error name.

func (GroupValidationError) Field

func (e GroupValidationError) Field() string

Field function returns field value.

func (GroupValidationError) Key

func (e GroupValidationError) Key() bool

Key function returns key value.

func (GroupValidationError) Reason

func (e GroupValidationError) Reason() string

Reason function returns reason value.

type IntegrationServiceClient

type IntegrationServiceClient interface {
	GetCompetitions(ctx context.Context, in *GetCompetitionsRequest, opts ...grpc.CallOption) (*GetCompetitionsResponse, error)
	GetCompetition(ctx context.Context, in *GetCompetitionRequest, opts ...grpc.CallOption) (*GetCompetitionResponse, error)
	GetStandings(ctx context.Context, in *GetStandingsRequest, opts ...grpc.CallOption) (*GetStandingsResponse, error)
}

IntegrationServiceClient is the client API for IntegrationService 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 IntegrationServiceServer

type IntegrationServiceServer interface {
	GetCompetitions(context.Context, *GetCompetitionsRequest) (*GetCompetitionsResponse, error)
	GetCompetition(context.Context, *GetCompetitionRequest) (*GetCompetitionResponse, error)
	GetStandings(context.Context, *GetStandingsRequest) (*GetStandingsResponse, error)
	// contains filtered or unexported methods
}

IntegrationServiceServer is the server API for IntegrationService service. All implementations must embed UnimplementedIntegrationServiceServer for forward compatibility

type MatchFaceoff

type MatchFaceoff struct {
	Fid   string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Order int32  `protobuf:"varint,2,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchFaceoff) Descriptor deprecated

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

Deprecated: Use MatchFaceoff.ProtoReflect.Descriptor instead.

func (*MatchFaceoff) GetFid

func (x *MatchFaceoff) GetFid() string

func (*MatchFaceoff) GetOrder

func (x *MatchFaceoff) GetOrder() int32

func (*MatchFaceoff) ProtoMessage

func (*MatchFaceoff) ProtoMessage()

func (*MatchFaceoff) ProtoReflect

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

func (*MatchFaceoff) Reset

func (x *MatchFaceoff) Reset()

func (*MatchFaceoff) String

func (x *MatchFaceoff) String() string

func (*MatchFaceoff) Validate

func (m *MatchFaceoff) Validate() error

Validate checks the field values on MatchFaceoff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MatchFaceoff) ValidateAll

func (m *MatchFaceoff) ValidateAll() error

ValidateAll checks the field values on MatchFaceoff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchFaceoffMultiError, or nil if none found.

type MatchFaceoffMultiError

type MatchFaceoffMultiError []error

MatchFaceoffMultiError is an error wrapping multiple validation errors returned by MatchFaceoff.ValidateAll() if the designated constraints aren't met.

func (MatchFaceoffMultiError) AllErrors

func (m MatchFaceoffMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchFaceoffMultiError) Error

func (m MatchFaceoffMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MatchFaceoffValidationError

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

MatchFaceoffValidationError is the validation error returned by MatchFaceoff.Validate if the designated constraints aren't met.

func (MatchFaceoffValidationError) Cause

Cause function returns cause value.

func (MatchFaceoffValidationError) Error

Error satisfies the builtin error interface

func (MatchFaceoffValidationError) ErrorName

func (e MatchFaceoffValidationError) ErrorName() string

ErrorName returns error name.

func (MatchFaceoffValidationError) Field

Field function returns field value.

func (MatchFaceoffValidationError) Key

Key function returns key value.

func (MatchFaceoffValidationError) Reason

Reason function returns reason value.

type MatchStatus

type MatchStatus int32
const (
	MatchStatus_MATCH_STATUS_UNSPECIFIED MatchStatus = 0
	MatchStatus_MATCH_STATUS_NOT_STARTED MatchStatus = 1
	MatchStatus_MATCH_STATUS_FINISHED    MatchStatus = 2
	MatchStatus_MATCH_STATUS_DEFERRED    MatchStatus = 3
	MatchStatus_MATCH_STATUS_CLOSED      MatchStatus = 4
)

func (MatchStatus) Descriptor

func (MatchStatus) Enum

func (x MatchStatus) Enum() *MatchStatus

func (MatchStatus) EnumDescriptor deprecated

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

Deprecated: Use MatchStatus.Descriptor instead.

func (MatchStatus) Number

func (x MatchStatus) Number() protoreflect.EnumNumber

func (MatchStatus) String

func (x MatchStatus) String() string

func (MatchStatus) Type

type PartialScore

type PartialScore struct {
	TeamFid string `protobuf:"bytes,1,opt,name=team_fid,json=teamFid,proto3" json:"team_fid,omitempty"`
	Period  int32  `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
	Value   int32  `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PartialScore) Descriptor deprecated

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

Deprecated: Use PartialScore.ProtoReflect.Descriptor instead.

func (*PartialScore) GetPeriod

func (x *PartialScore) GetPeriod() int32

func (*PartialScore) GetTeamFid

func (x *PartialScore) GetTeamFid() string

func (*PartialScore) GetValue

func (x *PartialScore) GetValue() int32

func (*PartialScore) ProtoMessage

func (*PartialScore) ProtoMessage()

func (*PartialScore) ProtoReflect

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

func (*PartialScore) Reset

func (x *PartialScore) Reset()

func (*PartialScore) String

func (x *PartialScore) String() string

func (*PartialScore) Validate

func (m *PartialScore) Validate() error

Validate checks the field values on PartialScore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartialScore) ValidateAll

func (m *PartialScore) ValidateAll() error

ValidateAll checks the field values on PartialScore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartialScoreMultiError, or nil if none found.

type PartialScoreMultiError

type PartialScoreMultiError []error

PartialScoreMultiError is an error wrapping multiple validation errors returned by PartialScore.ValidateAll() if the designated constraints aren't met.

func (PartialScoreMultiError) AllErrors

func (m PartialScoreMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartialScoreMultiError) Error

func (m PartialScoreMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PartialScoreValidationError

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

PartialScoreValidationError is the validation error returned by PartialScore.Validate if the designated constraints aren't met.

func (PartialScoreValidationError) Cause

Cause function returns cause value.

func (PartialScoreValidationError) Error

Error satisfies the builtin error interface

func (PartialScoreValidationError) ErrorName

func (e PartialScoreValidationError) ErrorName() string

ErrorName returns error name.

func (PartialScoreValidationError) Field

Field function returns field value.

func (PartialScoreValidationError) Key

Key function returns key value.

func (PartialScoreValidationError) Reason

Reason function returns reason value.

type Round

type Round struct {
	Fid       string                 `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	StartDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3,oneof" json:"start_date,omitempty"`
	EndDate   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3,oneof" json:"end_date,omitempty"`
	Order     *int32                 `protobuf:"varint,5,opt,name=order,proto3,oneof" json:"order,omitempty"`
	Matches   []*RoundMatch          `protobuf:"bytes,6,rep,name=matches,proto3" json:"matches,omitempty"`
	// contains filtered or unexported fields
}

func (*Round) Descriptor deprecated

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

Deprecated: Use Round.ProtoReflect.Descriptor instead.

func (*Round) GetEndDate

func (x *Round) GetEndDate() *timestamppb.Timestamp

func (*Round) GetFid

func (x *Round) GetFid() string

func (*Round) GetMatches

func (x *Round) GetMatches() []*RoundMatch

func (*Round) GetName

func (x *Round) GetName() string

func (*Round) GetOrder

func (x *Round) GetOrder() int32

func (*Round) GetStartDate

func (x *Round) GetStartDate() *timestamppb.Timestamp

func (*Round) ProtoMessage

func (*Round) ProtoMessage()

func (*Round) ProtoReflect

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

func (*Round) Reset

func (x *Round) Reset()

func (*Round) String

func (x *Round) String() string

func (*Round) Validate

func (m *Round) Validate() error

Validate checks the field values on Round with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Round) ValidateAll

func (m *Round) ValidateAll() error

ValidateAll checks the field values on Round with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoundMultiError, or nil if none found.

type RoundMatch

type RoundMatch struct {
	Fid             string                 `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Court           *Court                 `protobuf:"bytes,2,opt,name=court,proto3" json:"court,omitempty"`
	Date            *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3,oneof" json:"date,omitempty"`
	Winner          *string                `protobuf:"bytes,4,opt,name=winner,proto3,oneof" json:"winner,omitempty"`
	PreviousMatches []*MatchFaceoff        `protobuf:"bytes,5,rep,name=previous_matches,json=previousMatches,proto3" json:"previous_matches,omitempty"`
	HomeTeam        *Team                  `protobuf:"bytes,6,opt,name=home_team,json=homeTeam,proto3,oneof" json:"home_team,omitempty"`
	AwayTeam        *Team                  `protobuf:"bytes,7,opt,name=away_team,json=awayTeam,proto3,oneof" json:"away_team,omitempty"`
	Score           *Score                 `protobuf:"bytes,8,opt,name=score,proto3,oneof" json:"score,omitempty"`
	ProviderScore   *bool                  `protobuf:"varint,9,opt,name=provider_score,json=providerScore,proto3,oneof" json:"provider_score,omitempty"`
	Status          *MatchStatus           `protobuf:"varint,10,opt,name=status,proto3,enum=api.proto.v1.MatchStatus,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RoundMatch) Descriptor deprecated

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

Deprecated: Use RoundMatch.ProtoReflect.Descriptor instead.

func (*RoundMatch) GetAwayTeam

func (x *RoundMatch) GetAwayTeam() *Team

func (*RoundMatch) GetCourt

func (x *RoundMatch) GetCourt() *Court

func (*RoundMatch) GetDate

func (x *RoundMatch) GetDate() *timestamppb.Timestamp

func (*RoundMatch) GetFid

func (x *RoundMatch) GetFid() string

func (*RoundMatch) GetHomeTeam

func (x *RoundMatch) GetHomeTeam() *Team

func (*RoundMatch) GetPreviousMatches

func (x *RoundMatch) GetPreviousMatches() []*MatchFaceoff

func (*RoundMatch) GetProviderScore

func (x *RoundMatch) GetProviderScore() bool

func (*RoundMatch) GetScore

func (x *RoundMatch) GetScore() *Score

func (*RoundMatch) GetStatus

func (x *RoundMatch) GetStatus() MatchStatus

func (*RoundMatch) GetWinner

func (x *RoundMatch) GetWinner() string

func (*RoundMatch) ProtoMessage

func (*RoundMatch) ProtoMessage()

func (*RoundMatch) ProtoReflect

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

func (*RoundMatch) Reset

func (x *RoundMatch) Reset()

func (*RoundMatch) String

func (x *RoundMatch) String() string

func (*RoundMatch) Validate

func (m *RoundMatch) Validate() error

Validate checks the field values on RoundMatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RoundMatch) ValidateAll

func (m *RoundMatch) ValidateAll() error

ValidateAll checks the field values on RoundMatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoundMatchMultiError, or nil if none found.

type RoundMatchMultiError

type RoundMatchMultiError []error

RoundMatchMultiError is an error wrapping multiple validation errors returned by RoundMatch.ValidateAll() if the designated constraints aren't met.

func (RoundMatchMultiError) AllErrors

func (m RoundMatchMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoundMatchMultiError) Error

func (m RoundMatchMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoundMatchValidationError

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

RoundMatchValidationError is the validation error returned by RoundMatch.Validate if the designated constraints aren't met.

func (RoundMatchValidationError) Cause

func (e RoundMatchValidationError) Cause() error

Cause function returns cause value.

func (RoundMatchValidationError) Error

Error satisfies the builtin error interface

func (RoundMatchValidationError) ErrorName

func (e RoundMatchValidationError) ErrorName() string

ErrorName returns error name.

func (RoundMatchValidationError) Field

Field function returns field value.

func (RoundMatchValidationError) Key

Key function returns key value.

func (RoundMatchValidationError) Reason

func (e RoundMatchValidationError) Reason() string

Reason function returns reason value.

type RoundMultiError

type RoundMultiError []error

RoundMultiError is an error wrapping multiple validation errors returned by Round.ValidateAll() if the designated constraints aren't met.

func (RoundMultiError) AllErrors

func (m RoundMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoundMultiError) Error

func (m RoundMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoundValidationError

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

RoundValidationError is the validation error returned by Round.Validate if the designated constraints aren't met.

func (RoundValidationError) Cause

func (e RoundValidationError) Cause() error

Cause function returns cause value.

func (RoundValidationError) Error

func (e RoundValidationError) Error() string

Error satisfies the builtin error interface

func (RoundValidationError) ErrorName

func (e RoundValidationError) ErrorName() string

ErrorName returns error name.

func (RoundValidationError) Field

func (e RoundValidationError) Field() string

Field function returns field value.

func (RoundValidationError) Key

func (e RoundValidationError) Key() bool

Key function returns key value.

func (RoundValidationError) Reason

func (e RoundValidationError) Reason() string

Reason function returns reason value.

type Score

type Score struct {
	Total   []*TotalScore   `protobuf:"bytes,1,rep,name=total,proto3" json:"total,omitempty"`
	Partial []*PartialScore `protobuf:"bytes,2,rep,name=partial,proto3" json:"partial,omitempty"`
	// contains filtered or unexported fields
}

func (*Score) Descriptor deprecated

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

Deprecated: Use Score.ProtoReflect.Descriptor instead.

func (*Score) GetPartial

func (x *Score) GetPartial() []*PartialScore

func (*Score) GetTotal

func (x *Score) GetTotal() []*TotalScore

func (*Score) ProtoMessage

func (*Score) ProtoMessage()

func (*Score) ProtoReflect

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

func (*Score) Reset

func (x *Score) Reset()

func (*Score) String

func (x *Score) String() string

func (*Score) Validate

func (m *Score) Validate() error

Validate checks the field values on Score with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Score) ValidateAll

func (m *Score) ValidateAll() error

ValidateAll checks the field values on Score with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScoreMultiError, or nil if none found.

type ScoreMultiError

type ScoreMultiError []error

ScoreMultiError is an error wrapping multiple validation errors returned by Score.ValidateAll() if the designated constraints aren't met.

func (ScoreMultiError) AllErrors

func (m ScoreMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScoreMultiError) Error

func (m ScoreMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ScoreValidationError

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

ScoreValidationError is the validation error returned by Score.Validate if the designated constraints aren't met.

func (ScoreValidationError) Cause

func (e ScoreValidationError) Cause() error

Cause function returns cause value.

func (ScoreValidationError) Error

func (e ScoreValidationError) Error() string

Error satisfies the builtin error interface

func (ScoreValidationError) ErrorName

func (e ScoreValidationError) ErrorName() string

ErrorName returns error name.

func (ScoreValidationError) Field

func (e ScoreValidationError) Field() string

Field function returns field value.

func (ScoreValidationError) Key

func (e ScoreValidationError) Key() bool

Key function returns key value.

func (ScoreValidationError) Reason

func (e ScoreValidationError) Reason() string

Reason function returns reason value.

type Sex

type Sex int32
const (
	Sex_SEX_UNSPECIFIED Sex = 0
	Sex_SEX_MALE        Sex = 1
	Sex_SEX_FEMALE      Sex = 2
	Sex_SEX_MIXED       Sex = 3
)

func (Sex) Descriptor

func (Sex) Descriptor() protoreflect.EnumDescriptor

func (Sex) Enum

func (x Sex) Enum() *Sex

func (Sex) EnumDescriptor deprecated

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

Deprecated: Use Sex.Descriptor instead.

func (Sex) Number

func (x Sex) Number() protoreflect.EnumNumber

func (Sex) String

func (x Sex) String() string

func (Sex) Type

func (Sex) Type() protoreflect.EnumType

type Standing

type Standing struct {
	Fid      string         `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Name     string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Position int32          `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
	Stats    *StandingStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*Standing) Descriptor deprecated

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

Deprecated: Use Standing.ProtoReflect.Descriptor instead.

func (*Standing) GetFid

func (x *Standing) GetFid() string
func (x *Standing) GetLogo() string

func (*Standing) GetName

func (x *Standing) GetName() string

func (*Standing) GetPosition

func (x *Standing) GetPosition() int32

func (*Standing) GetStats

func (x *Standing) GetStats() *StandingStats

func (*Standing) ProtoMessage

func (*Standing) ProtoMessage()

func (*Standing) ProtoReflect

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

func (*Standing) Reset

func (x *Standing) Reset()

func (*Standing) String

func (x *Standing) String() string

func (*Standing) Validate

func (m *Standing) Validate() error

Validate checks the field values on Standing with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Standing) ValidateAll

func (m *Standing) ValidateAll() error

ValidateAll checks the field values on Standing with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StandingMultiError, or nil if none found.

type StandingMultiError

type StandingMultiError []error

StandingMultiError is an error wrapping multiple validation errors returned by Standing.ValidateAll() if the designated constraints aren't met.

func (StandingMultiError) AllErrors

func (m StandingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StandingMultiError) Error

func (m StandingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StandingStats

type StandingStats struct {
	PlayedMatches          *int32   `protobuf:"varint,1,opt,name=played_matches,json=playedMatches,proto3,oneof" json:"played_matches,omitempty"`
	WonMatches             *int32   `protobuf:"varint,2,opt,name=won_matches,json=wonMatches,proto3,oneof" json:"won_matches,omitempty"`
	LostMatches            *int32   `protobuf:"varint,3,opt,name=lost_matches,json=lostMatches,proto3,oneof" json:"lost_matches,omitempty"`
	PointsPerGame          *float32 `protobuf:"fixed32,4,opt,name=points_per_game,json=pointsPerGame,proto3,oneof" json:"points_per_game,omitempty"`
	OpponentsPointsPerGame *float32 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StandingStats) Descriptor deprecated

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

Deprecated: Use StandingStats.ProtoReflect.Descriptor instead.

func (*StandingStats) GetLostMatches

func (x *StandingStats) GetLostMatches() int32

func (*StandingStats) GetOpponentsPointsPerGame

func (x *StandingStats) GetOpponentsPointsPerGame() float32

func (*StandingStats) GetPlayedMatches

func (x *StandingStats) GetPlayedMatches() int32

func (*StandingStats) GetPointsPerGame

func (x *StandingStats) GetPointsPerGame() float32

func (*StandingStats) GetWonMatches

func (x *StandingStats) GetWonMatches() int32

func (*StandingStats) ProtoMessage

func (*StandingStats) ProtoMessage()

func (*StandingStats) ProtoReflect

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

func (*StandingStats) Reset

func (x *StandingStats) Reset()

func (*StandingStats) String

func (x *StandingStats) String() string

func (*StandingStats) Validate

func (m *StandingStats) Validate() error

Validate checks the field values on StandingStats with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StandingStats) ValidateAll

func (m *StandingStats) ValidateAll() error

ValidateAll checks the field values on StandingStats with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StandingStatsMultiError, or nil if none found.

type StandingStatsMultiError

type StandingStatsMultiError []error

StandingStatsMultiError is an error wrapping multiple validation errors returned by StandingStats.ValidateAll() if the designated constraints aren't met.

func (StandingStatsMultiError) AllErrors

func (m StandingStatsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StandingStatsMultiError) Error

func (m StandingStatsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StandingStatsValidationError

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

StandingStatsValidationError is the validation error returned by StandingStats.Validate if the designated constraints aren't met.

func (StandingStatsValidationError) Cause

Cause function returns cause value.

func (StandingStatsValidationError) Error

Error satisfies the builtin error interface

func (StandingStatsValidationError) ErrorName

func (e StandingStatsValidationError) ErrorName() string

ErrorName returns error name.

func (StandingStatsValidationError) Field

Field function returns field value.

func (StandingStatsValidationError) Key

Key function returns key value.

func (StandingStatsValidationError) Reason

Reason function returns reason value.

type StandingValidationError

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

StandingValidationError is the validation error returned by Standing.Validate if the designated constraints aren't met.

func (StandingValidationError) Cause

func (e StandingValidationError) Cause() error

Cause function returns cause value.

func (StandingValidationError) Error

func (e StandingValidationError) Error() string

Error satisfies the builtin error interface

func (StandingValidationError) ErrorName

func (e StandingValidationError) ErrorName() string

ErrorName returns error name.

func (StandingValidationError) Field

func (e StandingValidationError) Field() string

Field function returns field value.

func (StandingValidationError) Key

func (e StandingValidationError) Key() bool

Key function returns key value.

func (StandingValidationError) Reason

func (e StandingValidationError) Reason() string

Reason function returns reason value.

type Team

type Team struct {
	Fid     string  `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Name    string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ClubFid *string `protobuf:"bytes,4,opt,name=club_fid,json=clubFid,proto3,oneof" json:"club_fid,omitempty"`
	// contains filtered or unexported fields
}

func (*Team) Descriptor deprecated

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

Deprecated: Use Team.ProtoReflect.Descriptor instead.

func (*Team) GetClubFid

func (x *Team) GetClubFid() string

func (*Team) GetFid

func (x *Team) GetFid() string
func (x *Team) GetLogo() string

func (*Team) GetName

func (x *Team) GetName() string

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) ProtoReflect

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

func (*Team) Reset

func (x *Team) Reset()

func (*Team) String

func (x *Team) String() string

func (*Team) Validate

func (m *Team) Validate() error

Validate checks the field values on Team with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Team) ValidateAll

func (m *Team) ValidateAll() error

ValidateAll checks the field values on Team with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TeamMultiError, or nil if none found.

type TeamMultiError

type TeamMultiError []error

TeamMultiError is an error wrapping multiple validation errors returned by Team.ValidateAll() if the designated constraints aren't met.

func (TeamMultiError) AllErrors

func (m TeamMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TeamMultiError) Error

func (m TeamMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TeamValidationError

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

TeamValidationError is the validation error returned by Team.Validate if the designated constraints aren't met.

func (TeamValidationError) Cause

func (e TeamValidationError) Cause() error

Cause function returns cause value.

func (TeamValidationError) Error

func (e TeamValidationError) Error() string

Error satisfies the builtin error interface

func (TeamValidationError) ErrorName

func (e TeamValidationError) ErrorName() string

ErrorName returns error name.

func (TeamValidationError) Field

func (e TeamValidationError) Field() string

Field function returns field value.

func (TeamValidationError) Key

func (e TeamValidationError) Key() bool

Key function returns key value.

func (TeamValidationError) Reason

func (e TeamValidationError) Reason() string

Reason function returns reason value.

type TotalScore

type TotalScore struct {
	TeamFid string `protobuf:"bytes,1,opt,name=team_fid,json=teamFid,proto3" json:"team_fid,omitempty"`
	Total   int32  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*TotalScore) Descriptor deprecated

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

Deprecated: Use TotalScore.ProtoReflect.Descriptor instead.

func (*TotalScore) GetTeamFid

func (x *TotalScore) GetTeamFid() string

func (*TotalScore) GetTotal

func (x *TotalScore) GetTotal() int32

func (*TotalScore) ProtoMessage

func (*TotalScore) ProtoMessage()

func (*TotalScore) ProtoReflect

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

func (*TotalScore) Reset

func (x *TotalScore) Reset()

func (*TotalScore) String

func (x *TotalScore) String() string

func (*TotalScore) Validate

func (m *TotalScore) Validate() error

Validate checks the field values on TotalScore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TotalScore) ValidateAll

func (m *TotalScore) ValidateAll() error

ValidateAll checks the field values on TotalScore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TotalScoreMultiError, or nil if none found.

type TotalScoreMultiError

type TotalScoreMultiError []error

TotalScoreMultiError is an error wrapping multiple validation errors returned by TotalScore.ValidateAll() if the designated constraints aren't met.

func (TotalScoreMultiError) AllErrors

func (m TotalScoreMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TotalScoreMultiError) Error

func (m TotalScoreMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TotalScoreValidationError

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

TotalScoreValidationError is the validation error returned by TotalScore.Validate if the designated constraints aren't met.

func (TotalScoreValidationError) Cause

func (e TotalScoreValidationError) Cause() error

Cause function returns cause value.

func (TotalScoreValidationError) Error

Error satisfies the builtin error interface

func (TotalScoreValidationError) ErrorName

func (e TotalScoreValidationError) ErrorName() string

ErrorName returns error name.

func (TotalScoreValidationError) Field

Field function returns field value.

func (TotalScoreValidationError) Key

Key function returns key value.

func (TotalScoreValidationError) Reason

func (e TotalScoreValidationError) Reason() string

Reason function returns reason value.

type UnimplementedIntegrationServiceServer

type UnimplementedIntegrationServiceServer struct {
}

UnimplementedIntegrationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIntegrationServiceServer) GetCompetition

func (UnimplementedIntegrationServiceServer) GetCompetitions

func (UnimplementedIntegrationServiceServer) GetStandings

type UnsafeIntegrationServiceServer

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

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

Jump to

Keyboard shortcuts

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