mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* UI reorg * generated stuffs * Make it woooooooork * Classier placeholder * Remove unneeded fragment * Introduce `enterprise_onboarding_enabled` flag * move things properly * add ipv6 localhost
1116 lines
40 KiB
Go
1116 lines
40 KiB
Go
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License.AGPL.txt in the project root for license information.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc (unknown)
|
|
// source: gitpod/v1/scm.proto
|
|
|
|
package v1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type SearchSCMTokensRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
|
|
}
|
|
|
|
func (x *SearchSCMTokensRequest) Reset() {
|
|
*x = SearchSCMTokensRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchSCMTokensRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchSCMTokensRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchSCMTokensRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchSCMTokensRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchSCMTokensRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *SearchSCMTokensRequest) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SearchSCMTokensResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tokens []*SCMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
|
|
}
|
|
|
|
func (x *SearchSCMTokensResponse) Reset() {
|
|
*x = SearchSCMTokensResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchSCMTokensResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchSCMTokensResponse) ProtoMessage() {}
|
|
|
|
func (x *SearchSCMTokensResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchSCMTokensResponse.ProtoReflect.Descriptor instead.
|
|
func (*SearchSCMTokensResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SearchSCMTokensResponse) GetTokens() []*SCMToken {
|
|
if x != nil {
|
|
return x.Tokens
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GuessTokenScopesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
|
|
RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
|
|
GitCommand string `protobuf:"bytes,3,opt,name=git_command,json=gitCommand,proto3" json:"git_command,omitempty"`
|
|
}
|
|
|
|
func (x *GuessTokenScopesRequest) Reset() {
|
|
*x = GuessTokenScopesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuessTokenScopesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuessTokenScopesRequest) ProtoMessage() {}
|
|
|
|
func (x *GuessTokenScopesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuessTokenScopesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GuessTokenScopesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GuessTokenScopesRequest) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GuessTokenScopesRequest) GetRepoUrl() string {
|
|
if x != nil {
|
|
return x.RepoUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GuessTokenScopesRequest) GetGitCommand() string {
|
|
if x != nil {
|
|
return x.GitCommand
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GuessTokenScopesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *GuessTokenScopesResponse) Reset() {
|
|
*x = GuessTokenScopesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuessTokenScopesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuessTokenScopesResponse) ProtoMessage() {}
|
|
|
|
func (x *GuessTokenScopesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GuessTokenScopesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GuessTokenScopesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GuessTokenScopesResponse) GetScopes() []string {
|
|
if x != nil {
|
|
return x.Scopes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GuessTokenScopesResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SearchRepositoriesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SearchString string `protobuf:"bytes,1,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
}
|
|
|
|
func (x *SearchRepositoriesRequest) Reset() {
|
|
*x = SearchRepositoriesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchRepositoriesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchRepositoriesRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchRepositoriesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchRepositoriesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchRepositoriesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SearchRepositoriesRequest) GetSearchString() string {
|
|
if x != nil {
|
|
return x.SearchString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRepositoriesRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchRepositoriesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Repositories []*SuggestedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
|
|
}
|
|
|
|
func (x *SearchRepositoriesResponse) Reset() {
|
|
*x = SearchRepositoriesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchRepositoriesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchRepositoriesResponse) ProtoMessage() {}
|
|
|
|
func (x *SearchRepositoriesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchRepositoriesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SearchRepositoriesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SearchRepositoriesResponse) GetRepositories() []*SuggestedRepository {
|
|
if x != nil {
|
|
return x.Repositories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListSuggestedRepositoriesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
|
|
ExcludeConfigurations bool `protobuf:"varint,3,opt,name=exclude_configurations,json=excludeConfigurations,proto3" json:"exclude_configurations,omitempty"`
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) Reset() {
|
|
*x = ListSuggestedRepositoriesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSuggestedRepositoriesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSuggestedRepositoriesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSuggestedRepositoriesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) GetPagination() *PaginationRequest {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) GetOrganizationId() string {
|
|
if x != nil {
|
|
return x.OrganizationId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesRequest) GetExcludeConfigurations() bool {
|
|
if x != nil {
|
|
return x.ExcludeConfigurations
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListSuggestedRepositoriesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pagination *PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
Repositories []*SuggestedRepository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"`
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesResponse) Reset() {
|
|
*x = ListSuggestedRepositoriesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSuggestedRepositoriesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSuggestedRepositoriesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSuggestedRepositoriesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSuggestedRepositoriesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesResponse) GetPagination() *PaginationResponse {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSuggestedRepositoriesResponse) GetRepositories() []*SuggestedRepository {
|
|
if x != nil {
|
|
return x.Repositories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SCMToken struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
IdToken string `protobuf:"bytes,3,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
|
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
|
|
UpdateDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_date,json=updateDate,proto3" json:"update_date,omitempty"`
|
|
ExpiryDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
|
|
}
|
|
|
|
func (x *SCMToken) Reset() {
|
|
*x = SCMToken{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SCMToken) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SCMToken) ProtoMessage() {}
|
|
|
|
func (x *SCMToken) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SCMToken.ProtoReflect.Descriptor instead.
|
|
func (*SCMToken) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SCMToken) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCMToken) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCMToken) GetIdToken() string {
|
|
if x != nil {
|
|
return x.IdToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCMToken) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SCMToken) GetScopes() []string {
|
|
if x != nil {
|
|
return x.Scopes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCMToken) GetUpdateDate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdateDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SCMToken) GetExpiryDate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiryDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SuggestedRepository struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
|
|
ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
|
|
ConfigurationName string `protobuf:"bytes,4,opt,name=configuration_name,json=configurationName,proto3" json:"configuration_name,omitempty"`
|
|
}
|
|
|
|
func (x *SuggestedRepository) Reset() {
|
|
*x = SuggestedRepository{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SuggestedRepository) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SuggestedRepository) ProtoMessage() {}
|
|
|
|
func (x *SuggestedRepository) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SuggestedRepository.ProtoReflect.Descriptor instead.
|
|
func (*SuggestedRepository) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SuggestedRepository) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SuggestedRepository) GetRepoName() string {
|
|
if x != nil {
|
|
return x.RepoName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SuggestedRepository) GetConfigurationId() string {
|
|
if x != nil {
|
|
return x.ConfigurationId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SuggestedRepository) GetConfigurationName() string {
|
|
if x != nil {
|
|
return x.ConfigurationName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Author struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
|
|
}
|
|
|
|
func (x *Author) Reset() {
|
|
*x = Author{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Author) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Author) ProtoMessage() {}
|
|
|
|
func (x *Author) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Author.ProtoReflect.Descriptor instead.
|
|
func (*Author) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Author) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Author) GetAvatarUrl() string {
|
|
if x != nil {
|
|
return x.AvatarUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Commit struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
Author *Author `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
|
|
AuthorDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=author_date,json=authorDate,proto3" json:"author_date,omitempty"`
|
|
Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
}
|
|
|
|
func (x *Commit) Reset() {
|
|
*x = Commit{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Commit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Commit) ProtoMessage() {}
|
|
|
|
func (x *Commit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_scm_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Commit.ProtoReflect.Descriptor instead.
|
|
func (*Commit) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_scm_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Commit) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetAuthor() *Author {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Commit) GetAuthorDate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.AuthorDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Commit) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_gitpod_v1_scm_proto protoreflect.FileDescriptor
|
|
|
|
var file_gitpod_v1_scm_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x6d, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
|
|
0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a,
|
|
0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x46, 0x0a, 0x17, 0x53,
|
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b,
|
|
0x65, 0x6e, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65,
|
|
0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
|
|
0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f,
|
|
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x4c,
|
|
0x0a, 0x18, 0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70,
|
|
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63,
|
|
0x6f, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70,
|
|
0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x56, 0x0a, 0x19,
|
|
0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
|
|
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x61,
|
|
0x72, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14,
|
|
0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x22, 0x60, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
|
|
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x53,
|
|
0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f,
|
|
0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x70,
|
|
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70,
|
|
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67,
|
|
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x64, 0x12, 0x35, 0x0a, 0x16, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x15, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x21, 0x4c, 0x69,
|
|
0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73,
|
|
0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x3d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42,
|
|
0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
|
|
0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
|
|
0x65, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x08, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d,
|
|
0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65,
|
|
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
|
|
0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79,
|
|
0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44,
|
|
0x61, 0x74, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65,
|
|
0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x06, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
|
|
0x6c, 0x22, 0x9c, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f,
|
|
0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x65,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x65, 0x12, 0x10,
|
|
0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 0x61,
|
|
0x32, 0xa6, 0x03, 0x0a, 0x0a, 0x53, 0x43, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
|
0x5a, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65,
|
|
0x6e, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53,
|
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x43, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x47,
|
|
0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12,
|
|
0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x75, 0x65, 0x73,
|
|
0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x47, 0x75, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x53, 0x65,
|
|
0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
|
|
0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,
|
|
0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
0x78, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x65, 0x64,
|
|
0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x67,
|
|
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67,
|
|
0x67, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69,
|
|
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73,
|
|
0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x0a, 0x16, 0x69, 0x6f, 0x2e,
|
|
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69,
|
|
0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
|
|
0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c,
|
|
0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_gitpod_v1_scm_proto_rawDescOnce sync.Once
|
|
file_gitpod_v1_scm_proto_rawDescData = file_gitpod_v1_scm_proto_rawDesc
|
|
)
|
|
|
|
func file_gitpod_v1_scm_proto_rawDescGZIP() []byte {
|
|
file_gitpod_v1_scm_proto_rawDescOnce.Do(func() {
|
|
file_gitpod_v1_scm_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_scm_proto_rawDescData)
|
|
})
|
|
return file_gitpod_v1_scm_proto_rawDescData
|
|
}
|
|
|
|
var file_gitpod_v1_scm_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_gitpod_v1_scm_proto_goTypes = []interface{}{
|
|
(*SearchSCMTokensRequest)(nil), // 0: gitpod.v1.SearchSCMTokensRequest
|
|
(*SearchSCMTokensResponse)(nil), // 1: gitpod.v1.SearchSCMTokensResponse
|
|
(*GuessTokenScopesRequest)(nil), // 2: gitpod.v1.GuessTokenScopesRequest
|
|
(*GuessTokenScopesResponse)(nil), // 3: gitpod.v1.GuessTokenScopesResponse
|
|
(*SearchRepositoriesRequest)(nil), // 4: gitpod.v1.SearchRepositoriesRequest
|
|
(*SearchRepositoriesResponse)(nil), // 5: gitpod.v1.SearchRepositoriesResponse
|
|
(*ListSuggestedRepositoriesRequest)(nil), // 6: gitpod.v1.ListSuggestedRepositoriesRequest
|
|
(*ListSuggestedRepositoriesResponse)(nil), // 7: gitpod.v1.ListSuggestedRepositoriesResponse
|
|
(*SCMToken)(nil), // 8: gitpod.v1.SCMToken
|
|
(*SuggestedRepository)(nil), // 9: gitpod.v1.SuggestedRepository
|
|
(*Author)(nil), // 10: gitpod.v1.Author
|
|
(*Commit)(nil), // 11: gitpod.v1.Commit
|
|
(*PaginationRequest)(nil), // 12: gitpod.v1.PaginationRequest
|
|
(*PaginationResponse)(nil), // 13: gitpod.v1.PaginationResponse
|
|
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
|
|
}
|
|
var file_gitpod_v1_scm_proto_depIdxs = []int32{
|
|
8, // 0: gitpod.v1.SearchSCMTokensResponse.tokens:type_name -> gitpod.v1.SCMToken
|
|
9, // 1: gitpod.v1.SearchRepositoriesResponse.repositories:type_name -> gitpod.v1.SuggestedRepository
|
|
12, // 2: gitpod.v1.ListSuggestedRepositoriesRequest.pagination:type_name -> gitpod.v1.PaginationRequest
|
|
13, // 3: gitpod.v1.ListSuggestedRepositoriesResponse.pagination:type_name -> gitpod.v1.PaginationResponse
|
|
9, // 4: gitpod.v1.ListSuggestedRepositoriesResponse.repositories:type_name -> gitpod.v1.SuggestedRepository
|
|
14, // 5: gitpod.v1.SCMToken.update_date:type_name -> google.protobuf.Timestamp
|
|
14, // 6: gitpod.v1.SCMToken.expiry_date:type_name -> google.protobuf.Timestamp
|
|
10, // 7: gitpod.v1.Commit.author:type_name -> gitpod.v1.Author
|
|
14, // 8: gitpod.v1.Commit.author_date:type_name -> google.protobuf.Timestamp
|
|
0, // 9: gitpod.v1.SCMService.SearchSCMTokens:input_type -> gitpod.v1.SearchSCMTokensRequest
|
|
2, // 10: gitpod.v1.SCMService.GuessTokenScopes:input_type -> gitpod.v1.GuessTokenScopesRequest
|
|
4, // 11: gitpod.v1.SCMService.SearchRepositories:input_type -> gitpod.v1.SearchRepositoriesRequest
|
|
6, // 12: gitpod.v1.SCMService.ListSuggestedRepositories:input_type -> gitpod.v1.ListSuggestedRepositoriesRequest
|
|
1, // 13: gitpod.v1.SCMService.SearchSCMTokens:output_type -> gitpod.v1.SearchSCMTokensResponse
|
|
3, // 14: gitpod.v1.SCMService.GuessTokenScopes:output_type -> gitpod.v1.GuessTokenScopesResponse
|
|
5, // 15: gitpod.v1.SCMService.SearchRepositories:output_type -> gitpod.v1.SearchRepositoriesResponse
|
|
7, // 16: gitpod.v1.SCMService.ListSuggestedRepositories:output_type -> gitpod.v1.ListSuggestedRepositoriesResponse
|
|
13, // [13:17] is the sub-list for method output_type
|
|
9, // [9:13] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gitpod_v1_scm_proto_init() }
|
|
func file_gitpod_v1_scm_proto_init() {
|
|
if File_gitpod_v1_scm_proto != nil {
|
|
return
|
|
}
|
|
file_gitpod_v1_pagination_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_gitpod_v1_scm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchSCMTokensRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchSCMTokensResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuessTokenScopesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuessTokenScopesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchRepositoriesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchRepositoriesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListSuggestedRepositoriesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListSuggestedRepositoriesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SCMToken); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SuggestedRepository); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Author); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_scm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Commit); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_gitpod_v1_scm_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_gitpod_v1_scm_proto_goTypes,
|
|
DependencyIndexes: file_gitpod_v1_scm_proto_depIdxs,
|
|
MessageInfos: file_gitpod_v1_scm_proto_msgTypes,
|
|
}.Build()
|
|
File_gitpod_v1_scm_proto = out.File
|
|
file_gitpod_v1_scm_proto_rawDesc = nil
|
|
file_gitpod_v1_scm_proto_goTypes = nil
|
|
file_gitpod_v1_scm_proto_depIdxs = nil
|
|
}
|