Documentation ¶
Overview ¶
Package grpc_animeaggregator_v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAnimeAggregatorServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAnimeAggregatorServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAnimeAggregatorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAnimeAggregatorServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterAnimeAggregatorServiceServer(s grpc.ServiceRegistrar, srv AnimeAggregatorServiceServer)
- type AnimeAggregatorServiceClient
- type AnimeAggregatorServiceServer
- type AnimeFormat
- func (AnimeFormat) Descriptor() protoreflect.EnumDescriptor
- func (x AnimeFormat) Enum() *AnimeFormat
- func (AnimeFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnimeFormat) Number() protoreflect.EnumNumber
- func (x AnimeFormat) String() string
- func (AnimeFormat) Type() protoreflect.EnumType
- type AnimeItem
- func (*AnimeItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeItem) GetBanner() string
- func (x *AnimeItem) GetCountryOfOrigin() string
- func (x *AnimeItem) GetDescription() string
- func (x *AnimeItem) GetEndDate() *timestamppb.Timestamp
- func (x *AnimeItem) GetFormat() AnimeFormat
- func (x *AnimeItem) GetGenres() []string
- func (x *AnimeItem) GetId() string
- func (x *AnimeItem) GetLogo() string
- func (x *AnimeItem) GetPoster() string
- func (x *AnimeItem) GetProviders() []*AnimeProviderItem
- func (x *AnimeItem) GetRecommendations() []*AnimeRecommendationItem
- func (x *AnimeItem) GetRelations() []*AnimeRelationItem
- func (x *AnimeItem) GetScore() int64
- func (x *AnimeItem) GetSeason() *AnimeSeasonItem
- func (x *AnimeItem) GetStartDate() *timestamppb.Timestamp
- func (x *AnimeItem) GetStatus() AnimeStatus
- func (x *AnimeItem) GetStudios() []string
- func (x *AnimeItem) GetTags() []string
- func (x *AnimeItem) GetTitles() []*AnimeTitleItem
- func (*AnimeItem) ProtoMessage()
- func (x *AnimeItem) ProtoReflect() protoreflect.Message
- func (x *AnimeItem) Reset()
- func (x *AnimeItem) String() string
- type AnimeProviderItem
- func (*AnimeProviderItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeProviderItem) GetProvider() v1.AnimeProvider
- func (x *AnimeProviderItem) GetUrl() string
- func (x *AnimeProviderItem) GetValue() string
- func (*AnimeProviderItem) ProtoMessage()
- func (x *AnimeProviderItem) ProtoReflect() protoreflect.Message
- func (x *AnimeProviderItem) Reset()
- func (x *AnimeProviderItem) String() string
- type AnimeRecommendationItem
- func (*AnimeRecommendationItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeRecommendationItem) GetId() string
- func (x *AnimeRecommendationItem) GetRating() float64
- func (*AnimeRecommendationItem) ProtoMessage()
- func (x *AnimeRecommendationItem) ProtoReflect() protoreflect.Message
- func (x *AnimeRecommendationItem) Reset()
- func (x *AnimeRecommendationItem) String() string
- type AnimeRelationItem
- func (*AnimeRelationItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeRelationItem) GetId() string
- func (x *AnimeRelationItem) GetType() AnimeRelationType
- func (*AnimeRelationItem) ProtoMessage()
- func (x *AnimeRelationItem) ProtoReflect() protoreflect.Message
- func (x *AnimeRelationItem) Reset()
- func (x *AnimeRelationItem) String() string
- type AnimeRelationType
- func (AnimeRelationType) Descriptor() protoreflect.EnumDescriptor
- func (x AnimeRelationType) Enum() *AnimeRelationType
- func (AnimeRelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnimeRelationType) Number() protoreflect.EnumNumber
- func (x AnimeRelationType) String() string
- func (AnimeRelationType) Type() protoreflect.EnumType
- type AnimeSeason
- func (AnimeSeason) Descriptor() protoreflect.EnumDescriptor
- func (x AnimeSeason) Enum() *AnimeSeason
- func (AnimeSeason) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnimeSeason) Number() protoreflect.EnumNumber
- func (x AnimeSeason) String() string
- func (AnimeSeason) Type() protoreflect.EnumType
- type AnimeSeasonItem
- func (*AnimeSeasonItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeSeasonItem) GetSeason() AnimeSeason
- func (x *AnimeSeasonItem) GetYear() uint64
- func (*AnimeSeasonItem) ProtoMessage()
- func (x *AnimeSeasonItem) ProtoReflect() protoreflect.Message
- func (x *AnimeSeasonItem) Reset()
- func (x *AnimeSeasonItem) String() string
- type AnimeStatus
- func (AnimeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AnimeStatus) Enum() *AnimeStatus
- func (AnimeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnimeStatus) Number() protoreflect.EnumNumber
- func (x AnimeStatus) String() string
- func (AnimeStatus) Type() protoreflect.EnumType
- type AnimeTitleItem
- func (*AnimeTitleItem) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeTitleItem) GetName() string
- func (x *AnimeTitleItem) GetProvider() v1.AnimeProvider
- func (x *AnimeTitleItem) GetTitleType() AnimeTitleType
- func (*AnimeTitleItem) ProtoMessage()
- func (x *AnimeTitleItem) ProtoReflect() protoreflect.Message
- func (x *AnimeTitleItem) Reset()
- func (x *AnimeTitleItem) String() string
- type AnimeTitleType
- func (AnimeTitleType) Descriptor() protoreflect.EnumDescriptor
- func (x AnimeTitleType) Enum() *AnimeTitleType
- func (AnimeTitleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnimeTitleType) Number() protoreflect.EnumNumber
- func (x AnimeTitleType) String() string
- func (AnimeTitleType) Type() protoreflect.EnumType
- type FilterItemRequest
- func (*FilterItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterItemRequest) GetFormat() AnimeFormat
- func (x *FilterItemRequest) GetGenres() []string
- func (x *FilterItemRequest) GetId() []string
- func (x *FilterItemRequest) GetProviders() []*FilterProviderItemRequest
- func (x *FilterItemRequest) GetSeason() AnimeSeason
- func (x *FilterItemRequest) GetSeasonYear() int64
- func (x *FilterItemRequest) GetStatus() AnimeStatus
- func (x *FilterItemRequest) GetStudios() []string
- func (x *FilterItemRequest) GetTags() []string
- func (x *FilterItemRequest) GetTitle() string
- func (*FilterItemRequest) ProtoMessage()
- func (x *FilterItemRequest) ProtoReflect() protoreflect.Message
- func (x *FilterItemRequest) Reset()
- func (x *FilterItemRequest) String() string
- type FilterProviderItemRequest
- func (*FilterProviderItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterProviderItemRequest) GetProvider() v1.AnimeProvider
- func (x *FilterProviderItemRequest) GetProviderId() string
- func (*FilterProviderItemRequest) ProtoMessage()
- func (x *FilterProviderItemRequest) ProtoReflect() protoreflect.Message
- func (x *FilterProviderItemRequest) Reset()
- func (x *FilterProviderItemRequest) String() string
- type FilterRequest
- func (*FilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterRequest) GetFilterItem() *FilterItemRequest
- func (x *FilterRequest) GetPagination() *PaginationRequest
- func (*FilterRequest) ProtoMessage()
- func (x *FilterRequest) ProtoReflect() protoreflect.Message
- func (x *FilterRequest) Reset()
- func (x *FilterRequest) String() string
- type FilterResponse
- func (*FilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilterResponse) GetItems() []*AnimeItem
- func (x *FilterResponse) GetPagination() *PaginationResponse
- func (*FilterResponse) ProtoMessage()
- func (x *FilterResponse) ProtoReflect() protoreflect.Message
- func (x *FilterResponse) Reset()
- func (x *FilterResponse) String() string
- type GenreItem
- func (*GenreItem) Descriptor() ([]byte, []int)deprecated
- func (x *GenreItem) GetDescription() string
- func (x *GenreItem) GetName() string
- func (x *GenreItem) GetSlug() string
- func (*GenreItem) ProtoMessage()
- func (x *GenreItem) ProtoReflect() protoreflect.Message
- func (x *GenreItem) Reset()
- func (x *GenreItem) String() string
- type ListFormatsResponse
- func (*ListFormatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFormatsResponse) GetItems() []AnimeFormat
- func (*ListFormatsResponse) ProtoMessage()
- func (x *ListFormatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFormatsResponse) Reset()
- func (x *ListFormatsResponse) String() string
- type ListGenresResponse
- func (*ListGenresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGenresResponse) GetItems() []*GenreItem
- func (*ListGenresResponse) ProtoMessage()
- func (x *ListGenresResponse) ProtoReflect() protoreflect.Message
- func (x *ListGenresResponse) Reset()
- func (x *ListGenresResponse) String() string
- type ListSeasonYearsResponse
- func (*ListSeasonYearsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSeasonYearsResponse) GetItems() []int64
- func (*ListSeasonYearsResponse) ProtoMessage()
- func (x *ListSeasonYearsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSeasonYearsResponse) Reset()
- func (x *ListSeasonYearsResponse) String() string
- type ListSeasonsResponse
- func (*ListSeasonsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSeasonsResponse) GetItems() []AnimeSeason
- func (*ListSeasonsResponse) ProtoMessage()
- func (x *ListSeasonsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSeasonsResponse) Reset()
- func (x *ListSeasonsResponse) String() string
- type ListStatusesResponse
- func (*ListStatusesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStatusesResponse) GetItems() []AnimeStatus
- func (*ListStatusesResponse) ProtoMessage()
- func (x *ListStatusesResponse) ProtoReflect() protoreflect.Message
- func (x *ListStatusesResponse) Reset()
- func (x *ListStatusesResponse) String() string
- type ListStudiosResponse
- func (*ListStudiosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStudiosResponse) GetItems() []*StudioItem
- func (*ListStudiosResponse) ProtoMessage()
- func (x *ListStudiosResponse) ProtoReflect() protoreflect.Message
- func (x *ListStudiosResponse) Reset()
- func (x *ListStudiosResponse) String() string
- type ListTagsResponse
- type PaginationItem
- func (*PaginationItem) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationItem) GetCurrent() int64
- func (x *PaginationItem) GetHasNextPage() bool
- func (x *PaginationItem) GetRemaining() int64
- func (x *PaginationItem) GetTotal() int64
- func (*PaginationItem) ProtoMessage()
- func (x *PaginationItem) ProtoReflect() protoreflect.Message
- func (x *PaginationItem) Reset()
- func (x *PaginationItem) String() string
- type PaginationRequest
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationRequest) GetElements() int64
- func (x *PaginationRequest) GetPage() int64
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (x *PaginationRequest) String() string
- type PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetCurrent() int64
- func (x *PaginationResponse) GetHasNextPage() bool
- func (x *PaginationResponse) GetRemaining() int64
- func (x *PaginationResponse) GetTotal() int64
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type ParseProvidersRequest
- func (*ParseProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseProvidersRequest) GetContent() string
- func (*ParseProvidersRequest) ProtoMessage()
- func (x *ParseProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ParseProvidersRequest) Reset()
- func (x *ParseProvidersRequest) String() string
- type ParseProvidersResponse
- func (*ParseProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseProvidersResponse) GetProviders() []*AnimeProviderItem
- func (*ParseProvidersResponse) ProtoMessage()
- func (x *ParseProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ParseProvidersResponse) Reset()
- func (x *ParseProvidersResponse) String() string
- type StudioItem
- type TagItem
- func (*TagItem) Descriptor() ([]byte, []int)deprecated
- func (x *TagItem) GetDescription() string
- func (x *TagItem) GetName() string
- func (x *TagItem) GetSlug() string
- func (*TagItem) ProtoMessage()
- func (x *TagItem) ProtoReflect() protoreflect.Message
- func (x *TagItem) Reset()
- func (x *TagItem) String() string
- type UnimplementedAnimeAggregatorServiceServer
- func (UnimplementedAnimeAggregatorServiceServer) Filter(context.Context, *FilterRequest) (*FilterResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListFormats(context.Context, *emptypb.Empty) (*ListFormatsResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListGenres(context.Context, *emptypb.Empty) (*ListGenresResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListSeasonYears(context.Context, *emptypb.Empty) (*ListSeasonYearsResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListSeasons(context.Context, *emptypb.Empty) (*ListSeasonsResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListStatuses(context.Context, *emptypb.Empty) (*ListStatusesResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListStudios(context.Context, *emptypb.Empty) (*ListStudiosResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ListTags(context.Context, *emptypb.Empty) (*ListTagsResponse, error)
- func (UnimplementedAnimeAggregatorServiceServer) ParseProviders(context.Context, *ParseProvidersRequest) (*ParseProvidersResponse, error)
- type UnsafeAnimeAggregatorServiceServer
Constants ¶
const ( AnimeAggregatorService_ParseProviders_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ParseProviders" AnimeAggregatorService_Filter_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/Filter" AnimeAggregatorService_ListTags_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListTags" AnimeAggregatorService_ListGenres_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListGenres" AnimeAggregatorService_ListStudios_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListStudios" AnimeAggregatorService_ListSeasons_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListSeasons" AnimeAggregatorService_ListFormats_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListFormats" AnimeAggregatorService_ListStatuses_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListStatuses" AnimeAggregatorService_ListSeasonYears_FullMethodName = "/grpc_animeaggregator.v1.AnimeAggregatorService/ListSeasonYears" )
Variables ¶
var ( AnimeRelationType_name = map[int32]string{ 0: "ADAPTATION", 1: "PREQUEL", 2: "SEQUEL", 3: "PARENT", 4: "SIDESTORY", 5: "SPINOFF", } AnimeRelationType_value = map[string]int32{ "ADAPTATION": 0, "PREQUEL": 1, "SEQUEL": 2, "PARENT": 3, "SIDESTORY": 4, "SPINOFF": 5, } )
Enum value maps for AnimeRelationType.
var ( AnimeTitleType_name = map[int32]string{ 0: "MAIN", 1: "OFFICIAL", 2: "SHORT", 3: "SYNONYM", } AnimeTitleType_value = map[string]int32{ "MAIN": 0, "OFFICIAL": 1, "SHORT": 2, "SYNONYM": 3, } )
Enum value maps for AnimeTitleType.
var ( AnimeFormat_name = map[int32]string{ 0: "OVA", 1: "ONA", 2: "TV", 3: "MOVIE", 4: "MUSIC", 5: "SPECIAL", } AnimeFormat_value = map[string]int32{ "OVA": 0, "ONA": 1, "TV": 2, "MOVIE": 3, "MUSIC": 4, "SPECIAL": 5, } )
Enum value maps for AnimeFormat.
var ( AnimeStatus_name = map[int32]string{ 0: "FINISHED", 1: "RELEASING", 2: "UPCOMING", 3: "CANCELED", } AnimeStatus_value = map[string]int32{ "FINISHED": 0, "RELEASING": 1, "UPCOMING": 2, "CANCELED": 3, } )
Enum value maps for AnimeStatus.
var ( AnimeSeason_name = map[int32]string{ 0: "SPRING", 1: "SUMMER", 2: "FALL", 3: "WINTER", } AnimeSeason_value = map[string]int32{ "SPRING": 0, "SUMMER": 1, "FALL": 2, "WINTER": 3, } )
Enum value maps for AnimeSeason.
var AnimeAggregatorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc_animeaggregator.v1.AnimeAggregatorService", HandlerType: (*AnimeAggregatorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ParseProviders", Handler: _AnimeAggregatorService_ParseProviders_Handler, }, { MethodName: "Filter", Handler: _AnimeAggregatorService_Filter_Handler, }, { MethodName: "ListTags", Handler: _AnimeAggregatorService_ListTags_Handler, }, { MethodName: "ListGenres", Handler: _AnimeAggregatorService_ListGenres_Handler, }, { MethodName: "ListStudios", Handler: _AnimeAggregatorService_ListStudios_Handler, }, { MethodName: "ListSeasons", Handler: _AnimeAggregatorService_ListSeasons_Handler, }, { MethodName: "ListFormats", Handler: _AnimeAggregatorService_ListFormats_Handler, }, { MethodName: "ListStatuses", Handler: _AnimeAggregatorService_ListStatuses_Handler, }, { MethodName: "ListSeasonYears", Handler: _AnimeAggregatorService_ListSeasonYears_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/grpc_animeaggregator/v1/grpc_animeaggregator.proto", }
AnimeAggregatorService_ServiceDesc is the grpc.ServiceDesc for AnimeAggregatorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_grpc_animeaggregator_v1_grpc_animeaggregator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnimeAggregatorServiceHandler ¶
func RegisterAnimeAggregatorServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAnimeAggregatorServiceHandler registers the http handlers for service AnimeAggregatorService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAnimeAggregatorServiceHandlerClient ¶
func RegisterAnimeAggregatorServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AnimeAggregatorServiceClient) error
RegisterAnimeAggregatorServiceHandlerClient registers the http handlers for service AnimeAggregatorService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AnimeAggregatorServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AnimeAggregatorServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AnimeAggregatorServiceClient" to call the correct interceptors.
func RegisterAnimeAggregatorServiceHandlerFromEndpoint ¶
func RegisterAnimeAggregatorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAnimeAggregatorServiceHandlerFromEndpoint is same as RegisterAnimeAggregatorServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAnimeAggregatorServiceHandlerServer ¶
func RegisterAnimeAggregatorServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AnimeAggregatorServiceServer) error
RegisterAnimeAggregatorServiceHandlerServer registers the http handlers for service AnimeAggregatorService to "mux". UnaryRPC :call AnimeAggregatorServiceServer 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 RegisterAnimeAggregatorServiceHandlerFromEndpoint instead.
func RegisterAnimeAggregatorServiceServer ¶
func RegisterAnimeAggregatorServiceServer(s grpc.ServiceRegistrar, srv AnimeAggregatorServiceServer)
Types ¶
type AnimeAggregatorServiceClient ¶
type AnimeAggregatorServiceClient interface { ParseProviders(ctx context.Context, in *ParseProvidersRequest, opts ...grpc.CallOption) (*ParseProvidersResponse, error) Filter(ctx context.Context, in *FilterRequest, opts ...grpc.CallOption) (*FilterResponse, error) ListTags(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListTagsResponse, error) ListGenres(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListGenresResponse, error) ListStudios(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListStudiosResponse, error) ListSeasons(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSeasonsResponse, error) ListFormats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListFormatsResponse, error) ListStatuses(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListStatusesResponse, error) ListSeasonYears(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSeasonYearsResponse, error) }
AnimeAggregatorServiceClient is the client API for AnimeAggregatorService 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 NewAnimeAggregatorServiceClient ¶
func NewAnimeAggregatorServiceClient(cc grpc.ClientConnInterface) AnimeAggregatorServiceClient
type AnimeAggregatorServiceServer ¶
type AnimeAggregatorServiceServer interface { ParseProviders(context.Context, *ParseProvidersRequest) (*ParseProvidersResponse, error) Filter(context.Context, *FilterRequest) (*FilterResponse, error) ListTags(context.Context, *emptypb.Empty) (*ListTagsResponse, error) ListGenres(context.Context, *emptypb.Empty) (*ListGenresResponse, error) ListStudios(context.Context, *emptypb.Empty) (*ListStudiosResponse, error) ListSeasons(context.Context, *emptypb.Empty) (*ListSeasonsResponse, error) ListFormats(context.Context, *emptypb.Empty) (*ListFormatsResponse, error) ListStatuses(context.Context, *emptypb.Empty) (*ListStatusesResponse, error) ListSeasonYears(context.Context, *emptypb.Empty) (*ListSeasonYearsResponse, error) // contains filtered or unexported methods }
AnimeAggregatorServiceServer is the server API for AnimeAggregatorService service. All implementations must embed UnimplementedAnimeAggregatorServiceServer for forward compatibility
type AnimeFormat ¶
type AnimeFormat int32
const ( AnimeFormat_OVA AnimeFormat = 0 AnimeFormat_ONA AnimeFormat = 1 AnimeFormat_TV AnimeFormat = 2 AnimeFormat_MOVIE AnimeFormat = 3 AnimeFormat_MUSIC AnimeFormat = 4 AnimeFormat_SPECIAL AnimeFormat = 5 )
func (AnimeFormat) Descriptor ¶
func (AnimeFormat) Descriptor() protoreflect.EnumDescriptor
func (AnimeFormat) Enum ¶
func (x AnimeFormat) Enum() *AnimeFormat
func (AnimeFormat) EnumDescriptor
deprecated
func (AnimeFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnimeFormat.Descriptor instead.
func (AnimeFormat) Number ¶
func (x AnimeFormat) Number() protoreflect.EnumNumber
func (AnimeFormat) String ¶
func (x AnimeFormat) String() string
func (AnimeFormat) Type ¶
func (AnimeFormat) Type() protoreflect.EnumType
type AnimeItem ¶
type AnimeItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Genres []string `protobuf:"bytes,2,rep,name=genres,proto3" json:"genres,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` Studios []string `protobuf:"bytes,4,rep,name=studios,proto3" json:"studios,omitempty"` Titles []*AnimeTitleItem `protobuf:"bytes,5,rep,name=titles,proto3" json:"titles,omitempty"` Providers []*AnimeProviderItem `protobuf:"bytes,6,rep,name=providers,proto3" json:"providers,omitempty"` Relations []*AnimeRelationItem `protobuf:"bytes,7,rep,name=relations,proto3" json:"relations,omitempty"` Format *AnimeFormat `protobuf:"varint,8,opt,name=format,proto3,enum=grpc_animeaggregator.v1.AnimeFormat,oneof" json:"format,omitempty"` Season *AnimeSeasonItem `protobuf:"bytes,9,opt,name=season,proto3,oneof" json:"season,omitempty"` Score *int64 `protobuf:"varint,10,opt,name=score,proto3,oneof" json:"score,omitempty"` Status *AnimeStatus `protobuf:"varint,11,opt,name=status,proto3,enum=grpc_animeaggregator.v1.AnimeStatus,oneof" json:"status,omitempty"` StartDate *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=start_date,json=startDate,proto3,oneof" json:"start_date,omitempty"` EndDate *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=end_date,json=endDate,proto3,oneof" json:"end_date,omitempty"` Poster *string `protobuf:"bytes,14,opt,name=poster,proto3,oneof" json:"poster,omitempty"` Logo *string `protobuf:"bytes,15,opt,name=logo,proto3,oneof" json:"logo,omitempty"` Banner *string `protobuf:"bytes,16,opt,name=banner,proto3,oneof" json:"banner,omitempty"` CountryOfOrigin *string `protobuf:"bytes,17,opt,name=country_of_origin,json=countryOfOrigin,proto3,oneof" json:"country_of_origin,omitempty"` Description *string `protobuf:"bytes,18,opt,name=description,proto3,oneof" json:"description,omitempty"` Recommendations []*AnimeRecommendationItem `protobuf:"bytes,19,rep,name=recommendations,proto3" json:"recommendations,omitempty"` // contains filtered or unexported fields }
func (*AnimeItem) Descriptor
deprecated
func (*AnimeItem) GetCountryOfOrigin ¶
func (*AnimeItem) GetDescription ¶
func (*AnimeItem) GetEndDate ¶
func (x *AnimeItem) GetEndDate() *timestamppb.Timestamp
func (*AnimeItem) GetFormat ¶
func (x *AnimeItem) GetFormat() AnimeFormat
func (*AnimeItem) GetProviders ¶
func (x *AnimeItem) GetProviders() []*AnimeProviderItem
func (*AnimeItem) GetRecommendations ¶
func (x *AnimeItem) GetRecommendations() []*AnimeRecommendationItem
func (*AnimeItem) GetRelations ¶
func (x *AnimeItem) GetRelations() []*AnimeRelationItem
func (*AnimeItem) GetSeason ¶
func (x *AnimeItem) GetSeason() *AnimeSeasonItem
func (*AnimeItem) GetStartDate ¶
func (x *AnimeItem) GetStartDate() *timestamppb.Timestamp
func (*AnimeItem) GetStatus ¶
func (x *AnimeItem) GetStatus() AnimeStatus
func (*AnimeItem) GetStudios ¶
func (*AnimeItem) GetTitles ¶
func (x *AnimeItem) GetTitles() []*AnimeTitleItem
func (*AnimeItem) ProtoMessage ¶
func (*AnimeItem) ProtoMessage()
func (*AnimeItem) ProtoReflect ¶
func (x *AnimeItem) ProtoReflect() protoreflect.Message
type AnimeProviderItem ¶
type AnimeProviderItem struct { Provider v1.AnimeProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=grpc_animeaggregator_common.v1.AnimeProvider" json:"provider,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*AnimeProviderItem) Descriptor
deprecated
func (*AnimeProviderItem) Descriptor() ([]byte, []int)
Deprecated: Use AnimeProviderItem.ProtoReflect.Descriptor instead.
func (*AnimeProviderItem) GetProvider ¶
func (x *AnimeProviderItem) GetProvider() v1.AnimeProvider
func (*AnimeProviderItem) GetUrl ¶
func (x *AnimeProviderItem) GetUrl() string
func (*AnimeProviderItem) GetValue ¶
func (x *AnimeProviderItem) GetValue() string
func (*AnimeProviderItem) ProtoMessage ¶
func (*AnimeProviderItem) ProtoMessage()
func (*AnimeProviderItem) ProtoReflect ¶
func (x *AnimeProviderItem) ProtoReflect() protoreflect.Message
func (*AnimeProviderItem) Reset ¶
func (x *AnimeProviderItem) Reset()
func (*AnimeProviderItem) String ¶
func (x *AnimeProviderItem) String() string
type AnimeRecommendationItem ¶
type AnimeRecommendationItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Rating float64 `protobuf:"fixed64,2,opt,name=rating,proto3" json:"rating,omitempty"` // contains filtered or unexported fields }
func (*AnimeRecommendationItem) Descriptor
deprecated
func (*AnimeRecommendationItem) Descriptor() ([]byte, []int)
Deprecated: Use AnimeRecommendationItem.ProtoReflect.Descriptor instead.
func (*AnimeRecommendationItem) GetId ¶
func (x *AnimeRecommendationItem) GetId() string
func (*AnimeRecommendationItem) GetRating ¶
func (x *AnimeRecommendationItem) GetRating() float64
func (*AnimeRecommendationItem) ProtoMessage ¶
func (*AnimeRecommendationItem) ProtoMessage()
func (*AnimeRecommendationItem) ProtoReflect ¶
func (x *AnimeRecommendationItem) ProtoReflect() protoreflect.Message
func (*AnimeRecommendationItem) Reset ¶
func (x *AnimeRecommendationItem) Reset()
func (*AnimeRecommendationItem) String ¶
func (x *AnimeRecommendationItem) String() string
type AnimeRelationItem ¶
type AnimeRelationItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type AnimeRelationType `protobuf:"varint,2,opt,name=type,proto3,enum=grpc_animeaggregator.v1.AnimeRelationType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AnimeRelationItem) Descriptor
deprecated
func (*AnimeRelationItem) Descriptor() ([]byte, []int)
Deprecated: Use AnimeRelationItem.ProtoReflect.Descriptor instead.
func (*AnimeRelationItem) GetId ¶
func (x *AnimeRelationItem) GetId() string
func (*AnimeRelationItem) GetType ¶
func (x *AnimeRelationItem) GetType() AnimeRelationType
func (*AnimeRelationItem) ProtoMessage ¶
func (*AnimeRelationItem) ProtoMessage()
func (*AnimeRelationItem) ProtoReflect ¶
func (x *AnimeRelationItem) ProtoReflect() protoreflect.Message
func (*AnimeRelationItem) Reset ¶
func (x *AnimeRelationItem) Reset()
func (*AnimeRelationItem) String ¶
func (x *AnimeRelationItem) String() string
type AnimeRelationType ¶
type AnimeRelationType int32
const ( AnimeRelationType_ADAPTATION AnimeRelationType = 0 AnimeRelationType_PREQUEL AnimeRelationType = 1 AnimeRelationType_SEQUEL AnimeRelationType = 2 AnimeRelationType_PARENT AnimeRelationType = 3 AnimeRelationType_SIDESTORY AnimeRelationType = 4 AnimeRelationType_SPINOFF AnimeRelationType = 5 )
func (AnimeRelationType) Descriptor ¶
func (AnimeRelationType) Descriptor() protoreflect.EnumDescriptor
func (AnimeRelationType) Enum ¶
func (x AnimeRelationType) Enum() *AnimeRelationType
func (AnimeRelationType) EnumDescriptor
deprecated
func (AnimeRelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnimeRelationType.Descriptor instead.
func (AnimeRelationType) Number ¶
func (x AnimeRelationType) Number() protoreflect.EnumNumber
func (AnimeRelationType) String ¶
func (x AnimeRelationType) String() string
func (AnimeRelationType) Type ¶
func (AnimeRelationType) Type() protoreflect.EnumType
type AnimeSeason ¶
type AnimeSeason int32
const ( AnimeSeason_SPRING AnimeSeason = 0 AnimeSeason_SUMMER AnimeSeason = 1 AnimeSeason_FALL AnimeSeason = 2 AnimeSeason_WINTER AnimeSeason = 3 )
func (AnimeSeason) Descriptor ¶
func (AnimeSeason) Descriptor() protoreflect.EnumDescriptor
func (AnimeSeason) Enum ¶
func (x AnimeSeason) Enum() *AnimeSeason
func (AnimeSeason) EnumDescriptor
deprecated
func (AnimeSeason) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnimeSeason.Descriptor instead.
func (AnimeSeason) Number ¶
func (x AnimeSeason) Number() protoreflect.EnumNumber
func (AnimeSeason) String ¶
func (x AnimeSeason) String() string
func (AnimeSeason) Type ¶
func (AnimeSeason) Type() protoreflect.EnumType
type AnimeSeasonItem ¶
type AnimeSeasonItem struct { Season AnimeSeason `protobuf:"varint,1,opt,name=season,proto3,enum=grpc_animeaggregator.v1.AnimeSeason" json:"season,omitempty"` Year uint64 `protobuf:"fixed64,2,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*AnimeSeasonItem) Descriptor
deprecated
func (*AnimeSeasonItem) Descriptor() ([]byte, []int)
Deprecated: Use AnimeSeasonItem.ProtoReflect.Descriptor instead.
func (*AnimeSeasonItem) GetSeason ¶
func (x *AnimeSeasonItem) GetSeason() AnimeSeason
func (*AnimeSeasonItem) GetYear ¶
func (x *AnimeSeasonItem) GetYear() uint64
func (*AnimeSeasonItem) ProtoMessage ¶
func (*AnimeSeasonItem) ProtoMessage()
func (*AnimeSeasonItem) ProtoReflect ¶
func (x *AnimeSeasonItem) ProtoReflect() protoreflect.Message
func (*AnimeSeasonItem) Reset ¶
func (x *AnimeSeasonItem) Reset()
func (*AnimeSeasonItem) String ¶
func (x *AnimeSeasonItem) String() string
type AnimeStatus ¶
type AnimeStatus int32
const ( AnimeStatus_FINISHED AnimeStatus = 0 AnimeStatus_RELEASING AnimeStatus = 1 AnimeStatus_UPCOMING AnimeStatus = 2 AnimeStatus_CANCELED AnimeStatus = 3 )
func (AnimeStatus) Descriptor ¶
func (AnimeStatus) Descriptor() protoreflect.EnumDescriptor
func (AnimeStatus) Enum ¶
func (x AnimeStatus) Enum() *AnimeStatus
func (AnimeStatus) EnumDescriptor
deprecated
func (AnimeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnimeStatus.Descriptor instead.
func (AnimeStatus) Number ¶
func (x AnimeStatus) Number() protoreflect.EnumNumber
func (AnimeStatus) String ¶
func (x AnimeStatus) String() string
func (AnimeStatus) Type ¶
func (AnimeStatus) Type() protoreflect.EnumType
type AnimeTitleItem ¶
type AnimeTitleItem struct { Provider v1.AnimeProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=grpc_animeaggregator_common.v1.AnimeProvider" json:"provider,omitempty"` TitleType AnimeTitleType `` /* 133-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AnimeTitleItem) Descriptor
deprecated
func (*AnimeTitleItem) Descriptor() ([]byte, []int)
Deprecated: Use AnimeTitleItem.ProtoReflect.Descriptor instead.
func (*AnimeTitleItem) GetName ¶
func (x *AnimeTitleItem) GetName() string
func (*AnimeTitleItem) GetProvider ¶
func (x *AnimeTitleItem) GetProvider() v1.AnimeProvider
func (*AnimeTitleItem) GetTitleType ¶
func (x *AnimeTitleItem) GetTitleType() AnimeTitleType
func (*AnimeTitleItem) ProtoMessage ¶
func (*AnimeTitleItem) ProtoMessage()
func (*AnimeTitleItem) ProtoReflect ¶
func (x *AnimeTitleItem) ProtoReflect() protoreflect.Message
func (*AnimeTitleItem) Reset ¶
func (x *AnimeTitleItem) Reset()
func (*AnimeTitleItem) String ¶
func (x *AnimeTitleItem) String() string
type AnimeTitleType ¶
type AnimeTitleType int32
const ( AnimeTitleType_MAIN AnimeTitleType = 0 AnimeTitleType_OFFICIAL AnimeTitleType = 1 AnimeTitleType_SHORT AnimeTitleType = 2 AnimeTitleType_SYNONYM AnimeTitleType = 3 )
func (AnimeTitleType) Descriptor ¶
func (AnimeTitleType) Descriptor() protoreflect.EnumDescriptor
func (AnimeTitleType) Enum ¶
func (x AnimeTitleType) Enum() *AnimeTitleType
func (AnimeTitleType) EnumDescriptor
deprecated
func (AnimeTitleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnimeTitleType.Descriptor instead.
func (AnimeTitleType) Number ¶
func (x AnimeTitleType) Number() protoreflect.EnumNumber
func (AnimeTitleType) String ¶
func (x AnimeTitleType) String() string
func (AnimeTitleType) Type ¶
func (AnimeTitleType) Type() protoreflect.EnumType
type FilterItemRequest ¶
type FilterItemRequest struct { Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` Genres []string `protobuf:"bytes,2,rep,name=genres,proto3" json:"genres,omitempty"` Studios []string `protobuf:"bytes,3,rep,name=studios,proto3" json:"studios,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` Format *AnimeFormat `protobuf:"varint,5,opt,name=format,proto3,enum=grpc_animeaggregator.v1.AnimeFormat,oneof" json:"format,omitempty"` Status *AnimeStatus `protobuf:"varint,6,opt,name=status,proto3,enum=grpc_animeaggregator.v1.AnimeStatus,oneof" json:"status,omitempty"` Season *AnimeSeason `protobuf:"varint,7,opt,name=season,proto3,enum=grpc_animeaggregator.v1.AnimeSeason,oneof" json:"season,omitempty"` SeasonYear *int64 `protobuf:"varint,8,opt,name=season_year,json=seasonYear,proto3,oneof" json:"season_year,omitempty"` Providers []*FilterProviderItemRequest `protobuf:"bytes,9,rep,name=providers,proto3" json:"providers,omitempty"` Title *string `protobuf:"bytes,10,opt,name=title,proto3,oneof" json:"title,omitempty"` // contains filtered or unexported fields }
func (*FilterItemRequest) Descriptor
deprecated
func (*FilterItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterItemRequest.ProtoReflect.Descriptor instead.
func (*FilterItemRequest) GetFormat ¶
func (x *FilterItemRequest) GetFormat() AnimeFormat
func (*FilterItemRequest) GetGenres ¶
func (x *FilterItemRequest) GetGenres() []string
func (*FilterItemRequest) GetId ¶
func (x *FilterItemRequest) GetId() []string
func (*FilterItemRequest) GetProviders ¶
func (x *FilterItemRequest) GetProviders() []*FilterProviderItemRequest
func (*FilterItemRequest) GetSeason ¶
func (x *FilterItemRequest) GetSeason() AnimeSeason
func (*FilterItemRequest) GetSeasonYear ¶
func (x *FilterItemRequest) GetSeasonYear() int64
func (*FilterItemRequest) GetStatus ¶
func (x *FilterItemRequest) GetStatus() AnimeStatus
func (*FilterItemRequest) GetStudios ¶
func (x *FilterItemRequest) GetStudios() []string
func (*FilterItemRequest) GetTags ¶
func (x *FilterItemRequest) GetTags() []string
func (*FilterItemRequest) GetTitle ¶
func (x *FilterItemRequest) GetTitle() string
func (*FilterItemRequest) ProtoMessage ¶
func (*FilterItemRequest) ProtoMessage()
func (*FilterItemRequest) ProtoReflect ¶
func (x *FilterItemRequest) ProtoReflect() protoreflect.Message
func (*FilterItemRequest) Reset ¶
func (x *FilterItemRequest) Reset()
func (*FilterItemRequest) String ¶
func (x *FilterItemRequest) String() string
type FilterProviderItemRequest ¶
type FilterProviderItemRequest struct { Provider v1.AnimeProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=grpc_animeaggregator_common.v1.AnimeProvider" json:"provider,omitempty"` ProviderId string `protobuf:"bytes,2,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` // contains filtered or unexported fields }
func (*FilterProviderItemRequest) Descriptor
deprecated
func (*FilterProviderItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterProviderItemRequest.ProtoReflect.Descriptor instead.
func (*FilterProviderItemRequest) GetProvider ¶
func (x *FilterProviderItemRequest) GetProvider() v1.AnimeProvider
func (*FilterProviderItemRequest) GetProviderId ¶
func (x *FilterProviderItemRequest) GetProviderId() string
func (*FilterProviderItemRequest) ProtoMessage ¶
func (*FilterProviderItemRequest) ProtoMessage()
func (*FilterProviderItemRequest) ProtoReflect ¶
func (x *FilterProviderItemRequest) ProtoReflect() protoreflect.Message
func (*FilterProviderItemRequest) Reset ¶
func (x *FilterProviderItemRequest) Reset()
func (*FilterProviderItemRequest) String ¶
func (x *FilterProviderItemRequest) String() string
type FilterRequest ¶
type FilterRequest struct { Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` FilterItem *FilterItemRequest `protobuf:"bytes,2,opt,name=filter_item,json=filterItem,proto3,oneof" json:"filter_item,omitempty"` // contains filtered or unexported fields }
func (*FilterRequest) Descriptor
deprecated
func (*FilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterRequest.ProtoReflect.Descriptor instead.
func (*FilterRequest) GetFilterItem ¶
func (x *FilterRequest) GetFilterItem() *FilterItemRequest
func (*FilterRequest) GetPagination ¶
func (x *FilterRequest) GetPagination() *PaginationRequest
func (*FilterRequest) ProtoMessage ¶
func (*FilterRequest) ProtoMessage()
func (*FilterRequest) ProtoReflect ¶
func (x *FilterRequest) ProtoReflect() protoreflect.Message
func (*FilterRequest) Reset ¶
func (x *FilterRequest) Reset()
func (*FilterRequest) String ¶
func (x *FilterRequest) String() string
type FilterResponse ¶
type FilterResponse struct { Pagination *PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Items []*AnimeItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*FilterResponse) Descriptor
deprecated
func (*FilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use FilterResponse.ProtoReflect.Descriptor instead.
func (*FilterResponse) GetItems ¶
func (x *FilterResponse) GetItems() []*AnimeItem
func (*FilterResponse) GetPagination ¶
func (x *FilterResponse) GetPagination() *PaginationResponse
func (*FilterResponse) ProtoMessage ¶
func (*FilterResponse) ProtoMessage()
func (*FilterResponse) ProtoReflect ¶
func (x *FilterResponse) ProtoReflect() protoreflect.Message
func (*FilterResponse) Reset ¶
func (x *FilterResponse) Reset()
func (*FilterResponse) String ¶
func (x *FilterResponse) String() string
type GenreItem ¶
type GenreItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*GenreItem) Descriptor
deprecated
func (*GenreItem) GetDescription ¶
func (*GenreItem) ProtoMessage ¶
func (*GenreItem) ProtoMessage()
func (*GenreItem) ProtoReflect ¶
func (x *GenreItem) ProtoReflect() protoreflect.Message
type ListFormatsResponse ¶
type ListFormatsResponse struct { Items []AnimeFormat `protobuf:"varint,1,rep,packed,name=items,proto3,enum=grpc_animeaggregator.v1.AnimeFormat" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListFormatsResponse) Descriptor
deprecated
func (*ListFormatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFormatsResponse.ProtoReflect.Descriptor instead.
func (*ListFormatsResponse) GetItems ¶
func (x *ListFormatsResponse) GetItems() []AnimeFormat
func (*ListFormatsResponse) ProtoMessage ¶
func (*ListFormatsResponse) ProtoMessage()
func (*ListFormatsResponse) ProtoReflect ¶
func (x *ListFormatsResponse) ProtoReflect() protoreflect.Message
func (*ListFormatsResponse) Reset ¶
func (x *ListFormatsResponse) Reset()
func (*ListFormatsResponse) String ¶
func (x *ListFormatsResponse) String() string
type ListGenresResponse ¶
type ListGenresResponse struct { Items []*GenreItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListGenresResponse) Descriptor
deprecated
func (*ListGenresResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGenresResponse.ProtoReflect.Descriptor instead.
func (*ListGenresResponse) GetItems ¶
func (x *ListGenresResponse) GetItems() []*GenreItem
func (*ListGenresResponse) ProtoMessage ¶
func (*ListGenresResponse) ProtoMessage()
func (*ListGenresResponse) ProtoReflect ¶
func (x *ListGenresResponse) ProtoReflect() protoreflect.Message
func (*ListGenresResponse) Reset ¶
func (x *ListGenresResponse) Reset()
func (*ListGenresResponse) String ¶
func (x *ListGenresResponse) String() string
type ListSeasonYearsResponse ¶
type ListSeasonYearsResponse struct { Items []int64 `protobuf:"varint,1,rep,packed,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListSeasonYearsResponse) Descriptor
deprecated
func (*ListSeasonYearsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSeasonYearsResponse.ProtoReflect.Descriptor instead.
func (*ListSeasonYearsResponse) GetItems ¶
func (x *ListSeasonYearsResponse) GetItems() []int64
func (*ListSeasonYearsResponse) ProtoMessage ¶
func (*ListSeasonYearsResponse) ProtoMessage()
func (*ListSeasonYearsResponse) ProtoReflect ¶
func (x *ListSeasonYearsResponse) ProtoReflect() protoreflect.Message
func (*ListSeasonYearsResponse) Reset ¶
func (x *ListSeasonYearsResponse) Reset()
func (*ListSeasonYearsResponse) String ¶
func (x *ListSeasonYearsResponse) String() string
type ListSeasonsResponse ¶
type ListSeasonsResponse struct { Items []AnimeSeason `protobuf:"varint,1,rep,packed,name=items,proto3,enum=grpc_animeaggregator.v1.AnimeSeason" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListSeasonsResponse) Descriptor
deprecated
func (*ListSeasonsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSeasonsResponse.ProtoReflect.Descriptor instead.
func (*ListSeasonsResponse) GetItems ¶
func (x *ListSeasonsResponse) GetItems() []AnimeSeason
func (*ListSeasonsResponse) ProtoMessage ¶
func (*ListSeasonsResponse) ProtoMessage()
func (*ListSeasonsResponse) ProtoReflect ¶
func (x *ListSeasonsResponse) ProtoReflect() protoreflect.Message
func (*ListSeasonsResponse) Reset ¶
func (x *ListSeasonsResponse) Reset()
func (*ListSeasonsResponse) String ¶
func (x *ListSeasonsResponse) String() string
type ListStatusesResponse ¶
type ListStatusesResponse struct { Items []AnimeStatus `protobuf:"varint,1,rep,packed,name=items,proto3,enum=grpc_animeaggregator.v1.AnimeStatus" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListStatusesResponse) Descriptor
deprecated
func (*ListStatusesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStatusesResponse.ProtoReflect.Descriptor instead.
func (*ListStatusesResponse) GetItems ¶
func (x *ListStatusesResponse) GetItems() []AnimeStatus
func (*ListStatusesResponse) ProtoMessage ¶
func (*ListStatusesResponse) ProtoMessage()
func (*ListStatusesResponse) ProtoReflect ¶
func (x *ListStatusesResponse) ProtoReflect() protoreflect.Message
func (*ListStatusesResponse) Reset ¶
func (x *ListStatusesResponse) Reset()
func (*ListStatusesResponse) String ¶
func (x *ListStatusesResponse) String() string
type ListStudiosResponse ¶
type ListStudiosResponse struct { Items []*StudioItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListStudiosResponse) Descriptor
deprecated
func (*ListStudiosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStudiosResponse.ProtoReflect.Descriptor instead.
func (*ListStudiosResponse) GetItems ¶
func (x *ListStudiosResponse) GetItems() []*StudioItem
func (*ListStudiosResponse) ProtoMessage ¶
func (*ListStudiosResponse) ProtoMessage()
func (*ListStudiosResponse) ProtoReflect ¶
func (x *ListStudiosResponse) ProtoReflect() protoreflect.Message
func (*ListStudiosResponse) Reset ¶
func (x *ListStudiosResponse) Reset()
func (*ListStudiosResponse) String ¶
func (x *ListStudiosResponse) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { Items []*TagItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetItems ¶
func (x *ListTagsResponse) GetItems() []*TagItem
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type PaginationItem ¶
type PaginationItem struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` Remaining int64 `protobuf:"varint,3,opt,name=remaining,proto3" json:"remaining,omitempty"` HasNextPage bool `protobuf:"varint,4,opt,name=has_next_page,json=hasNextPage,proto3" json:"has_next_page,omitempty"` // contains filtered or unexported fields }
func (*PaginationItem) Descriptor
deprecated
func (*PaginationItem) Descriptor() ([]byte, []int)
Deprecated: Use PaginationItem.ProtoReflect.Descriptor instead.
func (*PaginationItem) GetCurrent ¶
func (x *PaginationItem) GetCurrent() int64
func (*PaginationItem) GetHasNextPage ¶
func (x *PaginationItem) GetHasNextPage() bool
func (*PaginationItem) GetRemaining ¶
func (x *PaginationItem) GetRemaining() int64
func (*PaginationItem) GetTotal ¶
func (x *PaginationItem) GetTotal() int64
func (*PaginationItem) ProtoMessage ¶
func (*PaginationItem) ProtoMessage()
func (*PaginationItem) ProtoReflect ¶
func (x *PaginationItem) ProtoReflect() protoreflect.Message
func (*PaginationItem) Reset ¶
func (x *PaginationItem) Reset()
func (*PaginationItem) String ¶
func (x *PaginationItem) String() string
type PaginationRequest ¶
type PaginationRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Elements int64 `protobuf:"varint,2,opt,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) GetElements ¶
func (x *PaginationRequest) GetElements() int64
func (*PaginationRequest) GetPage ¶
func (x *PaginationRequest) GetPage() int64
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
type PaginationResponse ¶
type PaginationResponse struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` Remaining int64 `protobuf:"varint,3,opt,name=remaining,proto3" json:"remaining,omitempty"` HasNextPage bool `protobuf:"varint,4,opt,name=has_next_page,json=hasNextPage,proto3" json:"has_next_page,omitempty"` // contains filtered or unexported fields }
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) GetCurrent ¶
func (x *PaginationResponse) GetCurrent() int64
func (*PaginationResponse) GetHasNextPage ¶
func (x *PaginationResponse) GetHasNextPage() bool
func (*PaginationResponse) GetRemaining ¶
func (x *PaginationResponse) GetRemaining() int64
func (*PaginationResponse) GetTotal ¶
func (x *PaginationResponse) GetTotal() int64
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
type ParseProvidersRequest ¶
type ParseProvidersRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ParseProvidersRequest) Descriptor
deprecated
func (*ParseProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseProvidersRequest.ProtoReflect.Descriptor instead.
func (*ParseProvidersRequest) GetContent ¶
func (x *ParseProvidersRequest) GetContent() string
func (*ParseProvidersRequest) ProtoMessage ¶
func (*ParseProvidersRequest) ProtoMessage()
func (*ParseProvidersRequest) ProtoReflect ¶
func (x *ParseProvidersRequest) ProtoReflect() protoreflect.Message
func (*ParseProvidersRequest) Reset ¶
func (x *ParseProvidersRequest) Reset()
func (*ParseProvidersRequest) String ¶
func (x *ParseProvidersRequest) String() string
type ParseProvidersResponse ¶
type ParseProvidersResponse struct { Providers []*AnimeProviderItem `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*ParseProvidersResponse) Descriptor
deprecated
func (*ParseProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseProvidersResponse.ProtoReflect.Descriptor instead.
func (*ParseProvidersResponse) GetProviders ¶
func (x *ParseProvidersResponse) GetProviders() []*AnimeProviderItem
func (*ParseProvidersResponse) ProtoMessage ¶
func (*ParseProvidersResponse) ProtoMessage()
func (*ParseProvidersResponse) ProtoReflect ¶
func (x *ParseProvidersResponse) ProtoReflect() protoreflect.Message
func (*ParseProvidersResponse) Reset ¶
func (x *ParseProvidersResponse) Reset()
func (*ParseProvidersResponse) String ¶
func (x *ParseProvidersResponse) String() string
type StudioItem ¶
type StudioItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` // contains filtered or unexported fields }
func (*StudioItem) Descriptor
deprecated
func (*StudioItem) Descriptor() ([]byte, []int)
Deprecated: Use StudioItem.ProtoReflect.Descriptor instead.
func (*StudioItem) GetName ¶
func (x *StudioItem) GetName() string
func (*StudioItem) GetSlug ¶
func (x *StudioItem) GetSlug() string
func (*StudioItem) ProtoMessage ¶
func (*StudioItem) ProtoMessage()
func (*StudioItem) ProtoReflect ¶
func (x *StudioItem) ProtoReflect() protoreflect.Message
func (*StudioItem) Reset ¶
func (x *StudioItem) Reset()
func (*StudioItem) String ¶
func (x *StudioItem) String() string
type TagItem ¶
type TagItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*TagItem) Descriptor
deprecated
func (*TagItem) GetDescription ¶
func (*TagItem) ProtoMessage ¶
func (*TagItem) ProtoMessage()
func (*TagItem) ProtoReflect ¶
func (x *TagItem) ProtoReflect() protoreflect.Message
type UnimplementedAnimeAggregatorServiceServer ¶
type UnimplementedAnimeAggregatorServiceServer struct { }
UnimplementedAnimeAggregatorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAnimeAggregatorServiceServer) Filter ¶
func (UnimplementedAnimeAggregatorServiceServer) Filter(context.Context, *FilterRequest) (*FilterResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListFormats ¶
func (UnimplementedAnimeAggregatorServiceServer) ListFormats(context.Context, *emptypb.Empty) (*ListFormatsResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListGenres ¶
func (UnimplementedAnimeAggregatorServiceServer) ListGenres(context.Context, *emptypb.Empty) (*ListGenresResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListSeasonYears ¶
func (UnimplementedAnimeAggregatorServiceServer) ListSeasonYears(context.Context, *emptypb.Empty) (*ListSeasonYearsResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListSeasons ¶
func (UnimplementedAnimeAggregatorServiceServer) ListSeasons(context.Context, *emptypb.Empty) (*ListSeasonsResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListStatuses ¶
func (UnimplementedAnimeAggregatorServiceServer) ListStatuses(context.Context, *emptypb.Empty) (*ListStatusesResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListStudios ¶
func (UnimplementedAnimeAggregatorServiceServer) ListStudios(context.Context, *emptypb.Empty) (*ListStudiosResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ListTags ¶
func (UnimplementedAnimeAggregatorServiceServer) ListTags(context.Context, *emptypb.Empty) (*ListTagsResponse, error)
func (UnimplementedAnimeAggregatorServiceServer) ParseProviders ¶
func (UnimplementedAnimeAggregatorServiceServer) ParseProviders(context.Context, *ParseProvidersRequest) (*ParseProvidersResponse, error)
type UnsafeAnimeAggregatorServiceServer ¶
type UnsafeAnimeAggregatorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAnimeAggregatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnimeAggregatorServiceServer will result in compilation errors.