datapb

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TimeIntervalType_name = map[int32]string{
		0: "TIME_INTERVAL_TYPE_UNSPECIFIED",
		1: "TIME_INTERVAL_TYPE_YEAR",
		2: "TIME_INTERVAL_TYPE_QUARTER",
		3: "TIME_INTERVAL_TYPE_MONTH",
		4: "TIME_INTERVAL_TYPE_DAY",
		5: "TIME_INTERVAL_TYPE_ALL",
	}
	TimeIntervalType_value = map[string]int32{
		"TIME_INTERVAL_TYPE_UNSPECIFIED": 0,
		"TIME_INTERVAL_TYPE_YEAR":        1,
		"TIME_INTERVAL_TYPE_QUARTER":     2,
		"TIME_INTERVAL_TYPE_MONTH":       3,
		"TIME_INTERVAL_TYPE_DAY":         4,
		"TIME_INTERVAL_TYPE_ALL":         5,
	}
)

Enum value maps for TimeIntervalType.

View Source
var (
	RepoOwnerType_name = map[int32]string{
		0: "REPO_OWNER_TYPE_UNSPECIFIED",
		1: "REPO_OWNER_TYPE_USER",
		2: "REPO_OWNER_TYPE_ORG",
	}
	RepoOwnerType_value = map[string]int32{
		"REPO_OWNER_TYPE_UNSPECIFIED": 0,
		"REPO_OWNER_TYPE_USER":        1,
		"REPO_OWNER_TYPE_ORG":         2,
	}
)

Enum value maps for RepoOwnerType.

View Source
var File_datapb_analytics_proto protoreflect.FileDescriptor
View Source
var File_datapb_enums_proto protoreflect.FileDescriptor
View Source
var File_datapb_owner_proto protoreflect.FileDescriptor
View Source
var File_datapb_repository_proto protoreflect.FileDescriptor
View Source
var File_datapb_stargazer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DataPoint

type DataPoint struct {
	X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32  `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*DataPoint) Descriptor deprecated

func (*DataPoint) Descriptor() ([]byte, []int)

Deprecated: Use DataPoint.ProtoReflect.Descriptor instead.

func (*DataPoint) GetX

func (x *DataPoint) GetX() string

func (*DataPoint) GetY

func (x *DataPoint) GetY() int32

func (*DataPoint) ProtoMessage

func (*DataPoint) ProtoMessage()

func (*DataPoint) ProtoReflect

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

func (*DataPoint) Reset

func (x *DataPoint) Reset()

func (*DataPoint) String

func (x *DataPoint) String() string

type Owner

type Owner struct {
	OwnerLogin           string                 `protobuf:"bytes,1,opt,name=owner_login,json=ownerLogin,proto3" json:"owner_login,omitempty"`
	OwnerId              int64                  `protobuf:"varint,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	OwnerNodeId          string                 `protobuf:"bytes,3,opt,name=owner_node_id,json=ownerNodeId,proto3" json:"owner_node_id,omitempty"`
	OwnerGravatarId      string                 `protobuf:"bytes,4,opt,name=owner_gravatar_id,json=ownerGravatarId,proto3" json:"owner_gravatar_id,omitempty"`
	OwnerType            RepoOwnerType          `protobuf:"varint,5,opt,name=owner_type,json=ownerType,proto3,enum=datapb.RepoOwnerType" json:"owner_type,omitempty"`
	OwnerSiteAdmin       bool                   `protobuf:"varint,6,opt,name=owner_site_admin,json=ownerSiteAdmin,proto3" json:"owner_site_admin,omitempty"`
	OwnerName            string                 `protobuf:"bytes,7,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	OwnerCompany         string                 `protobuf:"bytes,8,opt,name=owner_company,json=ownerCompany,proto3" json:"owner_company,omitempty"`
	OwnerBlog            string                 `protobuf:"bytes,9,opt,name=owner_blog,json=ownerBlog,proto3" json:"owner_blog,omitempty"`
	OwnerLocation        string                 `protobuf:"bytes,10,opt,name=owner_location,json=ownerLocation,proto3" json:"owner_location,omitempty"`
	OwnerEmail           string                 `protobuf:"bytes,11,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"`
	OwnerHireable        bool                   `protobuf:"varint,12,opt,name=owner_hireable,json=ownerHireable,proto3" json:"owner_hireable,omitempty"`
	OwnerBio             string                 `protobuf:"bytes,13,opt,name=owner_bio,json=ownerBio,proto3" json:"owner_bio,omitempty"`
	OwnerTwitterUsername string                 `protobuf:"bytes,14,opt,name=owner_twitter_username,json=ownerTwitterUsername,proto3" json:"owner_twitter_username,omitempty"`
	OwnerPublicRepos     int32                  `protobuf:"varint,15,opt,name=owner_public_repos,json=ownerPublicRepos,proto3" json:"owner_public_repos,omitempty"`
	OwnerPublicGists     int32                  `protobuf:"varint,16,opt,name=owner_public_gists,json=ownerPublicGists,proto3" json:"owner_public_gists,omitempty"`
	OwnerFollowers       int32                  `protobuf:"varint,17,opt,name=owner_followers,json=ownerFollowers,proto3" json:"owner_followers,omitempty"`
	OwnerFollowing       int32                  `protobuf:"varint,18,opt,name=owner_following,json=ownerFollowing,proto3" json:"owner_following,omitempty"`
	OwnerCreatedAt       *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=owner_created_at,json=ownerCreatedAt,proto3" json:"owner_created_at,omitempty"`
	OwnerUpdatedAt       *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=owner_updated_at,json=ownerUpdatedAt,proto3" json:"owner_updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Owner) Descriptor deprecated

func (*Owner) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetOwnerBio

func (x *Owner) GetOwnerBio() string

func (*Owner) GetOwnerBlog

func (x *Owner) GetOwnerBlog() string

func (*Owner) GetOwnerCompany

func (x *Owner) GetOwnerCompany() string

func (*Owner) GetOwnerCreatedAt

func (x *Owner) GetOwnerCreatedAt() *timestamppb.Timestamp

func (*Owner) GetOwnerEmail

func (x *Owner) GetOwnerEmail() string

func (*Owner) GetOwnerFollowers

func (x *Owner) GetOwnerFollowers() int32

func (*Owner) GetOwnerFollowing

func (x *Owner) GetOwnerFollowing() int32

func (*Owner) GetOwnerGravatarId

func (x *Owner) GetOwnerGravatarId() string

func (*Owner) GetOwnerHireable

func (x *Owner) GetOwnerHireable() bool

func (*Owner) GetOwnerId

func (x *Owner) GetOwnerId() int64

func (*Owner) GetOwnerLocation

func (x *Owner) GetOwnerLocation() string

func (*Owner) GetOwnerLogin

func (x *Owner) GetOwnerLogin() string

func (*Owner) GetOwnerName

func (x *Owner) GetOwnerName() string

func (*Owner) GetOwnerNodeId

func (x *Owner) GetOwnerNodeId() string

func (*Owner) GetOwnerPublicGists

func (x *Owner) GetOwnerPublicGists() int32

func (*Owner) GetOwnerPublicRepos

func (x *Owner) GetOwnerPublicRepos() int32

func (*Owner) GetOwnerSiteAdmin

func (x *Owner) GetOwnerSiteAdmin() bool

func (*Owner) GetOwnerTwitterUsername

func (x *Owner) GetOwnerTwitterUsername() string

func (*Owner) GetOwnerType

func (x *Owner) GetOwnerType() RepoOwnerType

func (*Owner) GetOwnerUpdatedAt

func (x *Owner) GetOwnerUpdatedAt() *timestamppb.Timestamp

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

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

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

type RepoOwnerType

type RepoOwnerType int32
const (
	RepoOwnerType_REPO_OWNER_TYPE_UNSPECIFIED RepoOwnerType = 0
	// User
	RepoOwnerType_REPO_OWNER_TYPE_USER RepoOwnerType = 1
	// Organization
	RepoOwnerType_REPO_OWNER_TYPE_ORG RepoOwnerType = 2
)

func (RepoOwnerType) Descriptor

func (RepoOwnerType) Enum

func (x RepoOwnerType) Enum() *RepoOwnerType

func (RepoOwnerType) EnumDescriptor deprecated

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

Deprecated: Use RepoOwnerType.Descriptor instead.

func (RepoOwnerType) Number

func (RepoOwnerType) String

func (x RepoOwnerType) String() string

func (RepoOwnerType) Type

type Repository

type Repository struct {
	RepoId              int64                  `protobuf:"varint,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	RepoNodeId          string                 `protobuf:"bytes,2,opt,name=repo_node_id,json=repoNodeId,proto3" json:"repo_node_id,omitempty"`
	RepoName            string                 `protobuf:"bytes,3,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	RepoFullName        string                 `protobuf:"bytes,4,opt,name=repo_full_name,json=repoFullName,proto3" json:"repo_full_name,omitempty"`
	RepoDescription     string                 `protobuf:"bytes,5,opt,name=repo_description,json=repoDescription,proto3" json:"repo_description,omitempty"`
	RepoHomepage        string                 `protobuf:"bytes,6,opt,name=repo_homepage,json=repoHomepage,proto3" json:"repo_homepage,omitempty"`
	RepoDefaultBranch   string                 `protobuf:"bytes,7,opt,name=repo_default_branch,json=repoDefaultBranch,proto3" json:"repo_default_branch,omitempty"`
	RepoCreatedAt       *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=repo_created_at,json=repoCreatedAt,proto3" json:"repo_created_at,omitempty"`
	RepoPushedAt        *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=repo_pushed_at,json=repoPushedAt,proto3" json:"repo_pushed_at,omitempty"`
	RepoUpdatedAt       *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=repo_updated_at,json=repoUpdatedAt,proto3" json:"repo_updated_at,omitempty"`
	RepoFork            bool                   `protobuf:"varint,11,opt,name=repo_fork,json=repoFork,proto3" json:"repo_fork,omitempty"`
	RepoForksCount      int32                  `protobuf:"varint,12,opt,name=repo_forks_count,json=repoForksCount,proto3" json:"repo_forks_count,omitempty"`
	RepoOpenIssuesCount int32                  `protobuf:"varint,13,opt,name=repo_open_issues_count,json=repoOpenIssuesCount,proto3" json:"repo_open_issues_count,omitempty"`
	RepoStargazersCount int32                  `protobuf:"varint,14,opt,name=repo_stargazers_count,json=repoStargazersCount,proto3" json:"repo_stargazers_count,omitempty"`
	RepoSize            int32                  `protobuf:"varint,15,opt,name=repo_size,json=repoSize,proto3" json:"repo_size,omitempty"`
	RepoArchived        bool                   `protobuf:"varint,16,opt,name=repo_archived,json=repoArchived,proto3" json:"repo_archived,omitempty"`
	RepoHasIssues       bool                   `protobuf:"varint,17,opt,name=repo_has_issues,json=repoHasIssues,proto3" json:"repo_has_issues,omitempty"`
	RepoHasWiki         bool                   `protobuf:"varint,18,opt,name=repo_has_wiki,json=repoHasWiki,proto3" json:"repo_has_wiki,omitempty"`
	RepoHasPages        bool                   `protobuf:"varint,19,opt,name=repo_has_pages,json=repoHasPages,proto3" json:"repo_has_pages,omitempty"`
	RepoHasProjects     bool                   `protobuf:"varint,20,opt,name=repo_has_projects,json=repoHasProjects,proto3" json:"repo_has_projects,omitempty"`
	RepoHasDownloads    bool                   `protobuf:"varint,21,opt,name=repo_has_downloads,json=repoHasDownloads,proto3" json:"repo_has_downloads,omitempty"`
	RepoLicenseKey      string                 `protobuf:"bytes,22,opt,name=repo_license_key,json=repoLicenseKey,proto3" json:"repo_license_key,omitempty"`
	RepoTopics          []string               `protobuf:"bytes,23,rep,name=repo_topics,json=repoTopics,proto3" json:"repo_topics,omitempty"`
	RepoOwnerLogin      string                 `protobuf:"bytes,24,opt,name=repo_owner_login,json=repoOwnerLogin,proto3" json:"repo_owner_login,omitempty"`
	RepoOwnerId         int64                  `protobuf:"varint,25,opt,name=repo_owner_id,json=repoOwnerId,proto3" json:"repo_owner_id,omitempty"`
	RepoOwnerNodeId     string                 `protobuf:"bytes,26,opt,name=repo_owner_node_id,json=repoOwnerNodeId,proto3" json:"repo_owner_node_id,omitempty"`
	RepoOwnerType       RepoOwnerType          `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Repository) Descriptor deprecated

func (*Repository) Descriptor() ([]byte, []int)

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetRepoArchived

func (x *Repository) GetRepoArchived() bool

func (*Repository) GetRepoCreatedAt

func (x *Repository) GetRepoCreatedAt() *timestamppb.Timestamp

func (*Repository) GetRepoDefaultBranch

func (x *Repository) GetRepoDefaultBranch() string

func (*Repository) GetRepoDescription

func (x *Repository) GetRepoDescription() string

func (*Repository) GetRepoFork

func (x *Repository) GetRepoFork() bool

func (*Repository) GetRepoForksCount

func (x *Repository) GetRepoForksCount() int32

func (*Repository) GetRepoFullName

func (x *Repository) GetRepoFullName() string

func (*Repository) GetRepoHasDownloads

func (x *Repository) GetRepoHasDownloads() bool

func (*Repository) GetRepoHasIssues

func (x *Repository) GetRepoHasIssues() bool

func (*Repository) GetRepoHasPages

func (x *Repository) GetRepoHasPages() bool

func (*Repository) GetRepoHasProjects

func (x *Repository) GetRepoHasProjects() bool

func (*Repository) GetRepoHasWiki

func (x *Repository) GetRepoHasWiki() bool

func (*Repository) GetRepoHomepage

func (x *Repository) GetRepoHomepage() string

func (*Repository) GetRepoId

func (x *Repository) GetRepoId() int64

func (*Repository) GetRepoLicenseKey

func (x *Repository) GetRepoLicenseKey() string

func (*Repository) GetRepoName

func (x *Repository) GetRepoName() string

func (*Repository) GetRepoNodeId

func (x *Repository) GetRepoNodeId() string

func (*Repository) GetRepoOpenIssuesCount

func (x *Repository) GetRepoOpenIssuesCount() int32

func (*Repository) GetRepoOwnerId

func (x *Repository) GetRepoOwnerId() int64

func (*Repository) GetRepoOwnerLogin

func (x *Repository) GetRepoOwnerLogin() string

func (*Repository) GetRepoOwnerNodeId

func (x *Repository) GetRepoOwnerNodeId() string

func (*Repository) GetRepoOwnerType

func (x *Repository) GetRepoOwnerType() RepoOwnerType

func (*Repository) GetRepoPushedAt

func (x *Repository) GetRepoPushedAt() *timestamppb.Timestamp

func (*Repository) GetRepoSize

func (x *Repository) GetRepoSize() int32

func (*Repository) GetRepoStargazersCount

func (x *Repository) GetRepoStargazersCount() int32

func (*Repository) GetRepoTopics

func (x *Repository) GetRepoTopics() []string

func (*Repository) GetRepoUpdatedAt

func (x *Repository) GetRepoUpdatedAt() *timestamppb.Timestamp

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 Stargazer

type Stargazer struct {
	StargazerRepoId    int64                  `protobuf:"varint,1,opt,name=stargazer_repo_id,json=stargazerRepoId,proto3" json:"stargazer_repo_id,omitempty"`
	StargazerOwnerId   int64                  `protobuf:"varint,2,opt,name=stargazer_owner_id,json=stargazerOwnerId,proto3" json:"stargazer_owner_id,omitempty"`
	StargazerStarredAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=stargazer_starred_at,json=stargazerStarredAt,proto3" json:"stargazer_starred_at,omitempty"`
	StargazerCursor    string                 `protobuf:"bytes,4,opt,name=stargazer_cursor,json=stargazerCursor,proto3" json:"stargazer_cursor,omitempty"`
	StargazerLocation  string                 `protobuf:"bytes,5,opt,name=stargazer_location,json=stargazerLocation,proto3" json:"stargazer_location,omitempty"`
	// contains filtered or unexported fields
}

func (*Stargazer) Descriptor deprecated

func (*Stargazer) Descriptor() ([]byte, []int)

Deprecated: Use Stargazer.ProtoReflect.Descriptor instead.

func (*Stargazer) GetStargazerCursor

func (x *Stargazer) GetStargazerCursor() string

func (*Stargazer) GetStargazerLocation

func (x *Stargazer) GetStargazerLocation() string

func (*Stargazer) GetStargazerOwnerId

func (x *Stargazer) GetStargazerOwnerId() int64

func (*Stargazer) GetStargazerRepoId

func (x *Stargazer) GetStargazerRepoId() int64

func (*Stargazer) GetStargazerStarredAt

func (x *Stargazer) GetStargazerStarredAt() *timestamppb.Timestamp

func (*Stargazer) ProtoMessage

func (*Stargazer) ProtoMessage()

func (*Stargazer) ProtoReflect

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

func (*Stargazer) Reset

func (x *Stargazer) Reset()

func (*Stargazer) String

func (x *Stargazer) String() string

type SuggestedRepo

type SuggestedRepo struct {
	RepoFullName   string   `protobuf:"bytes,1,opt,name=repo_full_name,json=repoFullName,proto3" json:"repo_full_name,omitempty"`
	RepoStargazers int32    `protobuf:"varint,2,opt,name=repo_stargazers,json=repoStargazers,proto3" json:"repo_stargazers,omitempty"`
	Topics         []string `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"`
	// contains filtered or unexported fields
}

func (*SuggestedRepo) Descriptor deprecated

func (*SuggestedRepo) Descriptor() ([]byte, []int)

Deprecated: Use SuggestedRepo.ProtoReflect.Descriptor instead.

func (*SuggestedRepo) GetRepoFullName

func (x *SuggestedRepo) GetRepoFullName() string

func (*SuggestedRepo) GetRepoStargazers

func (x *SuggestedRepo) GetRepoStargazers() int32

func (*SuggestedRepo) GetTopics

func (x *SuggestedRepo) GetTopics() []string

func (*SuggestedRepo) ProtoMessage

func (*SuggestedRepo) ProtoMessage()

func (*SuggestedRepo) ProtoReflect

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

func (*SuggestedRepo) Reset

func (x *SuggestedRepo) Reset()

func (*SuggestedRepo) String

func (x *SuggestedRepo) String() string

type TimeIntervalType

type TimeIntervalType int32
const (
	TimeIntervalType_TIME_INTERVAL_TYPE_UNSPECIFIED TimeIntervalType = 0
	TimeIntervalType_TIME_INTERVAL_TYPE_YEAR        TimeIntervalType = 1
	TimeIntervalType_TIME_INTERVAL_TYPE_QUARTER     TimeIntervalType = 2
	TimeIntervalType_TIME_INTERVAL_TYPE_MONTH       TimeIntervalType = 3
	TimeIntervalType_TIME_INTERVAL_TYPE_DAY         TimeIntervalType = 4
	TimeIntervalType_TIME_INTERVAL_TYPE_ALL         TimeIntervalType = 5
)

func (TimeIntervalType) Descriptor

func (TimeIntervalType) Enum

func (TimeIntervalType) EnumDescriptor deprecated

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

Deprecated: Use TimeIntervalType.Descriptor instead.

func (TimeIntervalType) Number

func (TimeIntervalType) String

func (x TimeIntervalType) String() string

func (TimeIntervalType) Type

Jump to

Keyboard shortcuts

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