Documentation ¶
Overview ¶
Package nfpbv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InfoServiceClient) error
- func RegisterInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InfoServiceServer) error
- func RegisterInfoServiceServer(s grpc.ServiceRegistrar, srv InfoServiceServer)
- type ActorRequest
- func (*ActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActorRequest) GetBiography() string
- func (x *ActorRequest) GetBorn() *timestamppb.Timestamp
- func (x *ActorRequest) GetFullName() string
- func (x *ActorRequest) GetGender() string
- func (x *ActorRequest) GetImage() string
- func (x *ActorRequest) GetImageBlurHash() string
- func (*ActorRequest) ProtoMessage()
- func (x *ActorRequest) ProtoReflect() protoreflect.Message
- func (x *ActorRequest) Reset()
- func (x *ActorRequest) String() string
- type ActorResponse
- func (*ActorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActorResponse) GetActorID() int64
- func (x *ActorResponse) GetBiography() string
- func (x *ActorResponse) GetBorn() *timestamppb.Timestamp
- func (x *ActorResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *ActorResponse) GetFullName() string
- func (x *ActorResponse) GetGender() string
- func (x *ActorResponse) GetImage() string
- func (x *ActorResponse) GetImageBlurHash() string
- func (*ActorResponse) ProtoMessage()
- func (x *ActorResponse) ProtoReflect() protoreflect.Message
- func (x *ActorResponse) Reset()
- func (x *ActorResponse) String() string
- type AnimeMetaRequest
- func (*AnimeMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeMetaRequest) GetLanguageID() int32
- func (x *AnimeMetaRequest) GetMeta() *MetaRequest
- func (*AnimeMetaRequest) ProtoMessage()
- func (x *AnimeMetaRequest) ProtoReflect() protoreflect.Message
- func (x *AnimeMetaRequest) Reset()
- func (x *AnimeMetaRequest) String() string
- type AnimeMetaResponse
- func (*AnimeMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnimeMetaResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *AnimeMetaResponse) GetLanguageID() int32
- func (x *AnimeMetaResponse) GetMeta() *MetaResponse
- func (*AnimeMetaResponse) ProtoMessage()
- func (x *AnimeMetaResponse) ProtoReflect() protoreflect.Message
- func (x *AnimeMetaResponse) Reset()
- func (x *AnimeMetaResponse) String() string
- type CreateActorsRequest
- func (*CreateActorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActorsRequest) GetActors() []*ActorRequest
- func (*CreateActorsRequest) ProtoMessage()
- func (x *CreateActorsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActorsRequest) Reset()
- func (x *CreateActorsRequest) String() string
- type CreateActorsResponse
- func (*CreateActorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActorsResponse) GetActors() []*ActorResponse
- func (*CreateActorsResponse) ProtoMessage()
- func (x *CreateActorsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateActorsResponse) Reset()
- func (x *CreateActorsResponse) String() string
- type CreateGenresRequest
- func (*CreateGenresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGenresRequest) GetNames() []string
- func (*CreateGenresRequest) ProtoMessage()
- func (x *CreateGenresRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGenresRequest) Reset()
- func (x *CreateGenresRequest) String() string
- type CreateGenresResponse
- func (*CreateGenresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGenresResponse) GetGenres() []*Genre
- func (*CreateGenresResponse) ProtoMessage()
- func (x *CreateGenresResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGenresResponse) Reset()
- func (x *CreateGenresResponse) String() string
- type CreateLanguagesRequest
- func (*CreateLanguagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLanguagesRequest) GetLanguages() []*LanguageRequest
- func (*CreateLanguagesRequest) ProtoMessage()
- func (x *CreateLanguagesRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLanguagesRequest) Reset()
- func (x *CreateLanguagesRequest) String() string
- type CreateLanguagesResponse
- func (*CreateLanguagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLanguagesResponse) GetLanguages() []*LanguageResponse
- func (*CreateLanguagesResponse) ProtoMessage()
- func (x *CreateLanguagesResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLanguagesResponse) Reset()
- func (x *CreateLanguagesResponse) String() string
- type CreateStudiosRequest
- func (*CreateStudiosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStudiosRequest) GetNames() []string
- func (*CreateStudiosRequest) ProtoMessage()
- func (x *CreateStudiosRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStudiosRequest) Reset()
- func (x *CreateStudiosRequest) String() string
- type CreateStudiosResponse
- func (*CreateStudiosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStudiosResponse) GetStudios() []*Studio
- func (*CreateStudiosResponse) ProtoMessage()
- func (x *CreateStudiosResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStudiosResponse) Reset()
- func (x *CreateStudiosResponse) String() string
- type Genre
- func (*Genre) Descriptor() ([]byte, []int)deprecated
- func (x *Genre) GetCreatedAt() *timestamppb.Timestamp
- func (x *Genre) GetGenreID() int32
- func (x *Genre) GetGenreName() string
- func (*Genre) ProtoMessage()
- func (x *Genre) ProtoReflect() protoreflect.Message
- func (x *Genre) Reset()
- func (x *Genre) String() string
- type GetAllActorsRequest
- func (*GetAllActorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllActorsRequest) GetPageNumber() int32
- func (x *GetAllActorsRequest) GetPageSize() int32
- func (*GetAllActorsRequest) ProtoMessage()
- func (x *GetAllActorsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllActorsRequest) Reset()
- func (x *GetAllActorsRequest) String() string
- type GetAllActorsResponse
- func (*GetAllActorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllActorsResponse) GetActors() []*ActorResponse
- func (*GetAllActorsResponse) ProtoMessage()
- func (x *GetAllActorsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllActorsResponse) Reset()
- func (x *GetAllActorsResponse) String() string
- type GetAllGenresRequest
- func (*GetAllGenresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGenresRequest) GetPageNumber() int32
- func (x *GetAllGenresRequest) GetPageSize() int32
- func (*GetAllGenresRequest) ProtoMessage()
- func (x *GetAllGenresRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllGenresRequest) Reset()
- func (x *GetAllGenresRequest) String() string
- type GetAllGenresResponse
- func (*GetAllGenresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGenresResponse) GetGenres() []*Genre
- func (*GetAllGenresResponse) ProtoMessage()
- func (x *GetAllGenresResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllGenresResponse) Reset()
- func (x *GetAllGenresResponse) String() string
- type GetAllLanguagesRequest
- func (*GetAllLanguagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllLanguagesRequest) GetPageNumber() int32
- func (x *GetAllLanguagesRequest) GetPageSize() int32
- func (*GetAllLanguagesRequest) ProtoMessage()
- func (x *GetAllLanguagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllLanguagesRequest) Reset()
- func (x *GetAllLanguagesRequest) String() string
- type GetAllLanguagesResponse
- func (*GetAllLanguagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllLanguagesResponse) GetLanguages() []*LanguageResponse
- func (*GetAllLanguagesResponse) ProtoMessage()
- func (x *GetAllLanguagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllLanguagesResponse) Reset()
- func (x *GetAllLanguagesResponse) String() string
- type GetAllStudiosRequest
- func (*GetAllStudiosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllStudiosRequest) GetPageNumber() int32
- func (x *GetAllStudiosRequest) GetPageSize() int32
- func (*GetAllStudiosRequest) ProtoMessage()
- func (x *GetAllStudiosRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllStudiosRequest) Reset()
- func (x *GetAllStudiosRequest) String() string
- type GetAllStudiosResponse
- func (*GetAllStudiosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllStudiosResponse) GetStudios() []*Studio
- func (*GetAllStudiosResponse) ProtoMessage()
- func (x *GetAllStudiosResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllStudiosResponse) Reset()
- func (x *GetAllStudiosResponse) String() string
- type InfoServiceClient
- type InfoServiceServer
- type LanguageRequest
- func (*LanguageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LanguageRequest) GetLanguageCode() string
- func (x *LanguageRequest) GetLanguageName() string
- func (*LanguageRequest) ProtoMessage()
- func (x *LanguageRequest) ProtoReflect() protoreflect.Message
- func (x *LanguageRequest) Reset()
- func (x *LanguageRequest) String() string
- type LanguageResponse
- func (*LanguageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LanguageResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *LanguageResponse) GetLanguageCode() string
- func (x *LanguageResponse) GetLanguageID() int32
- func (x *LanguageResponse) GetLanguageName() string
- func (*LanguageResponse) ProtoMessage()
- func (x *LanguageResponse) ProtoReflect() protoreflect.Message
- func (x *LanguageResponse) Reset()
- func (x *LanguageResponse) String() string
- type MetaRequest
- func (*MetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MetaRequest) GetOverview() string
- func (x *MetaRequest) GetTitle() string
- func (*MetaRequest) ProtoMessage()
- func (x *MetaRequest) ProtoReflect() protoreflect.Message
- func (x *MetaRequest) Reset()
- func (x *MetaRequest) String() string
- type MetaResponse
- func (*MetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetaResponse) GetMetaID() int64
- func (x *MetaResponse) GetOverview() string
- func (x *MetaResponse) GetTitle() string
- func (*MetaResponse) ProtoMessage()
- func (x *MetaResponse) ProtoReflect() protoreflect.Message
- func (x *MetaResponse) Reset()
- func (x *MetaResponse) String() string
- type Studio
- func (*Studio) Descriptor() ([]byte, []int)deprecated
- func (x *Studio) GetCreatedAt() *timestamppb.Timestamp
- func (x *Studio) GetStudioID() int32
- func (x *Studio) GetStudioName() string
- func (*Studio) ProtoMessage()
- func (x *Studio) ProtoReflect() protoreflect.Message
- func (x *Studio) Reset()
- func (x *Studio) String() string
- type UnimplementedInfoServiceServer
- func (UnimplementedInfoServiceServer) CreateActors(context.Context, *CreateActorsRequest) (*CreateActorsResponse, error)
- func (UnimplementedInfoServiceServer) CreateGenres(context.Context, *CreateGenresRequest) (*CreateGenresResponse, error)
- func (UnimplementedInfoServiceServer) CreateLanguages(context.Context, *CreateLanguagesRequest) (*CreateLanguagesResponse, error)
- func (UnimplementedInfoServiceServer) CreateStudios(context.Context, *CreateStudiosRequest) (*CreateStudiosResponse, error)
- func (UnimplementedInfoServiceServer) GetAllActors(context.Context, *GetAllActorsRequest) (*GetAllActorsResponse, error)
- func (UnimplementedInfoServiceServer) GetAllGenres(context.Context, *GetAllGenresRequest) (*GetAllGenresResponse, error)
- func (UnimplementedInfoServiceServer) GetAllLanguages(context.Context, *GetAllLanguagesRequest) (*GetAllLanguagesResponse, error)
- func (UnimplementedInfoServiceServer) GetAllStudios(context.Context, *GetAllStudiosRequest) (*GetAllStudiosResponse, error)
- func (UnimplementedInfoServiceServer) UpdateActor(context.Context, *UpdateActorRequest) (*UpdateActorResponse, error)
- func (UnimplementedInfoServiceServer) UpdateGenre(context.Context, *UpdateGenreRequest) (*UpdateGenreResponse, error)
- func (UnimplementedInfoServiceServer) UpdateLanguage(context.Context, *UpdateLanguageRequest) (*UpdateLanguageResponse, error)
- func (UnimplementedInfoServiceServer) UpdateStudio(context.Context, *UpdateStudioRequest) (*UpdateStudioResponse, error)
- type UnsafeInfoServiceServer
- type UpdateActorRequest
- func (*UpdateActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActorRequest) GetActorID() int64
- func (x *UpdateActorRequest) GetBiography() string
- func (x *UpdateActorRequest) GetBorn() *timestamppb.Timestamp
- func (x *UpdateActorRequest) GetFullName() string
- func (x *UpdateActorRequest) GetGender() string
- func (x *UpdateActorRequest) GetImage() string
- func (x *UpdateActorRequest) GetImageBlurHash() string
- func (*UpdateActorRequest) ProtoMessage()
- func (x *UpdateActorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActorRequest) Reset()
- func (x *UpdateActorRequest) String() string
- type UpdateActorResponse
- func (*UpdateActorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActorResponse) GetActor() *ActorResponse
- func (*UpdateActorResponse) ProtoMessage()
- func (x *UpdateActorResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateActorResponse) Reset()
- func (x *UpdateActorResponse) String() string
- type UpdateGenreRequest
- func (*UpdateGenreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGenreRequest) GetGenreID() int32
- func (x *UpdateGenreRequest) GetGenreName() string
- func (*UpdateGenreRequest) ProtoMessage()
- func (x *UpdateGenreRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGenreRequest) Reset()
- func (x *UpdateGenreRequest) String() string
- type UpdateGenreResponse
- func (*UpdateGenreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGenreResponse) GetGenre() *Genre
- func (*UpdateGenreResponse) ProtoMessage()
- func (x *UpdateGenreResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGenreResponse) Reset()
- func (x *UpdateGenreResponse) String() string
- type UpdateLanguageRequest
- func (*UpdateLanguageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLanguageRequest) GetLanguageCode() string
- func (x *UpdateLanguageRequest) GetLanguageID() int32
- func (x *UpdateLanguageRequest) GetLanguageName() string
- func (*UpdateLanguageRequest) ProtoMessage()
- func (x *UpdateLanguageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLanguageRequest) Reset()
- func (x *UpdateLanguageRequest) String() string
- type UpdateLanguageResponse
- func (*UpdateLanguageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLanguageResponse) GetLanguage() *LanguageResponse
- func (*UpdateLanguageResponse) ProtoMessage()
- func (x *UpdateLanguageResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLanguageResponse) Reset()
- func (x *UpdateLanguageResponse) String() string
- type UpdateStudioRequest
- func (*UpdateStudioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStudioRequest) GetStudioID() int32
- func (x *UpdateStudioRequest) GetStudioName() string
- func (*UpdateStudioRequest) ProtoMessage()
- func (x *UpdateStudioRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStudioRequest) Reset()
- func (x *UpdateStudioRequest) String() string
- type UpdateStudioResponse
- func (*UpdateStudioResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStudioResponse) GetStudio() *Studio
- func (*UpdateStudioResponse) ProtoMessage()
- func (x *UpdateStudioResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStudioResponse) Reset()
- func (x *UpdateStudioResponse) String() string
Constants ¶
const ( InfoService_CreateGenres_FullMethodName = "/v1.nfpbv1.InfoService/CreateGenres" InfoService_CreateStudios_FullMethodName = "/v1.nfpbv1.InfoService/CreateStudios" InfoService_CreateLanguages_FullMethodName = "/v1.nfpbv1.InfoService/CreateLanguages" InfoService_CreateActors_FullMethodName = "/v1.nfpbv1.InfoService/CreateActors" InfoService_GetAllGenres_FullMethodName = "/v1.nfpbv1.InfoService/GetAllGenres" InfoService_GetAllStudios_FullMethodName = "/v1.nfpbv1.InfoService/GetAllStudios" InfoService_GetAllLanguages_FullMethodName = "/v1.nfpbv1.InfoService/GetAllLanguages" InfoService_GetAllActors_FullMethodName = "/v1.nfpbv1.InfoService/GetAllActors" InfoService_UpdateLanguage_FullMethodName = "/v1.nfpbv1.InfoService/UpdateLanguage" InfoService_UpdateGenre_FullMethodName = "/v1.nfpbv1.InfoService/UpdateGenre" InfoService_UpdateStudio_FullMethodName = "/v1.nfpbv1.InfoService/UpdateStudio" InfoService_UpdateActor_FullMethodName = "/v1.nfpbv1.InfoService/UpdateActor" )
Variables ¶
var File_v1_nfpb_msg_actor_proto protoreflect.FileDescriptor
var File_v1_nfpb_msg_genre_proto protoreflect.FileDescriptor
var File_v1_nfpb_msg_language_proto protoreflect.FileDescriptor
var File_v1_nfpb_msg_meta_proto protoreflect.FileDescriptor
var File_v1_nfpb_msg_studio_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_create_actors_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_create_genres_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_create_languages_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_create_studios_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_get_all_actors_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_get_all_genres_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_get_all_languages_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_get_all_studios_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_update_actor_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_update_genre_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_update_language_proto protoreflect.FileDescriptor
var File_v1_nfpb_rpc_update_studio_proto protoreflect.FileDescriptor
var File_v1_nfpb_service_info_proto protoreflect.FileDescriptor
var InfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.nfpbv1.InfoService", HandlerType: (*InfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGenres", Handler: _InfoService_CreateGenres_Handler, }, { MethodName: "CreateStudios", Handler: _InfoService_CreateStudios_Handler, }, { MethodName: "CreateLanguages", Handler: _InfoService_CreateLanguages_Handler, }, { MethodName: "CreateActors", Handler: _InfoService_CreateActors_Handler, }, { MethodName: "GetAllGenres", Handler: _InfoService_GetAllGenres_Handler, }, { MethodName: "GetAllStudios", Handler: _InfoService_GetAllStudios_Handler, }, { MethodName: "GetAllLanguages", Handler: _InfoService_GetAllLanguages_Handler, }, { MethodName: "GetAllActors", Handler: _InfoService_GetAllActors_Handler, }, { MethodName: "UpdateLanguage", Handler: _InfoService_UpdateLanguage_Handler, }, { MethodName: "UpdateGenre", Handler: _InfoService_UpdateGenre_Handler, }, { MethodName: "UpdateStudio", Handler: _InfoService_UpdateStudio_Handler, }, { MethodName: "UpdateActor", Handler: _InfoService_UpdateActor_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/nfpb/service_info.proto", }
InfoService_ServiceDesc is the grpc.ServiceDesc for InfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInfoServiceHandler ¶
func RegisterInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInfoServiceHandler registers the http handlers for service InfoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInfoServiceHandlerClient ¶
func RegisterInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InfoServiceClient) error
RegisterInfoServiceHandlerClient registers the http handlers for service InfoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InfoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InfoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InfoServiceClient" to call the correct interceptors.
func RegisterInfoServiceHandlerFromEndpoint ¶
func RegisterInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInfoServiceHandlerFromEndpoint is same as RegisterInfoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInfoServiceHandlerServer ¶
func RegisterInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InfoServiceServer) error
RegisterInfoServiceHandlerServer registers the http handlers for service InfoService to "mux". UnaryRPC :call InfoServiceServer 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 RegisterInfoServiceHandlerFromEndpoint instead.
func RegisterInfoServiceServer ¶
func RegisterInfoServiceServer(s grpc.ServiceRegistrar, srv InfoServiceServer)
Types ¶
type ActorRequest ¶
type ActorRequest struct { FullName string `protobuf:"bytes,1,opt,name=fullName,proto3" json:"fullName,omitempty"` Gender string `protobuf:"bytes,2,opt,name=gender,proto3" json:"gender,omitempty"` Biography string `protobuf:"bytes,3,opt,name=biography,proto3" json:"biography,omitempty"` Born *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=born,proto3" json:"born,omitempty"` Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` ImageBlurHash string `protobuf:"bytes,6,opt,name=imageBlurHash,proto3" json:"imageBlurHash,omitempty"` // contains filtered or unexported fields }
func (*ActorRequest) Descriptor
deprecated
func (*ActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActorRequest.ProtoReflect.Descriptor instead.
func (*ActorRequest) GetBiography ¶
func (x *ActorRequest) GetBiography() string
func (*ActorRequest) GetBorn ¶
func (x *ActorRequest) GetBorn() *timestamppb.Timestamp
func (*ActorRequest) GetFullName ¶
func (x *ActorRequest) GetFullName() string
func (*ActorRequest) GetGender ¶
func (x *ActorRequest) GetGender() string
func (*ActorRequest) GetImage ¶
func (x *ActorRequest) GetImage() string
func (*ActorRequest) GetImageBlurHash ¶
func (x *ActorRequest) GetImageBlurHash() string
func (*ActorRequest) ProtoMessage ¶
func (*ActorRequest) ProtoMessage()
func (*ActorRequest) ProtoReflect ¶
func (x *ActorRequest) ProtoReflect() protoreflect.Message
func (*ActorRequest) Reset ¶
func (x *ActorRequest) Reset()
func (*ActorRequest) String ¶
func (x *ActorRequest) String() string
type ActorResponse ¶
type ActorResponse struct { ActorID int64 `protobuf:"varint,1,opt,name=actorID,proto3" json:"actorID,omitempty"` FullName string `protobuf:"bytes,2,opt,name=fullName,proto3" json:"fullName,omitempty"` Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"` Biography string `protobuf:"bytes,4,opt,name=biography,proto3" json:"biography,omitempty"` Born *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=born,proto3" json:"born,omitempty"` Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` ImageBlurHash string `protobuf:"bytes,7,opt,name=imageBlurHash,proto3" json:"imageBlurHash,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*ActorResponse) Descriptor
deprecated
func (*ActorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActorResponse.ProtoReflect.Descriptor instead.
func (*ActorResponse) GetActorID ¶
func (x *ActorResponse) GetActorID() int64
func (*ActorResponse) GetBiography ¶
func (x *ActorResponse) GetBiography() string
func (*ActorResponse) GetBorn ¶
func (x *ActorResponse) GetBorn() *timestamppb.Timestamp
func (*ActorResponse) GetCreatedAt ¶
func (x *ActorResponse) GetCreatedAt() *timestamppb.Timestamp
func (*ActorResponse) GetFullName ¶
func (x *ActorResponse) GetFullName() string
func (*ActorResponse) GetGender ¶
func (x *ActorResponse) GetGender() string
func (*ActorResponse) GetImage ¶
func (x *ActorResponse) GetImage() string
func (*ActorResponse) GetImageBlurHash ¶
func (x *ActorResponse) GetImageBlurHash() string
func (*ActorResponse) ProtoMessage ¶
func (*ActorResponse) ProtoMessage()
func (*ActorResponse) ProtoReflect ¶
func (x *ActorResponse) ProtoReflect() protoreflect.Message
func (*ActorResponse) Reset ¶
func (x *ActorResponse) Reset()
func (*ActorResponse) String ¶
func (x *ActorResponse) String() string
type AnimeMetaRequest ¶
type AnimeMetaRequest struct { LanguageID int32 `protobuf:"varint,1,opt,name=languageID,proto3" json:"languageID,omitempty"` Meta *MetaRequest `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*AnimeMetaRequest) Descriptor
deprecated
func (*AnimeMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnimeMetaRequest.ProtoReflect.Descriptor instead.
func (*AnimeMetaRequest) GetLanguageID ¶
func (x *AnimeMetaRequest) GetLanguageID() int32
func (*AnimeMetaRequest) GetMeta ¶
func (x *AnimeMetaRequest) GetMeta() *MetaRequest
func (*AnimeMetaRequest) ProtoMessage ¶
func (*AnimeMetaRequest) ProtoMessage()
func (*AnimeMetaRequest) ProtoReflect ¶
func (x *AnimeMetaRequest) ProtoReflect() protoreflect.Message
func (*AnimeMetaRequest) Reset ¶
func (x *AnimeMetaRequest) Reset()
func (*AnimeMetaRequest) String ¶
func (x *AnimeMetaRequest) String() string
type AnimeMetaResponse ¶
type AnimeMetaResponse struct { LanguageID int32 `protobuf:"varint,1,opt,name=languageID,proto3" json:"languageID,omitempty"` Meta *MetaResponse `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*AnimeMetaResponse) Descriptor
deprecated
func (*AnimeMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnimeMetaResponse.ProtoReflect.Descriptor instead.
func (*AnimeMetaResponse) GetCreatedAt ¶
func (x *AnimeMetaResponse) GetCreatedAt() *timestamppb.Timestamp
func (*AnimeMetaResponse) GetLanguageID ¶
func (x *AnimeMetaResponse) GetLanguageID() int32
func (*AnimeMetaResponse) GetMeta ¶
func (x *AnimeMetaResponse) GetMeta() *MetaResponse
func (*AnimeMetaResponse) ProtoMessage ¶
func (*AnimeMetaResponse) ProtoMessage()
func (*AnimeMetaResponse) ProtoReflect ¶
func (x *AnimeMetaResponse) ProtoReflect() protoreflect.Message
func (*AnimeMetaResponse) Reset ¶
func (x *AnimeMetaResponse) Reset()
func (*AnimeMetaResponse) String ¶
func (x *AnimeMetaResponse) String() string
type CreateActorsRequest ¶
type CreateActorsRequest struct { Actors []*ActorRequest `protobuf:"bytes,1,rep,name=actors,proto3" json:"actors,omitempty"` // contains filtered or unexported fields }
func (*CreateActorsRequest) Descriptor
deprecated
func (*CreateActorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActorsRequest.ProtoReflect.Descriptor instead.
func (*CreateActorsRequest) GetActors ¶
func (x *CreateActorsRequest) GetActors() []*ActorRequest
func (*CreateActorsRequest) ProtoMessage ¶
func (*CreateActorsRequest) ProtoMessage()
func (*CreateActorsRequest) ProtoReflect ¶
func (x *CreateActorsRequest) ProtoReflect() protoreflect.Message
func (*CreateActorsRequest) Reset ¶
func (x *CreateActorsRequest) Reset()
func (*CreateActorsRequest) String ¶
func (x *CreateActorsRequest) String() string
type CreateActorsResponse ¶
type CreateActorsResponse struct { Actors []*ActorResponse `protobuf:"bytes,1,rep,name=actors,proto3" json:"actors,omitempty"` // contains filtered or unexported fields }
func (*CreateActorsResponse) Descriptor
deprecated
func (*CreateActorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateActorsResponse.ProtoReflect.Descriptor instead.
func (*CreateActorsResponse) GetActors ¶
func (x *CreateActorsResponse) GetActors() []*ActorResponse
func (*CreateActorsResponse) ProtoMessage ¶
func (*CreateActorsResponse) ProtoMessage()
func (*CreateActorsResponse) ProtoReflect ¶
func (x *CreateActorsResponse) ProtoReflect() protoreflect.Message
func (*CreateActorsResponse) Reset ¶
func (x *CreateActorsResponse) Reset()
func (*CreateActorsResponse) String ¶
func (x *CreateActorsResponse) String() string
type CreateGenresRequest ¶
type CreateGenresRequest struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*CreateGenresRequest) Descriptor
deprecated
func (*CreateGenresRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGenresRequest.ProtoReflect.Descriptor instead.
func (*CreateGenresRequest) GetNames ¶
func (x *CreateGenresRequest) GetNames() []string
func (*CreateGenresRequest) ProtoMessage ¶
func (*CreateGenresRequest) ProtoMessage()
func (*CreateGenresRequest) ProtoReflect ¶
func (x *CreateGenresRequest) ProtoReflect() protoreflect.Message
func (*CreateGenresRequest) Reset ¶
func (x *CreateGenresRequest) Reset()
func (*CreateGenresRequest) String ¶
func (x *CreateGenresRequest) String() string
type CreateGenresResponse ¶
type CreateGenresResponse struct { Genres []*Genre `protobuf:"bytes,1,rep,name=genres,proto3" json:"genres,omitempty"` // contains filtered or unexported fields }
func (*CreateGenresResponse) Descriptor
deprecated
func (*CreateGenresResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGenresResponse.ProtoReflect.Descriptor instead.
func (*CreateGenresResponse) GetGenres ¶
func (x *CreateGenresResponse) GetGenres() []*Genre
func (*CreateGenresResponse) ProtoMessage ¶
func (*CreateGenresResponse) ProtoMessage()
func (*CreateGenresResponse) ProtoReflect ¶
func (x *CreateGenresResponse) ProtoReflect() protoreflect.Message
func (*CreateGenresResponse) Reset ¶
func (x *CreateGenresResponse) Reset()
func (*CreateGenresResponse) String ¶
func (x *CreateGenresResponse) String() string
type CreateLanguagesRequest ¶
type CreateLanguagesRequest struct { Languages []*LanguageRequest `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*CreateLanguagesRequest) Descriptor
deprecated
func (*CreateLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLanguagesRequest.ProtoReflect.Descriptor instead.
func (*CreateLanguagesRequest) GetLanguages ¶
func (x *CreateLanguagesRequest) GetLanguages() []*LanguageRequest
func (*CreateLanguagesRequest) ProtoMessage ¶
func (*CreateLanguagesRequest) ProtoMessage()
func (*CreateLanguagesRequest) ProtoReflect ¶
func (x *CreateLanguagesRequest) ProtoReflect() protoreflect.Message
func (*CreateLanguagesRequest) Reset ¶
func (x *CreateLanguagesRequest) Reset()
func (*CreateLanguagesRequest) String ¶
func (x *CreateLanguagesRequest) String() string
type CreateLanguagesResponse ¶
type CreateLanguagesResponse struct { Languages []*LanguageResponse `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*CreateLanguagesResponse) Descriptor
deprecated
func (*CreateLanguagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLanguagesResponse.ProtoReflect.Descriptor instead.
func (*CreateLanguagesResponse) GetLanguages ¶
func (x *CreateLanguagesResponse) GetLanguages() []*LanguageResponse
func (*CreateLanguagesResponse) ProtoMessage ¶
func (*CreateLanguagesResponse) ProtoMessage()
func (*CreateLanguagesResponse) ProtoReflect ¶
func (x *CreateLanguagesResponse) ProtoReflect() protoreflect.Message
func (*CreateLanguagesResponse) Reset ¶
func (x *CreateLanguagesResponse) Reset()
func (*CreateLanguagesResponse) String ¶
func (x *CreateLanguagesResponse) String() string
type CreateStudiosRequest ¶
type CreateStudiosRequest struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*CreateStudiosRequest) Descriptor
deprecated
func (*CreateStudiosRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStudiosRequest.ProtoReflect.Descriptor instead.
func (*CreateStudiosRequest) GetNames ¶
func (x *CreateStudiosRequest) GetNames() []string
func (*CreateStudiosRequest) ProtoMessage ¶
func (*CreateStudiosRequest) ProtoMessage()
func (*CreateStudiosRequest) ProtoReflect ¶
func (x *CreateStudiosRequest) ProtoReflect() protoreflect.Message
func (*CreateStudiosRequest) Reset ¶
func (x *CreateStudiosRequest) Reset()
func (*CreateStudiosRequest) String ¶
func (x *CreateStudiosRequest) String() string
type CreateStudiosResponse ¶
type CreateStudiosResponse struct { Studios []*Studio `protobuf:"bytes,1,rep,name=studios,proto3" json:"studios,omitempty"` // contains filtered or unexported fields }
func (*CreateStudiosResponse) Descriptor
deprecated
func (*CreateStudiosResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateStudiosResponse.ProtoReflect.Descriptor instead.
func (*CreateStudiosResponse) GetStudios ¶
func (x *CreateStudiosResponse) GetStudios() []*Studio
func (*CreateStudiosResponse) ProtoMessage ¶
func (*CreateStudiosResponse) ProtoMessage()
func (*CreateStudiosResponse) ProtoReflect ¶
func (x *CreateStudiosResponse) ProtoReflect() protoreflect.Message
func (*CreateStudiosResponse) Reset ¶
func (x *CreateStudiosResponse) Reset()
func (*CreateStudiosResponse) String ¶
func (x *CreateStudiosResponse) String() string
type Genre ¶
type Genre struct { GenreID int32 `protobuf:"varint,1,opt,name=genreID,proto3" json:"genreID,omitempty"` GenreName string `protobuf:"bytes,2,opt,name=genreName,proto3" json:"genreName,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*Genre) Descriptor
deprecated
func (*Genre) GetCreatedAt ¶
func (x *Genre) GetCreatedAt() *timestamppb.Timestamp
func (*Genre) GetGenreID ¶
func (*Genre) GetGenreName ¶
func (*Genre) ProtoMessage ¶
func (*Genre) ProtoMessage()
func (*Genre) ProtoReflect ¶
func (x *Genre) ProtoReflect() protoreflect.Message
type GetAllActorsRequest ¶
type GetAllActorsRequest struct { PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*GetAllActorsRequest) Descriptor
deprecated
func (*GetAllActorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllActorsRequest.ProtoReflect.Descriptor instead.
func (*GetAllActorsRequest) GetPageNumber ¶
func (x *GetAllActorsRequest) GetPageNumber() int32
func (*GetAllActorsRequest) GetPageSize ¶
func (x *GetAllActorsRequest) GetPageSize() int32
func (*GetAllActorsRequest) ProtoMessage ¶
func (*GetAllActorsRequest) ProtoMessage()
func (*GetAllActorsRequest) ProtoReflect ¶
func (x *GetAllActorsRequest) ProtoReflect() protoreflect.Message
func (*GetAllActorsRequest) Reset ¶
func (x *GetAllActorsRequest) Reset()
func (*GetAllActorsRequest) String ¶
func (x *GetAllActorsRequest) String() string
type GetAllActorsResponse ¶
type GetAllActorsResponse struct { Actors []*ActorResponse `protobuf:"bytes,1,rep,name=actors,proto3" json:"actors,omitempty"` // contains filtered or unexported fields }
func (*GetAllActorsResponse) Descriptor
deprecated
func (*GetAllActorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllActorsResponse.ProtoReflect.Descriptor instead.
func (*GetAllActorsResponse) GetActors ¶
func (x *GetAllActorsResponse) GetActors() []*ActorResponse
func (*GetAllActorsResponse) ProtoMessage ¶
func (*GetAllActorsResponse) ProtoMessage()
func (*GetAllActorsResponse) ProtoReflect ¶
func (x *GetAllActorsResponse) ProtoReflect() protoreflect.Message
func (*GetAllActorsResponse) Reset ¶
func (x *GetAllActorsResponse) Reset()
func (*GetAllActorsResponse) String ¶
func (x *GetAllActorsResponse) String() string
type GetAllGenresRequest ¶
type GetAllGenresRequest struct { PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*GetAllGenresRequest) Descriptor
deprecated
func (*GetAllGenresRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGenresRequest.ProtoReflect.Descriptor instead.
func (*GetAllGenresRequest) GetPageNumber ¶
func (x *GetAllGenresRequest) GetPageNumber() int32
func (*GetAllGenresRequest) GetPageSize ¶
func (x *GetAllGenresRequest) GetPageSize() int32
func (*GetAllGenresRequest) ProtoMessage ¶
func (*GetAllGenresRequest) ProtoMessage()
func (*GetAllGenresRequest) ProtoReflect ¶
func (x *GetAllGenresRequest) ProtoReflect() protoreflect.Message
func (*GetAllGenresRequest) Reset ¶
func (x *GetAllGenresRequest) Reset()
func (*GetAllGenresRequest) String ¶
func (x *GetAllGenresRequest) String() string
type GetAllGenresResponse ¶
type GetAllGenresResponse struct { Genres []*Genre `protobuf:"bytes,1,rep,name=genres,proto3" json:"genres,omitempty"` // contains filtered or unexported fields }
func (*GetAllGenresResponse) Descriptor
deprecated
func (*GetAllGenresResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGenresResponse.ProtoReflect.Descriptor instead.
func (*GetAllGenresResponse) GetGenres ¶
func (x *GetAllGenresResponse) GetGenres() []*Genre
func (*GetAllGenresResponse) ProtoMessage ¶
func (*GetAllGenresResponse) ProtoMessage()
func (*GetAllGenresResponse) ProtoReflect ¶
func (x *GetAllGenresResponse) ProtoReflect() protoreflect.Message
func (*GetAllGenresResponse) Reset ¶
func (x *GetAllGenresResponse) Reset()
func (*GetAllGenresResponse) String ¶
func (x *GetAllGenresResponse) String() string
type GetAllLanguagesRequest ¶
type GetAllLanguagesRequest struct { PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*GetAllLanguagesRequest) Descriptor
deprecated
func (*GetAllLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllLanguagesRequest.ProtoReflect.Descriptor instead.
func (*GetAllLanguagesRequest) GetPageNumber ¶
func (x *GetAllLanguagesRequest) GetPageNumber() int32
func (*GetAllLanguagesRequest) GetPageSize ¶
func (x *GetAllLanguagesRequest) GetPageSize() int32
func (*GetAllLanguagesRequest) ProtoMessage ¶
func (*GetAllLanguagesRequest) ProtoMessage()
func (*GetAllLanguagesRequest) ProtoReflect ¶
func (x *GetAllLanguagesRequest) ProtoReflect() protoreflect.Message
func (*GetAllLanguagesRequest) Reset ¶
func (x *GetAllLanguagesRequest) Reset()
func (*GetAllLanguagesRequest) String ¶
func (x *GetAllLanguagesRequest) String() string
type GetAllLanguagesResponse ¶
type GetAllLanguagesResponse struct { Languages []*LanguageResponse `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*GetAllLanguagesResponse) Descriptor
deprecated
func (*GetAllLanguagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllLanguagesResponse.ProtoReflect.Descriptor instead.
func (*GetAllLanguagesResponse) GetLanguages ¶
func (x *GetAllLanguagesResponse) GetLanguages() []*LanguageResponse
func (*GetAllLanguagesResponse) ProtoMessage ¶
func (*GetAllLanguagesResponse) ProtoMessage()
func (*GetAllLanguagesResponse) ProtoReflect ¶
func (x *GetAllLanguagesResponse) ProtoReflect() protoreflect.Message
func (*GetAllLanguagesResponse) Reset ¶
func (x *GetAllLanguagesResponse) Reset()
func (*GetAllLanguagesResponse) String ¶
func (x *GetAllLanguagesResponse) String() string
type GetAllStudiosRequest ¶
type GetAllStudiosRequest struct { PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*GetAllStudiosRequest) Descriptor
deprecated
func (*GetAllStudiosRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllStudiosRequest.ProtoReflect.Descriptor instead.
func (*GetAllStudiosRequest) GetPageNumber ¶
func (x *GetAllStudiosRequest) GetPageNumber() int32
func (*GetAllStudiosRequest) GetPageSize ¶
func (x *GetAllStudiosRequest) GetPageSize() int32
func (*GetAllStudiosRequest) ProtoMessage ¶
func (*GetAllStudiosRequest) ProtoMessage()
func (*GetAllStudiosRequest) ProtoReflect ¶
func (x *GetAllStudiosRequest) ProtoReflect() protoreflect.Message
func (*GetAllStudiosRequest) Reset ¶
func (x *GetAllStudiosRequest) Reset()
func (*GetAllStudiosRequest) String ¶
func (x *GetAllStudiosRequest) String() string
type GetAllStudiosResponse ¶
type GetAllStudiosResponse struct { Studios []*Studio `protobuf:"bytes,1,rep,name=studios,proto3" json:"studios,omitempty"` // contains filtered or unexported fields }
func (*GetAllStudiosResponse) Descriptor
deprecated
func (*GetAllStudiosResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllStudiosResponse.ProtoReflect.Descriptor instead.
func (*GetAllStudiosResponse) GetStudios ¶
func (x *GetAllStudiosResponse) GetStudios() []*Studio
func (*GetAllStudiosResponse) ProtoMessage ¶
func (*GetAllStudiosResponse) ProtoMessage()
func (*GetAllStudiosResponse) ProtoReflect ¶
func (x *GetAllStudiosResponse) ProtoReflect() protoreflect.Message
func (*GetAllStudiosResponse) Reset ¶
func (x *GetAllStudiosResponse) Reset()
func (*GetAllStudiosResponse) String ¶
func (x *GetAllStudiosResponse) String() string
type InfoServiceClient ¶
type InfoServiceClient interface { CreateGenres(ctx context.Context, in *CreateGenresRequest, opts ...grpc.CallOption) (*CreateGenresResponse, error) CreateStudios(ctx context.Context, in *CreateStudiosRequest, opts ...grpc.CallOption) (*CreateStudiosResponse, error) CreateLanguages(ctx context.Context, in *CreateLanguagesRequest, opts ...grpc.CallOption) (*CreateLanguagesResponse, error) CreateActors(ctx context.Context, in *CreateActorsRequest, opts ...grpc.CallOption) (*CreateActorsResponse, error) GetAllGenres(ctx context.Context, in *GetAllGenresRequest, opts ...grpc.CallOption) (*GetAllGenresResponse, error) GetAllStudios(ctx context.Context, in *GetAllStudiosRequest, opts ...grpc.CallOption) (*GetAllStudiosResponse, error) GetAllLanguages(ctx context.Context, in *GetAllLanguagesRequest, opts ...grpc.CallOption) (*GetAllLanguagesResponse, error) GetAllActors(ctx context.Context, in *GetAllActorsRequest, opts ...grpc.CallOption) (*GetAllActorsResponse, error) UpdateLanguage(ctx context.Context, in *UpdateLanguageRequest, opts ...grpc.CallOption) (*UpdateLanguageResponse, error) UpdateGenre(ctx context.Context, in *UpdateGenreRequest, opts ...grpc.CallOption) (*UpdateGenreResponse, error) UpdateStudio(ctx context.Context, in *UpdateStudioRequest, opts ...grpc.CallOption) (*UpdateStudioResponse, error) UpdateActor(ctx context.Context, in *UpdateActorRequest, opts ...grpc.CallOption) (*UpdateActorResponse, error) }
InfoServiceClient is the client API for InfoService 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 NewInfoServiceClient ¶
func NewInfoServiceClient(cc grpc.ClientConnInterface) InfoServiceClient
type InfoServiceServer ¶
type InfoServiceServer interface { CreateGenres(context.Context, *CreateGenresRequest) (*CreateGenresResponse, error) CreateStudios(context.Context, *CreateStudiosRequest) (*CreateStudiosResponse, error) CreateLanguages(context.Context, *CreateLanguagesRequest) (*CreateLanguagesResponse, error) CreateActors(context.Context, *CreateActorsRequest) (*CreateActorsResponse, error) GetAllGenres(context.Context, *GetAllGenresRequest) (*GetAllGenresResponse, error) GetAllStudios(context.Context, *GetAllStudiosRequest) (*GetAllStudiosResponse, error) GetAllLanguages(context.Context, *GetAllLanguagesRequest) (*GetAllLanguagesResponse, error) GetAllActors(context.Context, *GetAllActorsRequest) (*GetAllActorsResponse, error) UpdateLanguage(context.Context, *UpdateLanguageRequest) (*UpdateLanguageResponse, error) UpdateGenre(context.Context, *UpdateGenreRequest) (*UpdateGenreResponse, error) UpdateStudio(context.Context, *UpdateStudioRequest) (*UpdateStudioResponse, error) UpdateActor(context.Context, *UpdateActorRequest) (*UpdateActorResponse, error) // contains filtered or unexported methods }
InfoServiceServer is the server API for InfoService service. All implementations must embed UnimplementedInfoServiceServer for forward compatibility
type LanguageRequest ¶
type LanguageRequest struct { LanguageCode string `protobuf:"bytes,1,opt,name=LanguageCode,proto3" json:"LanguageCode,omitempty"` LanguageName string `protobuf:"bytes,2,opt,name=LanguageName,proto3" json:"LanguageName,omitempty"` // contains filtered or unexported fields }
func (*LanguageRequest) Descriptor
deprecated
func (*LanguageRequest) Descriptor() ([]byte, []int)
Deprecated: Use LanguageRequest.ProtoReflect.Descriptor instead.
func (*LanguageRequest) GetLanguageCode ¶
func (x *LanguageRequest) GetLanguageCode() string
func (*LanguageRequest) GetLanguageName ¶
func (x *LanguageRequest) GetLanguageName() string
func (*LanguageRequest) ProtoMessage ¶
func (*LanguageRequest) ProtoMessage()
func (*LanguageRequest) ProtoReflect ¶
func (x *LanguageRequest) ProtoReflect() protoreflect.Message
func (*LanguageRequest) Reset ¶
func (x *LanguageRequest) Reset()
func (*LanguageRequest) String ¶
func (x *LanguageRequest) String() string
type LanguageResponse ¶
type LanguageResponse struct { LanguageID int32 `protobuf:"varint,1,opt,name=LanguageID,proto3" json:"LanguageID,omitempty"` LanguageCode string `protobuf:"bytes,2,opt,name=LanguageCode,proto3" json:"LanguageCode,omitempty"` LanguageName string `protobuf:"bytes,3,opt,name=LanguageName,proto3" json:"LanguageName,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*LanguageResponse) Descriptor
deprecated
func (*LanguageResponse) Descriptor() ([]byte, []int)
Deprecated: Use LanguageResponse.ProtoReflect.Descriptor instead.
func (*LanguageResponse) GetCreatedAt ¶
func (x *LanguageResponse) GetCreatedAt() *timestamppb.Timestamp
func (*LanguageResponse) GetLanguageCode ¶
func (x *LanguageResponse) GetLanguageCode() string
func (*LanguageResponse) GetLanguageID ¶
func (x *LanguageResponse) GetLanguageID() int32
func (*LanguageResponse) GetLanguageName ¶
func (x *LanguageResponse) GetLanguageName() string
func (*LanguageResponse) ProtoMessage ¶
func (*LanguageResponse) ProtoMessage()
func (*LanguageResponse) ProtoReflect ¶
func (x *LanguageResponse) ProtoReflect() protoreflect.Message
func (*LanguageResponse) Reset ¶
func (x *LanguageResponse) Reset()
func (*LanguageResponse) String ¶
func (x *LanguageResponse) String() string
type MetaRequest ¶
type MetaRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Overview string `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` // contains filtered or unexported fields }
func (*MetaRequest) Descriptor
deprecated
func (*MetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetaRequest.ProtoReflect.Descriptor instead.
func (*MetaRequest) GetOverview ¶
func (x *MetaRequest) GetOverview() string
func (*MetaRequest) GetTitle ¶
func (x *MetaRequest) GetTitle() string
func (*MetaRequest) ProtoMessage ¶
func (*MetaRequest) ProtoMessage()
func (*MetaRequest) ProtoReflect ¶
func (x *MetaRequest) ProtoReflect() protoreflect.Message
func (*MetaRequest) Reset ¶
func (x *MetaRequest) Reset()
func (*MetaRequest) String ¶
func (x *MetaRequest) String() string
type MetaResponse ¶
type MetaResponse struct { MetaID int64 `protobuf:"varint,1,opt,name=metaID,proto3" json:"metaID,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Overview string `protobuf:"bytes,3,opt,name=overview,proto3" json:"overview,omitempty"` // contains filtered or unexported fields }
func (*MetaResponse) Descriptor
deprecated
func (*MetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.
func (*MetaResponse) GetMetaID ¶
func (x *MetaResponse) GetMetaID() int64
func (*MetaResponse) GetOverview ¶
func (x *MetaResponse) GetOverview() string
func (*MetaResponse) GetTitle ¶
func (x *MetaResponse) GetTitle() string
func (*MetaResponse) ProtoMessage ¶
func (*MetaResponse) ProtoMessage()
func (*MetaResponse) ProtoReflect ¶
func (x *MetaResponse) ProtoReflect() protoreflect.Message
func (*MetaResponse) Reset ¶
func (x *MetaResponse) Reset()
func (*MetaResponse) String ¶
func (x *MetaResponse) String() string
type Studio ¶
type Studio struct { StudioID int32 `protobuf:"varint,1,opt,name=studioID,proto3" json:"studioID,omitempty"` StudioName string `protobuf:"bytes,2,opt,name=studioName,proto3" json:"studioName,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*Studio) Descriptor
deprecated
func (*Studio) GetCreatedAt ¶
func (x *Studio) GetCreatedAt() *timestamppb.Timestamp
func (*Studio) GetStudioID ¶
func (*Studio) GetStudioName ¶
func (*Studio) ProtoMessage ¶
func (*Studio) ProtoMessage()
func (*Studio) ProtoReflect ¶
func (x *Studio) ProtoReflect() protoreflect.Message
type UnimplementedInfoServiceServer ¶
type UnimplementedInfoServiceServer struct { }
UnimplementedInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedInfoServiceServer) CreateActors ¶
func (UnimplementedInfoServiceServer) CreateActors(context.Context, *CreateActorsRequest) (*CreateActorsResponse, error)
func (UnimplementedInfoServiceServer) CreateGenres ¶
func (UnimplementedInfoServiceServer) CreateGenres(context.Context, *CreateGenresRequest) (*CreateGenresResponse, error)
func (UnimplementedInfoServiceServer) CreateLanguages ¶
func (UnimplementedInfoServiceServer) CreateLanguages(context.Context, *CreateLanguagesRequest) (*CreateLanguagesResponse, error)
func (UnimplementedInfoServiceServer) CreateStudios ¶
func (UnimplementedInfoServiceServer) CreateStudios(context.Context, *CreateStudiosRequest) (*CreateStudiosResponse, error)
func (UnimplementedInfoServiceServer) GetAllActors ¶
func (UnimplementedInfoServiceServer) GetAllActors(context.Context, *GetAllActorsRequest) (*GetAllActorsResponse, error)
func (UnimplementedInfoServiceServer) GetAllGenres ¶
func (UnimplementedInfoServiceServer) GetAllGenres(context.Context, *GetAllGenresRequest) (*GetAllGenresResponse, error)
func (UnimplementedInfoServiceServer) GetAllLanguages ¶
func (UnimplementedInfoServiceServer) GetAllLanguages(context.Context, *GetAllLanguagesRequest) (*GetAllLanguagesResponse, error)
func (UnimplementedInfoServiceServer) GetAllStudios ¶
func (UnimplementedInfoServiceServer) GetAllStudios(context.Context, *GetAllStudiosRequest) (*GetAllStudiosResponse, error)
func (UnimplementedInfoServiceServer) UpdateActor ¶
func (UnimplementedInfoServiceServer) UpdateActor(context.Context, *UpdateActorRequest) (*UpdateActorResponse, error)
func (UnimplementedInfoServiceServer) UpdateGenre ¶
func (UnimplementedInfoServiceServer) UpdateGenre(context.Context, *UpdateGenreRequest) (*UpdateGenreResponse, error)
func (UnimplementedInfoServiceServer) UpdateLanguage ¶
func (UnimplementedInfoServiceServer) UpdateLanguage(context.Context, *UpdateLanguageRequest) (*UpdateLanguageResponse, error)
func (UnimplementedInfoServiceServer) UpdateStudio ¶
func (UnimplementedInfoServiceServer) UpdateStudio(context.Context, *UpdateStudioRequest) (*UpdateStudioResponse, error)
type UnsafeInfoServiceServer ¶
type UnsafeInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InfoServiceServer will result in compilation errors.
type UpdateActorRequest ¶
type UpdateActorRequest struct { ActorID int64 `protobuf:"varint,1,opt,name=actorID,proto3" json:"actorID,omitempty"` FullName *string `protobuf:"bytes,2,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"` Gender *string `protobuf:"bytes,3,opt,name=gender,proto3,oneof" json:"gender,omitempty"` Biography *string `protobuf:"bytes,4,opt,name=biography,proto3,oneof" json:"biography,omitempty"` Born *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=born,proto3,oneof" json:"born,omitempty"` Image *string `protobuf:"bytes,6,opt,name=image,proto3,oneof" json:"image,omitempty"` ImageBlurHash *string `protobuf:"bytes,7,opt,name=imageBlurHash,proto3,oneof" json:"imageBlurHash,omitempty"` // contains filtered or unexported fields }
func (*UpdateActorRequest) Descriptor
deprecated
func (*UpdateActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActorRequest.ProtoReflect.Descriptor instead.
func (*UpdateActorRequest) GetActorID ¶
func (x *UpdateActorRequest) GetActorID() int64
func (*UpdateActorRequest) GetBiography ¶
func (x *UpdateActorRequest) GetBiography() string
func (*UpdateActorRequest) GetBorn ¶
func (x *UpdateActorRequest) GetBorn() *timestamppb.Timestamp
func (*UpdateActorRequest) GetFullName ¶
func (x *UpdateActorRequest) GetFullName() string
func (*UpdateActorRequest) GetGender ¶
func (x *UpdateActorRequest) GetGender() string
func (*UpdateActorRequest) GetImage ¶
func (x *UpdateActorRequest) GetImage() string
func (*UpdateActorRequest) GetImageBlurHash ¶
func (x *UpdateActorRequest) GetImageBlurHash() string
func (*UpdateActorRequest) ProtoMessage ¶
func (*UpdateActorRequest) ProtoMessage()
func (*UpdateActorRequest) ProtoReflect ¶
func (x *UpdateActorRequest) ProtoReflect() protoreflect.Message
func (*UpdateActorRequest) Reset ¶
func (x *UpdateActorRequest) Reset()
func (*UpdateActorRequest) String ¶
func (x *UpdateActorRequest) String() string
type UpdateActorResponse ¶
type UpdateActorResponse struct { Actor *ActorResponse `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"` // contains filtered or unexported fields }
func (*UpdateActorResponse) Descriptor
deprecated
func (*UpdateActorResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActorResponse.ProtoReflect.Descriptor instead.
func (*UpdateActorResponse) GetActor ¶
func (x *UpdateActorResponse) GetActor() *ActorResponse
func (*UpdateActorResponse) ProtoMessage ¶
func (*UpdateActorResponse) ProtoMessage()
func (*UpdateActorResponse) ProtoReflect ¶
func (x *UpdateActorResponse) ProtoReflect() protoreflect.Message
func (*UpdateActorResponse) Reset ¶
func (x *UpdateActorResponse) Reset()
func (*UpdateActorResponse) String ¶
func (x *UpdateActorResponse) String() string
type UpdateGenreRequest ¶
type UpdateGenreRequest struct { GenreID int32 `protobuf:"varint,1,opt,name=genreID,proto3" json:"genreID,omitempty"` GenreName *string `protobuf:"bytes,2,opt,name=genreName,proto3,oneof" json:"genreName,omitempty"` // contains filtered or unexported fields }
func (*UpdateGenreRequest) Descriptor
deprecated
func (*UpdateGenreRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGenreRequest.ProtoReflect.Descriptor instead.
func (*UpdateGenreRequest) GetGenreID ¶
func (x *UpdateGenreRequest) GetGenreID() int32
func (*UpdateGenreRequest) GetGenreName ¶
func (x *UpdateGenreRequest) GetGenreName() string
func (*UpdateGenreRequest) ProtoMessage ¶
func (*UpdateGenreRequest) ProtoMessage()
func (*UpdateGenreRequest) ProtoReflect ¶
func (x *UpdateGenreRequest) ProtoReflect() protoreflect.Message
func (*UpdateGenreRequest) Reset ¶
func (x *UpdateGenreRequest) Reset()
func (*UpdateGenreRequest) String ¶
func (x *UpdateGenreRequest) String() string
type UpdateGenreResponse ¶
type UpdateGenreResponse struct { Genre *Genre `protobuf:"bytes,1,opt,name=genre,proto3" json:"genre,omitempty"` // contains filtered or unexported fields }
func (*UpdateGenreResponse) Descriptor
deprecated
func (*UpdateGenreResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGenreResponse.ProtoReflect.Descriptor instead.
func (*UpdateGenreResponse) GetGenre ¶
func (x *UpdateGenreResponse) GetGenre() *Genre
func (*UpdateGenreResponse) ProtoMessage ¶
func (*UpdateGenreResponse) ProtoMessage()
func (*UpdateGenreResponse) ProtoReflect ¶
func (x *UpdateGenreResponse) ProtoReflect() protoreflect.Message
func (*UpdateGenreResponse) Reset ¶
func (x *UpdateGenreResponse) Reset()
func (*UpdateGenreResponse) String ¶
func (x *UpdateGenreResponse) String() string
type UpdateLanguageRequest ¶
type UpdateLanguageRequest struct { LanguageID int32 `protobuf:"varint,1,opt,name=languageID,proto3" json:"languageID,omitempty"` LanguageCode *string `protobuf:"bytes,2,opt,name=languageCode,proto3,oneof" json:"languageCode,omitempty"` LanguageName *string `protobuf:"bytes,3,opt,name=languageName,proto3,oneof" json:"languageName,omitempty"` // contains filtered or unexported fields }
func (*UpdateLanguageRequest) Descriptor
deprecated
func (*UpdateLanguageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLanguageRequest.ProtoReflect.Descriptor instead.
func (*UpdateLanguageRequest) GetLanguageCode ¶
func (x *UpdateLanguageRequest) GetLanguageCode() string
func (*UpdateLanguageRequest) GetLanguageID ¶
func (x *UpdateLanguageRequest) GetLanguageID() int32
func (*UpdateLanguageRequest) GetLanguageName ¶
func (x *UpdateLanguageRequest) GetLanguageName() string
func (*UpdateLanguageRequest) ProtoMessage ¶
func (*UpdateLanguageRequest) ProtoMessage()
func (*UpdateLanguageRequest) ProtoReflect ¶
func (x *UpdateLanguageRequest) ProtoReflect() protoreflect.Message
func (*UpdateLanguageRequest) Reset ¶
func (x *UpdateLanguageRequest) Reset()
func (*UpdateLanguageRequest) String ¶
func (x *UpdateLanguageRequest) String() string
type UpdateLanguageResponse ¶
type UpdateLanguageResponse struct { Language *LanguageResponse `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*UpdateLanguageResponse) Descriptor
deprecated
func (*UpdateLanguageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLanguageResponse.ProtoReflect.Descriptor instead.
func (*UpdateLanguageResponse) GetLanguage ¶
func (x *UpdateLanguageResponse) GetLanguage() *LanguageResponse
func (*UpdateLanguageResponse) ProtoMessage ¶
func (*UpdateLanguageResponse) ProtoMessage()
func (*UpdateLanguageResponse) ProtoReflect ¶
func (x *UpdateLanguageResponse) ProtoReflect() protoreflect.Message
func (*UpdateLanguageResponse) Reset ¶
func (x *UpdateLanguageResponse) Reset()
func (*UpdateLanguageResponse) String ¶
func (x *UpdateLanguageResponse) String() string
type UpdateStudioRequest ¶
type UpdateStudioRequest struct { StudioID int32 `protobuf:"varint,1,opt,name=studioID,proto3" json:"studioID,omitempty"` StudioName *string `protobuf:"bytes,2,opt,name=studioName,proto3,oneof" json:"studioName,omitempty"` // contains filtered or unexported fields }
func (*UpdateStudioRequest) Descriptor
deprecated
func (*UpdateStudioRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStudioRequest.ProtoReflect.Descriptor instead.
func (*UpdateStudioRequest) GetStudioID ¶
func (x *UpdateStudioRequest) GetStudioID() int32
func (*UpdateStudioRequest) GetStudioName ¶
func (x *UpdateStudioRequest) GetStudioName() string
func (*UpdateStudioRequest) ProtoMessage ¶
func (*UpdateStudioRequest) ProtoMessage()
func (*UpdateStudioRequest) ProtoReflect ¶
func (x *UpdateStudioRequest) ProtoReflect() protoreflect.Message
func (*UpdateStudioRequest) Reset ¶
func (x *UpdateStudioRequest) Reset()
func (*UpdateStudioRequest) String ¶
func (x *UpdateStudioRequest) String() string
type UpdateStudioResponse ¶
type UpdateStudioResponse struct { Studio *Studio `protobuf:"bytes,1,opt,name=studio,proto3" json:"studio,omitempty"` // contains filtered or unexported fields }
func (*UpdateStudioResponse) Descriptor
deprecated
func (*UpdateStudioResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStudioResponse.ProtoReflect.Descriptor instead.
func (*UpdateStudioResponse) GetStudio ¶
func (x *UpdateStudioResponse) GetStudio() *Studio
func (*UpdateStudioResponse) ProtoMessage ¶
func (*UpdateStudioResponse) ProtoMessage()
func (*UpdateStudioResponse) ProtoReflect ¶
func (x *UpdateStudioResponse) ProtoReflect() protoreflect.Message
func (*UpdateStudioResponse) Reset ¶
func (x *UpdateStudioResponse) Reset()
func (*UpdateStudioResponse) String ¶
func (x *UpdateStudioResponse) String() string
Source Files ¶
- msg_actor.pb.go
- msg_genre.pb.go
- msg_language.pb.go
- msg_meta.pb.go
- msg_studio.pb.go
- rpc_create_actors.pb.go
- rpc_create_genres.pb.go
- rpc_create_languages.pb.go
- rpc_create_studios.pb.go
- rpc_get_all_actors.pb.go
- rpc_get_all_genres.pb.go
- rpc_get_all_languages.pb.go
- rpc_get_all_studios.pb.go
- rpc_update_actor.pb.go
- rpc_update_genre.pb.go
- rpc_update_language.pb.go
- rpc_update_studio.pb.go
- service_info.pb.go
- service_info.pb.gw.go
- service_info_grpc.pb.go