build: golang.org/x/build/maintner/maintnerd/apipb Index | Files

package apipb

import "golang.org/x/build/maintner/maintnerd/apipb"

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

Package Files

api.pb.go apipb.go

func RegisterMaintnerServiceServer Uses

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

type DashCommit Uses

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 Uses

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

func (*DashCommit) GetAuthorEmail Uses

func (m *DashCommit) GetAuthorEmail() string

func (*DashCommit) GetAuthorName Uses

func (m *DashCommit) GetAuthorName() string

func (*DashCommit) GetBranch Uses

func (m *DashCommit) GetBranch() string

func (*DashCommit) GetCommit Uses

func (m *DashCommit) GetCommit() string

func (*DashCommit) GetCommitTimeSec Uses

func (m *DashCommit) GetCommitTimeSec() int64

func (*DashCommit) GetGoCommitAtTime Uses

func (m *DashCommit) GetGoCommitAtTime() string

func (*DashCommit) GetGoCommitLatest Uses

func (m *DashCommit) GetGoCommitLatest() string

func (*DashCommit) GetTitle Uses

func (m *DashCommit) GetTitle() string

func (*DashCommit) ProtoMessage Uses

func (*DashCommit) ProtoMessage()

func (*DashCommit) Reset Uses

func (m *DashCommit) Reset()

func (*DashCommit) String Uses

func (m *DashCommit) String() string

type DashRepoHead Uses

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 Uses

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

func (*DashRepoHead) GetCommit Uses

func (m *DashRepoHead) GetCommit() *DashCommit

func (*DashRepoHead) GetGerritProject Uses

func (m *DashRepoHead) GetGerritProject() string

func (*DashRepoHead) ProtoMessage Uses

func (*DashRepoHead) ProtoMessage()

func (*DashRepoHead) Reset Uses

func (m *DashRepoHead) Reset()

func (*DashRepoHead) String Uses

func (m *DashRepoHead) String() string

type DashboardRequest Uses

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 Uses

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

func (*DashboardRequest) GetBranch Uses

func (m *DashboardRequest) GetBranch() string

func (*DashboardRequest) GetMaxCommits Uses

func (m *DashboardRequest) GetMaxCommits() int32

func (*DashboardRequest) GetPage Uses

func (m *DashboardRequest) GetPage() int32

func (*DashboardRequest) GetRepo Uses

func (m *DashboardRequest) GetRepo() string

func (*DashboardRequest) ProtoMessage Uses

func (*DashboardRequest) ProtoMessage()

func (*DashboardRequest) Reset Uses

func (m *DashboardRequest) Reset()

func (*DashboardRequest) String Uses

func (m *DashboardRequest) String() string

type DashboardResponse Uses

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 Uses

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

func (*DashboardResponse) GetBranches Uses

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

func (*DashboardResponse) GetCommits Uses

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

func (*DashboardResponse) GetCommitsTruncated Uses

func (m *DashboardResponse) GetCommitsTruncated() bool

func (*DashboardResponse) GetReleases Uses

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

func (*DashboardResponse) GetRepoHeads Uses

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

func (*DashboardResponse) ProtoMessage Uses

func (*DashboardResponse) ProtoMessage()

func (*DashboardResponse) Reset Uses

func (m *DashboardResponse) Reset()

func (*DashboardResponse) String Uses

func (m *DashboardResponse) String() string

type GerritTryWorkItem Uses

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.
    TryMessage []*TryVoteMessage `protobuf:"bytes,8,rep,name=try_message,json=tryMessage" json:"try_message,omitempty"`
}

func (*GerritTryWorkItem) Descriptor Uses

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

func (*GerritTryWorkItem) GetBranch Uses

func (m *GerritTryWorkItem) GetBranch() string

func (*GerritTryWorkItem) GetChangeId Uses

func (m *GerritTryWorkItem) GetChangeId() string

func (*GerritTryWorkItem) GetCommit Uses

func (m *GerritTryWorkItem) GetCommit() string

func (*GerritTryWorkItem) GetGoBranch Uses

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

func (*GerritTryWorkItem) GetGoCommit Uses

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

func (*GerritTryWorkItem) GetGoVersion Uses

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

func (*GerritTryWorkItem) GetProject Uses

func (m *GerritTryWorkItem) GetProject() string

func (*GerritTryWorkItem) GetTryMessage Uses

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

func (*GerritTryWorkItem) GetVersion Uses

func (m *GerritTryWorkItem) GetVersion() int32

func (*GerritTryWorkItem) ProtoMessage Uses

func (*GerritTryWorkItem) ProtoMessage()

func (*GerritTryWorkItem) Reset Uses

func (m *GerritTryWorkItem) Reset()

func (*GerritTryWorkItem) String Uses

func (m *GerritTryWorkItem) String() string

type GetRefRequest Uses

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 Uses

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

func (*GetRefRequest) GetGerritProject Uses

func (m *GetRefRequest) GetGerritProject() string

func (*GetRefRequest) GetGerritServer Uses

func (m *GetRefRequest) GetGerritServer() string

func (*GetRefRequest) GetRef Uses

func (m *GetRefRequest) GetRef() string

func (*GetRefRequest) ProtoMessage Uses

func (*GetRefRequest) ProtoMessage()

func (*GetRefRequest) Reset Uses

func (m *GetRefRequest) Reset()

func (*GetRefRequest) String Uses

func (m *GetRefRequest) String() string

type GetRefResponse Uses

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

func (*GetRefResponse) Descriptor Uses

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

func (*GetRefResponse) GetValue Uses

func (m *GetRefResponse) GetValue() string

func (*GetRefResponse) ProtoMessage Uses

func (*GetRefResponse) ProtoMessage()

func (*GetRefResponse) Reset Uses

func (m *GetRefResponse) Reset()

func (*GetRefResponse) String Uses

func (m *GetRefResponse) String() string

type GoFindTryWorkRequest Uses

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 Uses

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

func (*GoFindTryWorkRequest) GetForStaging Uses

func (m *GoFindTryWorkRequest) GetForStaging() bool

func (*GoFindTryWorkRequest) ProtoMessage Uses

func (*GoFindTryWorkRequest) ProtoMessage()

func (*GoFindTryWorkRequest) Reset Uses

func (m *GoFindTryWorkRequest) Reset()

func (*GoFindTryWorkRequest) String Uses

func (m *GoFindTryWorkRequest) String() string

type GoFindTryWorkResponse Uses

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 Uses

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

func (*GoFindTryWorkResponse) GetWaiting Uses

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

func (*GoFindTryWorkResponse) ProtoMessage Uses

func (*GoFindTryWorkResponse) ProtoMessage()

func (*GoFindTryWorkResponse) Reset Uses

func (m *GoFindTryWorkResponse) Reset()

func (*GoFindTryWorkResponse) String Uses

func (m *GoFindTryWorkResponse) String() string

type GoRelease Uses

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 Uses

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

func (*GoRelease) GetBranchCommit Uses

func (m *GoRelease) GetBranchCommit() string

func (*GoRelease) GetBranchName Uses

func (m *GoRelease) GetBranchName() string

func (*GoRelease) GetMajor Uses

func (m *GoRelease) GetMajor() int32

func (*GoRelease) GetMinor Uses

func (m *GoRelease) GetMinor() int32

func (*GoRelease) GetPatch Uses

func (m *GoRelease) GetPatch() int32

func (*GoRelease) GetTagCommit Uses

func (m *GoRelease) GetTagCommit() string

func (*GoRelease) GetTagName Uses

func (m *GoRelease) GetTagName() string

func (*GoRelease) ProtoMessage Uses

func (*GoRelease) ProtoMessage()

func (*GoRelease) Reset Uses

func (m *GoRelease) Reset()

func (*GoRelease) String Uses

func (m *GoRelease) String() string

type HasAncestorRequest Uses

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 Uses

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

func (*HasAncestorRequest) GetAncestor Uses

func (m *HasAncestorRequest) GetAncestor() string

func (*HasAncestorRequest) GetCommit Uses

func (m *HasAncestorRequest) GetCommit() string

func (*HasAncestorRequest) ProtoMessage Uses

func (*HasAncestorRequest) ProtoMessage()

func (*HasAncestorRequest) Reset Uses

func (m *HasAncestorRequest) Reset()

func (*HasAncestorRequest) String Uses

func (m *HasAncestorRequest) String() string

type HasAncestorResponse Uses

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 Uses

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

func (*HasAncestorResponse) GetHasAncestor Uses

func (m *HasAncestorResponse) GetHasAncestor() bool

func (*HasAncestorResponse) GetUnknownCommit Uses

func (m *HasAncestorResponse) GetUnknownCommit() bool

func (*HasAncestorResponse) ProtoMessage Uses

func (*HasAncestorResponse) ProtoMessage()

func (*HasAncestorResponse) Reset Uses

func (m *HasAncestorResponse) Reset()

func (*HasAncestorResponse) String Uses

func (m *HasAncestorResponse) String() string

type ListGoReleasesRequest Uses

type ListGoReleasesRequest struct {
}

func (*ListGoReleasesRequest) Descriptor Uses

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

func (*ListGoReleasesRequest) ProtoMessage Uses

func (*ListGoReleasesRequest) ProtoMessage()

func (*ListGoReleasesRequest) Reset Uses

func (m *ListGoReleasesRequest) Reset()

func (*ListGoReleasesRequest) String Uses

func (m *ListGoReleasesRequest) String() string

type ListGoReleasesResponse Uses

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

func (*ListGoReleasesResponse) Descriptor Uses

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

func (*ListGoReleasesResponse) GetReleases Uses

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

func (*ListGoReleasesResponse) ProtoMessage Uses

func (*ListGoReleasesResponse) ProtoMessage()

func (*ListGoReleasesResponse) Reset Uses

func (m *ListGoReleasesResponse) Reset()

func (*ListGoReleasesResponse) String Uses

func (m *ListGoReleasesResponse) String() string

type MaintnerServiceClient Uses

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 Uses

func NewMaintnerServiceClient(cc *grpc.ClientConn) MaintnerServiceClient

type MaintnerServiceServer Uses

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 Uses

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 Uses

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

func (*MajorMinor) GetMajor Uses

func (m *MajorMinor) GetMajor() int32

func (*MajorMinor) GetMinor Uses

func (m *MajorMinor) GetMinor() int32

func (*MajorMinor) ProtoMessage Uses

func (*MajorMinor) ProtoMessage()

func (*MajorMinor) Reset Uses

func (m *MajorMinor) Reset()

func (*MajorMinor) String Uses

func (m *MajorMinor) String() string

type TryVoteMessage Uses

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 Uses

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

func (*TryVoteMessage) GetAuthorId Uses

func (m *TryVoteMessage) GetAuthorId() int64

func (*TryVoteMessage) GetMessage Uses

func (m *TryVoteMessage) GetMessage() string

func (*TryVoteMessage) GetVersion Uses

func (m *TryVoteMessage) GetVersion() int32

func (*TryVoteMessage) ProtoMessage Uses

func (*TryVoteMessage) ProtoMessage()

func (*TryVoteMessage) Reset Uses

func (m *TryVoteMessage) Reset()

func (*TryVoteMessage) String Uses

func (m *TryVoteMessage) String() string

Package apipb imports 5 packages (graph) and is imported by 20 packages. Updated 2020-06-04. Refresh now. Tools for package owners.