Documentation ¶
Index ¶
- Variables
- func RegisterPr12ErServiceServer(s grpc.ServiceRegistrar, srv Pr12ErServiceServer)
- type Category
- type Database
- type Detail
- func (*Detail) Descriptor() ([]byte, []int)deprecated
- func (x *Detail) GetPapers() []*Paper
- func (x *Detail) GetPrId() int32
- func (x *Detail) GetRelevantPapers() []*Paper
- func (x *Detail) GetSameAuthorPapers() []*Paper
- func (*Detail) ProtoMessage()
- func (x *Detail) ProtoReflect() protoreflect.Message
- func (x *Detail) Reset()
- func (x *Detail) String() string
- type Framework
- type GetDetailRequest
- type GetDetailResponse
- type GetVideosRequest
- type GetVideosResponse
- type HelloRequest
- type HelloResponse
- type MappingTable
- type MappingTableRow
- func (*MappingTableRow) Descriptor() ([]byte, []int)deprecated
- func (x *MappingTableRow) GetPaperArxivIds() []string
- func (x *MappingTableRow) GetPrId() int32
- func (x *MappingTableRow) GetYoutubeVideoId() string
- func (*MappingTableRow) ProtoMessage()
- func (x *MappingTableRow) ProtoReflect() protoreflect.Message
- func (x *MappingTableRow) Reset()
- func (x *MappingTableRow) String() string
- type Method
- func (*Method) Descriptor() ([]byte, []int)deprecated
- func (x *Method) GetDescription() string
- func (x *Method) GetFullName() string
- func (x *Method) GetName() string
- func (*Method) ProtoMessage()
- func (x *Method) ProtoReflect() protoreflect.Message
- func (x *Method) Reset()
- func (x *Method) String() string
- type Paper
- func (*Paper) Descriptor() ([]byte, []int)deprecated
- func (x *Paper) GetAbstract() string
- func (x *Paper) GetArxivId() string
- func (x *Paper) GetAuthors() []string
- func (x *Paper) GetMethods() []*Method
- func (x *Paper) GetPaperId() string
- func (x *Paper) GetPublishedDate() *timestamppb.Timestamp
- func (x *Paper) GetRepositories() []*Repository
- func (x *Paper) GetTitle() string
- func (*Paper) ProtoMessage()
- func (x *Paper) ProtoReflect() protoreflect.Message
- func (x *Paper) Reset()
- func (x *Paper) String() string
- type Pr12ErServiceClient
- type Pr12ErServiceServer
- type PrVideo
- func (*PrVideo) Descriptor() ([]byte, []int)deprecated
- func (x *PrVideo) GetPapers() []*Paper
- func (x *PrVideo) GetPrId() int32
- func (x *PrVideo) GetVideo() *YouTubeVideo
- func (*PrVideo) ProtoMessage()
- func (x *PrVideo) ProtoReflect() protoreflect.Message
- func (x *PrVideo) Reset()
- func (x *PrVideo) String() string
- type ReportRequest
- func (*ReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportRequest) GetBody() string
- func (x *ReportRequest) GetType() ReportRequest_ReportType
- func (*ReportRequest) ProtoMessage()
- func (x *ReportRequest) ProtoReflect() protoreflect.Message
- func (x *ReportRequest) Reset()
- func (x *ReportRequest) String() string
- type ReportRequest_ReportType
- func (ReportRequest_ReportType) Descriptor() protoreflect.EnumDescriptor
- func (x ReportRequest_ReportType) Enum() *ReportRequest_ReportType
- func (ReportRequest_ReportType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReportRequest_ReportType) Number() protoreflect.EnumNumber
- func (x ReportRequest_ReportType) String() string
- func (ReportRequest_ReportType) Type() protoreflect.EnumType
- type ReportResponse
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetDescription() string
- func (x *Repository) GetFramework() Framework
- func (x *Repository) GetIsOfficial() bool
- func (x *Repository) GetNumberOfStars() int64
- func (x *Repository) GetOwner() string
- func (x *Repository) GetUrl() string
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type UnimplementedPr12ErServiceServer
- func (UnimplementedPr12ErServiceServer) GetDetail(context.Context, *GetDetailRequest) (*GetDetailResponse, error)
- func (UnimplementedPr12ErServiceServer) GetHello(context.Context, *HelloRequest) (*HelloResponse, error)
- func (UnimplementedPr12ErServiceServer) GetVideos(context.Context, *GetVideosRequest) (*GetVideosResponse, error)
- func (UnimplementedPr12ErServiceServer) Report(context.Context, *ReportRequest) (*ReportResponse, error)
- type UnsafePr12ErServiceServer
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) GetCategory() Category
- func (x *Video) GetKeywords() []string
- func (x *Video) GetLink() string
- func (x *Video) GetNumberOfLike() int64
- func (x *Video) GetNumberOfViews() int64
- func (x *Video) GetPrId() int32
- func (x *Video) GetPresenter() string
- func (x *Video) GetPublishedDate() *timestamppb.Timestamp
- func (x *Video) GetTitle() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) String() string
- type YouTubeVideo
- func (*YouTubeVideo) Descriptor() ([]byte, []int)deprecated
- func (x *YouTubeVideo) GetNumberOfLikes() int64
- func (x *YouTubeVideo) GetNumberOfViews() int64
- func (x *YouTubeVideo) GetPublishedDate() *timestamppb.Timestamp
- func (x *YouTubeVideo) GetUploader() string
- func (x *YouTubeVideo) GetVideoId() string
- func (x *YouTubeVideo) GetVideoTitle() string
- func (*YouTubeVideo) ProtoMessage()
- func (x *YouTubeVideo) ProtoReflect() protoreflect.Message
- func (x *YouTubeVideo) Reset()
- func (x *YouTubeVideo) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Category_name = map[int32]string{ 0: "CATEGORY_UNSPECIFIED", 1: "CATEGORY_VISION", 2: "CATEGORY_NLP", 3: "CATEGORY_OCR", 4: "CATEGORY_AUDIO", 5: "CATEGORY_RS", } Category_value = map[string]int32{ "CATEGORY_UNSPECIFIED": 0, "CATEGORY_VISION": 1, "CATEGORY_NLP": 2, "CATEGORY_OCR": 3, "CATEGORY_AUDIO": 4, "CATEGORY_RS": 5, } )
Enum value maps for Category.
var ( Framework_name = map[int32]string{ 0: "FRAMEWORK_UNSPECIFIED", 1: "FRAMEWORK_TENSORFLOW", 2: "FRAMEWORK_PYTORCH", 3: "FRAMEWORK_OTHERS", } Framework_value = map[string]int32{ "FRAMEWORK_UNSPECIFIED": 0, "FRAMEWORK_TENSORFLOW": 1, "FRAMEWORK_PYTORCH": 2, "FRAMEWORK_OTHERS": 3, } )
Enum value maps for Framework.
var ( ReportRequest_ReportType_name = map[int32]string{ 0: "REPORT_TYPE_UNSPECIFIED", 1: "REPORT_TYPE_MISSING_PR_VIDEO", 2: "REPORT_TYPE_BUG", } ReportRequest_ReportType_value = map[string]int32{ "REPORT_TYPE_UNSPECIFIED": 0, "REPORT_TYPE_MISSING_PR_VIDEO": 1, "REPORT_TYPE_BUG": 2, } )
Enum value maps for ReportRequest_ReportType.
var File_pkg_pr12er_database_proto protoreflect.FileDescriptor
var File_pkg_pr12er_messages_proto protoreflect.FileDescriptor
var File_pkg_pr12er_service_proto protoreflect.FileDescriptor
var Pr12ErService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pkg.pr12er.Pr12erService", HandlerType: (*Pr12ErServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetHello", Handler: _Pr12ErService_GetHello_Handler, }, { MethodName: "GetVideos", Handler: _Pr12ErService_GetVideos_Handler, }, { MethodName: "GetDetail", Handler: _Pr12ErService_GetDetail_Handler, }, { MethodName: "Report", Handler: _Pr12ErService_Report_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/pr12er/service.proto", }
Pr12ErService_ServiceDesc is the grpc.ServiceDesc for Pr12ErService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPr12ErServiceServer ¶
func RegisterPr12ErServiceServer(s grpc.ServiceRegistrar, srv Pr12ErServiceServer)
Types ¶
type Category ¶
type Category int32
func (Category) Descriptor ¶
func (Category) Descriptor() protoreflect.EnumDescriptor
func (Category) EnumDescriptor
deprecated
func (Category) Number ¶
func (x Category) Number() protoreflect.EnumNumber
func (Category) Type ¶
func (Category) Type() protoreflect.EnumType
type Database ¶
type Database struct { PrIdToVideo map[int32]*PrVideo `` /* 187-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) GetPrIdToVideo ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type Detail ¶
type Detail struct { PrId int32 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"` Papers []*Paper `protobuf:"bytes,2,rep,name=papers,proto3" json:"papers,omitempty"` RelevantPapers []*Paper `protobuf:"bytes,3,rep,name=relevant_papers,json=relevantPapers,proto3" json:"relevant_papers,omitempty"` SameAuthorPapers []*Paper `protobuf:"bytes,4,rep,name=same_author_papers,json=sameAuthorPapers,proto3" json:"same_author_papers,omitempty"` // contains filtered or unexported fields }
func (*Detail) Descriptor
deprecated
func (*Detail) GetRelevantPapers ¶
func (*Detail) GetSameAuthorPapers ¶
func (*Detail) ProtoMessage ¶
func (*Detail) ProtoMessage()
func (*Detail) ProtoReflect ¶
func (x *Detail) ProtoReflect() protoreflect.Message
type Framework ¶
type Framework int32
func (Framework) Descriptor ¶
func (Framework) Descriptor() protoreflect.EnumDescriptor
func (Framework) EnumDescriptor
deprecated
func (Framework) Number ¶
func (x Framework) Number() protoreflect.EnumNumber
func (Framework) Type ¶
func (Framework) Type() protoreflect.EnumType
type GetDetailRequest ¶
type GetDetailRequest struct { PrId int32 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"` // contains filtered or unexported fields }
func (*GetDetailRequest) Descriptor
deprecated
func (*GetDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDetailRequest.ProtoReflect.Descriptor instead.
func (*GetDetailRequest) GetPrId ¶
func (x *GetDetailRequest) GetPrId() int32
func (*GetDetailRequest) ProtoMessage ¶
func (*GetDetailRequest) ProtoMessage()
func (*GetDetailRequest) ProtoReflect ¶
func (x *GetDetailRequest) ProtoReflect() protoreflect.Message
func (*GetDetailRequest) Reset ¶
func (x *GetDetailRequest) Reset()
func (*GetDetailRequest) String ¶
func (x *GetDetailRequest) String() string
type GetDetailResponse ¶
type GetDetailResponse struct { Detail *Detail `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*GetDetailResponse) Descriptor
deprecated
func (*GetDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDetailResponse.ProtoReflect.Descriptor instead.
func (*GetDetailResponse) GetDetail ¶
func (x *GetDetailResponse) GetDetail() *Detail
func (*GetDetailResponse) ProtoMessage ¶
func (*GetDetailResponse) ProtoMessage()
func (*GetDetailResponse) ProtoReflect ¶
func (x *GetDetailResponse) ProtoReflect() protoreflect.Message
func (*GetDetailResponse) Reset ¶
func (x *GetDetailResponse) Reset()
func (*GetDetailResponse) String ¶
func (x *GetDetailResponse) String() string
type GetVideosRequest ¶
type GetVideosRequest struct {
// contains filtered or unexported fields
}
func (*GetVideosRequest) Descriptor
deprecated
func (*GetVideosRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVideosRequest.ProtoReflect.Descriptor instead.
func (*GetVideosRequest) ProtoMessage ¶
func (*GetVideosRequest) ProtoMessage()
func (*GetVideosRequest) ProtoReflect ¶
func (x *GetVideosRequest) ProtoReflect() protoreflect.Message
func (*GetVideosRequest) Reset ¶
func (x *GetVideosRequest) Reset()
func (*GetVideosRequest) String ¶
func (x *GetVideosRequest) String() string
type GetVideosResponse ¶
type GetVideosResponse struct { Videos []*Video `protobuf:"bytes,1,rep,name=videos,proto3" json:"videos,omitempty"` // contains filtered or unexported fields }
func (*GetVideosResponse) Descriptor
deprecated
func (*GetVideosResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVideosResponse.ProtoReflect.Descriptor instead.
func (*GetVideosResponse) GetVideos ¶
func (x *GetVideosResponse) GetVideos() []*Video
func (*GetVideosResponse) ProtoMessage ¶
func (*GetVideosResponse) ProtoMessage()
func (*GetVideosResponse) ProtoReflect ¶
func (x *GetVideosResponse) ProtoReflect() protoreflect.Message
func (*GetVideosResponse) Reset ¶
func (x *GetVideosResponse) Reset()
func (*GetVideosResponse) String ¶
func (x *GetVideosResponse) String() string
type HelloRequest ¶
type HelloRequest struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetBody ¶
func (x *HelloRequest) GetBody() string
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type HelloResponse ¶
type HelloResponse struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*HelloResponse) Descriptor
deprecated
func (*HelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.
func (*HelloResponse) GetBody ¶
func (x *HelloResponse) GetBody() string
func (*HelloResponse) ProtoMessage ¶
func (*HelloResponse) ProtoMessage()
func (*HelloResponse) ProtoReflect ¶
func (x *HelloResponse) ProtoReflect() protoreflect.Message
func (*HelloResponse) Reset ¶
func (x *HelloResponse) Reset()
func (*HelloResponse) String ¶
func (x *HelloResponse) String() string
type MappingTable ¶
type MappingTable struct { Rows []*MappingTableRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
func (*MappingTable) Descriptor
deprecated
func (*MappingTable) Descriptor() ([]byte, []int)
Deprecated: Use MappingTable.ProtoReflect.Descriptor instead.
func (*MappingTable) GetRows ¶
func (x *MappingTable) GetRows() []*MappingTableRow
func (*MappingTable) ProtoMessage ¶
func (*MappingTable) ProtoMessage()
func (*MappingTable) ProtoReflect ¶
func (x *MappingTable) ProtoReflect() protoreflect.Message
func (*MappingTable) Reset ¶
func (x *MappingTable) Reset()
func (*MappingTable) String ¶
func (x *MappingTable) String() string
type MappingTableRow ¶
type MappingTableRow struct { PrId int32 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"` PaperArxivIds []string `protobuf:"bytes,2,rep,name=paper_arxiv_ids,json=paperArxivIds,proto3" json:"paper_arxiv_ids,omitempty"` YoutubeVideoId string `protobuf:"bytes,3,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` // contains filtered or unexported fields }
func (*MappingTableRow) Descriptor
deprecated
func (*MappingTableRow) Descriptor() ([]byte, []int)
Deprecated: Use MappingTableRow.ProtoReflect.Descriptor instead.
func (*MappingTableRow) GetPaperArxivIds ¶
func (x *MappingTableRow) GetPaperArxivIds() []string
func (*MappingTableRow) GetPrId ¶
func (x *MappingTableRow) GetPrId() int32
func (*MappingTableRow) GetYoutubeVideoId ¶
func (x *MappingTableRow) GetYoutubeVideoId() string
func (*MappingTableRow) ProtoMessage ¶
func (*MappingTableRow) ProtoMessage()
func (*MappingTableRow) ProtoReflect ¶
func (x *MappingTableRow) ProtoReflect() protoreflect.Message
func (*MappingTableRow) Reset ¶
func (x *MappingTableRow) Reset()
func (*MappingTableRow) String ¶
func (x *MappingTableRow) String() string
type Method ¶
type Method struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Method) Descriptor
deprecated
func (*Method) GetDescription ¶
func (*Method) GetFullName ¶
func (*Method) ProtoMessage ¶
func (*Method) ProtoMessage()
func (*Method) ProtoReflect ¶
func (x *Method) ProtoReflect() protoreflect.Message
type Paper ¶
type Paper struct { PaperId string `protobuf:"bytes,1,opt,name=paper_id,json=paperId,proto3" json:"paper_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` ArxivId string `protobuf:"bytes,3,opt,name=arxiv_id,json=arxivId,proto3" json:"arxiv_id,omitempty"` Abstract string `protobuf:"bytes,4,opt,name=abstract,proto3" json:"abstract,omitempty"` PublishedDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"` Authors []string `protobuf:"bytes,6,rep,name=authors,proto3" json:"authors,omitempty"` Repositories []*Repository `protobuf:"bytes,7,rep,name=repositories,proto3" json:"repositories,omitempty"` Methods []*Method `protobuf:"bytes,8,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*Paper) Descriptor
deprecated
func (*Paper) GetAbstract ¶
func (*Paper) GetArxivId ¶
func (*Paper) GetAuthors ¶
func (*Paper) GetMethods ¶
func (*Paper) GetPaperId ¶
func (*Paper) GetPublishedDate ¶
func (x *Paper) GetPublishedDate() *timestamppb.Timestamp
func (*Paper) GetRepositories ¶
func (x *Paper) GetRepositories() []*Repository
func (*Paper) ProtoMessage ¶
func (*Paper) ProtoMessage()
func (*Paper) ProtoReflect ¶
func (x *Paper) ProtoReflect() protoreflect.Message
type Pr12ErServiceClient ¶
type Pr12ErServiceClient interface { // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME GetHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error) GetVideos(ctx context.Context, in *GetVideosRequest, opts ...grpc.CallOption) (*GetVideosResponse, error) GetDetail(ctx context.Context, in *GetDetailRequest, opts ...grpc.CallOption) (*GetDetailResponse, error) // Report is a RPC for a bug report or a PR Video missing report. Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) }
Pr12ErServiceClient is the client API for Pr12ErService 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 NewPr12ErServiceClient ¶
func NewPr12ErServiceClient(cc grpc.ClientConnInterface) Pr12ErServiceClient
type Pr12ErServiceServer ¶
type Pr12ErServiceServer interface { // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME GetHello(context.Context, *HelloRequest) (*HelloResponse, error) GetVideos(context.Context, *GetVideosRequest) (*GetVideosResponse, error) GetDetail(context.Context, *GetDetailRequest) (*GetDetailResponse, error) // Report is a RPC for a bug report or a PR Video missing report. Report(context.Context, *ReportRequest) (*ReportResponse, error) // contains filtered or unexported methods }
Pr12ErServiceServer is the server API for Pr12ErService service. All implementations must embed UnimplementedPr12ErServiceServer for forward compatibility
type PrVideo ¶
type PrVideo struct { PrId int32 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"` // 관련도에 따라 정렬 Papers []*Paper `protobuf:"bytes,2,rep,name=papers,proto3" json:"papers,omitempty"` Video *YouTubeVideo `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` // contains filtered or unexported fields }
PR영상의 하나의 레코드
func (*PrVideo) Descriptor
deprecated
func (*PrVideo) GetVideo ¶
func (x *PrVideo) GetVideo() *YouTubeVideo
func (*PrVideo) ProtoMessage ¶
func (*PrVideo) ProtoMessage()
func (*PrVideo) ProtoReflect ¶
func (x *PrVideo) ProtoReflect() protoreflect.Message
type ReportRequest ¶
type ReportRequest struct { Type ReportRequest_ReportType `protobuf:"varint,1,opt,name=type,proto3,enum=pkg.pr12er.ReportRequest_ReportType" json:"type,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*ReportRequest) Descriptor
deprecated
func (*ReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportRequest.ProtoReflect.Descriptor instead.
func (*ReportRequest) GetBody ¶
func (x *ReportRequest) GetBody() string
func (*ReportRequest) GetType ¶
func (x *ReportRequest) GetType() ReportRequest_ReportType
func (*ReportRequest) ProtoMessage ¶
func (*ReportRequest) ProtoMessage()
func (*ReportRequest) ProtoReflect ¶
func (x *ReportRequest) ProtoReflect() protoreflect.Message
func (*ReportRequest) Reset ¶
func (x *ReportRequest) Reset()
func (*ReportRequest) String ¶
func (x *ReportRequest) String() string
type ReportRequest_ReportType ¶
type ReportRequest_ReportType int32
const ( ReportRequest_REPORT_TYPE_UNSPECIFIED ReportRequest_ReportType = 0 ReportRequest_REPORT_TYPE_MISSING_PR_VIDEO ReportRequest_ReportType = 1 ReportRequest_REPORT_TYPE_BUG ReportRequest_ReportType = 2 )
func (ReportRequest_ReportType) Descriptor ¶
func (ReportRequest_ReportType) Descriptor() protoreflect.EnumDescriptor
func (ReportRequest_ReportType) Enum ¶
func (x ReportRequest_ReportType) Enum() *ReportRequest_ReportType
func (ReportRequest_ReportType) EnumDescriptor
deprecated
func (ReportRequest_ReportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReportRequest_ReportType.Descriptor instead.
func (ReportRequest_ReportType) Number ¶
func (x ReportRequest_ReportType) Number() protoreflect.EnumNumber
func (ReportRequest_ReportType) String ¶
func (x ReportRequest_ReportType) String() string
func (ReportRequest_ReportType) Type ¶
func (ReportRequest_ReportType) Type() protoreflect.EnumType
type ReportResponse ¶
type ReportResponse struct { IssueUrl string `protobuf:"bytes,1,opt,name=issue_url,json=issueUrl,proto3" json:"issue_url,omitempty"` // contains filtered or unexported fields }
func (*ReportResponse) Descriptor
deprecated
func (*ReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportResponse.ProtoReflect.Descriptor instead.
func (*ReportResponse) GetIssueUrl ¶
func (x *ReportResponse) GetIssueUrl() string
func (*ReportResponse) ProtoMessage ¶
func (*ReportResponse) ProtoMessage()
func (*ReportResponse) ProtoReflect ¶
func (x *ReportResponse) ProtoReflect() protoreflect.Message
func (*ReportResponse) Reset ¶
func (x *ReportResponse) Reset()
func (*ReportResponse) String ¶
func (x *ReportResponse) String() string
type Repository ¶
type Repository struct { IsOfficial bool `protobuf:"varint,1,opt,name=is_official,json=isOfficial,proto3" json:"is_official,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Framework Framework `protobuf:"varint,4,opt,name=framework,proto3,enum=pkg.pr12er.Framework" json:"framework,omitempty"` NumberOfStars int64 `protobuf:"varint,5,opt,name=number_of_stars,json=numberOfStars,proto3" json:"number_of_stars,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetDescription ¶
func (x *Repository) GetDescription() string
func (*Repository) GetFramework ¶
func (x *Repository) GetFramework() Framework
func (*Repository) GetIsOfficial ¶
func (x *Repository) GetIsOfficial() bool
func (*Repository) GetNumberOfStars ¶
func (x *Repository) GetNumberOfStars() int64
func (*Repository) GetOwner ¶
func (x *Repository) GetOwner() string
func (*Repository) GetUrl ¶
func (x *Repository) GetUrl() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type UnimplementedPr12ErServiceServer ¶
type UnimplementedPr12ErServiceServer struct{}
UnimplementedPr12ErServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPr12ErServiceServer) GetDetail ¶
func (UnimplementedPr12ErServiceServer) GetDetail(context.Context, *GetDetailRequest) (*GetDetailResponse, error)
func (UnimplementedPr12ErServiceServer) GetHello ¶
func (UnimplementedPr12ErServiceServer) GetHello(context.Context, *HelloRequest) (*HelloResponse, error)
func (UnimplementedPr12ErServiceServer) GetVideos ¶
func (UnimplementedPr12ErServiceServer) GetVideos(context.Context, *GetVideosRequest) (*GetVideosResponse, error)
func (UnimplementedPr12ErServiceServer) Report ¶
func (UnimplementedPr12ErServiceServer) Report(context.Context, *ReportRequest) (*ReportResponse, error)
type UnsafePr12ErServiceServer ¶
type UnsafePr12ErServiceServer interface {
// contains filtered or unexported methods
}
UnsafePr12ErServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Pr12ErServiceServer will result in compilation errors.
type Video ¶
type Video struct { PrId int32 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Presenter string `protobuf:"bytes,4,opt,name=presenter,proto3" json:"presenter,omitempty"` Category Category `protobuf:"varint,5,opt,name=category,proto3,enum=pkg.pr12er.Category" json:"category,omitempty"` NumberOfLike int64 `protobuf:"varint,6,opt,name=number_of_like,json=numberOfLike,proto3" json:"number_of_like,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` NumberOfViews int64 `protobuf:"varint,8,opt,name=number_of_views,json=numberOfViews,proto3" json:"number_of_views,omitempty"` PublishedDate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"` // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetCategory ¶
func (*Video) GetKeywords ¶
func (*Video) GetNumberOfLike ¶
func (*Video) GetNumberOfViews ¶
func (*Video) GetPresenter ¶
func (*Video) GetPublishedDate ¶
func (x *Video) GetPublishedDate() *timestamppb.Timestamp
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
type YouTubeVideo ¶
type YouTubeVideo struct { VideoId string `protobuf:"bytes,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` VideoTitle string `protobuf:"bytes,2,opt,name=video_title,json=videoTitle,proto3" json:"video_title,omitempty"` NumberOfLikes int64 `protobuf:"varint,3,opt,name=number_of_likes,json=numberOfLikes,proto3" json:"number_of_likes,omitempty"` NumberOfViews int64 `protobuf:"varint,4,opt,name=number_of_views,json=numberOfViews,proto3" json:"number_of_views,omitempty"` PublishedDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"` Uploader string `protobuf:"bytes,6,opt,name=uploader,proto3" json:"uploader,omitempty"` // contains filtered or unexported fields }
유튜브 1편에 대한 정보 `pkg.pr12er.Video` 생성하기 위해 사용됩니다.
func (*YouTubeVideo) Descriptor
deprecated
func (*YouTubeVideo) Descriptor() ([]byte, []int)
Deprecated: Use YouTubeVideo.ProtoReflect.Descriptor instead.
func (*YouTubeVideo) GetNumberOfLikes ¶
func (x *YouTubeVideo) GetNumberOfLikes() int64
func (*YouTubeVideo) GetNumberOfViews ¶
func (x *YouTubeVideo) GetNumberOfViews() int64
func (*YouTubeVideo) GetPublishedDate ¶
func (x *YouTubeVideo) GetPublishedDate() *timestamppb.Timestamp
func (*YouTubeVideo) GetUploader ¶
func (x *YouTubeVideo) GetUploader() string
func (*YouTubeVideo) GetVideoId ¶
func (x *YouTubeVideo) GetVideoId() string
func (*YouTubeVideo) GetVideoTitle ¶
func (x *YouTubeVideo) GetVideoTitle() string
func (*YouTubeVideo) ProtoMessage ¶
func (*YouTubeVideo) ProtoMessage()
func (*YouTubeVideo) ProtoReflect ¶
func (x *YouTubeVideo) ProtoReflect() protoreflect.Message
func (*YouTubeVideo) Reset ¶
func (x *YouTubeVideo) Reset()
func (*YouTubeVideo) String ¶
func (x *YouTubeVideo) String() string