Documentation ¶
Index ¶
- Variables
- func RegisterDevRelServicesAdminServer(s *grpc.Server, srv DevRelServicesAdminServer)
- func RegisterIssueServiceAdminServer(s *grpc.Server, srv IssueServiceAdminServer)
- func RegisterIssueServiceServer(s *grpc.Server, srv IssueServiceServer)
- func RegisterSLOServiceServer(s *grpc.Server, srv SLOServiceServer)
- func RegisterSampleServiceServer(s *grpc.Server, srv SampleServiceServer)
- type DevRelServicesAdminClient
- type DevRelServicesAdminServer
- type File
- type GetGitCommitRequest
- func (*GetGitCommitRequest) Descriptor() ([]byte, []int)
- func (m *GetGitCommitRequest) GetName() string
- func (*GetGitCommitRequest) ProtoMessage()
- func (m *GetGitCommitRequest) Reset()
- func (m *GetGitCommitRequest) String() string
- func (m *GetGitCommitRequest) XXX_DiscardUnknown()
- func (m *GetGitCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGitCommitRequest) XXX_Merge(src proto.Message)
- func (m *GetGitCommitRequest) XXX_Size() int
- func (m *GetGitCommitRequest) XXX_Unmarshal(b []byte) error
- type GetIssueRequest
- func (*GetIssueRequest) Descriptor() ([]byte, []int)
- func (m *GetIssueRequest) GetComments() bool
- func (m *GetIssueRequest) GetFieldMask() *field_mask.FieldMask
- func (m *GetIssueRequest) GetName() string
- func (m *GetIssueRequest) GetReviews() bool
- func (*GetIssueRequest) ProtoMessage()
- func (m *GetIssueRequest) Reset()
- func (m *GetIssueRequest) String() string
- func (m *GetIssueRequest) XXX_DiscardUnknown()
- func (m *GetIssueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIssueRequest) XXX_Merge(src proto.Message)
- func (m *GetIssueRequest) XXX_Size() int
- func (m *GetIssueRequest) XXX_Unmarshal(b []byte) error
- type GetIssueResponse
- func (*GetIssueResponse) Descriptor() ([]byte, []int)
- func (m *GetIssueResponse) GetIssue() *Issue
- func (*GetIssueResponse) ProtoMessage()
- func (m *GetIssueResponse) Reset()
- func (m *GetIssueResponse) String() string
- func (m *GetIssueResponse) XXX_DiscardUnknown()
- func (m *GetIssueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIssueResponse) XXX_Merge(src proto.Message)
- func (m *GetIssueResponse) XXX_Size() int
- func (m *GetIssueResponse) XXX_Unmarshal(b []byte) error
- type GitCommit
- func (*GitCommit) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommit) GetAuthorEmail() string
- func (x *GitCommit) GetAuthoredTime() *timestamp.Timestamp
- func (x *GitCommit) GetCommittedTime() *timestamp.Timestamp
- func (x *GitCommit) GetCommitterEmail() string
- func (x *GitCommit) GetName() string
- func (x *GitCommit) GetSha() string
- func (x *GitCommit) GetSubject() string
- func (*GitCommit) ProtoMessage()
- func (x *GitCommit) ProtoReflect() protoreflect.Message
- func (x *GitCommit) Reset()
- func (x *GitCommit) String() string
- type GitHubComment
- func (*GitHubComment) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubComment) GetBody() string
- func (x *GitHubComment) GetCreatedAt() *timestamp.Timestamp
- func (x *GitHubComment) GetId() int32
- func (x *GitHubComment) GetUpdatedAt() *timestamp.Timestamp
- func (x *GitHubComment) GetUser() *GitHubUser
- func (*GitHubComment) ProtoMessage()
- func (x *GitHubComment) ProtoReflect() protoreflect.Message
- func (x *GitHubComment) Reset()
- func (x *GitHubComment) String() string
- type GitHubReview
- func (*GitHubReview) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubReview) GetActor() *GitHubUser
- func (x *GitHubReview) GetActorAssociation() string
- func (x *GitHubReview) GetBody() string
- func (x *GitHubReview) GetCommitId() string
- func (x *GitHubReview) GetCreatedAt() *timestamp.Timestamp
- func (x *GitHubReview) GetId() int32
- func (x *GitHubReview) GetState() string
- func (*GitHubReview) ProtoMessage()
- func (x *GitHubReview) ProtoReflect() protoreflect.Message
- func (x *GitHubReview) Reset()
- func (x *GitHubReview) String() string
- type GitHubUser
- type Issue
- func (*Issue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue) GetApproved() bool
- func (x *Issue) GetAssignees() []*GitHubUser
- func (x *Issue) GetBlocked() bool
- func (x *Issue) GetBody() string
- func (x *Issue) GetClosed() bool
- func (x *Issue) GetClosedAt() *timestamp.Timestamp
- func (x *Issue) GetClosedBy() *GitHubUser
- func (x *Issue) GetComments() []*GitHubComment
- func (x *Issue) GetCommit() string
- func (x *Issue) GetCreatedAt() *timestamp.Timestamp
- func (x *Issue) GetGitCommit() *GitCommit
- func (x *Issue) GetIsPr() bool
- func (x *Issue) GetIssueId() int32
- func (x *Issue) GetIssueType() Issue_IssueType
- func (x *Issue) GetLabels() []string
- func (x *Issue) GetName() string
- func (x *Issue) GetPriority() Issue_Priority
- func (x *Issue) GetPriorityUnknown() booldeprecated
- func (x *Issue) GetReleaseBlocking() bool
- func (x *Issue) GetRepo() string
- func (x *Issue) GetReporter() *GitHubUser
- func (x *Issue) GetReviews() []*GitHubReview
- func (x *Issue) GetTitle() string
- func (x *Issue) GetUpdatedAt() *timestamp.Timestamp
- func (x *Issue) GetUrl() string
- func (*Issue) ProtoMessage()
- func (x *Issue) ProtoReflect() protoreflect.Message
- func (x *Issue) Reset()
- func (x *Issue) String() string
- type IssueServiceAdminClient
- type IssueServiceAdminServer
- type IssueServiceClient
- type IssueServiceServer
- type Issue_IssueType
- func (Issue_IssueType) Descriptor() protoreflect.EnumDescriptor
- func (x Issue_IssueType) Enum() *Issue_IssueType
- func (Issue_IssueType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Issue_IssueType) Number() protoreflect.EnumNumber
- func (x Issue_IssueType) String() string
- func (Issue_IssueType) Type() protoreflect.EnumType
- type Issue_Priority
- func (Issue_Priority) Descriptor() protoreflect.EnumDescriptor
- func (x Issue_Priority) Enum() *Issue_Priority
- func (Issue_Priority) EnumDescriptor() ([]byte, []int)deprecated
- func (x Issue_Priority) Number() protoreflect.EnumNumber
- func (x Issue_Priority) String() string
- func (Issue_Priority) Type() protoreflect.EnumType
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)
- func (m *ListFilesRequest) GetFilter() string
- func (m *ListFilesRequest) GetOrderBy() string
- func (m *ListFilesRequest) GetPageSize() int32
- func (m *ListFilesRequest) GetPageToken() string
- func (m *ListFilesRequest) GetParent() string
- func (*ListFilesRequest) ProtoMessage()
- func (m *ListFilesRequest) Reset()
- func (m *ListFilesRequest) String() string
- func (m *ListFilesRequest) XXX_DiscardUnknown()
- func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListFilesRequest) XXX_Merge(src proto.Message)
- func (m *ListFilesRequest) XXX_Size() int
- func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)
- func (m *ListFilesResponse) GetFiles() []*File
- func (m *ListFilesResponse) GetNextPageToken() string
- func (m *ListFilesResponse) GetTotal() int32
- func (*ListFilesResponse) ProtoMessage()
- func (m *ListFilesResponse) Reset()
- func (m *ListFilesResponse) String() string
- func (m *ListFilesResponse) XXX_DiscardUnknown()
- func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListFilesResponse) XXX_Merge(src proto.Message)
- func (m *ListFilesResponse) XXX_Size() int
- func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error
- type ListGitCommitsRequest
- func (*ListGitCommitsRequest) Descriptor() ([]byte, []int)
- func (m *ListGitCommitsRequest) GetFilter() string
- func (m *ListGitCommitsRequest) GetOrderBy() string
- func (m *ListGitCommitsRequest) GetPageSize() int32
- func (m *ListGitCommitsRequest) GetPageToken() string
- func (m *ListGitCommitsRequest) GetParent() string
- func (*ListGitCommitsRequest) ProtoMessage()
- func (m *ListGitCommitsRequest) Reset()
- func (m *ListGitCommitsRequest) String() string
- func (m *ListGitCommitsRequest) XXX_DiscardUnknown()
- func (m *ListGitCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGitCommitsRequest) XXX_Merge(src proto.Message)
- func (m *ListGitCommitsRequest) XXX_Size() int
- func (m *ListGitCommitsRequest) XXX_Unmarshal(b []byte) error
- type ListGitCommitsResponse
- func (*ListGitCommitsResponse) Descriptor() ([]byte, []int)
- func (m *ListGitCommitsResponse) GetGitCommits() []*GitCommit
- func (m *ListGitCommitsResponse) GetNextPageToken() string
- func (m *ListGitCommitsResponse) GetTotal() int32
- func (*ListGitCommitsResponse) ProtoMessage()
- func (m *ListGitCommitsResponse) Reset()
- func (m *ListGitCommitsResponse) String() string
- func (m *ListGitCommitsResponse) XXX_DiscardUnknown()
- func (m *ListGitCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGitCommitsResponse) XXX_Merge(src proto.Message)
- func (m *ListGitCommitsResponse) XXX_Size() int
- func (m *ListGitCommitsResponse) XXX_Unmarshal(b []byte) error
- type ListIssuesRequest
- func (*ListIssuesRequest) Descriptor() ([]byte, []int)
- func (m *ListIssuesRequest) GetClosed() booldeprecated
- func (m *ListIssuesRequest) GetClosedNullable() isListIssuesRequest_ClosedNullable
- func (m *ListIssuesRequest) GetComments() bool
- func (m *ListIssuesRequest) GetFieldMask() *field_mask.FieldMask
- func (m *ListIssuesRequest) GetFilter() string
- func (m *ListIssuesRequest) GetOrderBy() string
- func (m *ListIssuesRequest) GetPageSize() int32
- func (m *ListIssuesRequest) GetPageToken() string
- func (m *ListIssuesRequest) GetParent() string
- func (m *ListIssuesRequest) GetPullRequest() booldeprecated
- func (m *ListIssuesRequest) GetPullRequestNullable() isListIssuesRequest_PullRequestNullable
- func (m *ListIssuesRequest) GetReviews() bool
- func (*ListIssuesRequest) ProtoMessage()
- func (m *ListIssuesRequest) Reset()
- func (m *ListIssuesRequest) String() string
- func (m *ListIssuesRequest) XXX_DiscardUnknown()
- func (m *ListIssuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIssuesRequest) XXX_Merge(src proto.Message)
- func (*ListIssuesRequest) XXX_OneofWrappers() []interface{}
- func (m *ListIssuesRequest) XXX_Size() int
- func (m *ListIssuesRequest) XXX_Unmarshal(b []byte) error
- type ListIssuesRequest_Closed
- type ListIssuesRequest_PullRequest
- type ListIssuesResponse
- func (*ListIssuesResponse) Descriptor() ([]byte, []int)
- func (m *ListIssuesResponse) GetIssues() []*Issue
- func (m *ListIssuesResponse) GetNextPageToken() string
- func (m *ListIssuesResponse) GetTotal() int32
- func (*ListIssuesResponse) ProtoMessage()
- func (m *ListIssuesResponse) Reset()
- func (m *ListIssuesResponse) String() string
- func (m *ListIssuesResponse) XXX_DiscardUnknown()
- func (m *ListIssuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIssuesResponse) XXX_Merge(src proto.Message)
- func (m *ListIssuesResponse) XXX_Size() int
- func (m *ListIssuesResponse) XXX_Unmarshal(b []byte) error
- type ListOwnersRequest
- func (*ListOwnersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOwnersRequest) GetFilter() string
- func (x *ListOwnersRequest) GetOrderBy() string
- func (x *ListOwnersRequest) GetPageSize() int32
- func (x *ListOwnersRequest) GetPageToken() string
- func (*ListOwnersRequest) ProtoMessage()
- func (x *ListOwnersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOwnersRequest) Reset()
- func (x *ListOwnersRequest) String() string
- type ListOwnersResponse
- func (*ListOwnersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOwnersResponse) GetNextPageToken() string
- func (x *ListOwnersResponse) GetOwners() []*Owner
- func (x *ListOwnersResponse) GetTotal() int32
- func (*ListOwnersResponse) ProtoMessage()
- func (x *ListOwnersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOwnersResponse) Reset()
- func (x *ListOwnersResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesRequest) GetFilter() string
- func (x *ListRepositoriesRequest) GetOrderBy() string
- func (x *ListRepositoriesRequest) GetPageSize() int32
- func (x *ListRepositoriesRequest) GetPageToken() string
- func (x *ListRepositoriesRequest) GetParent() string
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesResponse) GetNextPageToken() string
- func (x *ListRepositoriesResponse) GetRepositories() []*Repository
- func (x *ListRepositoriesResponse) GetTotal() int32
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) String() string
- type ListSLOsRequest
- func (*ListSLOsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSLOsRequest) GetFilter() string
- func (x *ListSLOsRequest) GetPageSize() int32
- func (x *ListSLOsRequest) GetPageToken() string
- func (x *ListSLOsRequest) GetParent() string
- func (*ListSLOsRequest) ProtoMessage()
- func (x *ListSLOsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSLOsRequest) Reset()
- func (x *ListSLOsRequest) String() string
- type ListSLOsResponse
- func (*ListSLOsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSLOsResponse) GetNextPageToken() string
- func (x *ListSLOsResponse) GetSlos() []*SLO
- func (x *ListSLOsResponse) GetTotal() int32
- func (*ListSLOsResponse) ProtoMessage()
- func (x *ListSLOsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSLOsResponse) Reset()
- func (x *ListSLOsResponse) String() string
- type ListSnippetVersionsRequest
- func (*ListSnippetVersionsRequest) Descriptor() ([]byte, []int)
- func (m *ListSnippetVersionsRequest) GetFilter() string
- func (m *ListSnippetVersionsRequest) GetOrderBy() string
- func (m *ListSnippetVersionsRequest) GetPageSize() int32
- func (m *ListSnippetVersionsRequest) GetPageToken() string
- func (m *ListSnippetVersionsRequest) GetParent() string
- func (*ListSnippetVersionsRequest) ProtoMessage()
- func (m *ListSnippetVersionsRequest) Reset()
- func (m *ListSnippetVersionsRequest) String() string
- func (m *ListSnippetVersionsRequest) XXX_DiscardUnknown()
- func (m *ListSnippetVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnippetVersionsRequest) XXX_Merge(src proto.Message)
- func (m *ListSnippetVersionsRequest) XXX_Size() int
- func (m *ListSnippetVersionsRequest) XXX_Unmarshal(b []byte) error
- type ListSnippetVersionsResponse
- func (*ListSnippetVersionsResponse) Descriptor() ([]byte, []int)
- func (m *ListSnippetVersionsResponse) GetNextPageToken() string
- func (m *ListSnippetVersionsResponse) GetSnippetVersions() []*SnippetVersion
- func (m *ListSnippetVersionsResponse) GetTotal() int32
- func (*ListSnippetVersionsResponse) ProtoMessage()
- func (m *ListSnippetVersionsResponse) Reset()
- func (m *ListSnippetVersionsResponse) String() string
- func (m *ListSnippetVersionsResponse) XXX_DiscardUnknown()
- func (m *ListSnippetVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnippetVersionsResponse) XXX_Merge(src proto.Message)
- func (m *ListSnippetVersionsResponse) XXX_Size() int
- func (m *ListSnippetVersionsResponse) XXX_Unmarshal(b []byte) error
- type ListSnippetsRequest
- func (*ListSnippetsRequest) Descriptor() ([]byte, []int)
- func (m *ListSnippetsRequest) GetFilter() string
- func (m *ListSnippetsRequest) GetOrderBy() string
- func (m *ListSnippetsRequest) GetPageSize() int32
- func (m *ListSnippetsRequest) GetPageToken() string
- func (m *ListSnippetsRequest) GetParent() string
- func (*ListSnippetsRequest) ProtoMessage()
- func (m *ListSnippetsRequest) Reset()
- func (m *ListSnippetsRequest) String() string
- func (m *ListSnippetsRequest) XXX_DiscardUnknown()
- func (m *ListSnippetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnippetsRequest) XXX_Merge(src proto.Message)
- func (m *ListSnippetsRequest) XXX_Size() int
- func (m *ListSnippetsRequest) XXX_Unmarshal(b []byte) error
- type ListSnippetsResponse
- func (*ListSnippetsResponse) Descriptor() ([]byte, []int)
- func (m *ListSnippetsResponse) GetNextPageToken() string
- func (m *ListSnippetsResponse) GetSnippets() []*Snippet
- func (m *ListSnippetsResponse) GetTotal() int32
- func (*ListSnippetsResponse) ProtoMessage()
- func (m *ListSnippetsResponse) Reset()
- func (m *ListSnippetsResponse) String() string
- func (m *ListSnippetsResponse) XXX_DiscardUnknown()
- func (m *ListSnippetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnippetsResponse) XXX_Merge(src proto.Message)
- func (m *ListSnippetsResponse) XXX_Size() int
- func (m *ListSnippetsResponse) XXX_Unmarshal(b []byte) error
- type Owner
- type PageToken
- func (*PageToken) Descriptor() ([]byte, []int)
- func (m *PageToken) GetFirstRequestTimeUsec() *timestamp.Timestamp
- func (m *PageToken) GetOffset() int32
- func (*PageToken) ProtoMessage()
- func (m *PageToken) Reset()
- func (m *PageToken) String() string
- func (m *PageToken) XXX_DiscardUnknown()
- func (m *PageToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PageToken) XXX_Merge(src proto.Message)
- func (m *PageToken) XXX_Size() int
- func (m *PageToken) XXX_Unmarshal(b []byte) error
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetIssueCount() int32
- func (x *Repository) GetName() string
- func (x *Repository) GetPullRequestCount() int32
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type SLO
- func (*SLO) Descriptor() ([]byte, []int)deprecated
- func (x *SLO) GetAppliesToIssues() bool
- func (x *SLO) GetAppliesToPrs() bool
- func (x *SLO) GetExcludedGithubLabels() []string
- func (x *SLO) GetGithubLabels() []string
- func (x *SLO) GetRequiresAssignee() bool
- func (x *SLO) GetResolutionTime() *duration.Duration
- func (x *SLO) GetResponders() []string
- func (x *SLO) GetResponseTime() *duration.Duration
- func (*SLO) ProtoMessage()
- func (x *SLO) ProtoReflect() protoreflect.Message
- func (x *SLO) Reset()
- func (x *SLO) String() string
- type SLOServiceClient
- type SLOServiceServer
- type SampleServiceClient
- type SampleServiceServer
- type Snippet
- func (*Snippet) Descriptor() ([]byte, []int)deprecated
- func (x *Snippet) GetLanguage() string
- func (x *Snippet) GetName() string
- func (x *Snippet) GetPrimary() *SnippetVersion
- func (*Snippet) ProtoMessage()
- func (x *Snippet) ProtoReflect() protoreflect.Message
- func (x *Snippet) Reset()
- func (x *Snippet) String() string
- type SnippetVersion
- func (*SnippetVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SnippetVersion) GetContent() string
- func (x *SnippetVersion) GetFile() *File
- func (x *SnippetVersion) GetLines() []string
- func (x *SnippetVersion) GetMeta() *SnippetVersionMeta
- func (x *SnippetVersion) GetName() string
- func (*SnippetVersion) ProtoMessage()
- func (x *SnippetVersion) ProtoReflect() protoreflect.Message
- func (x *SnippetVersion) Reset()
- func (x *SnippetVersion) String() string
- type SnippetVersionMeta
- func (*SnippetVersionMeta) Descriptor() ([]byte, []int)deprecated
- func (x *SnippetVersionMeta) GetApiVersion() string
- func (x *SnippetVersionMeta) GetDescription() string
- func (x *SnippetVersionMeta) GetTitle() string
- func (x *SnippetVersionMeta) GetUsage() string
- func (*SnippetVersionMeta) ProtoMessage()
- func (x *SnippetVersionMeta) ProtoReflect() protoreflect.Message
- func (x *SnippetVersionMeta) Reset()
- func (x *SnippetVersionMeta) String() string
- type UnimplementedDevRelServicesAdminServer
- type UnimplementedIssueServiceAdminServer
- type UnimplementedIssueServiceServer
- func (*UnimplementedIssueServiceServer) GetIssue(ctx context.Context, req *GetIssueRequest) (*GetIssueResponse, error)
- func (*UnimplementedIssueServiceServer) ListIssues(ctx context.Context, req *ListIssuesRequest) (*ListIssuesResponse, error)
- func (*UnimplementedIssueServiceServer) ListRepositories(ctx context.Context, req *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- type UnimplementedSLOServiceServer
- func (*UnimplementedSLOServiceServer) ListOwnerSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error)
- func (*UnimplementedSLOServiceServer) ListOwners(context.Context, *ListOwnersRequest) (*ListOwnersResponse, error)
- func (*UnimplementedSLOServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (*UnimplementedSLOServiceServer) ListSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error)
- type UnimplementedSampleServiceServer
- func (*UnimplementedSampleServiceServer) GetGitCommit(ctx context.Context, req *GetGitCommitRequest) (*GitCommit, error)
- func (*UnimplementedSampleServiceServer) ListFiles(ctx context.Context, req *ListFilesRequest) (*ListFilesResponse, error)
- func (*UnimplementedSampleServiceServer) ListGitCommits(ctx context.Context, req *ListGitCommitsRequest) (*ListGitCommitsResponse, error)
- func (*UnimplementedSampleServiceServer) ListRepositories(ctx context.Context, req *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (*UnimplementedSampleServiceServer) ListSnippetVersions(ctx context.Context, req *ListSnippetVersionsRequest) (*ListSnippetVersionsResponse, error)
- func (*UnimplementedSampleServiceServer) ListSnippets(ctx context.Context, req *ListSnippetsRequest) (*ListSnippetsResponse, error)
- type UpdateTrackedReposRequest
- func (*UpdateTrackedReposRequest) Descriptor() ([]byte, []int)
- func (*UpdateTrackedReposRequest) ProtoMessage()
- func (m *UpdateTrackedReposRequest) Reset()
- func (m *UpdateTrackedReposRequest) String() string
- func (m *UpdateTrackedReposRequest) XXX_DiscardUnknown()
- func (m *UpdateTrackedReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateTrackedReposRequest) XXX_Merge(src proto.Message)
- func (m *UpdateTrackedReposRequest) XXX_Size() int
- func (m *UpdateTrackedReposRequest) XXX_Unmarshal(b []byte) error
- type UpdateTrackedReposResponse
- func (*UpdateTrackedReposResponse) Descriptor() ([]byte, []int)
- func (*UpdateTrackedReposResponse) ProtoMessage()
- func (m *UpdateTrackedReposResponse) Reset()
- func (m *UpdateTrackedReposResponse) String() string
- func (m *UpdateTrackedReposResponse) XXX_DiscardUnknown()
- func (m *UpdateTrackedReposResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateTrackedReposResponse) XXX_Merge(src proto.Message)
- func (m *UpdateTrackedReposResponse) XXX_Size() int
- func (m *UpdateTrackedReposResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Issue_Priority_name = map[int32]string{ 0: "PRIORITY_UNSPECIFIED", 1: "P0", 2: "P1", 3: "P2", 4: "P3", 5: "P4", } Issue_Priority_value = map[string]int32{ "PRIORITY_UNSPECIFIED": 0, "P0": 1, "P1": 2, "P2": 3, "P3": 4, "P4": 5, } )
Enum value maps for Issue_Priority.
var ( Issue_IssueType_name = map[int32]string{ 0: "GITHUB_ISSUE_TYPE_UNSPECIFIED", 1: "BUG", 2: "FEATURE", 3: "QUESTION", 4: "CLEANUP", 5: "PROCESS", } Issue_IssueType_value = map[string]int32{ "GITHUB_ISSUE_TYPE_UNSPECIFIED": 0, "BUG": 1, "FEATURE": 2, "QUESTION": 3, "CLEANUP": 4, "PROCESS": 5, } )
Enum value maps for Issue_IssueType.
var File_resources_proto protoreflect.FileDescriptor
var File_service_resources_proto protoreflect.FileDescriptor
var File_slo_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDevRelServicesAdminServer ¶
func RegisterDevRelServicesAdminServer(s *grpc.Server, srv DevRelServicesAdminServer)
func RegisterIssueServiceAdminServer ¶
func RegisterIssueServiceAdminServer(s *grpc.Server, srv IssueServiceAdminServer)
func RegisterIssueServiceServer ¶
func RegisterIssueServiceServer(s *grpc.Server, srv IssueServiceServer)
func RegisterSLOServiceServer ¶
func RegisterSLOServiceServer(s *grpc.Server, srv SLOServiceServer)
func RegisterSampleServiceServer ¶
func RegisterSampleServiceServer(s *grpc.Server, srv SampleServiceServer)
Types ¶
type DevRelServicesAdminClient ¶
type DevRelServicesAdminClient interface {
UpdateTrackedRepos(ctx context.Context, in *UpdateTrackedReposRequest, opts ...grpc.CallOption) (*UpdateTrackedReposResponse, error)
}
DevRelServicesAdminClient is the client API for DevRelServicesAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDevRelServicesAdminClient ¶
func NewDevRelServicesAdminClient(cc grpc.ClientConnInterface) DevRelServicesAdminClient
type DevRelServicesAdminServer ¶
type DevRelServicesAdminServer interface {
UpdateTrackedRepos(context.Context, *UpdateTrackedReposRequest) (*UpdateTrackedReposResponse, error)
}
DevRelServicesAdminServer is the server API for DevRelServicesAdmin service.
type File ¶
type File struct { // Output only. The full path of the [File][] within its [Repository][]. Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // Output only. The [GitCommit][] of the file. GitCommit *GitCommit `protobuf:"bytes,2,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetFilepath ¶
func (*File) GetGitCommit ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type GetGitCommitRequest ¶
type GetGitCommitRequest struct { // Required. The fully qualified name of the [GitCommit][], in the format // `owners/*/repositories/*/gitCommits/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [SampleService.GetGitCommit][].
func (*GetGitCommitRequest) Descriptor ¶
func (*GetGitCommitRequest) Descriptor() ([]byte, []int)
func (*GetGitCommitRequest) GetName ¶
func (m *GetGitCommitRequest) GetName() string
func (*GetGitCommitRequest) ProtoMessage ¶
func (*GetGitCommitRequest) ProtoMessage()
func (*GetGitCommitRequest) Reset ¶
func (m *GetGitCommitRequest) Reset()
func (*GetGitCommitRequest) String ¶
func (m *GetGitCommitRequest) String() string
func (*GetGitCommitRequest) XXX_DiscardUnknown ¶
func (m *GetGitCommitRequest) XXX_DiscardUnknown()
func (*GetGitCommitRequest) XXX_Marshal ¶
func (m *GetGitCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGitCommitRequest) XXX_Merge ¶
func (m *GetGitCommitRequest) XXX_Merge(src proto.Message)
func (*GetGitCommitRequest) XXX_Size ¶
func (m *GetGitCommitRequest) XXX_Size() int
func (*GetGitCommitRequest) XXX_Unmarshal ¶
func (m *GetGitCommitRequest) XXX_Unmarshal(b []byte) error
type GetIssueRequest ¶
type GetIssueRequest struct { // Required. The fully qualified name of the [Issue][], in the format // `owners/*/repositories/*/issues/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies if to include the [Issue]'s Comments Comments bool `protobuf:"varint,2,opt,name=comments,proto3" json:"comments,omitempty"` // Specifies if to inlcude the [Issue]'s Reviews Reviews bool `protobuf:"varint,3,opt,name=reviews,proto3" json:"reviews,omitempty"` // If the FieldMask is NOT set or empty, all fields are returned. If the // FieldMask is set, only the specified fields are returned. See // https://pkg.go.dev/google.golang.org/genproto/protobuf/field_mask. FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [DevRelGitHubService.GetIssue][].
func (*GetIssueRequest) Descriptor ¶
func (*GetIssueRequest) Descriptor() ([]byte, []int)
func (*GetIssueRequest) GetComments ¶
func (m *GetIssueRequest) GetComments() bool
func (*GetIssueRequest) GetFieldMask ¶
func (m *GetIssueRequest) GetFieldMask() *field_mask.FieldMask
func (*GetIssueRequest) GetName ¶
func (m *GetIssueRequest) GetName() string
func (*GetIssueRequest) GetReviews ¶
func (m *GetIssueRequest) GetReviews() bool
func (*GetIssueRequest) ProtoMessage ¶
func (*GetIssueRequest) ProtoMessage()
func (*GetIssueRequest) Reset ¶
func (m *GetIssueRequest) Reset()
func (*GetIssueRequest) String ¶
func (m *GetIssueRequest) String() string
func (*GetIssueRequest) XXX_DiscardUnknown ¶
func (m *GetIssueRequest) XXX_DiscardUnknown()
func (*GetIssueRequest) XXX_Marshal ¶
func (m *GetIssueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIssueRequest) XXX_Merge ¶
func (m *GetIssueRequest) XXX_Merge(src proto.Message)
func (*GetIssueRequest) XXX_Size ¶
func (m *GetIssueRequest) XXX_Size() int
func (*GetIssueRequest) XXX_Unmarshal ¶
func (m *GetIssueRequest) XXX_Unmarshal(b []byte) error
type GetIssueResponse ¶
type GetIssueResponse struct { Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIssueResponse) Descriptor ¶
func (*GetIssueResponse) Descriptor() ([]byte, []int)
func (*GetIssueResponse) GetIssue ¶
func (m *GetIssueResponse) GetIssue() *Issue
func (*GetIssueResponse) ProtoMessage ¶
func (*GetIssueResponse) ProtoMessage()
func (*GetIssueResponse) Reset ¶
func (m *GetIssueResponse) Reset()
func (*GetIssueResponse) String ¶
func (m *GetIssueResponse) String() string
func (*GetIssueResponse) XXX_DiscardUnknown ¶
func (m *GetIssueResponse) XXX_DiscardUnknown()
func (*GetIssueResponse) XXX_Marshal ¶
func (m *GetIssueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIssueResponse) XXX_Merge ¶
func (m *GetIssueResponse) XXX_Merge(src proto.Message)
func (*GetIssueResponse) XXX_Size ¶
func (m *GetIssueResponse) XXX_Size() int
func (*GetIssueResponse) XXX_Unmarshal ¶
func (m *GetIssueResponse) XXX_Unmarshal(b []byte) error
type GitCommit ¶
type GitCommit struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` AuthorEmail string `protobuf:"bytes,3,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` AuthoredTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=authored_time,json=authoredTime,proto3" json:"authored_time,omitempty"` CommitterEmail string `protobuf:"bytes,5,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"` CommittedTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=committed_time,json=committedTime,proto3" json:"committed_time,omitempty"` Sha string `protobuf:"bytes,7,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*GitCommit) Descriptor
deprecated
func (*GitCommit) GetAuthorEmail ¶
func (*GitCommit) GetAuthoredTime ¶
func (*GitCommit) GetCommittedTime ¶
func (*GitCommit) GetCommitterEmail ¶
func (*GitCommit) GetSubject ¶
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
func (*GitCommit) ProtoReflect ¶
func (x *GitCommit) ProtoReflect() protoreflect.Message
type GitHubComment ¶
type GitHubComment struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` User *GitHubUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*GitHubComment) Descriptor
deprecated
func (*GitHubComment) Descriptor() ([]byte, []int)
Deprecated: Use GitHubComment.ProtoReflect.Descriptor instead.
func (*GitHubComment) GetBody ¶
func (x *GitHubComment) GetBody() string
func (*GitHubComment) GetCreatedAt ¶
func (x *GitHubComment) GetCreatedAt() *timestamp.Timestamp
func (*GitHubComment) GetId ¶
func (x *GitHubComment) GetId() int32
func (*GitHubComment) GetUpdatedAt ¶
func (x *GitHubComment) GetUpdatedAt() *timestamp.Timestamp
func (*GitHubComment) GetUser ¶
func (x *GitHubComment) GetUser() *GitHubUser
func (*GitHubComment) ProtoMessage ¶
func (*GitHubComment) ProtoMessage()
func (*GitHubComment) ProtoReflect ¶
func (x *GitHubComment) ProtoReflect() protoreflect.Message
func (*GitHubComment) Reset ¶
func (x *GitHubComment) Reset()
func (*GitHubComment) String ¶
func (x *GitHubComment) String() string
type GitHubReview ¶
type GitHubReview struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Actor *GitHubUser `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"` ActorAssociation string `protobuf:"bytes,3,opt,name=actor_association,json=actorAssociation,proto3" json:"actor_association,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` CommitId string `protobuf:"bytes,7,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
func (*GitHubReview) Descriptor
deprecated
func (*GitHubReview) Descriptor() ([]byte, []int)
Deprecated: Use GitHubReview.ProtoReflect.Descriptor instead.
func (*GitHubReview) GetActor ¶
func (x *GitHubReview) GetActor() *GitHubUser
func (*GitHubReview) GetActorAssociation ¶
func (x *GitHubReview) GetActorAssociation() string
func (*GitHubReview) GetBody ¶
func (x *GitHubReview) GetBody() string
func (*GitHubReview) GetCommitId ¶
func (x *GitHubReview) GetCommitId() string
func (*GitHubReview) GetCreatedAt ¶
func (x *GitHubReview) GetCreatedAt() *timestamp.Timestamp
func (*GitHubReview) GetId ¶
func (x *GitHubReview) GetId() int32
func (*GitHubReview) GetState ¶
func (x *GitHubReview) GetState() string
func (*GitHubReview) ProtoMessage ¶
func (*GitHubReview) ProtoMessage()
func (*GitHubReview) ProtoReflect ¶
func (x *GitHubReview) ProtoReflect() protoreflect.Message
func (*GitHubReview) Reset ¶
func (x *GitHubReview) Reset()
func (*GitHubReview) String ¶
func (x *GitHubReview) String() string
type GitHubUser ¶
type GitHubUser struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"` // contains filtered or unexported fields }
func (*GitHubUser) Descriptor
deprecated
func (*GitHubUser) Descriptor() ([]byte, []int)
Deprecated: Use GitHubUser.ProtoReflect.Descriptor instead.
func (*GitHubUser) GetId ¶
func (x *GitHubUser) GetId() int32
func (*GitHubUser) GetLogin ¶
func (x *GitHubUser) GetLogin() string
func (*GitHubUser) ProtoMessage ¶
func (*GitHubUser) ProtoMessage()
func (*GitHubUser) ProtoReflect ¶
func (x *GitHubUser) ProtoReflect() protoreflect.Message
func (*GitHubUser) Reset ¶
func (x *GitHubUser) Reset()
func (*GitHubUser) String ¶
func (x *GitHubUser) String() string
type Issue ¶
type Issue struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Priority Issue_Priority `protobuf:"varint,4,opt,name=priority,proto3,enum=drghs.v1.Issue_Priority" json:"priority,omitempty"` // Deprecated: Do not use. PriorityUnknown bool `protobuf:"varint,5,opt,name=priority_unknown,json=priorityUnknown,proto3" json:"priority_unknown,omitempty"` IssueType Issue_IssueType `protobuf:"varint,6,opt,name=issue_type,json=issueType,proto3,enum=drghs.v1.Issue_IssueType" json:"issue_type,omitempty"` Labels []string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ClosedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=closed_at,json=closedAt,proto3" json:"closed_at,omitempty"` Closed bool `protobuf:"varint,11,opt,name=closed,proto3" json:"closed,omitempty"` ClosedBy *GitHubUser `protobuf:"bytes,12,opt,name=closed_by,json=closedBy,proto3" json:"closed_by,omitempty"` IsPr bool `protobuf:"varint,13,opt,name=is_pr,json=isPr,proto3" json:"is_pr,omitempty"` Approved bool `protobuf:"varint,14,opt,name=approved,proto3" json:"approved,omitempty"` GitCommit *GitCommit `protobuf:"bytes,15,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Commit string `protobuf:"bytes,16,opt,name=commit,proto3" json:"commit,omitempty"` IssueId int32 `protobuf:"varint,17,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"` Url string `protobuf:"bytes,18,opt,name=url,proto3" json:"url,omitempty"` Assignees []*GitHubUser `protobuf:"bytes,19,rep,name=assignees,proto3" json:"assignees,omitempty"` Reporter *GitHubUser `protobuf:"bytes,20,opt,name=reporter,proto3" json:"reporter,omitempty"` Comments []*GitHubComment `protobuf:"bytes,21,rep,name=comments,proto3" json:"comments,omitempty"` Reviews []*GitHubReview `protobuf:"bytes,22,rep,name=reviews,proto3" json:"reviews,omitempty"` Repo string `protobuf:"bytes,23,opt,name=repo,proto3" json:"repo,omitempty"` Blocked bool `protobuf:"varint,24,opt,name=blocked,proto3" json:"blocked,omitempty"` ReleaseBlocking bool `protobuf:"varint,25,opt,name=release_blocking,json=releaseBlocking,proto3" json:"release_blocking,omitempty"` // contains filtered or unexported fields }
func (*Issue) Descriptor
deprecated
func (*Issue) GetApproved ¶
func (*Issue) GetAssignees ¶
func (x *Issue) GetAssignees() []*GitHubUser
func (*Issue) GetBlocked ¶
func (*Issue) GetClosedAt ¶
func (*Issue) GetClosedBy ¶
func (x *Issue) GetClosedBy() *GitHubUser
func (*Issue) GetComments ¶
func (x *Issue) GetComments() []*GitHubComment
func (*Issue) GetCreatedAt ¶
func (*Issue) GetGitCommit ¶
func (*Issue) GetIssueId ¶
func (*Issue) GetIssueType ¶
func (x *Issue) GetIssueType() Issue_IssueType
func (*Issue) GetPriority ¶
func (x *Issue) GetPriority() Issue_Priority
func (*Issue) GetPriorityUnknown
deprecated
func (*Issue) GetReleaseBlocking ¶
func (*Issue) GetReporter ¶
func (x *Issue) GetReporter() *GitHubUser
func (*Issue) GetReviews ¶
func (x *Issue) GetReviews() []*GitHubReview
func (*Issue) GetUpdatedAt ¶
func (*Issue) ProtoMessage ¶
func (*Issue) ProtoMessage()
func (*Issue) ProtoReflect ¶
func (x *Issue) ProtoReflect() protoreflect.Message
type IssueServiceAdminClient ¶
type IssueServiceAdminClient interface {
UpdateTrackedRepos(ctx context.Context, in *UpdateTrackedReposRequest, opts ...grpc.CallOption) (*UpdateTrackedReposResponse, error)
}
IssueServiceAdminClient is the client API for IssueServiceAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIssueServiceAdminClient ¶
func NewIssueServiceAdminClient(cc grpc.ClientConnInterface) IssueServiceAdminClient
type IssueServiceAdminServer ¶
type IssueServiceAdminServer interface {
UpdateTrackedRepos(context.Context, *UpdateTrackedReposRequest) (*UpdateTrackedReposResponse, error)
}
IssueServiceAdminServer is the server API for IssueServiceAdmin service.
type IssueServiceClient ¶
type IssueServiceClient interface { // Lists [Repositories][Repository]. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // Lists [Issues][Issue]. ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error) // Gets a [Issue][]. GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*GetIssueResponse, error) }
IssueServiceClient is the client API for IssueService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIssueServiceClient ¶
func NewIssueServiceClient(cc grpc.ClientConnInterface) IssueServiceClient
type IssueServiceServer ¶
type IssueServiceServer interface { // Lists [Repositories][Repository]. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // Lists [Issues][Issue]. ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error) // Gets a [Issue][]. GetIssue(context.Context, *GetIssueRequest) (*GetIssueResponse, error) }
IssueServiceServer is the server API for IssueService service.
type Issue_IssueType ¶
type Issue_IssueType int32
const ( Issue_GITHUB_ISSUE_TYPE_UNSPECIFIED Issue_IssueType = 0 Issue_BUG Issue_IssueType = 1 Issue_FEATURE Issue_IssueType = 2 Issue_QUESTION Issue_IssueType = 3 Issue_CLEANUP Issue_IssueType = 4 Issue_PROCESS Issue_IssueType = 5 )
func (Issue_IssueType) Descriptor ¶
func (Issue_IssueType) Descriptor() protoreflect.EnumDescriptor
func (Issue_IssueType) Enum ¶
func (x Issue_IssueType) Enum() *Issue_IssueType
func (Issue_IssueType) EnumDescriptor
deprecated
func (Issue_IssueType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Issue_IssueType.Descriptor instead.
func (Issue_IssueType) Number ¶
func (x Issue_IssueType) Number() protoreflect.EnumNumber
func (Issue_IssueType) String ¶
func (x Issue_IssueType) String() string
func (Issue_IssueType) Type ¶
func (Issue_IssueType) Type() protoreflect.EnumType
type Issue_Priority ¶
type Issue_Priority int32
const ( Issue_PRIORITY_UNSPECIFIED Issue_Priority = 0 Issue_P0 Issue_Priority = 1 Issue_P1 Issue_Priority = 2 Issue_P2 Issue_Priority = 3 Issue_P3 Issue_Priority = 4 Issue_P4 Issue_Priority = 5 )
func (Issue_Priority) Descriptor ¶
func (Issue_Priority) Descriptor() protoreflect.EnumDescriptor
func (Issue_Priority) Enum ¶
func (x Issue_Priority) Enum() *Issue_Priority
func (Issue_Priority) EnumDescriptor
deprecated
func (Issue_Priority) EnumDescriptor() ([]byte, []int)
Deprecated: Use Issue_Priority.Descriptor instead.
func (Issue_Priority) Number ¶
func (x Issue_Priority) Number() protoreflect.EnumNumber
func (Issue_Priority) String ¶
func (x Issue_Priority) String() string
func (Issue_Priority) Type ¶
func (Issue_Priority) Type() protoreflect.EnumType
type ListFilesRequest ¶
type ListFilesRequest struct { // Required. The resource name of the repository associated with the // [Files][File], in the format `owners/*/repositories/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [Files][File] to include in the // response. Fewer files than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [Files][File] can subsequently be obtained // by including the [ListFilesResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListFilesResponse.next_page_token][] returned by a previous call to // [FileService.ListFiles][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN (value3, value4) // field4 LIKE "%somestring%" // // Valid filter fields are: `name`, `repo`, and `size`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [SampleService.ListFiles][].
func (*ListFilesRequest) Descriptor ¶
func (*ListFilesRequest) Descriptor() ([]byte, []int)
func (*ListFilesRequest) GetFilter ¶
func (m *ListFilesRequest) GetFilter() string
func (*ListFilesRequest) GetOrderBy ¶
func (m *ListFilesRequest) GetOrderBy() string
func (*ListFilesRequest) GetPageSize ¶
func (m *ListFilesRequest) GetPageSize() int32
func (*ListFilesRequest) GetPageToken ¶
func (m *ListFilesRequest) GetPageToken() string
func (*ListFilesRequest) GetParent ¶
func (m *ListFilesRequest) GetParent() string
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) Reset ¶
func (m *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (m *ListFilesRequest) String() string
func (*ListFilesRequest) XXX_DiscardUnknown ¶
func (m *ListFilesRequest) XXX_DiscardUnknown()
func (*ListFilesRequest) XXX_Marshal ¶
func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFilesRequest) XXX_Merge ¶
func (m *ListFilesRequest) XXX_Merge(src proto.Message)
func (*ListFilesRequest) XXX_Size ¶
func (m *ListFilesRequest) XXX_Size() int
func (*ListFilesRequest) XXX_Unmarshal ¶
func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error
type ListFilesResponse ¶
type ListFilesResponse struct { // The list of [Files][File]. Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListFilesRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [Files][File] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [SampleService.ListFiles][].
func (*ListFilesResponse) Descriptor ¶
func (*ListFilesResponse) Descriptor() ([]byte, []int)
func (*ListFilesResponse) GetFiles ¶
func (m *ListFilesResponse) GetFiles() []*File
func (*ListFilesResponse) GetNextPageToken ¶
func (m *ListFilesResponse) GetNextPageToken() string
func (*ListFilesResponse) GetTotal ¶
func (m *ListFilesResponse) GetTotal() int32
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) Reset ¶
func (m *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (m *ListFilesResponse) String() string
func (*ListFilesResponse) XXX_DiscardUnknown ¶
func (m *ListFilesResponse) XXX_DiscardUnknown()
func (*ListFilesResponse) XXX_Marshal ¶
func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFilesResponse) XXX_Merge ¶
func (m *ListFilesResponse) XXX_Merge(src proto.Message)
func (*ListFilesResponse) XXX_Size ¶
func (m *ListFilesResponse) XXX_Size() int
func (*ListFilesResponse) XXX_Unmarshal ¶
func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error
type ListGitCommitsRequest ¶
type ListGitCommitsRequest struct { // Required. The resource name of the repository associated with the // [GitCommits][GitCommit], in the format `owners/*/repositories/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [GitCommits][GitCommit] to include in the // response. Fewer gitCommits than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [GitCommits][GitCommit] can subsequently be obtained // by including the [ListGitCommitsResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListGitCommitsResponse.next_page_token][] returned by a previous call to // [GitCommitservice.ListGitCommits][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN (value3, value4) // field4 LIKE "%somestring%" // // Valid filter fields are: `name`, `repo`, and `size`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [SampleService.ListGitCommits][].
func (*ListGitCommitsRequest) Descriptor ¶
func (*ListGitCommitsRequest) Descriptor() ([]byte, []int)
func (*ListGitCommitsRequest) GetFilter ¶
func (m *ListGitCommitsRequest) GetFilter() string
func (*ListGitCommitsRequest) GetOrderBy ¶
func (m *ListGitCommitsRequest) GetOrderBy() string
func (*ListGitCommitsRequest) GetPageSize ¶
func (m *ListGitCommitsRequest) GetPageSize() int32
func (*ListGitCommitsRequest) GetPageToken ¶
func (m *ListGitCommitsRequest) GetPageToken() string
func (*ListGitCommitsRequest) GetParent ¶
func (m *ListGitCommitsRequest) GetParent() string
func (*ListGitCommitsRequest) ProtoMessage ¶
func (*ListGitCommitsRequest) ProtoMessage()
func (*ListGitCommitsRequest) Reset ¶
func (m *ListGitCommitsRequest) Reset()
func (*ListGitCommitsRequest) String ¶
func (m *ListGitCommitsRequest) String() string
func (*ListGitCommitsRequest) XXX_DiscardUnknown ¶
func (m *ListGitCommitsRequest) XXX_DiscardUnknown()
func (*ListGitCommitsRequest) XXX_Marshal ¶
func (m *ListGitCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGitCommitsRequest) XXX_Merge ¶
func (m *ListGitCommitsRequest) XXX_Merge(src proto.Message)
func (*ListGitCommitsRequest) XXX_Size ¶
func (m *ListGitCommitsRequest) XXX_Size() int
func (*ListGitCommitsRequest) XXX_Unmarshal ¶
func (m *ListGitCommitsRequest) XXX_Unmarshal(b []byte) error
type ListGitCommitsResponse ¶
type ListGitCommitsResponse struct { // The list of [GitCommits][GitCommit]. GitCommits []*GitCommit `protobuf:"bytes,1,rep,name=git_commits,json=gitCommits,proto3" json:"git_commits,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListGitCommitsRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [GitCommits][GitCommit] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [SampleService.ListGitCommits][].
func (*ListGitCommitsResponse) Descriptor ¶
func (*ListGitCommitsResponse) Descriptor() ([]byte, []int)
func (*ListGitCommitsResponse) GetGitCommits ¶
func (m *ListGitCommitsResponse) GetGitCommits() []*GitCommit
func (*ListGitCommitsResponse) GetNextPageToken ¶
func (m *ListGitCommitsResponse) GetNextPageToken() string
func (*ListGitCommitsResponse) GetTotal ¶
func (m *ListGitCommitsResponse) GetTotal() int32
func (*ListGitCommitsResponse) ProtoMessage ¶
func (*ListGitCommitsResponse) ProtoMessage()
func (*ListGitCommitsResponse) Reset ¶
func (m *ListGitCommitsResponse) Reset()
func (*ListGitCommitsResponse) String ¶
func (m *ListGitCommitsResponse) String() string
func (*ListGitCommitsResponse) XXX_DiscardUnknown ¶
func (m *ListGitCommitsResponse) XXX_DiscardUnknown()
func (*ListGitCommitsResponse) XXX_Marshal ¶
func (m *ListGitCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGitCommitsResponse) XXX_Merge ¶
func (m *ListGitCommitsResponse) XXX_Merge(src proto.Message)
func (*ListGitCommitsResponse) XXX_Size ¶
func (m *ListGitCommitsResponse) XXX_Size() int
func (*ListGitCommitsResponse) XXX_Unmarshal ¶
func (m *ListGitCommitsResponse) XXX_Unmarshal(b []byte) error
type ListIssuesRequest ¶
type ListIssuesRequest struct { // Required. The resource name of the repository associated with the // [Issues][Issue], in the format `owners/*/repositories/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [Issues][Issue] to include in the // response. Fewer Issues than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [Issues][Issue] can subsequently be obtained // by including the [ListIssuesResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListIssuesResponse.next_page_token][] returned by a previous call to // [Issueservice.ListIssues][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN (value3, value4) // field4 LIKE "%somestring%" // // Valid filter fields are: `name`, `repo.name`, `repo.owner`, and `size`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Comments bool `protobuf:"varint,6,opt,name=comments,proto3" json:"comments,omitempty"` Reviews bool `protobuf:"varint,7,opt,name=reviews,proto3" json:"reviews,omitempty"` // This is a workaround to allow nullable bools // // Types that are valid to be assigned to PullRequestNullable: // *ListIssuesRequest_PullRequest PullRequestNullable isListIssuesRequest_PullRequestNullable `protobuf_oneof:"pull_request_nullable"` // This is a workaround to allow nullable bools // // Types that are valid to be assigned to ClosedNullable: // *ListIssuesRequest_Closed ClosedNullable isListIssuesRequest_ClosedNullable `protobuf_oneof:"closed_nullable"` // If the FieldMask is NOT set or empty, all fields are returned. If the // FieldMask is set, only the specified fields are returned. See // https://pkg.go.dev/google.golang.org/genproto/protobuf/field_mask. FieldMask *field_mask.FieldMask `protobuf:"bytes,10,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [DevRelGitHubService.ListIssues][].
func (*ListIssuesRequest) Descriptor ¶
func (*ListIssuesRequest) Descriptor() ([]byte, []int)
func (*ListIssuesRequest) GetClosed
deprecated
func (m *ListIssuesRequest) GetClosed() bool
Deprecated: Do not use.
func (*ListIssuesRequest) GetClosedNullable ¶
func (m *ListIssuesRequest) GetClosedNullable() isListIssuesRequest_ClosedNullable
func (*ListIssuesRequest) GetComments ¶
func (m *ListIssuesRequest) GetComments() bool
func (*ListIssuesRequest) GetFieldMask ¶
func (m *ListIssuesRequest) GetFieldMask() *field_mask.FieldMask
func (*ListIssuesRequest) GetFilter ¶
func (m *ListIssuesRequest) GetFilter() string
func (*ListIssuesRequest) GetOrderBy ¶
func (m *ListIssuesRequest) GetOrderBy() string
func (*ListIssuesRequest) GetPageSize ¶
func (m *ListIssuesRequest) GetPageSize() int32
func (*ListIssuesRequest) GetPageToken ¶
func (m *ListIssuesRequest) GetPageToken() string
func (*ListIssuesRequest) GetParent ¶
func (m *ListIssuesRequest) GetParent() string
func (*ListIssuesRequest) GetPullRequest
deprecated
func (m *ListIssuesRequest) GetPullRequest() bool
Deprecated: Do not use.
func (*ListIssuesRequest) GetPullRequestNullable ¶
func (m *ListIssuesRequest) GetPullRequestNullable() isListIssuesRequest_PullRequestNullable
func (*ListIssuesRequest) GetReviews ¶
func (m *ListIssuesRequest) GetReviews() bool
func (*ListIssuesRequest) ProtoMessage ¶
func (*ListIssuesRequest) ProtoMessage()
func (*ListIssuesRequest) Reset ¶
func (m *ListIssuesRequest) Reset()
func (*ListIssuesRequest) String ¶
func (m *ListIssuesRequest) String() string
func (*ListIssuesRequest) XXX_DiscardUnknown ¶
func (m *ListIssuesRequest) XXX_DiscardUnknown()
func (*ListIssuesRequest) XXX_Marshal ¶
func (m *ListIssuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIssuesRequest) XXX_Merge ¶
func (m *ListIssuesRequest) XXX_Merge(src proto.Message)
func (*ListIssuesRequest) XXX_OneofWrappers ¶
func (*ListIssuesRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ListIssuesRequest) XXX_Size ¶
func (m *ListIssuesRequest) XXX_Size() int
func (*ListIssuesRequest) XXX_Unmarshal ¶
func (m *ListIssuesRequest) XXX_Unmarshal(b []byte) error
type ListIssuesRequest_Closed ¶
type ListIssuesRequest_Closed struct {
Closed bool `protobuf:"varint,9,opt,name=closed,proto3,oneof"`
}
type ListIssuesRequest_PullRequest ¶
type ListIssuesRequest_PullRequest struct {
PullRequest bool `protobuf:"varint,8,opt,name=pull_request,json=pullRequest,proto3,oneof"`
}
type ListIssuesResponse ¶
type ListIssuesResponse struct { // The list of [Issues][Issue]. Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListIssuesRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [Issues][Issue] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [DevRelGitHubService.ListIssues][].
func (*ListIssuesResponse) Descriptor ¶
func (*ListIssuesResponse) Descriptor() ([]byte, []int)
func (*ListIssuesResponse) GetIssues ¶
func (m *ListIssuesResponse) GetIssues() []*Issue
func (*ListIssuesResponse) GetNextPageToken ¶
func (m *ListIssuesResponse) GetNextPageToken() string
func (*ListIssuesResponse) GetTotal ¶
func (m *ListIssuesResponse) GetTotal() int32
func (*ListIssuesResponse) ProtoMessage ¶
func (*ListIssuesResponse) ProtoMessage()
func (*ListIssuesResponse) Reset ¶
func (m *ListIssuesResponse) Reset()
func (*ListIssuesResponse) String ¶
func (m *ListIssuesResponse) String() string
func (*ListIssuesResponse) XXX_DiscardUnknown ¶
func (m *ListIssuesResponse) XXX_DiscardUnknown()
func (*ListIssuesResponse) XXX_Marshal ¶
func (m *ListIssuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIssuesResponse) XXX_Merge ¶
func (m *ListIssuesResponse) XXX_Merge(src proto.Message)
func (*ListIssuesResponse) XXX_Size ¶
func (m *ListIssuesResponse) XXX_Size() int
func (*ListIssuesResponse) XXX_Unmarshal ¶
func (m *ListIssuesResponse) XXX_Unmarshal(b []byte) error
type ListOwnersRequest ¶
type ListOwnersRequest struct { // Optional. Limit the number of [Owners][Owner] to include in the // response. Fewer Owners than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [Owners][Owner] can subsequently be obtained // by including the [ListOwnersResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListOwnersResponse.next_page_token][] returned by a previous call to // [SLOService.ListOwners][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field == "value" // // Valid filter fields are: `owner.name`. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. // Supported fields for sorting are: `name`. // Prefix with `-` to specify descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request message for [SLOService.ListOwners][].
func (*ListOwnersRequest) Descriptor
deprecated
func (*ListOwnersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOwnersRequest.ProtoReflect.Descriptor instead.
func (*ListOwnersRequest) GetFilter ¶
func (x *ListOwnersRequest) GetFilter() string
func (*ListOwnersRequest) GetOrderBy ¶
func (x *ListOwnersRequest) GetOrderBy() string
func (*ListOwnersRequest) GetPageSize ¶
func (x *ListOwnersRequest) GetPageSize() int32
func (*ListOwnersRequest) GetPageToken ¶
func (x *ListOwnersRequest) GetPageToken() string
func (*ListOwnersRequest) ProtoMessage ¶
func (*ListOwnersRequest) ProtoMessage()
func (*ListOwnersRequest) ProtoReflect ¶
func (x *ListOwnersRequest) ProtoReflect() protoreflect.Message
func (*ListOwnersRequest) Reset ¶
func (x *ListOwnersRequest) Reset()
func (*ListOwnersRequest) String ¶
func (x *ListOwnersRequest) String() string
type ListOwnersResponse ¶
type ListOwnersResponse struct { // The list of [Owners][Owner]. Owners []*Owner `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListOwnersRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [Owners][Owner] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
Response message for [SLOService.ListOwners][].
func (*ListOwnersResponse) Descriptor
deprecated
func (*ListOwnersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOwnersResponse.ProtoReflect.Descriptor instead.
func (*ListOwnersResponse) GetNextPageToken ¶
func (x *ListOwnersResponse) GetNextPageToken() string
func (*ListOwnersResponse) GetOwners ¶
func (x *ListOwnersResponse) GetOwners() []*Owner
func (*ListOwnersResponse) GetTotal ¶
func (x *ListOwnersResponse) GetTotal() int32
func (*ListOwnersResponse) ProtoMessage ¶
func (*ListOwnersResponse) ProtoMessage()
func (*ListOwnersResponse) ProtoReflect ¶
func (x *ListOwnersResponse) ProtoReflect() protoreflect.Message
func (*ListOwnersResponse) Reset ¶
func (x *ListOwnersResponse) Reset()
func (*ListOwnersResponse) String ¶
func (x *ListOwnersResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct { // Required. The resource name of the owner associated with the // [Repositories][Repository], in the format `owners/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [Repositories][Repository] to include in the // response. Fewer repositories than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [Repositories][Repository] can subsequently be obtained // by including the [ListRepositoriesResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListRepositoriesResponse.next_page_token][] returned by a previous call to // [Repositorieservice.ListRepositories][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to include in the response only those // resources that match the filter. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN ["value3", "value4"] // // Valid filter fields are: `repo` and `owner`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request message for [SampleService.ListRepositories][].
func (*ListRepositoriesRequest) Descriptor
deprecated
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetFilter ¶
func (x *ListRepositoriesRequest) GetFilter() string
func (*ListRepositoriesRequest) GetOrderBy ¶
func (x *ListRepositoriesRequest) GetOrderBy() string
func (*ListRepositoriesRequest) GetPageSize ¶
func (x *ListRepositoriesRequest) GetPageSize() int32
func (*ListRepositoriesRequest) GetPageToken ¶
func (x *ListRepositoriesRequest) GetPageToken() string
func (*ListRepositoriesRequest) GetParent ¶
func (x *ListRepositoriesRequest) GetParent() string
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { // The list of [Repositories][Repository]. Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListRepositoriesRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of repositories that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
Response message for [SampleService.ListRepositories][].
func (*ListRepositoriesResponse) Descriptor
deprecated
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetNextPageToken ¶
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (*ListRepositoriesResponse) GetRepositories ¶
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) GetTotal ¶
func (x *ListRepositoriesResponse) GetTotal() int32
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type ListSLOsRequest ¶
type ListSLOsRequest struct { // Required. The resource name of the repository associated with the // [SLOs][SLO], in the format `owners/*/repositories/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [Issues][Issue] to include in the // response. Fewer Issues than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [SLOs][SLO] can subsequently be obtained // by including the [ListSLOsResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListSLOsResponse.next_page_token][] returned by a previous call to // [SLOService.ListSLOs][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field == value // // Valid filter fields are: `slo.requires_assignee, slo.github_labels`, // `slo.excluded_github_labels`, `slo.applies_to_isssues`, // `slo.applies_to_prs`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for [SLOService.ListSLOs][].
func (*ListSLOsRequest) Descriptor
deprecated
func (*ListSLOsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSLOsRequest.ProtoReflect.Descriptor instead.
func (*ListSLOsRequest) GetFilter ¶
func (x *ListSLOsRequest) GetFilter() string
func (*ListSLOsRequest) GetPageSize ¶
func (x *ListSLOsRequest) GetPageSize() int32
func (*ListSLOsRequest) GetPageToken ¶
func (x *ListSLOsRequest) GetPageToken() string
func (*ListSLOsRequest) GetParent ¶
func (x *ListSLOsRequest) GetParent() string
func (*ListSLOsRequest) ProtoMessage ¶
func (*ListSLOsRequest) ProtoMessage()
func (*ListSLOsRequest) ProtoReflect ¶
func (x *ListSLOsRequest) ProtoReflect() protoreflect.Message
func (*ListSLOsRequest) Reset ¶
func (x *ListSLOsRequest) Reset()
func (*ListSLOsRequest) String ¶
func (x *ListSLOsRequest) String() string
type ListSLOsResponse ¶
type ListSLOsResponse struct { // The list of [SLOs][SLO]. Slos []*SLO `protobuf:"bytes,1,rep,name=slos,proto3" json:"slos,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListSLOsRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [SLOs][SLO] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
Response message for [SLOService.ListSLOs][].
func (*ListSLOsResponse) Descriptor
deprecated
func (*ListSLOsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSLOsResponse.ProtoReflect.Descriptor instead.
func (*ListSLOsResponse) GetNextPageToken ¶
func (x *ListSLOsResponse) GetNextPageToken() string
func (*ListSLOsResponse) GetSlos ¶
func (x *ListSLOsResponse) GetSlos() []*SLO
func (*ListSLOsResponse) GetTotal ¶
func (x *ListSLOsResponse) GetTotal() int32
func (*ListSLOsResponse) ProtoMessage ¶
func (*ListSLOsResponse) ProtoMessage()
func (*ListSLOsResponse) ProtoReflect ¶
func (x *ListSLOsResponse) ProtoReflect() protoreflect.Message
func (*ListSLOsResponse) Reset ¶
func (x *ListSLOsResponse) Reset()
func (*ListSLOsResponse) String ¶
func (x *ListSLOsResponse) String() string
type ListSnippetVersionsRequest ¶
type ListSnippetVersionsRequest struct { // Required. The resource name of the repository associated with the // [SnippetVersions][Snippet], in the format `owners/*/repositories/*/snippets/*/languages/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [SnippetVersions][SnippetVersion] to include in the // response. Fewer snippetVersions than requested might be returned. // // The maximum page size is `10`. If unspecified, the page size will be the // maximum. Further [SnippetVersions][SnippetVersion] can subsequently be obtained // by including the [ListSnippetVersionsResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListSnippetVersionsResponse.next_page_token][] returned by a previous call to // [SnippetVersionService.ListSnippetVersions][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN (value3, value4) // field4 LIKE "%somestring%" // // Valid filter fields are: `region_tag`, `content`, `file.name`, `file.repo`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [SampleService.ListSnippetVersions][].
func (*ListSnippetVersionsRequest) Descriptor ¶
func (*ListSnippetVersionsRequest) Descriptor() ([]byte, []int)
func (*ListSnippetVersionsRequest) GetFilter ¶
func (m *ListSnippetVersionsRequest) GetFilter() string
func (*ListSnippetVersionsRequest) GetOrderBy ¶
func (m *ListSnippetVersionsRequest) GetOrderBy() string
func (*ListSnippetVersionsRequest) GetPageSize ¶
func (m *ListSnippetVersionsRequest) GetPageSize() int32
func (*ListSnippetVersionsRequest) GetPageToken ¶
func (m *ListSnippetVersionsRequest) GetPageToken() string
func (*ListSnippetVersionsRequest) GetParent ¶
func (m *ListSnippetVersionsRequest) GetParent() string
func (*ListSnippetVersionsRequest) ProtoMessage ¶
func (*ListSnippetVersionsRequest) ProtoMessage()
func (*ListSnippetVersionsRequest) Reset ¶
func (m *ListSnippetVersionsRequest) Reset()
func (*ListSnippetVersionsRequest) String ¶
func (m *ListSnippetVersionsRequest) String() string
func (*ListSnippetVersionsRequest) XXX_DiscardUnknown ¶
func (m *ListSnippetVersionsRequest) XXX_DiscardUnknown()
func (*ListSnippetVersionsRequest) XXX_Marshal ¶
func (m *ListSnippetVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnippetVersionsRequest) XXX_Merge ¶
func (m *ListSnippetVersionsRequest) XXX_Merge(src proto.Message)
func (*ListSnippetVersionsRequest) XXX_Size ¶
func (m *ListSnippetVersionsRequest) XXX_Size() int
func (*ListSnippetVersionsRequest) XXX_Unmarshal ¶
func (m *ListSnippetVersionsRequest) XXX_Unmarshal(b []byte) error
type ListSnippetVersionsResponse ¶
type ListSnippetVersionsResponse struct { // The list of [SnippetVersions][SnippetVersion]. SnippetVersions []*SnippetVersion `protobuf:"bytes,1,rep,name=snippet_versions,json=snippetVersions,proto3" json:"snippet_versions,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListSnippetVersionsRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [SnippetVersions][SnippetVersion] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [SampleService.ListSnippetVersions][].
func (*ListSnippetVersionsResponse) Descriptor ¶
func (*ListSnippetVersionsResponse) Descriptor() ([]byte, []int)
func (*ListSnippetVersionsResponse) GetNextPageToken ¶
func (m *ListSnippetVersionsResponse) GetNextPageToken() string
func (*ListSnippetVersionsResponse) GetSnippetVersions ¶
func (m *ListSnippetVersionsResponse) GetSnippetVersions() []*SnippetVersion
func (*ListSnippetVersionsResponse) GetTotal ¶
func (m *ListSnippetVersionsResponse) GetTotal() int32
func (*ListSnippetVersionsResponse) ProtoMessage ¶
func (*ListSnippetVersionsResponse) ProtoMessage()
func (*ListSnippetVersionsResponse) Reset ¶
func (m *ListSnippetVersionsResponse) Reset()
func (*ListSnippetVersionsResponse) String ¶
func (m *ListSnippetVersionsResponse) String() string
func (*ListSnippetVersionsResponse) XXX_DiscardUnknown ¶
func (m *ListSnippetVersionsResponse) XXX_DiscardUnknown()
func (*ListSnippetVersionsResponse) XXX_Marshal ¶
func (m *ListSnippetVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnippetVersionsResponse) XXX_Merge ¶
func (m *ListSnippetVersionsResponse) XXX_Merge(src proto.Message)
func (*ListSnippetVersionsResponse) XXX_Size ¶
func (m *ListSnippetVersionsResponse) XXX_Size() int
func (*ListSnippetVersionsResponse) XXX_Unmarshal ¶
func (m *ListSnippetVersionsResponse) XXX_Unmarshal(b []byte) error
type ListSnippetsRequest ¶
type ListSnippetsRequest struct { // Required. The resource name of the repository associated with the // [Snippets][Snippet], in the format `owners/*/repositories/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Limit the number of [Snippets][Snippet] to include in the // response. Fewer snippets than requested might be returned. // // The maximum page size is `100`. If unspecified, the page size will be the // maximum. Further [Snippets][Snippet] can subsequently be obtained // by including the [ListSnippetsResponse.next_page_token][] in a // subsequent request. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. To request the first page of results, `page_token` must be empty. // To request the next page of results, page_token must be the value of // [ListSnippetsResponse.next_page_token][] returned by a previous call to // [SnippetService.ListSnippets][]. // // The page token is valid for only 2 hours. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter expression used to only include resources that match the // filter in the response. Filter must be in following the format: // // field1=123 // field2="Foo bar" // field3 IN (value3, value4) // field4 LIKE "%somestring%" // // Valid filter fields are: `region_tag`, `content`, `file.name`, `file.repo`. // Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify how the results should be sorted. The fields supported // for sorting are `name` and `size`. // The default ordering is by `name`. Prefix with `-` to specify // descending order, e.g. `-name`. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [SampleService.ListSnippets][].
func (*ListSnippetsRequest) Descriptor ¶
func (*ListSnippetsRequest) Descriptor() ([]byte, []int)
func (*ListSnippetsRequest) GetFilter ¶
func (m *ListSnippetsRequest) GetFilter() string
func (*ListSnippetsRequest) GetOrderBy ¶
func (m *ListSnippetsRequest) GetOrderBy() string
func (*ListSnippetsRequest) GetPageSize ¶
func (m *ListSnippetsRequest) GetPageSize() int32
func (*ListSnippetsRequest) GetPageToken ¶
func (m *ListSnippetsRequest) GetPageToken() string
func (*ListSnippetsRequest) GetParent ¶
func (m *ListSnippetsRequest) GetParent() string
func (*ListSnippetsRequest) ProtoMessage ¶
func (*ListSnippetsRequest) ProtoMessage()
func (*ListSnippetsRequest) Reset ¶
func (m *ListSnippetsRequest) Reset()
func (*ListSnippetsRequest) String ¶
func (m *ListSnippetsRequest) String() string
func (*ListSnippetsRequest) XXX_DiscardUnknown ¶
func (m *ListSnippetsRequest) XXX_DiscardUnknown()
func (*ListSnippetsRequest) XXX_Marshal ¶
func (m *ListSnippetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnippetsRequest) XXX_Merge ¶
func (m *ListSnippetsRequest) XXX_Merge(src proto.Message)
func (*ListSnippetsRequest) XXX_Size ¶
func (m *ListSnippetsRequest) XXX_Size() int
func (*ListSnippetsRequest) XXX_Unmarshal ¶
func (m *ListSnippetsRequest) XXX_Unmarshal(b []byte) error
type ListSnippetsResponse ¶
type ListSnippetsResponse struct { // The list of [Snippets][Snippet]. Snippets []*Snippet `protobuf:"bytes,1,rep,name=snippets,proto3" json:"snippets,omitempty"` // A token to retrieve the next page of results, or empty if there are no // more results in the list. Pass this value in // [ListSnippetsRequest.page_token][] to retrieve the next page of // results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The total number of [Snippets][Snippet] that matched the query. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [SampleService.ListSnippets][].
func (*ListSnippetsResponse) Descriptor ¶
func (*ListSnippetsResponse) Descriptor() ([]byte, []int)
func (*ListSnippetsResponse) GetNextPageToken ¶
func (m *ListSnippetsResponse) GetNextPageToken() string
func (*ListSnippetsResponse) GetSnippets ¶
func (m *ListSnippetsResponse) GetSnippets() []*Snippet
func (*ListSnippetsResponse) GetTotal ¶
func (m *ListSnippetsResponse) GetTotal() int32
func (*ListSnippetsResponse) ProtoMessage ¶
func (*ListSnippetsResponse) ProtoMessage()
func (*ListSnippetsResponse) Reset ¶
func (m *ListSnippetsResponse) Reset()
func (*ListSnippetsResponse) String ¶
func (m *ListSnippetsResponse) String() string
func (*ListSnippetsResponse) XXX_DiscardUnknown ¶
func (m *ListSnippetsResponse) XXX_DiscardUnknown()
func (*ListSnippetsResponse) XXX_Marshal ¶
func (m *ListSnippetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnippetsResponse) XXX_Merge ¶
func (m *ListSnippetsResponse) XXX_Merge(src proto.Message)
func (*ListSnippetsResponse) XXX_Size ¶
func (m *ListSnippetsResponse) XXX_Size() int
func (*ListSnippetsResponse) XXX_Unmarshal ¶
func (m *ListSnippetsResponse) XXX_Unmarshal(b []byte) error
type Owner ¶
type Owner struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Owner) Descriptor
deprecated
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type PageToken ¶
type PageToken struct { // The offset where the next request should start. Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // The time when the first page request was received. FirstRequestTimeUsec *timestamp.Timestamp `protobuf:"bytes,2,opt,name=first_request_time_usec,json=firstRequestTimeUsec,proto3" json:"first_request_time_usec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PageToken) Descriptor ¶
func (*PageToken) GetFirstRequestTimeUsec ¶
func (*PageToken) ProtoMessage ¶
func (*PageToken) ProtoMessage()
func (*PageToken) XXX_DiscardUnknown ¶
func (m *PageToken) XXX_DiscardUnknown()
func (*PageToken) XXX_Marshal ¶
func (*PageToken) XXX_Unmarshal ¶
type Repository ¶
type Repository struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IssueCount int32 `protobuf:"varint,2,opt,name=issue_count,json=issueCount,proto3" json:"issue_count,omitempty"` PullRequestCount int32 `protobuf:"varint,3,opt,name=pull_request_count,json=pullRequestCount,proto3" json:"pull_request_count,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetIssueCount ¶
func (x *Repository) GetIssueCount() int32
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetPullRequestCount ¶
func (x *Repository) GetPullRequestCount() int32
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 SLO ¶
type SLO struct { GithubLabels []string `protobuf:"bytes,1,rep,name=github_labels,json=githubLabels,proto3" json:"github_labels,omitempty"` ExcludedGithubLabels []string `protobuf:"bytes,2,rep,name=excluded_github_labels,json=excludedGithubLabels,proto3" json:"excluded_github_labels,omitempty"` AppliesToIssues bool `protobuf:"varint,3,opt,name=applies_to_issues,json=appliesToIssues,proto3" json:"applies_to_issues,omitempty"` AppliesToPrs bool `protobuf:"varint,4,opt,name=applies_to_prs,json=appliesToPrs,proto3" json:"applies_to_prs,omitempty"` ResponseTime *duration.Duration `protobuf:"bytes,5,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"` ResolutionTime *duration.Duration `protobuf:"bytes,6,opt,name=resolution_time,json=resolutionTime,proto3" json:"resolution_time,omitempty"` RequiresAssignee bool `protobuf:"varint,7,opt,name=requires_assignee,json=requiresAssignee,proto3" json:"requires_assignee,omitempty"` Responders []string `protobuf:"bytes,8,rep,name=responders,proto3" json:"responders,omitempty"` // contains filtered or unexported fields }
func (*SLO) Descriptor
deprecated
func (*SLO) GetAppliesToIssues ¶
func (*SLO) GetAppliesToPrs ¶
func (*SLO) GetExcludedGithubLabels ¶
func (*SLO) GetGithubLabels ¶
func (*SLO) GetRequiresAssignee ¶
func (*SLO) GetResolutionTime ¶
func (*SLO) GetResponders ¶
func (*SLO) GetResponseTime ¶
func (*SLO) ProtoMessage ¶
func (*SLO) ProtoMessage()
func (*SLO) ProtoReflect ¶
func (x *SLO) ProtoReflect() protoreflect.Message
type SLOServiceClient ¶
type SLOServiceClient interface { // Lists [Owners][Owner]. ListOwners(ctx context.Context, in *ListOwnersRequest, opts ...grpc.CallOption) (*ListOwnersResponse, error) // Lists [SLOs][SLO]. ListOwnerSLOs(ctx context.Context, in *ListSLOsRequest, opts ...grpc.CallOption) (*ListSLOsResponse, error) // Lists [Repositories][Repository]. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // Lists [SLOs][SLO]. ListSLOs(ctx context.Context, in *ListSLOsRequest, opts ...grpc.CallOption) (*ListSLOsResponse, error) }
SLOServiceClient is the client API for SLOService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSLOServiceClient ¶
func NewSLOServiceClient(cc grpc.ClientConnInterface) SLOServiceClient
type SLOServiceServer ¶
type SLOServiceServer interface { // Lists [Owners][Owner]. ListOwners(context.Context, *ListOwnersRequest) (*ListOwnersResponse, error) // Lists [SLOs][SLO]. ListOwnerSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error) // Lists [Repositories][Repository]. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // Lists [SLOs][SLO]. ListSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error) }
SLOServiceServer is the server API for SLOService service.
type SampleServiceClient ¶
type SampleServiceClient interface { // Lists [GitCommits][GitCommit]. ListGitCommits(ctx context.Context, in *ListGitCommitsRequest, opts ...grpc.CallOption) (*ListGitCommitsResponse, error) // Gets a [GitCommit][]. GetGitCommit(ctx context.Context, in *GetGitCommitRequest, opts ...grpc.CallOption) (*GitCommit, error) // Lists [Files][File]. ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error) // Lists [Snippets][Snippet]. ListSnippets(ctx context.Context, in *ListSnippetsRequest, opts ...grpc.CallOption) (*ListSnippetsResponse, error) // Lists [SnippetVersions][SnippetVersion]. ListSnippetVersions(ctx context.Context, in *ListSnippetVersionsRequest, opts ...grpc.CallOption) (*ListSnippetVersionsResponse, error) // Lists [Repositories][Repository]. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) }
SampleServiceClient is the client API for SampleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSampleServiceClient ¶
func NewSampleServiceClient(cc grpc.ClientConnInterface) SampleServiceClient
type SampleServiceServer ¶
type SampleServiceServer interface { // Lists [GitCommits][GitCommit]. ListGitCommits(context.Context, *ListGitCommitsRequest) (*ListGitCommitsResponse, error) // Gets a [GitCommit][]. GetGitCommit(context.Context, *GetGitCommitRequest) (*GitCommit, error) // Lists [Files][File]. ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error) // Lists [Snippets][Snippet]. ListSnippets(context.Context, *ListSnippetsRequest) (*ListSnippetsResponse, error) // Lists [SnippetVersions][SnippetVersion]. ListSnippetVersions(context.Context, *ListSnippetVersionsRequest) (*ListSnippetVersionsResponse, error) // Lists [Repositories][Repository]. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) }
SampleServiceServer is the server API for SampleService service.
type Snippet ¶
type Snippet struct { // Output only. The resource name for the [Snippet][] in the format // `owners/*/repositories/*/snippets/*/languages/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The programming language of the snippet. // TODO(jdobry): Switch this from a string to an enum of the languages from // https://github.com/src-d/enry. Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // Output only. A copy of the most recent [SnippetVersion][] of the // [Snippet][]. Primary *SnippetVersion `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` // contains filtered or unexported fields }
func (*Snippet) Descriptor
deprecated
func (*Snippet) GetLanguage ¶
func (*Snippet) GetPrimary ¶
func (x *Snippet) GetPrimary() *SnippetVersion
func (*Snippet) ProtoMessage ¶
func (*Snippet) ProtoMessage()
func (*Snippet) ProtoReflect ¶
func (x *Snippet) ProtoReflect() protoreflect.Message
type SnippetVersion ¶
type SnippetVersion struct { // Output only. The resource name for the [SnippetVersion][] in the format // `owners/*/repositories/*/snippets/*/snippetVersions/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` File *File `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Lines []string `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Meta *SnippetVersionMeta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SnippetVersion) Descriptor
deprecated
func (*SnippetVersion) Descriptor() ([]byte, []int)
Deprecated: Use SnippetVersion.ProtoReflect.Descriptor instead.
func (*SnippetVersion) GetContent ¶
func (x *SnippetVersion) GetContent() string
func (*SnippetVersion) GetFile ¶
func (x *SnippetVersion) GetFile() *File
func (*SnippetVersion) GetLines ¶
func (x *SnippetVersion) GetLines() []string
func (*SnippetVersion) GetMeta ¶
func (x *SnippetVersion) GetMeta() *SnippetVersionMeta
func (*SnippetVersion) GetName ¶
func (x *SnippetVersion) GetName() string
func (*SnippetVersion) ProtoMessage ¶
func (*SnippetVersion) ProtoMessage()
func (*SnippetVersion) ProtoReflect ¶
func (x *SnippetVersion) ProtoReflect() protoreflect.Message
func (*SnippetVersion) Reset ¶
func (x *SnippetVersion) Reset()
func (*SnippetVersion) String ¶
func (x *SnippetVersion) String() string
type SnippetVersionMeta ¶
type SnippetVersionMeta struct { // Output only. Used as metadata information on the [SnippetVersion][] Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Usage string `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"` ApiVersion string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
func (*SnippetVersionMeta) Descriptor
deprecated
func (*SnippetVersionMeta) Descriptor() ([]byte, []int)
Deprecated: Use SnippetVersionMeta.ProtoReflect.Descriptor instead.
func (*SnippetVersionMeta) GetApiVersion ¶
func (x *SnippetVersionMeta) GetApiVersion() string
func (*SnippetVersionMeta) GetDescription ¶
func (x *SnippetVersionMeta) GetDescription() string
func (*SnippetVersionMeta) GetTitle ¶
func (x *SnippetVersionMeta) GetTitle() string
func (*SnippetVersionMeta) GetUsage ¶
func (x *SnippetVersionMeta) GetUsage() string
func (*SnippetVersionMeta) ProtoMessage ¶
func (*SnippetVersionMeta) ProtoMessage()
func (*SnippetVersionMeta) ProtoReflect ¶
func (x *SnippetVersionMeta) ProtoReflect() protoreflect.Message
func (*SnippetVersionMeta) Reset ¶
func (x *SnippetVersionMeta) Reset()
func (*SnippetVersionMeta) String ¶
func (x *SnippetVersionMeta) String() string
type UnimplementedDevRelServicesAdminServer ¶
type UnimplementedDevRelServicesAdminServer struct { }
UnimplementedDevRelServicesAdminServer can be embedded to have forward compatible implementations.
func (*UnimplementedDevRelServicesAdminServer) UpdateTrackedRepos ¶
func (*UnimplementedDevRelServicesAdminServer) UpdateTrackedRepos(ctx context.Context, req *UpdateTrackedReposRequest) (*UpdateTrackedReposResponse, error)
type UnimplementedIssueServiceAdminServer ¶
type UnimplementedIssueServiceAdminServer struct { }
UnimplementedIssueServiceAdminServer can be embedded to have forward compatible implementations.
func (*UnimplementedIssueServiceAdminServer) UpdateTrackedRepos ¶
func (*UnimplementedIssueServiceAdminServer) UpdateTrackedRepos(ctx context.Context, req *UpdateTrackedReposRequest) (*UpdateTrackedReposResponse, error)
type UnimplementedIssueServiceServer ¶
type UnimplementedIssueServiceServer struct { }
UnimplementedIssueServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIssueServiceServer) GetIssue ¶
func (*UnimplementedIssueServiceServer) GetIssue(ctx context.Context, req *GetIssueRequest) (*GetIssueResponse, error)
func (*UnimplementedIssueServiceServer) ListIssues ¶
func (*UnimplementedIssueServiceServer) ListIssues(ctx context.Context, req *ListIssuesRequest) (*ListIssuesResponse, error)
func (*UnimplementedIssueServiceServer) ListRepositories ¶
func (*UnimplementedIssueServiceServer) ListRepositories(ctx context.Context, req *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
type UnimplementedSLOServiceServer ¶
type UnimplementedSLOServiceServer struct { }
UnimplementedSLOServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSLOServiceServer) ListOwnerSLOs ¶
func (*UnimplementedSLOServiceServer) ListOwnerSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error)
func (*UnimplementedSLOServiceServer) ListOwners ¶
func (*UnimplementedSLOServiceServer) ListOwners(context.Context, *ListOwnersRequest) (*ListOwnersResponse, error)
func (*UnimplementedSLOServiceServer) ListRepositories ¶
func (*UnimplementedSLOServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedSLOServiceServer) ListSLOs ¶
func (*UnimplementedSLOServiceServer) ListSLOs(context.Context, *ListSLOsRequest) (*ListSLOsResponse, error)
type UnimplementedSampleServiceServer ¶
type UnimplementedSampleServiceServer struct { }
UnimplementedSampleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSampleServiceServer) GetGitCommit ¶
func (*UnimplementedSampleServiceServer) GetGitCommit(ctx context.Context, req *GetGitCommitRequest) (*GitCommit, error)
func (*UnimplementedSampleServiceServer) ListFiles ¶
func (*UnimplementedSampleServiceServer) ListFiles(ctx context.Context, req *ListFilesRequest) (*ListFilesResponse, error)
func (*UnimplementedSampleServiceServer) ListGitCommits ¶
func (*UnimplementedSampleServiceServer) ListGitCommits(ctx context.Context, req *ListGitCommitsRequest) (*ListGitCommitsResponse, error)
func (*UnimplementedSampleServiceServer) ListRepositories ¶
func (*UnimplementedSampleServiceServer) ListRepositories(ctx context.Context, req *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedSampleServiceServer) ListSnippetVersions ¶
func (*UnimplementedSampleServiceServer) ListSnippetVersions(ctx context.Context, req *ListSnippetVersionsRequest) (*ListSnippetVersionsResponse, error)
func (*UnimplementedSampleServiceServer) ListSnippets ¶
func (*UnimplementedSampleServiceServer) ListSnippets(ctx context.Context, req *ListSnippetsRequest) (*ListSnippetsResponse, error)
type UpdateTrackedReposRequest ¶
type UpdateTrackedReposRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for [DevRelServicesAdmin.UpdateTrackedRepos].
func (*UpdateTrackedReposRequest) Descriptor ¶
func (*UpdateTrackedReposRequest) Descriptor() ([]byte, []int)
func (*UpdateTrackedReposRequest) ProtoMessage ¶
func (*UpdateTrackedReposRequest) ProtoMessage()
func (*UpdateTrackedReposRequest) Reset ¶
func (m *UpdateTrackedReposRequest) Reset()
func (*UpdateTrackedReposRequest) String ¶
func (m *UpdateTrackedReposRequest) String() string
func (*UpdateTrackedReposRequest) XXX_DiscardUnknown ¶
func (m *UpdateTrackedReposRequest) XXX_DiscardUnknown()
func (*UpdateTrackedReposRequest) XXX_Marshal ¶
func (m *UpdateTrackedReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateTrackedReposRequest) XXX_Merge ¶
func (m *UpdateTrackedReposRequest) XXX_Merge(src proto.Message)
func (*UpdateTrackedReposRequest) XXX_Size ¶
func (m *UpdateTrackedReposRequest) XXX_Size() int
func (*UpdateTrackedReposRequest) XXX_Unmarshal ¶
func (m *UpdateTrackedReposRequest) XXX_Unmarshal(b []byte) error
type UpdateTrackedReposResponse ¶
type UpdateTrackedReposResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for [DevRelServicesAdmin.UpdateTrackedRepos].
func (*UpdateTrackedReposResponse) Descriptor ¶
func (*UpdateTrackedReposResponse) Descriptor() ([]byte, []int)
func (*UpdateTrackedReposResponse) ProtoMessage ¶
func (*UpdateTrackedReposResponse) ProtoMessage()
func (*UpdateTrackedReposResponse) Reset ¶
func (m *UpdateTrackedReposResponse) Reset()
func (*UpdateTrackedReposResponse) String ¶
func (m *UpdateTrackedReposResponse) String() string
func (*UpdateTrackedReposResponse) XXX_DiscardUnknown ¶
func (m *UpdateTrackedReposResponse) XXX_DiscardUnknown()
func (*UpdateTrackedReposResponse) XXX_Marshal ¶
func (m *UpdateTrackedReposResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateTrackedReposResponse) XXX_Merge ¶
func (m *UpdateTrackedReposResponse) XXX_Merge(src proto.Message)
func (*UpdateTrackedReposResponse) XXX_Size ¶
func (m *UpdateTrackedReposResponse) XXX_Size() int
func (*UpdateTrackedReposResponse) XXX_Unmarshal ¶
func (m *UpdateTrackedReposResponse) XXX_Unmarshal(b []byte) error