README

Run "go generate" to rebuild after edits.
Expand ▾ Collapse ▴

Documentation

Overview

    Package apipb is a generated protocol buffer package.

    It is generated from these files:

    api.proto
    

    It has these top-level messages:

    HasAncestorRequest
    HasAncestorResponse
    GetRefRequest
    GetRefResponse
    GoFindTryWorkRequest
    GoFindTryWorkResponse
    GerritTryWorkItem
    TryVoteMessage
    MajorMinor
    ListGoReleasesRequest
    ListGoReleasesResponse
    GoRelease
    DashboardRequest
    DashboardResponse
    DashCommit
    DashRepoHead
    

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func RegisterMaintnerServiceServer

    func RegisterMaintnerServiceServer(s *grpc.Server, srv MaintnerServiceServer)

    Types

    type DashCommit

    type DashCommit struct {
    	// commit is the git commit hash ("26957168c4c0cdcc7ca4f0b19d0eb19474d224ac").
    	Commit string `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
    	// author_name is the git author name part ("Foo Bar").
    	AuthorName string `protobuf:"bytes,2,opt,name=author_name,json=authorName" json:"author_name,omitempty"`
    	// author_email is the git author email part ("foo@bar.com").
    	AuthorEmail string `protobuf:"bytes,3,opt,name=author_email,json=authorEmail" json:"author_email,omitempty"`
    	// commit_time_sec is the timestamp of git commit time, in unix seconds.
    	CommitTimeSec int64 `protobuf:"varint,4,opt,name=commit_time_sec,json=commitTimeSec" json:"commit_time_sec,omitempty"`
    	// title is the git commit's first line ("runtime: fix all the bugs").
    	Title string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"`
    	// branch is the branch this commit was queried from ("master", "release-branch.go1.14")/
    	// This is normally redundant but is useful when DashboardRequest.branch == "mixed".
    	Branch string `protobuf:"bytes,7,opt,name=branch" json:"branch,omitempty"`
    	// For non-go repos, go_commit_at_time is what the Go master commit was at
    	// the time of DashCommit.commit_time.
    	GoCommitAtTime string `protobuf:"bytes,6,opt,name=go_commit_at_time,json=goCommitAtTime" json:"go_commit_at_time,omitempty"`
    	// For non-go repos, go_commit_latest is the most recent Go master commit that's
    	// older than the the following x/foo commit's commit_time.
    	// If DashCommit is the current HEAD, go_commit_at_time can continue to update.
    	// go_commit_at_time might be the same as go_commit_at_time.
    	GoCommitLatest string `protobuf:"bytes,8,opt,name=go_commit_latest,json=goCommitLatest" json:"go_commit_latest,omitempty"`
    }

    func (*DashCommit) Descriptor

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

    func (*DashCommit) GetAuthorEmail

    func (m *DashCommit) GetAuthorEmail() string

    func (*DashCommit) GetAuthorName

    func (m *DashCommit) GetAuthorName() string

    func (*DashCommit) GetBranch

    func (m *DashCommit) GetBranch() string

    func (*DashCommit) GetCommit

    func (m *DashCommit) GetCommit() string

    func (*DashCommit) GetCommitTimeSec

    func (m *DashCommit) GetCommitTimeSec() int64

    func (*DashCommit) GetGoCommitAtTime

    func (m *DashCommit) GetGoCommitAtTime() string

    func (*DashCommit) GetGoCommitLatest

    func (m *DashCommit) GetGoCommitLatest() string

    func (*DashCommit) GetTitle

    func (m *DashCommit) GetTitle() string

    func (*DashCommit) ProtoMessage

    func (*DashCommit) ProtoMessage()

    func (*DashCommit) Reset

    func (m *DashCommit) Reset()

    func (*DashCommit) String

    func (m *DashCommit) String() string

    type DashRepoHead

    type DashRepoHead struct {
    	// gerrit_project is Gerrit project name ("net", "go").
    	GerritProject string `protobuf:"bytes,1,opt,name=gerrit_project,json=gerritProject" json:"gerrit_project,omitempty"`
    	// commit is the current top-level commit in that project.
    	// (currently always on the master branch)
    	Commit *DashCommit `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"`
    }

    func (*DashRepoHead) Descriptor

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

    func (*DashRepoHead) GetCommit

    func (m *DashRepoHead) GetCommit() *DashCommit

    func (*DashRepoHead) GetGerritProject

    func (m *DashRepoHead) GetGerritProject() string

    func (*DashRepoHead) ProtoMessage

    func (*DashRepoHead) ProtoMessage()

    func (*DashRepoHead) Reset

    func (m *DashRepoHead) Reset()

    func (*DashRepoHead) String

    func (m *DashRepoHead) String() string

    type DashboardRequest

    type DashboardRequest struct {
    	// page is the zero-based page number.
    	// TODO: deprecate, replace with time or commit continuation token.
    	Page int32 `protobuf:"varint,1,opt,name=page" json:"page,omitempty"`
    	// repo is which repo to show ("go", "golang.org/x/net", "" means go).
    	Repo string `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
    	// branch specifies which branch to show ("master", "release-branch.go1.13").
    	// Empty means "master".
    	// The special branch value "mixed" means to blend together all branches by commit time.
    	Branch string `protobuf:"bytes,3,opt,name=branch" json:"branch,omitempty"`
    	// max_commits specifies the number of commits that are desired.
    	// Zero means to use a default.
    	MaxCommits int32 `protobuf:"varint,4,opt,name=max_commits,json=maxCommits" json:"max_commits,omitempty"`
    }

    func (*DashboardRequest) Descriptor

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

    func (*DashboardRequest) GetBranch

    func (m *DashboardRequest) GetBranch() string

    func (*DashboardRequest) GetMaxCommits

    func (m *DashboardRequest) GetMaxCommits() int32

    func (*DashboardRequest) GetPage

    func (m *DashboardRequest) GetPage() int32

    func (*DashboardRequest) GetRepo

    func (m *DashboardRequest) GetRepo() string

    func (*DashboardRequest) ProtoMessage

    func (*DashboardRequest) ProtoMessage()

    func (*DashboardRequest) Reset

    func (m *DashboardRequest) Reset()

    func (*DashboardRequest) String

    func (m *DashboardRequest) String() string

    type DashboardResponse

    type DashboardResponse struct {
    	// commits are the commits to display, starting with the newest.
    	Commits []*DashCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
    	// commits_truncated is whether the returned commits were truncated.
    	CommitsTruncated bool `protobuf:"varint,5,opt,name=commits_truncated,json=commitsTruncated" json:"commits_truncated,omitempty"`
    	// repo_heads contains the current head commit (of their master
    	// branch) for every repo on Go's Gerrit server.
    	RepoHeads []*DashRepoHead `protobuf:"bytes,2,rep,name=repo_heads,json=repoHeads" json:"repo_heads,omitempty"`
    	Branches  []string        `protobuf:"bytes,3,rep,name=branches" json:"branches,omitempty"`
    	// releases is the same content is ListGoReleasesResponse, but with the addition of a "master"
    	// release first, containing the info for the "master" branch, which is just commits[0]
    	// if page 0. But if page != 0, the master head wouldn't be
    	// available otherwise, so we denormalize it a bit here:
    	// It's sorted from newest to oldest (master, release-branch.go1.latest, release-branch.go1.prior)
    	// Only the branch_name and branch_commit fields are guaranteed to be populated.
    	Releases []*GoRelease `protobuf:"bytes,4,rep,name=releases" json:"releases,omitempty"`
    }

    func (*DashboardResponse) Descriptor

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

    func (*DashboardResponse) GetBranches

    func (m *DashboardResponse) GetBranches() []string

    func (*DashboardResponse) GetCommits

    func (m *DashboardResponse) GetCommits() []*DashCommit

    func (*DashboardResponse) GetCommitsTruncated

    func (m *DashboardResponse) GetCommitsTruncated() bool

    func (*DashboardResponse) GetReleases

    func (m *DashboardResponse) GetReleases() []*GoRelease

    func (*DashboardResponse) GetRepoHeads

    func (m *DashboardResponse) GetRepoHeads() []*DashRepoHead

    func (*DashboardResponse) ProtoMessage

    func (*DashboardResponse) ProtoMessage()

    func (*DashboardResponse) Reset

    func (m *DashboardResponse) Reset()

    func (*DashboardResponse) String

    func (m *DashboardResponse) String() string

    type GerritTryWorkItem

    type GerritTryWorkItem struct {
    	Project  string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
    	Branch   string `protobuf:"bytes,2,opt,name=branch" json:"branch,omitempty"`
    	ChangeId string `protobuf:"bytes,3,opt,name=change_id,json=changeId" json:"change_id,omitempty"`
    	Commit   string `protobuf:"bytes,4,opt,name=commit" json:"commit,omitempty"`
    	Version  int32  `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`
    	// go_commit is set for subrepos and is the Go commit(s) to test against.
    	// go_branch is a branch name of go_commit, for showing to users when
    	// a try set fails.
    	GoCommit []string `protobuf:"bytes,5,rep,name=go_commit,json=goCommit" json:"go_commit,omitempty"`
    	GoBranch []string `protobuf:"bytes,6,rep,name=go_branch,json=goBranch" json:"go_branch,omitempty"`
    	// go_version specifies the major and minor version of the targeted Go toolchain.
    	// For Go repo, it contains exactly one element.
    	// For subrepos, it contains elements that correspond to go_commit.
    	GoVersion []*MajorMinor `protobuf:"bytes,7,rep,name=go_version,json=goVersion" json:"go_version,omitempty"`
    	// try_message is the list of TRY=xxxx messages associated with Run-TryBot votes.
    	// It's sorted from oldest to newest.
    	TryMessage []*TryVoteMessage `protobuf:"bytes,8,rep,name=try_message,json=tryMessage" json:"try_message,omitempty"`
    }

    func (*GerritTryWorkItem) Descriptor

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

    func (*GerritTryWorkItem) GetBranch

    func (m *GerritTryWorkItem) GetBranch() string

    func (*GerritTryWorkItem) GetChangeId

    func (m *GerritTryWorkItem) GetChangeId() string

    func (*GerritTryWorkItem) GetCommit

    func (m *GerritTryWorkItem) GetCommit() string

    func (*GerritTryWorkItem) GetGoBranch

    func (m *GerritTryWorkItem) GetGoBranch() []string

    func (*GerritTryWorkItem) GetGoCommit

    func (m *GerritTryWorkItem) GetGoCommit() []string

    func (*GerritTryWorkItem) GetGoVersion

    func (m *GerritTryWorkItem) GetGoVersion() []*MajorMinor

    func (*GerritTryWorkItem) GetProject

    func (m *GerritTryWorkItem) GetProject() string

    func (*GerritTryWorkItem) GetTryMessage

    func (m *GerritTryWorkItem) GetTryMessage() []*TryVoteMessage

    func (*GerritTryWorkItem) GetVersion

    func (m *GerritTryWorkItem) GetVersion() int32

    func (*GerritTryWorkItem) ProtoMessage

    func (*GerritTryWorkItem) ProtoMessage()

    func (*GerritTryWorkItem) Reset

    func (m *GerritTryWorkItem) Reset()

    func (*GerritTryWorkItem) String

    func (m *GerritTryWorkItem) String() string

    type GetRefRequest

    type GetRefRequest struct {
    	Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
    	// Either gerrit_server & gerrit_project must be specified, or
    	// github. Currently only Gerrit is supported.
    	GerritServer  string `protobuf:"bytes,2,opt,name=gerrit_server,json=gerritServer" json:"gerrit_server,omitempty"`
    	GerritProject string `protobuf:"bytes,3,opt,name=gerrit_project,json=gerritProject" json:"gerrit_project,omitempty"`
    }

    func (*GetRefRequest) Descriptor

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

    func (*GetRefRequest) GetGerritProject

    func (m *GetRefRequest) GetGerritProject() string

    func (*GetRefRequest) GetGerritServer

    func (m *GetRefRequest) GetGerritServer() string

    func (*GetRefRequest) GetRef

    func (m *GetRefRequest) GetRef() string

    func (*GetRefRequest) ProtoMessage

    func (*GetRefRequest) ProtoMessage()

    func (*GetRefRequest) Reset

    func (m *GetRefRequest) Reset()

    func (*GetRefRequest) String

    func (m *GetRefRequest) String() string

    type GetRefResponse

    type GetRefResponse struct {
    	Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
    }

    func (*GetRefResponse) Descriptor

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

    func (*GetRefResponse) GetValue

    func (m *GetRefResponse) GetValue() string

    func (*GetRefResponse) ProtoMessage

    func (*GetRefResponse) ProtoMessage()

    func (*GetRefResponse) Reset

    func (m *GetRefResponse) Reset()

    func (*GetRefResponse) String

    func (m *GetRefResponse) String() string

    type GoFindTryWorkRequest

    type GoFindTryWorkRequest struct {
    	// for_staging says whether this is a trybot request for the staging
    	// cluster. When using staging, the comment "Run-StagingTryBot"
    	// is used instead of label:Run-TryBot=1.
    	ForStaging bool `protobuf:"varint,1,opt,name=for_staging,json=forStaging" json:"for_staging,omitempty"`
    }

    func (*GoFindTryWorkRequest) Descriptor

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

    func (*GoFindTryWorkRequest) GetForStaging

    func (m *GoFindTryWorkRequest) GetForStaging() bool

    func (*GoFindTryWorkRequest) ProtoMessage

    func (*GoFindTryWorkRequest) ProtoMessage()

    func (*GoFindTryWorkRequest) Reset

    func (m *GoFindTryWorkRequest) Reset()

    func (*GoFindTryWorkRequest) String

    func (m *GoFindTryWorkRequest) String() string

    type GoFindTryWorkResponse

    type GoFindTryWorkResponse struct {
    	// waiting are the Gerrit CLs wanting a trybot run and not yet with results.
    	// These might already be running.
    	Waiting []*GerritTryWorkItem `protobuf:"bytes,1,rep,name=waiting" json:"waiting,omitempty"`
    }

    func (*GoFindTryWorkResponse) Descriptor

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

    func (*GoFindTryWorkResponse) GetWaiting

    func (m *GoFindTryWorkResponse) GetWaiting() []*GerritTryWorkItem

    func (*GoFindTryWorkResponse) ProtoMessage

    func (*GoFindTryWorkResponse) ProtoMessage()

    func (*GoFindTryWorkResponse) Reset

    func (m *GoFindTryWorkResponse) Reset()

    func (*GoFindTryWorkResponse) String

    func (m *GoFindTryWorkResponse) String() string

    type GoRelease

    type GoRelease struct {
    	Major     int32  `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
    	Minor     int32  `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
    	Patch     int32  `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"`
    	TagName   string `protobuf:"bytes,4,opt,name=tag_name,json=tagName" json:"tag_name,omitempty"`
    	TagCommit string `protobuf:"bytes,5,opt,name=tag_commit,json=tagCommit" json:"tag_commit,omitempty"`
    	// Release branch information for this major-minor version pair.
    	BranchName   string `protobuf:"bytes,6,opt,name=branch_name,json=branchName" json:"branch_name,omitempty"`
    	BranchCommit string `protobuf:"bytes,7,opt,name=branch_commit,json=branchCommit" json:"branch_commit,omitempty"`
    }

    func (*GoRelease) Descriptor

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

    func (*GoRelease) GetBranchCommit

    func (m *GoRelease) GetBranchCommit() string

    func (*GoRelease) GetBranchName

    func (m *GoRelease) GetBranchName() string

    func (*GoRelease) GetMajor

    func (m *GoRelease) GetMajor() int32

    func (*GoRelease) GetMinor

    func (m *GoRelease) GetMinor() int32

    func (*GoRelease) GetPatch

    func (m *GoRelease) GetPatch() int32

    func (*GoRelease) GetTagCommit

    func (m *GoRelease) GetTagCommit() string

    func (*GoRelease) GetTagName

    func (m *GoRelease) GetTagName() string

    func (*GoRelease) ProtoMessage

    func (*GoRelease) ProtoMessage()

    func (*GoRelease) Reset

    func (m *GoRelease) Reset()

    func (*GoRelease) String

    func (m *GoRelease) String() string

    type HasAncestorRequest

    type HasAncestorRequest struct {
    	Commit   string `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
    	Ancestor string `protobuf:"bytes,2,opt,name=ancestor" json:"ancestor,omitempty"`
    }

    func (*HasAncestorRequest) Descriptor

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

    func (*HasAncestorRequest) GetAncestor

    func (m *HasAncestorRequest) GetAncestor() string

    func (*HasAncestorRequest) GetCommit

    func (m *HasAncestorRequest) GetCommit() string

    func (*HasAncestorRequest) ProtoMessage

    func (*HasAncestorRequest) ProtoMessage()

    func (*HasAncestorRequest) Reset

    func (m *HasAncestorRequest) Reset()

    func (*HasAncestorRequest) String

    func (m *HasAncestorRequest) String() string

    type HasAncestorResponse

    type HasAncestorResponse struct {
    	// has_ancestor is whether ancestor appears in commit's history.
    	HasAncestor bool `protobuf:"varint,1,opt,name=has_ancestor,json=hasAncestor" json:"has_ancestor,omitempty"`
    	// unknown_commit is true if the provided commit was unknown.
    	UnknownCommit bool `protobuf:"varint,2,opt,name=unknown_commit,json=unknownCommit" json:"unknown_commit,omitempty"`
    }

    func (*HasAncestorResponse) Descriptor

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

    func (*HasAncestorResponse) GetHasAncestor

    func (m *HasAncestorResponse) GetHasAncestor() bool

    func (*HasAncestorResponse) GetUnknownCommit

    func (m *HasAncestorResponse) GetUnknownCommit() bool

    func (*HasAncestorResponse) ProtoMessage

    func (*HasAncestorResponse) ProtoMessage()

    func (*HasAncestorResponse) Reset

    func (m *HasAncestorResponse) Reset()

    func (*HasAncestorResponse) String

    func (m *HasAncestorResponse) String() string

    type ListGoReleasesRequest

    type ListGoReleasesRequest struct {
    }

    func (*ListGoReleasesRequest) Descriptor

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

    func (*ListGoReleasesRequest) ProtoMessage

    func (*ListGoReleasesRequest) ProtoMessage()

    func (*ListGoReleasesRequest) Reset

    func (m *ListGoReleasesRequest) Reset()

    func (*ListGoReleasesRequest) String

    func (m *ListGoReleasesRequest) String() string

    type ListGoReleasesResponse

    type ListGoReleasesResponse struct {
    	Releases []*GoRelease `protobuf:"bytes,1,rep,name=releases" json:"releases,omitempty"`
    }

    func (*ListGoReleasesResponse) Descriptor

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

    func (*ListGoReleasesResponse) GetReleases

    func (m *ListGoReleasesResponse) GetReleases() []*GoRelease

    func (*ListGoReleasesResponse) ProtoMessage

    func (*ListGoReleasesResponse) ProtoMessage()

    func (*ListGoReleasesResponse) Reset

    func (m *ListGoReleasesResponse) Reset()

    func (*ListGoReleasesResponse) String

    func (m *ListGoReleasesResponse) String() string

    type MaintnerServiceClient

    type MaintnerServiceClient interface {
    	// HasAncestor reports whether one commit contains another commit
    	// in its git history.
    	HasAncestor(ctx context.Context, in *HasAncestorRequest, opts ...grpc.CallOption) (*HasAncestorResponse, error)
    	// GetRef returns information about a git ref.
    	GetRef(ctx context.Context, in *GetRefRequest, opts ...grpc.CallOption) (*GetRefResponse, error)
    	// GoFindTryWork finds trybot work for the coordinator to build & test.
    	GoFindTryWork(ctx context.Context, in *GoFindTryWorkRequest, opts ...grpc.CallOption) (*GoFindTryWorkResponse, error)
    	// ListGoReleases lists Go releases sorted by version with latest first.
    	//
    	// A release is considered to exist for each git tag named "goX", "goX.Y", or
    	// "goX.Y.Z", as long as it has a corresponding "release-branch.goX" or
    	// "release-branch.goX.Y" release branch.
    	//
    	// ListGoReleases returns only the latest patch versions of releases which
    	// are considered supported per policy. For example, Go 1.12.6 and 1.11.11.
    	// The response is guaranteed to have two versions, otherwise an error
    	// is returned.
    	ListGoReleases(ctx context.Context, in *ListGoReleasesRequest, opts ...grpc.CallOption) (*ListGoReleasesResponse, error)
    	// GetDashboard returns the information for the build.golang.org
    	// dashboard. It does not (at least currently)
    	// contain any pass/fail information; it only contains information on the branches
    	// and commits themselves.
    	GetDashboard(ctx context.Context, in *DashboardRequest, opts ...grpc.CallOption) (*DashboardResponse, error)
    }

    func NewMaintnerServiceClient

    func NewMaintnerServiceClient(cc *grpc.ClientConn) MaintnerServiceClient

    type MaintnerServiceServer

    type MaintnerServiceServer interface {
    	// HasAncestor reports whether one commit contains another commit
    	// in its git history.
    	HasAncestor(context.Context, *HasAncestorRequest) (*HasAncestorResponse, error)
    	// GetRef returns information about a git ref.
    	GetRef(context.Context, *GetRefRequest) (*GetRefResponse, error)
    	// GoFindTryWork finds trybot work for the coordinator to build & test.
    	GoFindTryWork(context.Context, *GoFindTryWorkRequest) (*GoFindTryWorkResponse, error)
    	// ListGoReleases lists Go releases sorted by version with latest first.
    	//
    	// A release is considered to exist for each git tag named "goX", "goX.Y", or
    	// "goX.Y.Z", as long as it has a corresponding "release-branch.goX" or
    	// "release-branch.goX.Y" release branch.
    	//
    	// ListGoReleases returns only the latest patch versions of releases which
    	// are considered supported per policy. For example, Go 1.12.6 and 1.11.11.
    	// The response is guaranteed to have two versions, otherwise an error
    	// is returned.
    	ListGoReleases(context.Context, *ListGoReleasesRequest) (*ListGoReleasesResponse, error)
    	// GetDashboard returns the information for the build.golang.org
    	// dashboard. It does not (at least currently)
    	// contain any pass/fail information; it only contains information on the branches
    	// and commits themselves.
    	GetDashboard(context.Context, *DashboardRequest) (*DashboardResponse, error)
    }

    type MajorMinor

    type MajorMinor struct {
    	Major int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
    	Minor int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
    }

    func (*MajorMinor) Descriptor

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

    func (*MajorMinor) GetMajor

    func (m *MajorMinor) GetMajor() int32

    func (*MajorMinor) GetMinor

    func (m *MajorMinor) GetMinor() int32

    func (*MajorMinor) ProtoMessage

    func (*MajorMinor) ProtoMessage()

    func (*MajorMinor) Reset

    func (m *MajorMinor) Reset()

    func (*MajorMinor) String

    func (m *MajorMinor) String() string

    type TryVoteMessage

    type TryVoteMessage struct {
    	Message  string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
    	AuthorId int64  `protobuf:"varint,2,opt,name=author_id,json=authorId" json:"author_id,omitempty"`
    	Version  int32  `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
    }

    func (*TryVoteMessage) Descriptor

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

    func (*TryVoteMessage) GetAuthorId

    func (m *TryVoteMessage) GetAuthorId() int64

    func (*TryVoteMessage) GetMessage

    func (m *TryVoteMessage) GetMessage() string

    func (*TryVoteMessage) GetVersion

    func (m *TryVoteMessage) GetVersion() int32

    func (*TryVoteMessage) ProtoMessage

    func (*TryVoteMessage) ProtoMessage()

    func (*TryVoteMessage) Reset

    func (m *TryVoteMessage) Reset()

    func (*TryVoteMessage) String

    func (m *TryVoteMessage) String() string

    Source Files