Documentation ¶
Overview ¶
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterIntegrationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIntegrationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IntegrationServiceClient) error
- func RegisterIntegrationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIntegrationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IntegrationServiceServer) error
- func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer)
- type Competition
- func (*Competition) Descriptor() ([]byte, []int)deprecated
- func (x *Competition) GetCategoryId() string
- func (x *Competition) GetCategoryName() string
- func (x *Competition) GetCmKey() string
- func (x *Competition) GetFid() string
- func (x *Competition) GetGroups() []*Group
- func (x *Competition) GetIsFinished() bool
- func (x *Competition) GetName() string
- func (x *Competition) GetOrganizer() string
- func (x *Competition) GetOrganizerId() string
- func (x *Competition) GetProjectKey() string
- func (x *Competition) GetProjectName() string
- func (x *Competition) GetSeason() string
- func (x *Competition) GetSeasonId() string
- func (x *Competition) GetSex() Sex
- func (x *Competition) GetShortName() string
- func (x *Competition) GetZone() string
- func (*Competition) ProtoMessage()
- func (x *Competition) ProtoReflect() protoreflect.Message
- func (x *Competition) Reset()
- func (x *Competition) String() string
- func (m *Competition) Validate() error
- func (m *Competition) ValidateAll() error
- type CompetitionMultiError
- type CompetitionRef
- func (*CompetitionRef) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitionRef) GetFid() string
- func (x *CompetitionRef) GetProjectKey() string
- func (x *CompetitionRef) GetSeasonId() string
- func (*CompetitionRef) ProtoMessage()
- func (x *CompetitionRef) ProtoReflect() protoreflect.Message
- func (x *CompetitionRef) Reset()
- func (x *CompetitionRef) String() string
- func (m *CompetitionRef) Validate() error
- func (m *CompetitionRef) ValidateAll() error
- type CompetitionRefMultiError
- type CompetitionRefValidationError
- func (e CompetitionRefValidationError) Cause() error
- func (e CompetitionRefValidationError) Error() string
- func (e CompetitionRefValidationError) ErrorName() string
- func (e CompetitionRefValidationError) Field() string
- func (e CompetitionRefValidationError) Key() bool
- func (e CompetitionRefValidationError) Reason() string
- type CompetitionValidationError
- func (e CompetitionValidationError) Cause() error
- func (e CompetitionValidationError) Error() string
- func (e CompetitionValidationError) ErrorName() string
- func (e CompetitionValidationError) Field() string
- func (e CompetitionValidationError) Key() bool
- func (e CompetitionValidationError) Reason() string
- type Court
- func (*Court) Descriptor() ([]byte, []int)deprecated
- func (x *Court) GetAddress() string
- func (x *Court) GetFid() string
- func (x *Court) GetPlace() string
- func (x *Court) GetTown() string
- func (*Court) ProtoMessage()
- func (x *Court) ProtoReflect() protoreflect.Message
- func (x *Court) Reset()
- func (x *Court) String() string
- func (m *Court) Validate() error
- func (m *Court) ValidateAll() error
- type CourtMultiError
- type CourtValidationError
- type GetCompetitionRequest
- func (*GetCompetitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompetitionRequest) GetId() string
- func (*GetCompetitionRequest) ProtoMessage()
- func (x *GetCompetitionRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompetitionRequest) Reset()
- func (x *GetCompetitionRequest) String() string
- func (m *GetCompetitionRequest) Validate() error
- func (m *GetCompetitionRequest) ValidateAll() error
- type GetCompetitionRequestMultiError
- type GetCompetitionRequestValidationError
- func (e GetCompetitionRequestValidationError) Cause() error
- func (e GetCompetitionRequestValidationError) Error() string
- func (e GetCompetitionRequestValidationError) ErrorName() string
- func (e GetCompetitionRequestValidationError) Field() string
- func (e GetCompetitionRequestValidationError) Key() bool
- func (e GetCompetitionRequestValidationError) Reason() string
- type GetCompetitionResponse
- func (*GetCompetitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompetitionResponse) GetCompetition() *Competition
- func (*GetCompetitionResponse) ProtoMessage()
- func (x *GetCompetitionResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompetitionResponse) Reset()
- func (x *GetCompetitionResponse) String() string
- func (m *GetCompetitionResponse) Validate() error
- func (m *GetCompetitionResponse) ValidateAll() error
- type GetCompetitionResponseMultiError
- type GetCompetitionResponseValidationError
- func (e GetCompetitionResponseValidationError) Cause() error
- func (e GetCompetitionResponseValidationError) Error() string
- func (e GetCompetitionResponseValidationError) ErrorName() string
- func (e GetCompetitionResponseValidationError) Field() string
- func (e GetCompetitionResponseValidationError) Key() bool
- func (e GetCompetitionResponseValidationError) Reason() string
- type GetCompetitionsRequest
- func (*GetCompetitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompetitionsRequest) GetTest() string
- func (*GetCompetitionsRequest) ProtoMessage()
- func (x *GetCompetitionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompetitionsRequest) Reset()
- func (x *GetCompetitionsRequest) String() string
- func (m *GetCompetitionsRequest) Validate() error
- func (m *GetCompetitionsRequest) ValidateAll() error
- type GetCompetitionsRequestMultiError
- type GetCompetitionsRequestValidationError
- func (e GetCompetitionsRequestValidationError) Cause() error
- func (e GetCompetitionsRequestValidationError) Error() string
- func (e GetCompetitionsRequestValidationError) ErrorName() string
- func (e GetCompetitionsRequestValidationError) Field() string
- func (e GetCompetitionsRequestValidationError) Key() bool
- func (e GetCompetitionsRequestValidationError) Reason() string
- type GetCompetitionsResponse
- func (*GetCompetitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompetitionsResponse) GetCompetitions() []*CompetitionRef
- func (*GetCompetitionsResponse) ProtoMessage()
- func (x *GetCompetitionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompetitionsResponse) Reset()
- func (x *GetCompetitionsResponse) String() string
- func (m *GetCompetitionsResponse) Validate() error
- func (m *GetCompetitionsResponse) ValidateAll() error
- type GetCompetitionsResponseMultiError
- type GetCompetitionsResponseValidationError
- func (e GetCompetitionsResponseValidationError) Cause() error
- func (e GetCompetitionsResponseValidationError) Error() string
- func (e GetCompetitionsResponseValidationError) ErrorName() string
- func (e GetCompetitionsResponseValidationError) Field() string
- func (e GetCompetitionsResponseValidationError) Key() bool
- func (e GetCompetitionsResponseValidationError) Reason() string
- type GetStandingsRequest
- func (*GetStandingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStandingsRequest) GetCompetitionId() string
- func (x *GetStandingsRequest) GetGroupId() string
- func (*GetStandingsRequest) ProtoMessage()
- func (x *GetStandingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetStandingsRequest) Reset()
- func (x *GetStandingsRequest) String() string
- func (m *GetStandingsRequest) Validate() error
- func (m *GetStandingsRequest) ValidateAll() error
- type GetStandingsRequestMultiError
- type GetStandingsRequestValidationError
- func (e GetStandingsRequestValidationError) Cause() error
- func (e GetStandingsRequestValidationError) Error() string
- func (e GetStandingsRequestValidationError) ErrorName() string
- func (e GetStandingsRequestValidationError) Field() string
- func (e GetStandingsRequestValidationError) Key() bool
- func (e GetStandingsRequestValidationError) Reason() string
- type GetStandingsResponse
- func (*GetStandingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStandingsResponse) GetStandings() []*Standing
- func (*GetStandingsResponse) ProtoMessage()
- func (x *GetStandingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetStandingsResponse) Reset()
- func (x *GetStandingsResponse) String() string
- func (m *GetStandingsResponse) Validate() error
- func (m *GetStandingsResponse) ValidateAll() error
- type GetStandingsResponseMultiError
- type GetStandingsResponseValidationError
- func (e GetStandingsResponseValidationError) Cause() error
- func (e GetStandingsResponseValidationError) Error() string
- func (e GetStandingsResponseValidationError) ErrorName() string
- func (e GetStandingsResponseValidationError) Field() string
- func (e GetStandingsResponseValidationError) Key() bool
- func (e GetStandingsResponseValidationError) Reason() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetFid() string
- func (x *Group) GetName() string
- func (x *Group) GetOrder() int32
- func (x *Group) GetRounds() []*Round
- func (x *Group) GetType() GroupType
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) Validate() error
- func (m *Group) ValidateAll() error
- type GroupMultiError
- type GroupType
- type GroupValidationError
- type IntegrationServiceClient
- type IntegrationServiceServer
- type MatchFaceoff
- func (*MatchFaceoff) Descriptor() ([]byte, []int)deprecated
- func (x *MatchFaceoff) GetFid() string
- func (x *MatchFaceoff) GetOrder() int32
- func (*MatchFaceoff) ProtoMessage()
- func (x *MatchFaceoff) ProtoReflect() protoreflect.Message
- func (x *MatchFaceoff) Reset()
- func (x *MatchFaceoff) String() string
- func (m *MatchFaceoff) Validate() error
- func (m *MatchFaceoff) ValidateAll() error
- type MatchFaceoffMultiError
- type MatchFaceoffValidationError
- func (e MatchFaceoffValidationError) Cause() error
- func (e MatchFaceoffValidationError) Error() string
- func (e MatchFaceoffValidationError) ErrorName() string
- func (e MatchFaceoffValidationError) Field() string
- func (e MatchFaceoffValidationError) Key() bool
- func (e MatchFaceoffValidationError) Reason() string
- type MatchStatus
- func (MatchStatus) Descriptor() protoreflect.EnumDescriptor
- func (x MatchStatus) Enum() *MatchStatus
- func (MatchStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchStatus) Number() protoreflect.EnumNumber
- func (x MatchStatus) String() string
- func (MatchStatus) Type() protoreflect.EnumType
- type PartialScore
- func (*PartialScore) Descriptor() ([]byte, []int)deprecated
- func (x *PartialScore) GetPeriod() int32
- func (x *PartialScore) GetTeamFid() string
- func (x *PartialScore) GetValue() int32
- func (*PartialScore) ProtoMessage()
- func (x *PartialScore) ProtoReflect() protoreflect.Message
- func (x *PartialScore) Reset()
- func (x *PartialScore) String() string
- func (m *PartialScore) Validate() error
- func (m *PartialScore) ValidateAll() error
- type PartialScoreMultiError
- type PartialScoreValidationError
- func (e PartialScoreValidationError) Cause() error
- func (e PartialScoreValidationError) Error() string
- func (e PartialScoreValidationError) ErrorName() string
- func (e PartialScoreValidationError) Field() string
- func (e PartialScoreValidationError) Key() bool
- func (e PartialScoreValidationError) Reason() string
- type Round
- func (*Round) Descriptor() ([]byte, []int)deprecated
- func (x *Round) GetEndDate() *timestamppb.Timestamp
- func (x *Round) GetFid() string
- func (x *Round) GetMatches() []*RoundMatch
- func (x *Round) GetName() string
- func (x *Round) GetOrder() int32
- func (x *Round) GetStartDate() *timestamppb.Timestamp
- func (*Round) ProtoMessage()
- func (x *Round) ProtoReflect() protoreflect.Message
- func (x *Round) Reset()
- func (x *Round) String() string
- func (m *Round) Validate() error
- func (m *Round) ValidateAll() error
- type RoundMatch
- func (*RoundMatch) Descriptor() ([]byte, []int)deprecated
- func (x *RoundMatch) GetAwayTeam() *Team
- func (x *RoundMatch) GetCourt() *Court
- func (x *RoundMatch) GetDate() *timestamppb.Timestamp
- func (x *RoundMatch) GetFid() string
- func (x *RoundMatch) GetHomeTeam() *Team
- func (x *RoundMatch) GetPreviousMatches() []*MatchFaceoff
- func (x *RoundMatch) GetProviderScore() bool
- func (x *RoundMatch) GetScore() *Score
- func (x *RoundMatch) GetStatus() MatchStatus
- func (x *RoundMatch) GetWinner() string
- func (*RoundMatch) ProtoMessage()
- func (x *RoundMatch) ProtoReflect() protoreflect.Message
- func (x *RoundMatch) Reset()
- func (x *RoundMatch) String() string
- func (m *RoundMatch) Validate() error
- func (m *RoundMatch) ValidateAll() error
- type RoundMatchMultiError
- type RoundMatchValidationError
- type RoundMultiError
- type RoundValidationError
- type Score
- func (*Score) Descriptor() ([]byte, []int)deprecated
- func (x *Score) GetPartial() []*PartialScore
- func (x *Score) GetTotal() []*TotalScore
- func (*Score) ProtoMessage()
- func (x *Score) ProtoReflect() protoreflect.Message
- func (x *Score) Reset()
- func (x *Score) String() string
- func (m *Score) Validate() error
- func (m *Score) ValidateAll() error
- type ScoreMultiError
- type ScoreValidationError
- type Sex
- type Standing
- func (*Standing) Descriptor() ([]byte, []int)deprecated
- func (x *Standing) GetFid() string
- func (x *Standing) GetLogo() string
- func (x *Standing) GetName() string
- func (x *Standing) GetPosition() int32
- func (x *Standing) GetStats() *StandingStats
- func (*Standing) ProtoMessage()
- func (x *Standing) ProtoReflect() protoreflect.Message
- func (x *Standing) Reset()
- func (x *Standing) String() string
- func (m *Standing) Validate() error
- func (m *Standing) ValidateAll() error
- type StandingMultiError
- type StandingStats
- func (*StandingStats) Descriptor() ([]byte, []int)deprecated
- func (x *StandingStats) GetLostMatches() int32
- func (x *StandingStats) GetOpponentsPointsPerGame() float32
- func (x *StandingStats) GetPlayedMatches() int32
- func (x *StandingStats) GetPointsPerGame() float32
- func (x *StandingStats) GetWonMatches() int32
- func (*StandingStats) ProtoMessage()
- func (x *StandingStats) ProtoReflect() protoreflect.Message
- func (x *StandingStats) Reset()
- func (x *StandingStats) String() string
- func (m *StandingStats) Validate() error
- func (m *StandingStats) ValidateAll() error
- type StandingStatsMultiError
- type StandingStatsValidationError
- func (e StandingStatsValidationError) Cause() error
- func (e StandingStatsValidationError) Error() string
- func (e StandingStatsValidationError) ErrorName() string
- func (e StandingStatsValidationError) Field() string
- func (e StandingStatsValidationError) Key() bool
- func (e StandingStatsValidationError) Reason() string
- type StandingValidationError
- type Team
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetClubFid() string
- func (x *Team) GetFid() string
- func (x *Team) GetLogo() string
- func (x *Team) GetName() string
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- func (m *Team) Validate() error
- func (m *Team) ValidateAll() error
- type TeamMultiError
- type TeamValidationError
- type TotalScore
- func (*TotalScore) Descriptor() ([]byte, []int)deprecated
- func (x *TotalScore) GetTeamFid() string
- func (x *TotalScore) GetTotal() int32
- func (*TotalScore) ProtoMessage()
- func (x *TotalScore) ProtoReflect() protoreflect.Message
- func (x *TotalScore) Reset()
- func (x *TotalScore) String() string
- func (m *TotalScore) Validate() error
- func (m *TotalScore) ValidateAll() error
- type TotalScoreMultiError
- type TotalScoreValidationError
- type UnimplementedIntegrationServiceServer
- func (UnimplementedIntegrationServiceServer) GetCompetition(context.Context, *GetCompetitionRequest) (*GetCompetitionResponse, error)
- func (UnimplementedIntegrationServiceServer) GetCompetitions(context.Context, *GetCompetitionsRequest) (*GetCompetitionsResponse, error)
- func (UnimplementedIntegrationServiceServer) GetStandings(context.Context, *GetStandingsRequest) (*GetStandingsResponse, error)
- type UnsafeIntegrationServiceServer
Constants ¶
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 ¶
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.
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.
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.
var File_api_proto_v1_integration_proto protoreflect.FileDescriptor
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
func (e CompetitionRefValidationError) Cause() error
Cause function returns cause value.
func (CompetitionRefValidationError) Error ¶ added in v1.0.10
func (e CompetitionRefValidationError) Error() string
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
func (e CompetitionRefValidationError) Field() string
Field function returns field value.
func (CompetitionRefValidationError) Key ¶ added in v1.0.10
func (e CompetitionRefValidationError) Key() bool
Key function returns key value.
func (CompetitionRefValidationError) Reason ¶ added in v1.0.10
func (e CompetitionRefValidationError) Reason() string
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 ¶
func (e CompetitionValidationError) Cause() error
Cause function returns cause value.
func (CompetitionValidationError) Error ¶
func (e CompetitionValidationError) Error() string
Error satisfies the builtin error interface
func (CompetitionValidationError) ErrorName ¶
func (e CompetitionValidationError) ErrorName() string
ErrorName returns error name.
func (CompetitionValidationError) Field ¶
func (e CompetitionValidationError) Field() string
Field function returns field value.
func (CompetitionValidationError) Key ¶
func (e CompetitionValidationError) Key() bool
Key function returns key value.
func (CompetitionValidationError) Reason ¶
func (e CompetitionValidationError) Reason() string
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) GetAddress ¶
func (*Court) ProtoMessage ¶
func (*Court) ProtoMessage()
func (*Court) ProtoReflect ¶
func (x *Court) ProtoReflect() protoreflect.Message
func (*Court) Validate ¶
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 ¶
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 ¶
func (m GetCompetitionRequestMultiError) Error() string
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 ¶
func (e GetCompetitionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCompetitionRequestValidationError) Error ¶
func (e GetCompetitionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCompetitionRequestValidationError) ErrorName ¶
func (e GetCompetitionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCompetitionRequestValidationError) Field ¶
func (e GetCompetitionRequestValidationError) Field() string
Field function returns field value.
func (GetCompetitionRequestValidationError) Key ¶
func (e GetCompetitionRequestValidationError) Key() bool
Key function returns key value.
func (GetCompetitionRequestValidationError) Reason ¶
func (e GetCompetitionRequestValidationError) Reason() string
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 ¶
func (m GetCompetitionResponseMultiError) Error() string
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 ¶
func (e GetCompetitionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCompetitionResponseValidationError) Error ¶
func (e GetCompetitionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCompetitionResponseValidationError) ErrorName ¶
func (e GetCompetitionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCompetitionResponseValidationError) Field ¶
func (e GetCompetitionResponseValidationError) Field() string
Field function returns field value.
func (GetCompetitionResponseValidationError) Key ¶
func (e GetCompetitionResponseValidationError) Key() bool
Key function returns key value.
func (GetCompetitionResponseValidationError) Reason ¶
func (e GetCompetitionResponseValidationError) Reason() string
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 ¶
func (m GetCompetitionsRequestMultiError) Error() string
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 ¶
func (e GetCompetitionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCompetitionsRequestValidationError) Error ¶
func (e GetCompetitionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCompetitionsRequestValidationError) ErrorName ¶
func (e GetCompetitionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCompetitionsRequestValidationError) Field ¶
func (e GetCompetitionsRequestValidationError) Field() string
Field function returns field value.
func (GetCompetitionsRequestValidationError) Key ¶
func (e GetCompetitionsRequestValidationError) Key() bool
Key function returns key value.
func (GetCompetitionsRequestValidationError) Reason ¶
func (e GetCompetitionsRequestValidationError) Reason() string
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 ¶
func (m GetCompetitionsResponseMultiError) Error() string
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 ¶
func (e GetCompetitionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCompetitionsResponseValidationError) Error ¶
func (e GetCompetitionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCompetitionsResponseValidationError) ErrorName ¶
func (e GetCompetitionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCompetitionsResponseValidationError) Field ¶
func (e GetCompetitionsResponseValidationError) Field() string
Field function returns field value.
func (GetCompetitionsResponseValidationError) Key ¶
func (e GetCompetitionsResponseValidationError) Key() bool
Key function returns key value.
func (GetCompetitionsResponseValidationError) Reason ¶
func (e GetCompetitionsResponseValidationError) Reason() string
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 ¶
func (m GetStandingsRequestMultiError) Error() string
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 ¶
func (e GetStandingsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetStandingsRequestValidationError) Error ¶
func (e GetStandingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetStandingsRequestValidationError) ErrorName ¶
func (e GetStandingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetStandingsRequestValidationError) Field ¶
func (e GetStandingsRequestValidationError) Field() string
Field function returns field value.
func (GetStandingsRequestValidationError) Key ¶
func (e GetStandingsRequestValidationError) Key() bool
Key function returns key value.
func (GetStandingsRequestValidationError) Reason ¶
func (e GetStandingsRequestValidationError) Reason() string
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 ¶
func (m GetStandingsResponseMultiError) Error() string
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 ¶
func (e GetStandingsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetStandingsResponseValidationError) Error ¶
func (e GetStandingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetStandingsResponseValidationError) ErrorName ¶
func (e GetStandingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetStandingsResponseValidationError) Field ¶
func (e GetStandingsResponseValidationError) Field() string
Field function returns field value.
func (GetStandingsResponseValidationError) Key ¶
func (e GetStandingsResponseValidationError) Key() bool
Key function returns key value.
func (GetStandingsResponseValidationError) Reason ¶
func (e GetStandingsResponseValidationError) Reason() string
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) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) Validate ¶
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 ¶
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
func (GroupType) Descriptor ¶
func (GroupType) Descriptor() protoreflect.EnumDescriptor
func (GroupType) EnumDescriptor
deprecated
func (GroupType) Number ¶
func (x GroupType) Number() protoreflect.EnumNumber
func (GroupType) Type ¶
func (GroupType) Type() protoreflect.EnumType
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.
func NewIntegrationServiceClient ¶
func NewIntegrationServiceClient(cc grpc.ClientConnInterface) IntegrationServiceClient
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 ¶
func (e MatchFaceoffValidationError) Cause() error
Cause function returns cause value.
func (MatchFaceoffValidationError) Error ¶
func (e MatchFaceoffValidationError) Error() string
Error satisfies the builtin error interface
func (MatchFaceoffValidationError) ErrorName ¶
func (e MatchFaceoffValidationError) ErrorName() string
ErrorName returns error name.
func (MatchFaceoffValidationError) Field ¶
func (e MatchFaceoffValidationError) Field() string
Field function returns field value.
func (MatchFaceoffValidationError) Key ¶
func (e MatchFaceoffValidationError) Key() bool
Key function returns key value.
func (MatchFaceoffValidationError) Reason ¶
func (e MatchFaceoffValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (MatchStatus) Type() protoreflect.EnumType
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 ¶
func (e PartialScoreValidationError) Cause() error
Cause function returns cause value.
func (PartialScoreValidationError) Error ¶
func (e PartialScoreValidationError) Error() string
Error satisfies the builtin error interface
func (PartialScoreValidationError) ErrorName ¶
func (e PartialScoreValidationError) ErrorName() string
ErrorName returns error name.
func (PartialScoreValidationError) Field ¶
func (e PartialScoreValidationError) Field() string
Field function returns field value.
func (PartialScoreValidationError) Key ¶
func (e PartialScoreValidationError) Key() bool
Key function returns key value.
func (PartialScoreValidationError) Reason ¶
func (e PartialScoreValidationError) Reason() string
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) GetEndDate ¶
func (x *Round) GetEndDate() *timestamppb.Timestamp
func (*Round) GetMatches ¶
func (x *Round) GetMatches() []*RoundMatch
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) Validate ¶
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 ¶
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 ¶
func (e RoundMatchValidationError) Error() string
Error satisfies the builtin error interface
func (RoundMatchValidationError) ErrorName ¶
func (e RoundMatchValidationError) ErrorName() string
ErrorName returns error name.
func (RoundMatchValidationError) Field ¶
func (e RoundMatchValidationError) Field() string
Field function returns field value.
func (RoundMatchValidationError) Key ¶
func (e RoundMatchValidationError) Key() bool
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) 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) Validate ¶
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 ¶
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
func (Sex) Descriptor ¶
func (Sex) Descriptor() protoreflect.EnumDescriptor
func (Sex) EnumDescriptor
deprecated
func (Sex) Number ¶
func (x Sex) Number() protoreflect.EnumNumber
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"` Logo *string `protobuf:"bytes,3,opt,name=logo,proto3,oneof" json:"logo,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) GetPosition ¶
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) Validate ¶
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 ¶
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 ¶
func (e StandingStatsValidationError) Cause() error
Cause function returns cause value.
func (StandingStatsValidationError) Error ¶
func (e StandingStatsValidationError) Error() string
Error satisfies the builtin error interface
func (StandingStatsValidationError) ErrorName ¶
func (e StandingStatsValidationError) ErrorName() string
ErrorName returns error name.
func (StandingStatsValidationError) Field ¶
func (e StandingStatsValidationError) Field() string
Field function returns field value.
func (StandingStatsValidationError) Key ¶
func (e StandingStatsValidationError) Key() bool
Key function returns key value.
func (StandingStatsValidationError) Reason ¶
func (e StandingStatsValidationError) Reason() string
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"` Logo *string `protobuf:"bytes,3,opt,name=logo,proto3,oneof" json:"logo,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) GetClubFid ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
func (*Team) Validate ¶
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 ¶
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 ¶
func (e TotalScoreValidationError) Error() string
Error satisfies the builtin error interface
func (TotalScoreValidationError) ErrorName ¶
func (e TotalScoreValidationError) ErrorName() string
ErrorName returns error name.
func (TotalScoreValidationError) Field ¶
func (e TotalScoreValidationError) Field() string
Field function returns field value.
func (TotalScoreValidationError) Key ¶
func (e TotalScoreValidationError) Key() bool
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) GetCompetition(context.Context, *GetCompetitionRequest) (*GetCompetitionResponse, error)
func (UnimplementedIntegrationServiceServer) GetCompetitions ¶
func (UnimplementedIntegrationServiceServer) GetCompetitions(context.Context, *GetCompetitionsRequest) (*GetCompetitionsResponse, error)
func (UnimplementedIntegrationServiceServer) GetStandings ¶
func (UnimplementedIntegrationServiceServer) GetStandings(context.Context, *GetStandingsRequest) (*GetStandingsResponse, error)
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.