pr12er

package
v0.0.0-...-50c32d2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var File_pkg_pr12er_database_proto protoreflect.FileDescriptor
View Source
var File_pkg_pr12er_messages_proto protoreflect.FileDescriptor
View Source
var File_pkg_pr12er_service_proto protoreflect.FileDescriptor
View Source
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
const (
	Category_CATEGORY_UNSPECIFIED Category = 0
	Category_CATEGORY_VISION      Category = 1
	Category_CATEGORY_NLP         Category = 2
	Category_CATEGORY_OCR         Category = 3
	Category_CATEGORY_AUDIO       Category = 4
	Category_CATEGORY_RS          Category = 5
)

func (Category) Descriptor

func (Category) Descriptor() protoreflect.EnumDescriptor

func (Category) Enum

func (x Category) Enum() *Category

func (Category) EnumDescriptor deprecated

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

Deprecated: Use Category.Descriptor instead.

func (Category) Number

func (x Category) Number() protoreflect.EnumNumber

func (Category) String

func (x Category) String() string

func (Category) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetPrIdToVideo

func (x *Database) GetPrIdToVideo() map[int32]*PrVideo

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) String

func (x *Database) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Detail.ProtoReflect.Descriptor instead.

func (*Detail) GetPapers

func (x *Detail) GetPapers() []*Paper

func (*Detail) GetPrId

func (x *Detail) GetPrId() int32

func (*Detail) GetRelevantPapers

func (x *Detail) GetRelevantPapers() []*Paper

func (*Detail) GetSameAuthorPapers

func (x *Detail) GetSameAuthorPapers() []*Paper

func (*Detail) ProtoMessage

func (*Detail) ProtoMessage()

func (*Detail) ProtoReflect

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

func (*Detail) Reset

func (x *Detail) Reset()

func (*Detail) String

func (x *Detail) String() string

type Framework

type Framework int32
const (
	Framework_FRAMEWORK_UNSPECIFIED Framework = 0
	Framework_FRAMEWORK_TENSORFLOW  Framework = 1
	Framework_FRAMEWORK_PYTORCH     Framework = 2
	Framework_FRAMEWORK_OTHERS      Framework = 3
)

func (Framework) Descriptor

func (Framework) Descriptor() protoreflect.EnumDescriptor

func (Framework) Enum

func (x Framework) Enum() *Framework

func (Framework) EnumDescriptor deprecated

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

Deprecated: Use Framework.Descriptor instead.

func (Framework) Number

func (x Framework) Number() protoreflect.EnumNumber

func (Framework) String

func (x Framework) String() string

func (Framework) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Method.ProtoReflect.Descriptor instead.

func (*Method) GetDescription

func (x *Method) GetDescription() string

func (*Method) GetFullName

func (x *Method) GetFullName() string

func (*Method) GetName

func (x *Method) GetName() string

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) ProtoReflect

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

func (*Method) Reset

func (x *Method) Reset()

func (*Method) String

func (x *Method) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Paper.ProtoReflect.Descriptor instead.

func (*Paper) GetAbstract

func (x *Paper) GetAbstract() string

func (*Paper) GetArxivId

func (x *Paper) GetArxivId() string

func (*Paper) GetAuthors

func (x *Paper) GetAuthors() []string

func (*Paper) GetMethods

func (x *Paper) GetMethods() []*Method

func (*Paper) GetPaperId

func (x *Paper) GetPaperId() string

func (*Paper) GetPublishedDate

func (x *Paper) GetPublishedDate() *timestamppb.Timestamp

func (*Paper) GetRepositories

func (x *Paper) GetRepositories() []*Repository

func (*Paper) GetTitle

func (x *Paper) GetTitle() string

func (*Paper) ProtoMessage

func (*Paper) ProtoMessage()

func (*Paper) ProtoReflect

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

func (*Paper) Reset

func (x *Paper) Reset()

func (*Paper) String

func (x *Paper) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use PrVideo.ProtoReflect.Descriptor instead.

func (*PrVideo) GetPapers

func (x *PrVideo) GetPapers() []*Paper

func (*PrVideo) GetPrId

func (x *PrVideo) GetPrId() int32

func (*PrVideo) GetVideo

func (x *PrVideo) GetVideo() *YouTubeVideo

func (*PrVideo) ProtoMessage

func (*PrVideo) ProtoMessage()

func (*PrVideo) ProtoReflect

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

func (*PrVideo) Reset

func (x *PrVideo) Reset()

func (*PrVideo) String

func (x *PrVideo) String() string

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 (*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) Enum

func (ReportRequest_ReportType) EnumDescriptor deprecated

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

Deprecated: Use ReportRequest_ReportType.Descriptor instead.

func (ReportRequest_ReportType) Number

func (ReportRequest_ReportType) String

func (x ReportRequest_ReportType) String() string

func (ReportRequest_ReportType) Type

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) GetHello

func (UnimplementedPr12ErServiceServer) GetVideos

func (UnimplementedPr12ErServiceServer) Report

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) Descriptor() ([]byte, []int)

Deprecated: Use Video.ProtoReflect.Descriptor instead.

func (*Video) GetCategory

func (x *Video) GetCategory() Category

func (*Video) GetKeywords

func (x *Video) GetKeywords() []string
func (x *Video) GetLink() string

func (*Video) GetNumberOfLike

func (x *Video) GetNumberOfLike() int64

func (*Video) GetNumberOfViews

func (x *Video) GetNumberOfViews() int64

func (*Video) GetPrId

func (x *Video) GetPrId() int32

func (*Video) GetPresenter

func (x *Video) GetPresenter() string

func (*Video) GetPublishedDate

func (x *Video) GetPublishedDate() *timestamppb.Timestamp

func (*Video) GetTitle

func (x *Video) GetTitle() string

func (*Video) ProtoMessage

func (*Video) ProtoMessage()

func (*Video) ProtoReflect

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

func (*Video) Reset

func (x *Video) Reset()

func (*Video) String

func (x *Video) String() string

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

Jump to

Keyboard shortcuts

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