// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/devtools/cloudbuild/v2/repositories.proto

package cloudbuildpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	httpbody "google.golang.org/genproto/googleapis/api/httpbody"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

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)
)

// Stage of the installation process.
type InstallationState_Stage int32

const (
	// No stage specified.
	InstallationState_STAGE_UNSPECIFIED InstallationState_Stage = 0
	// Only for GitHub Enterprise. An App creation has been requested.
	// The user needs to confirm the creation in their GitHub enterprise host.
	InstallationState_PENDING_CREATE_APP InstallationState_Stage = 1
	// User needs to authorize the GitHub (or Enterprise) App via OAuth.
	InstallationState_PENDING_USER_OAUTH InstallationState_Stage = 2
	// User needs to follow the link to install the GitHub (or Enterprise) App.
	InstallationState_PENDING_INSTALL_APP InstallationState_Stage = 3
	// Installation process has been completed.
	InstallationState_COMPLETE InstallationState_Stage = 10
)

// Enum value maps for InstallationState_Stage.
var (
	InstallationState_Stage_name = map[int32]string{
		0:  "STAGE_UNSPECIFIED",
		1:  "PENDING_CREATE_APP",
		2:  "PENDING_USER_OAUTH",
		3:  "PENDING_INSTALL_APP",
		10: "COMPLETE",
	}
	InstallationState_Stage_value = map[string]int32{
		"STAGE_UNSPECIFIED":   0,
		"PENDING_CREATE_APP":  1,
		"PENDING_USER_OAUTH":  2,
		"PENDING_INSTALL_APP": 3,
		"COMPLETE":            10,
	}
)

func (x InstallationState_Stage) Enum() *InstallationState_Stage {
	p := new(InstallationState_Stage)
	*p = x
	return p
}

func (x InstallationState_Stage) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (InstallationState_Stage) Descriptor() protoreflect.EnumDescriptor {
	return file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes[0].Descriptor()
}

func (InstallationState_Stage) Type() protoreflect.EnumType {
	return &file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes[0]
}

func (x InstallationState_Stage) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use InstallationState_Stage.Descriptor instead.
func (InstallationState_Stage) EnumDescriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{1, 0}
}

// Type of refs
type FetchGitRefsRequest_RefType int32

const (
	// No type specified.
	FetchGitRefsRequest_REF_TYPE_UNSPECIFIED FetchGitRefsRequest_RefType = 0
	// To fetch tags.
	FetchGitRefsRequest_TAG FetchGitRefsRequest_RefType = 1
	// To fetch branches.
	FetchGitRefsRequest_BRANCH FetchGitRefsRequest_RefType = 2
)

// Enum value maps for FetchGitRefsRequest_RefType.
var (
	FetchGitRefsRequest_RefType_name = map[int32]string{
		0: "REF_TYPE_UNSPECIFIED",
		1: "TAG",
		2: "BRANCH",
	}
	FetchGitRefsRequest_RefType_value = map[string]int32{
		"REF_TYPE_UNSPECIFIED": 0,
		"TAG":                  1,
		"BRANCH":               2,
	}
)

func (x FetchGitRefsRequest_RefType) Enum() *FetchGitRefsRequest_RefType {
	p := new(FetchGitRefsRequest_RefType)
	*p = x
	return p
}

func (x FetchGitRefsRequest_RefType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (FetchGitRefsRequest_RefType) Descriptor() protoreflect.EnumDescriptor {
	return file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes[1].Descriptor()
}

func (FetchGitRefsRequest_RefType) Type() protoreflect.EnumType {
	return &file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes[1]
}

func (x FetchGitRefsRequest_RefType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use FetchGitRefsRequest_RefType.Descriptor instead.
func (FetchGitRefsRequest_RefType) EnumDescriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{31, 0}
}

// A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center,
// Bitbucket Cloud or GitLab.
type Connection struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. The resource name of the connection, in the format
	// `projects/{project}/locations/{location}/connections/{connection_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server assigned timestamp for when the connection was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Server assigned timestamp for when the connection was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Configuration for the connection depending on the type of provider.
	//
	// Types that are valid to be assigned to ConnectionConfig:
	//
	//	*Connection_GithubConfig
	//	*Connection_GithubEnterpriseConfig
	//	*Connection_GitlabConfig
	//	*Connection_BitbucketDataCenterConfig
	//	*Connection_BitbucketCloudConfig
	ConnectionConfig isConnection_ConnectionConfig `protobuf_oneof:"connection_config"`
	// Output only. Installation state of the Connection.
	InstallationState *InstallationState `protobuf:"bytes,12,opt,name=installation_state,json=installationState,proto3" json:"installation_state,omitempty"`
	// If disabled is set to true, functionality is disabled for this connection.
	// Repository based API methods and webhooks processing for repositories in
	// this connection will be disabled.
	Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Output only. Set to true when the connection is being set up or updated in
	// the background.
	Reconciling bool `protobuf:"varint,14,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
	// Allows clients to store small amounts of arbitrary data.
	Annotations map[string]string `protobuf:"bytes,15,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag          string `protobuf:"bytes,16,opt,name=etag,proto3" json:"etag,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Connection) Reset() {
	*x = Connection{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Connection) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Connection) ProtoMessage() {}

func (x *Connection) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{0}
}

func (x *Connection) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Connection) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Connection) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Connection) GetConnectionConfig() isConnection_ConnectionConfig {
	if x != nil {
		return x.ConnectionConfig
	}
	return nil
}

func (x *Connection) GetGithubConfig() *GitHubConfig {
	if x != nil {
		if x, ok := x.ConnectionConfig.(*Connection_GithubConfig); ok {
			return x.GithubConfig
		}
	}
	return nil
}

func (x *Connection) GetGithubEnterpriseConfig() *GitHubEnterpriseConfig {
	if x != nil {
		if x, ok := x.ConnectionConfig.(*Connection_GithubEnterpriseConfig); ok {
			return x.GithubEnterpriseConfig
		}
	}
	return nil
}

func (x *Connection) GetGitlabConfig() *GitLabConfig {
	if x != nil {
		if x, ok := x.ConnectionConfig.(*Connection_GitlabConfig); ok {
			return x.GitlabConfig
		}
	}
	return nil
}

func (x *Connection) GetBitbucketDataCenterConfig() *BitbucketDataCenterConfig {
	if x != nil {
		if x, ok := x.ConnectionConfig.(*Connection_BitbucketDataCenterConfig); ok {
			return x.BitbucketDataCenterConfig
		}
	}
	return nil
}

func (x *Connection) GetBitbucketCloudConfig() *BitbucketCloudConfig {
	if x != nil {
		if x, ok := x.ConnectionConfig.(*Connection_BitbucketCloudConfig); ok {
			return x.BitbucketCloudConfig
		}
	}
	return nil
}

func (x *Connection) GetInstallationState() *InstallationState {
	if x != nil {
		return x.InstallationState
	}
	return nil
}

func (x *Connection) GetDisabled() bool {
	if x != nil {
		return x.Disabled
	}
	return false
}

func (x *Connection) GetReconciling() bool {
	if x != nil {
		return x.Reconciling
	}
	return false
}

func (x *Connection) GetAnnotations() map[string]string {
	if x != nil {
		return x.Annotations
	}
	return nil
}

func (x *Connection) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

type isConnection_ConnectionConfig interface {
	isConnection_ConnectionConfig()
}

type Connection_GithubConfig struct {
	// Configuration for connections to github.com.
	GithubConfig *GitHubConfig `protobuf:"bytes,5,opt,name=github_config,json=githubConfig,proto3,oneof"`
}

type Connection_GithubEnterpriseConfig struct {
	// Configuration for connections to an instance of GitHub Enterprise.
	GithubEnterpriseConfig *GitHubEnterpriseConfig `protobuf:"bytes,6,opt,name=github_enterprise_config,json=githubEnterpriseConfig,proto3,oneof"`
}

type Connection_GitlabConfig struct {
	// Configuration for connections to gitlab.com or an instance of GitLab
	// Enterprise.
	GitlabConfig *GitLabConfig `protobuf:"bytes,7,opt,name=gitlab_config,json=gitlabConfig,proto3,oneof"`
}

type Connection_BitbucketDataCenterConfig struct {
	// Configuration for connections to Bitbucket Data Center.
	BitbucketDataCenterConfig *BitbucketDataCenterConfig `protobuf:"bytes,8,opt,name=bitbucket_data_center_config,json=bitbucketDataCenterConfig,proto3,oneof"`
}

type Connection_BitbucketCloudConfig struct {
	// Configuration for connections to Bitbucket Cloud.
	BitbucketCloudConfig *BitbucketCloudConfig `protobuf:"bytes,9,opt,name=bitbucket_cloud_config,json=bitbucketCloudConfig,proto3,oneof"`
}

func (*Connection_GithubConfig) isConnection_ConnectionConfig() {}

func (*Connection_GithubEnterpriseConfig) isConnection_ConnectionConfig() {}

func (*Connection_GitlabConfig) isConnection_ConnectionConfig() {}

func (*Connection_BitbucketDataCenterConfig) isConnection_ConnectionConfig() {}

func (*Connection_BitbucketCloudConfig) isConnection_ConnectionConfig() {}

// Describes stage and necessary actions to be taken by the
// user to complete the installation. Used for GitHub and GitHub Enterprise
// based connections.
type InstallationState struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. Current step of the installation process.
	Stage InstallationState_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=google.devtools.cloudbuild.v2.InstallationState_Stage" json:"stage,omitempty"`
	// Output only. Message of what the user should do next to continue the
	// installation. Empty string if the installation is already complete.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Output only. Link to follow for next action. Empty string if the
	// installation is already complete.
	ActionUri     string `protobuf:"bytes,3,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *InstallationState) Reset() {
	*x = InstallationState{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *InstallationState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*InstallationState) ProtoMessage() {}

func (x *InstallationState) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use InstallationState.ProtoReflect.Descriptor instead.
func (*InstallationState) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{1}
}

func (x *InstallationState) GetStage() InstallationState_Stage {
	if x != nil {
		return x.Stage
	}
	return InstallationState_STAGE_UNSPECIFIED
}

func (x *InstallationState) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

func (x *InstallationState) GetActionUri() string {
	if x != nil {
		return x.ActionUri
	}
	return ""
}

// Request message for FetchLinkableRepositories.
type FetchLinkableRepositoriesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the Connection.
	// Format: `projects/*/locations/*/connections/*`.
	Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Number of results to return in the list. Default to 20.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchLinkableRepositoriesRequest) Reset() {
	*x = FetchLinkableRepositoriesRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchLinkableRepositoriesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchLinkableRepositoriesRequest) ProtoMessage() {}

func (x *FetchLinkableRepositoriesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchLinkableRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*FetchLinkableRepositoriesRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{2}
}

func (x *FetchLinkableRepositoriesRequest) GetConnection() string {
	if x != nil {
		return x.Connection
	}
	return ""
}

func (x *FetchLinkableRepositoriesRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *FetchLinkableRepositoriesRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

// Response message for FetchLinkableRepositories.
type FetchLinkableRepositoriesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// repositories ready to be created.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchLinkableRepositoriesResponse) Reset() {
	*x = FetchLinkableRepositoriesResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchLinkableRepositoriesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchLinkableRepositoriesResponse) ProtoMessage() {}

func (x *FetchLinkableRepositoriesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchLinkableRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*FetchLinkableRepositoriesResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{3}
}

func (x *FetchLinkableRepositoriesResponse) GetRepositories() []*Repository {
	if x != nil {
		return x.Repositories
	}
	return nil
}

func (x *FetchLinkableRepositoriesResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Configuration for connections to github.com.
type GitHubConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// OAuth credential of the account that authorized the Cloud Build GitHub App.
	// It is recommended to use a robot account instead of a human user account.
	// The OAuth token must be tied to the Cloud Build GitHub App.
	AuthorizerCredential *OAuthCredential `protobuf:"bytes,1,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// GitHub App installation id.
	AppInstallationId int64 `protobuf:"varint,2,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *GitHubConfig) Reset() {
	*x = GitHubConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GitHubConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GitHubConfig) ProtoMessage() {}

func (x *GitHubConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GitHubConfig.ProtoReflect.Descriptor instead.
func (*GitHubConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{4}
}

func (x *GitHubConfig) GetAuthorizerCredential() *OAuthCredential {
	if x != nil {
		return x.AuthorizerCredential
	}
	return nil
}

func (x *GitHubConfig) GetAppInstallationId() int64 {
	if x != nil {
		return x.AppInstallationId
	}
	return 0
}

// Configuration for connections to an instance of GitHub Enterprise.
type GitHubEnterpriseConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The URI of the GitHub Enterprise host this connection is for.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. API Key used for authentication of webhook events.
	ApiKey string `protobuf:"bytes,12,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// Id of the GitHub App created from the manifest.
	AppId int64 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// The URL-friendly name of the GitHub App.
	AppSlug string `protobuf:"bytes,13,opt,name=app_slug,json=appSlug,proto3" json:"app_slug,omitempty"`
	// SecretManager resource containing the private key of the GitHub App,
	// formatted as `projects/*/secrets/*/versions/*`.
	PrivateKeySecretVersion string `protobuf:"bytes,4,opt,name=private_key_secret_version,json=privateKeySecretVersion,proto3" json:"private_key_secret_version,omitempty"`
	// SecretManager resource containing the webhook secret of the GitHub App,
	// formatted as `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,5,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// ID of the installation of the GitHub App.
	AppInstallationId int64 `protobuf:"varint,9,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
	// Configuration for using Service Directory to privately connect to a GitHub
	// Enterprise server. This should only be set if the GitHub Enterprise server
	// is hosted on-premises and not reachable by public internet. If this field
	// is left empty, calls to the GitHub Enterprise server will be made over the
	// public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,10,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// SSL certificate to use for requests to GitHub Enterprise.
	SslCa string `protobuf:"bytes,11,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. GitHub Enterprise version installed at the host_uri.
	ServerVersion string `protobuf:"bytes,14,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GitHubEnterpriseConfig) Reset() {
	*x = GitHubEnterpriseConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GitHubEnterpriseConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GitHubEnterpriseConfig) ProtoMessage() {}

func (x *GitHubEnterpriseConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GitHubEnterpriseConfig.ProtoReflect.Descriptor instead.
func (*GitHubEnterpriseConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{5}
}

func (x *GitHubEnterpriseConfig) GetHostUri() string {
	if x != nil {
		return x.HostUri
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetApiKey() string {
	if x != nil {
		return x.ApiKey
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetAppId() int64 {
	if x != nil {
		return x.AppId
	}
	return 0
}

func (x *GitHubEnterpriseConfig) GetAppSlug() string {
	if x != nil {
		return x.AppSlug
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetPrivateKeySecretVersion() string {
	if x != nil {
		return x.PrivateKeySecretVersion
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetWebhookSecretSecretVersion() string {
	if x != nil {
		return x.WebhookSecretSecretVersion
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetAppInstallationId() int64 {
	if x != nil {
		return x.AppInstallationId
	}
	return 0
}

func (x *GitHubEnterpriseConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig {
	if x != nil {
		return x.ServiceDirectoryConfig
	}
	return nil
}

func (x *GitHubEnterpriseConfig) GetSslCa() string {
	if x != nil {
		return x.SslCa
	}
	return ""
}

func (x *GitHubEnterpriseConfig) GetServerVersion() string {
	if x != nil {
		return x.ServerVersion
	}
	return ""
}

// Configuration for connections to gitlab.com or an instance of GitLab
// Enterprise.
type GitLabConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The URI of the GitLab Enterprise host this connection is for.
	// If not specified, the default value is https://gitlab.com.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. Immutable. SecretManager resource containing the webhook secret
	// of a GitLab Enterprise project, formatted as
	// `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. A GitLab personal access token with the minimum `read_api` scope
	// access.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. A GitLab personal access token with the `api` scope access.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// Configuration for using Service Directory to privately connect to a GitLab
	// Enterprise server. This should only be set if the GitLab Enterprise server
	// is hosted on-premises and not reachable by public internet. If this field
	// is left empty, calls to the GitLab Enterprise server will be made over the
	// public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,5,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// SSL certificate to use for requests to GitLab Enterprise.
	SslCa string `protobuf:"bytes,6,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. Version of the GitLab Enterprise server running on the
	// `host_uri`.
	ServerVersion string `protobuf:"bytes,7,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GitLabConfig) Reset() {
	*x = GitLabConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GitLabConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GitLabConfig) ProtoMessage() {}

func (x *GitLabConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GitLabConfig.ProtoReflect.Descriptor instead.
func (*GitLabConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{6}
}

func (x *GitLabConfig) GetHostUri() string {
	if x != nil {
		return x.HostUri
	}
	return ""
}

func (x *GitLabConfig) GetWebhookSecretSecretVersion() string {
	if x != nil {
		return x.WebhookSecretSecretVersion
	}
	return ""
}

func (x *GitLabConfig) GetReadAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.ReadAuthorizerCredential
	}
	return nil
}

func (x *GitLabConfig) GetAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.AuthorizerCredential
	}
	return nil
}

func (x *GitLabConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig {
	if x != nil {
		return x.ServiceDirectoryConfig
	}
	return nil
}

func (x *GitLabConfig) GetSslCa() string {
	if x != nil {
		return x.SslCa
	}
	return ""
}

func (x *GitLabConfig) GetServerVersion() string {
	if x != nil {
		return x.ServerVersion
	}
	return ""
}

// Configuration for connections to Bitbucket Data Center.
type BitbucketDataCenterConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The URI of the Bitbucket Data Center instance or cluster this
	// connection is for.
	HostUri string `protobuf:"bytes,1,opt,name=host_uri,json=hostUri,proto3" json:"host_uri,omitempty"`
	// Required. Immutable. SecretManager resource containing the webhook secret
	// used to verify webhook events, formatted as
	// `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. A http access token with the `REPO_READ` access.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. A http access token with the `REPO_ADMIN` scope access.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	// Optional. Configuration for using Service Directory to privately connect to
	// a Bitbucket Data Center. This should only be set if the Bitbucket Data
	// Center is hosted on-premises and not reachable by public internet. If this
	// field is left empty, calls to the Bitbucket Data Center will be made over
	// the public internet.
	ServiceDirectoryConfig *ServiceDirectoryConfig `protobuf:"bytes,5,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
	// Optional. SSL certificate to use for requests to the Bitbucket Data Center.
	SslCa string `protobuf:"bytes,6,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	// Output only. Version of the Bitbucket Data Center running on the
	// `host_uri`.
	ServerVersion string `protobuf:"bytes,7,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BitbucketDataCenterConfig) Reset() {
	*x = BitbucketDataCenterConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BitbucketDataCenterConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BitbucketDataCenterConfig) ProtoMessage() {}

func (x *BitbucketDataCenterConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BitbucketDataCenterConfig.ProtoReflect.Descriptor instead.
func (*BitbucketDataCenterConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{7}
}

func (x *BitbucketDataCenterConfig) GetHostUri() string {
	if x != nil {
		return x.HostUri
	}
	return ""
}

func (x *BitbucketDataCenterConfig) GetWebhookSecretSecretVersion() string {
	if x != nil {
		return x.WebhookSecretSecretVersion
	}
	return ""
}

func (x *BitbucketDataCenterConfig) GetReadAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.ReadAuthorizerCredential
	}
	return nil
}

func (x *BitbucketDataCenterConfig) GetAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.AuthorizerCredential
	}
	return nil
}

func (x *BitbucketDataCenterConfig) GetServiceDirectoryConfig() *ServiceDirectoryConfig {
	if x != nil {
		return x.ServiceDirectoryConfig
	}
	return nil
}

func (x *BitbucketDataCenterConfig) GetSslCa() string {
	if x != nil {
		return x.SslCa
	}
	return ""
}

func (x *BitbucketDataCenterConfig) GetServerVersion() string {
	if x != nil {
		return x.ServerVersion
	}
	return ""
}

// Configuration for connections to Bitbucket Cloud.
type BitbucketCloudConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
	// Platform.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Required. SecretManager resource containing the webhook secret used to
	// verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
	WebhookSecretSecretVersion string `protobuf:"bytes,2,opt,name=webhook_secret_secret_version,json=webhookSecretSecretVersion,proto3" json:"webhook_secret_secret_version,omitempty"`
	// Required. An access token with the `repository` access. It can be either a
	// workspace, project or repository access token. It's recommended to use a
	// system account to generate the credentials.
	ReadAuthorizerCredential *UserCredential `protobuf:"bytes,3,opt,name=read_authorizer_credential,json=readAuthorizerCredential,proto3" json:"read_authorizer_credential,omitempty"`
	// Required. An access token with the `webhook`, `repository`,
	// `repository:admin` and `pullrequest` scope access. It can be either a
	// workspace, project or repository access token. It's recommended to use a
	// system account to generate these credentials.
	AuthorizerCredential *UserCredential `protobuf:"bytes,4,opt,name=authorizer_credential,json=authorizerCredential,proto3" json:"authorizer_credential,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *BitbucketCloudConfig) Reset() {
	*x = BitbucketCloudConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BitbucketCloudConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BitbucketCloudConfig) ProtoMessage() {}

func (x *BitbucketCloudConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BitbucketCloudConfig.ProtoReflect.Descriptor instead.
func (*BitbucketCloudConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{8}
}

func (x *BitbucketCloudConfig) GetWorkspace() string {
	if x != nil {
		return x.Workspace
	}
	return ""
}

func (x *BitbucketCloudConfig) GetWebhookSecretSecretVersion() string {
	if x != nil {
		return x.WebhookSecretSecretVersion
	}
	return ""
}

func (x *BitbucketCloudConfig) GetReadAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.ReadAuthorizerCredential
	}
	return nil
}

func (x *BitbucketCloudConfig) GetAuthorizerCredential() *UserCredential {
	if x != nil {
		return x.AuthorizerCredential
	}
	return nil
}

// ServiceDirectoryConfig represents Service Directory configuration for a
// connection.
type ServiceDirectoryConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The Service Directory service name.
	// Format:
	// projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
	Service       string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ServiceDirectoryConfig) Reset() {
	*x = ServiceDirectoryConfig{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ServiceDirectoryConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ServiceDirectoryConfig) ProtoMessage() {}

func (x *ServiceDirectoryConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ServiceDirectoryConfig.ProtoReflect.Descriptor instead.
func (*ServiceDirectoryConfig) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{9}
}

func (x *ServiceDirectoryConfig) GetService() string {
	if x != nil {
		return x.Service
	}
	return ""
}

// A repository associated to a parent connection.
type Repository struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. Resource name of the repository, in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Git Clone HTTPS URI.
	RemoteUri string `protobuf:"bytes,2,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`
	// Output only. Server assigned timestamp for when the connection was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Server assigned timestamp for when the connection was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Allows clients to store small amounts of arbitrary data.
	Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. External ID of the webhook created for the repository.
	WebhookId     string `protobuf:"bytes,8,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Repository) Reset() {
	*x = Repository{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Repository) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Repository) ProtoMessage() {}

func (x *Repository) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{10}
}

func (x *Repository) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Repository) GetRemoteUri() string {
	if x != nil {
		return x.RemoteUri
	}
	return ""
}

func (x *Repository) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Repository) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Repository) GetAnnotations() map[string]string {
	if x != nil {
		return x.Annotations
	}
	return nil
}

func (x *Repository) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *Repository) GetWebhookId() string {
	if x != nil {
		return x.WebhookId
	}
	return ""
}

// Represents an OAuth token of the account that authorized the Connection,
// and associated metadata.
type OAuthCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A SecretManager resource containing the OAuth token that authorizes
	// the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
	OauthTokenSecretVersion string `protobuf:"bytes,1,opt,name=oauth_token_secret_version,json=oauthTokenSecretVersion,proto3" json:"oauth_token_secret_version,omitempty"`
	// Output only. The username associated to this token.
	Username      string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *OAuthCredential) Reset() {
	*x = OAuthCredential{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *OAuthCredential) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OAuthCredential) ProtoMessage() {}

func (x *OAuthCredential) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use OAuthCredential.ProtoReflect.Descriptor instead.
func (*OAuthCredential) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{11}
}

func (x *OAuthCredential) GetOauthTokenSecretVersion() string {
	if x != nil {
		return x.OauthTokenSecretVersion
	}
	return ""
}

func (x *OAuthCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

// Represents a personal access token that authorized the Connection,
// and associated metadata.
type UserCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. A SecretManager resource containing the user token that
	// authorizes the Cloud Build connection. Format:
	// `projects/*/secrets/*/versions/*`.
	UserTokenSecretVersion string `protobuf:"bytes,1,opt,name=user_token_secret_version,json=userTokenSecretVersion,proto3" json:"user_token_secret_version,omitempty"`
	// Output only. The username associated to this token.
	Username      string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UserCredential) Reset() {
	*x = UserCredential{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UserCredential) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UserCredential) ProtoMessage() {}

func (x *UserCredential) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UserCredential.ProtoReflect.Descriptor instead.
func (*UserCredential) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{12}
}

func (x *UserCredential) GetUserTokenSecretVersion() string {
	if x != nil {
		return x.UserTokenSecretVersion
	}
	return ""
}

func (x *UserCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

// Message for creating a Connection
type CreateConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Project and location where the connection will be created.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Connection to create.
	Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
	// Required. The ID to use for the Connection, which will become the final
	// component of the Connection's resource name. Names must be unique
	// per-project per-location. Allows alphanumeric characters and any of
	// -._~%!$&'()*+,;=@.
	ConnectionId  string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateConnectionRequest) Reset() {
	*x = CreateConnectionRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateConnectionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateConnectionRequest) ProtoMessage() {}

func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{13}
}

func (x *CreateConnectionRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateConnectionRequest) GetConnection() *Connection {
	if x != nil {
		return x.Connection
	}
	return nil
}

func (x *CreateConnectionRequest) GetConnectionId() string {
	if x != nil {
		return x.ConnectionId
	}
	return ""
}

// Message for getting the details of a Connection.
type GetConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the Connection to retrieve.
	// Format: `projects/*/locations/*/connections/*`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetConnectionRequest) Reset() {
	*x = GetConnectionRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetConnectionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetConnectionRequest) ProtoMessage() {}

func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{14}
}

func (x *GetConnectionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// Message for requesting list of Connections.
type ListConnectionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The parent, which owns this collection of Connections.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Number of results to return in the list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListConnectionsRequest) Reset() {
	*x = ListConnectionsRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListConnectionsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListConnectionsRequest) ProtoMessage() {}

func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionsRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{15}
}

func (x *ListConnectionsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListConnectionsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListConnectionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

// Message for response to listing Connections.
type ListConnectionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of Connections.
	Connections []*Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListConnectionsResponse) Reset() {
	*x = ListConnectionsResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListConnectionsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListConnectionsResponse) ProtoMessage() {}

func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionsResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{16}
}

func (x *ListConnectionsResponse) GetConnections() []*Connection {
	if x != nil {
		return x.Connections
	}
	return nil
}

func (x *ListConnectionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Message for updating a Connection.
type UpdateConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The Connection to update.
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set to true, and the connection is not found a new connection
	// will be created. In this situation `update_mask` is ignored.
	// The creation will succeed only if the input connection has all the
	// necessary information (e.g a github_config with both  user_oauth_token and
	// installation_id properties).
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// The current etag of the connection.
	// If an etag is provided and does not match the current etag of the
	// connection, update will be blocked and an ABORTED error will be returned.
	Etag          string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateConnectionRequest) Reset() {
	*x = UpdateConnectionRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateConnectionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateConnectionRequest) ProtoMessage() {}

func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{17}
}

func (x *UpdateConnectionRequest) GetConnection() *Connection {
	if x != nil {
		return x.Connection
	}
	return nil
}

func (x *UpdateConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateConnectionRequest) GetAllowMissing() bool {
	if x != nil {
		return x.AllowMissing
	}
	return false
}

func (x *UpdateConnectionRequest) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

// Message for deleting a Connection.
type DeleteConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the Connection to delete.
	// Format: `projects/*/locations/*/connections/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The current etag of the connection.
	// If an etag is provided and does not match the current etag of the
	// connection, deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// If set, validate the request, but do not actually post it.
	ValidateOnly  bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteConnectionRequest) Reset() {
	*x = DeleteConnectionRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteConnectionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteConnectionRequest) ProtoMessage() {}

func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{18}
}

func (x *DeleteConnectionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DeleteConnectionRequest) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *DeleteConnectionRequest) GetValidateOnly() bool {
	if x != nil {
		return x.ValidateOnly
	}
	return false
}

// Message for creating a Repository.
type CreateRepositoryRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The connection to contain the repository. If the request is part
	// of a BatchCreateRepositoriesRequest, this field should be empty or match
	// the parent specified there.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The repository to create.
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// Required. The ID to use for the repository, which will become the final
	// component of the repository's resource name. This ID should be unique in
	// the connection. Allows alphanumeric characters and any of
	// -._~%!$&'()*+,;=@.
	RepositoryId  string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateRepositoryRequest) Reset() {
	*x = CreateRepositoryRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateRepositoryRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateRepositoryRequest) ProtoMessage() {}

func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{19}
}

func (x *CreateRepositoryRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateRepositoryRequest) GetRepository() *Repository {
	if x != nil {
		return x.Repository
	}
	return nil
}

func (x *CreateRepositoryRequest) GetRepositoryId() string {
	if x != nil {
		return x.RepositoryId
	}
	return ""
}

// Message for creating repositoritories in batch.
type BatchCreateRepositoriesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The connection to contain all the repositories being created.
	// Format: projects/*/locations/*/connections/*
	// The parent field in the CreateRepositoryRequest messages
	// must either be empty or match this field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The request messages specifying the repositories to create.
	Requests      []*CreateRepositoryRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BatchCreateRepositoriesRequest) Reset() {
	*x = BatchCreateRepositoriesRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BatchCreateRepositoriesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BatchCreateRepositoriesRequest) ProtoMessage() {}

func (x *BatchCreateRepositoriesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BatchCreateRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateRepositoriesRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{20}
}

func (x *BatchCreateRepositoriesRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *BatchCreateRepositoriesRequest) GetRequests() []*CreateRepositoryRequest {
	if x != nil {
		return x.Requests
	}
	return nil
}

// Message for response of creating repositories in batch.
type BatchCreateRepositoriesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Repository resources created.
	Repositories  []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BatchCreateRepositoriesResponse) Reset() {
	*x = BatchCreateRepositoriesResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BatchCreateRepositoriesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BatchCreateRepositoriesResponse) ProtoMessage() {}

func (x *BatchCreateRepositoriesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BatchCreateRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateRepositoriesResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{21}
}

func (x *BatchCreateRepositoriesResponse) GetRepositories() []*Repository {
	if x != nil {
		return x.Repositories
	}
	return nil
}

// Message for getting the details of a Repository.
type GetRepositoryRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the Repository to retrieve.
	// Format: `projects/*/locations/*/connections/*/repositories/*`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetRepositoryRequest) Reset() {
	*x = GetRepositoryRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetRepositoryRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetRepositoryRequest) ProtoMessage() {}

func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{22}
}

func (x *GetRepositoryRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// Message for requesting list of Repositories.
type ListRepositoriesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The parent, which owns this collection of Repositories.
	// Format: `projects/*/locations/*/connections/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Number of results to return in the list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page start.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// Expressions must follow API improvement proposal
	// [AIP-160](https://google.aip.dev/160). e.g.
	// `remote_uri:"https://github.com*"`.
	Filter        string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRepositoriesRequest) Reset() {
	*x = ListRepositoriesRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListRepositoriesRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRepositoriesRequest) ProtoMessage() {}

func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{23}
}

func (x *ListRepositoriesRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListRepositoriesRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListRepositoriesRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListRepositoriesRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

// Message for response to listing Repositories.
type ListRepositoriesResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of Repositories.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListRepositoriesResponse) Reset() {
	*x = ListRepositoriesResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListRepositoriesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRepositoriesResponse) ProtoMessage() {}

func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{24}
}

func (x *ListRepositoriesResponse) GetRepositories() []*Repository {
	if x != nil {
		return x.Repositories
	}
	return nil
}

func (x *ListRepositoriesResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Message for deleting a Repository.
type DeleteRepositoryRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the Repository to delete.
	// Format: `projects/*/locations/*/connections/*/repositories/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The current etag of the repository.
	// If an etag is provided and does not match the current etag of the
	// repository, deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// If set, validate the request, but do not actually post it.
	ValidateOnly  bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteRepositoryRequest) Reset() {
	*x = DeleteRepositoryRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteRepositoryRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteRepositoryRequest) ProtoMessage() {}

func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{25}
}

func (x *DeleteRepositoryRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DeleteRepositoryRequest) GetEtag() string {
	if x != nil {
		return x.Etag
	}
	return ""
}

func (x *DeleteRepositoryRequest) GetValidateOnly() bool {
	if x != nil {
		return x.ValidateOnly
	}
	return false
}

// Message for fetching SCM read/write token.
type FetchReadWriteTokenRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository    string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchReadWriteTokenRequest) Reset() {
	*x = FetchReadWriteTokenRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchReadWriteTokenRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchReadWriteTokenRequest) ProtoMessage() {}

func (x *FetchReadWriteTokenRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchReadWriteTokenRequest.ProtoReflect.Descriptor instead.
func (*FetchReadWriteTokenRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{26}
}

func (x *FetchReadWriteTokenRequest) GetRepository() string {
	if x != nil {
		return x.Repository
	}
	return ""
}

// Message for fetching SCM read token.
type FetchReadTokenRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository    string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchReadTokenRequest) Reset() {
	*x = FetchReadTokenRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchReadTokenRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchReadTokenRequest) ProtoMessage() {}

func (x *FetchReadTokenRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchReadTokenRequest.ProtoReflect.Descriptor instead.
func (*FetchReadTokenRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{27}
}

func (x *FetchReadTokenRequest) GetRepository() string {
	if x != nil {
		return x.Repository
	}
	return ""
}

// Message for responding to get read token.
type FetchReadTokenResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The token content.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Expiration timestamp. Can be empty if unknown or non-expiring.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *FetchReadTokenResponse) Reset() {
	*x = FetchReadTokenResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchReadTokenResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchReadTokenResponse) ProtoMessage() {}

func (x *FetchReadTokenResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchReadTokenResponse.ProtoReflect.Descriptor instead.
func (*FetchReadTokenResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{28}
}

func (x *FetchReadTokenResponse) GetToken() string {
	if x != nil {
		return x.Token
	}
	return ""
}

func (x *FetchReadTokenResponse) GetExpirationTime() *timestamppb.Timestamp {
	if x != nil {
		return x.ExpirationTime
	}
	return nil
}

// Message for responding to get read/write token.
type FetchReadWriteTokenResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The token content.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Expiration timestamp. Can be empty if unknown or non-expiring.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *FetchReadWriteTokenResponse) Reset() {
	*x = FetchReadWriteTokenResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchReadWriteTokenResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchReadWriteTokenResponse) ProtoMessage() {}

func (x *FetchReadWriteTokenResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchReadWriteTokenResponse.ProtoReflect.Descriptor instead.
func (*FetchReadWriteTokenResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{29}
}

func (x *FetchReadWriteTokenResponse) GetToken() string {
	if x != nil {
		return x.Token
	}
	return ""
}

func (x *FetchReadWriteTokenResponse) GetExpirationTime() *timestamppb.Timestamp {
	if x != nil {
		return x.ExpirationTime
	}
	return nil
}

// RPC request object accepted by the ProcessWebhook RPC method.
type ProcessWebhookRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Project and location where the webhook will be received.
	// Format: `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// HTTP request body.
	Body *httpbody.HttpBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Arbitrary additional key to find the maching repository for a webhook event
	// if needed.
	WebhookKey    string `protobuf:"bytes,3,opt,name=webhook_key,json=webhookKey,proto3" json:"webhook_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ProcessWebhookRequest) Reset() {
	*x = ProcessWebhookRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ProcessWebhookRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ProcessWebhookRequest) ProtoMessage() {}

func (x *ProcessWebhookRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ProcessWebhookRequest.ProtoReflect.Descriptor instead.
func (*ProcessWebhookRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{30}
}

func (x *ProcessWebhookRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ProcessWebhookRequest) GetBody() *httpbody.HttpBody {
	if x != nil {
		return x.Body
	}
	return nil
}

func (x *ProcessWebhookRequest) GetWebhookKey() string {
	if x != nil {
		return x.WebhookKey
	}
	return ""
}

// Request for fetching git refs
type FetchGitRefsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the repository in the format
	// `projects/*/locations/*/connections/*/repositories/*`.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Type of refs to fetch
	RefType       FetchGitRefsRequest_RefType `protobuf:"varint,2,opt,name=ref_type,json=refType,proto3,enum=google.devtools.cloudbuild.v2.FetchGitRefsRequest_RefType" json:"ref_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchGitRefsRequest) Reset() {
	*x = FetchGitRefsRequest{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchGitRefsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchGitRefsRequest) ProtoMessage() {}

func (x *FetchGitRefsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchGitRefsRequest.ProtoReflect.Descriptor instead.
func (*FetchGitRefsRequest) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{31}
}

func (x *FetchGitRefsRequest) GetRepository() string {
	if x != nil {
		return x.Repository
	}
	return ""
}

func (x *FetchGitRefsRequest) GetRefType() FetchGitRefsRequest_RefType {
	if x != nil {
		return x.RefType
	}
	return FetchGitRefsRequest_REF_TYPE_UNSPECIFIED
}

// Response for fetching git refs
type FetchGitRefsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the refs fetched.
	RefNames      []string `protobuf:"bytes,1,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FetchGitRefsResponse) Reset() {
	*x = FetchGitRefsResponse{}
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FetchGitRefsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FetchGitRefsResponse) ProtoMessage() {}

func (x *FetchGitRefsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FetchGitRefsResponse.ProtoReflect.Descriptor instead.
func (*FetchGitRefsResponse) Descriptor() ([]byte, []int) {
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP(), []int{32}
}

func (x *FetchGitRefsResponse) GetRefNames() []string {
	if x != nil {
		return x.RefNames
	}
	return nil
}

var File_google_devtools_cloudbuild_v2_repositories_proto protoreflect.FileDescriptor

const file_google_devtools_cloudbuild_v2_repositories_proto_rawDesc = "" +
	"\n" +
	"0google/devtools/cloudbuild/v2/repositories.proto\x12\x1dgoogle.devtools.cloudbuild.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a.google/devtools/cloudbuild/v2/cloudbuild.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\t\n" +
	"\n" +
	"Connection\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12@\n" +
	"\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12R\n" +
	"\rgithub_config\x18\x05 \x01(\v2+.google.devtools.cloudbuild.v2.GitHubConfigH\x00R\fgithubConfig\x12q\n" +
	"\x18github_enterprise_config\x18\x06 \x01(\v25.google.devtools.cloudbuild.v2.GitHubEnterpriseConfigH\x00R\x16githubEnterpriseConfig\x12R\n" +
	"\rgitlab_config\x18\a \x01(\v2+.google.devtools.cloudbuild.v2.GitLabConfigH\x00R\fgitlabConfig\x12{\n" +
	"\x1cbitbucket_data_center_config\x18\b \x01(\v28.google.devtools.cloudbuild.v2.BitbucketDataCenterConfigH\x00R\x19bitbucketDataCenterConfig\x12k\n" +
	"\x16bitbucket_cloud_config\x18\t \x01(\v23.google.devtools.cloudbuild.v2.BitbucketCloudConfigH\x00R\x14bitbucketCloudConfig\x12d\n" +
	"\x12installation_state\x18\f \x01(\v20.google.devtools.cloudbuild.v2.InstallationStateB\x03\xe0A\x03R\x11installationState\x12\x1a\n" +
	"\bdisabled\x18\r \x01(\bR\bdisabled\x12%\n" +
	"\vreconciling\x18\x0e \x01(\bB\x03\xe0A\x03R\vreconciling\x12\\\n" +
	"\vannotations\x18\x0f \x03(\v2:.google.devtools.cloudbuild.v2.Connection.AnnotationsEntryR\vannotations\x12\x12\n" +
	"\x04etag\x18\x10 \x01(\tR\x04etag\x1a>\n" +
	"\x10AnnotationsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:\x88\x01\xeaA\x84\x01\n" +
	"$cloudbuild.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}*\vconnections2\n" +
	"connectionR\x01\x01B\x13\n" +
	"\x11connection_config\"\xa0\x02\n" +
	"\x11InstallationState\x12Q\n" +
	"\x05stage\x18\x01 \x01(\x0e26.google.devtools.cloudbuild.v2.InstallationState.StageB\x03\xe0A\x03R\x05stage\x12\x1d\n" +
	"\amessage\x18\x02 \x01(\tB\x03\xe0A\x03R\amessage\x12\"\n" +
	"\n" +
	"action_uri\x18\x03 \x01(\tB\x03\xe0A\x03R\tactionUri\"u\n" +
	"\x05Stage\x12\x15\n" +
	"\x11STAGE_UNSPECIFIED\x10\x00\x12\x16\n" +
	"\x12PENDING_CREATE_APP\x10\x01\x12\x16\n" +
	"\x12PENDING_USER_OAUTH\x10\x02\x12\x17\n" +
	"\x13PENDING_INSTALL_APP\x10\x03\x12\f\n" +
	"\bCOMPLETE\x10\n" +
	"\"\xac\x01\n" +
	" FetchLinkableRepositoriesRequest\x12L\n" +
	"\n" +
	"connection\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/ConnectionR\n" +
	"connection\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x9a\x01\n" +
	"!FetchLinkableRepositoriesResponse\x12M\n" +
	"\frepositories\x18\x01 \x03(\v2).google.devtools.cloudbuild.v2.RepositoryR\frepositories\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xa3\x01\n" +
	"\fGitHubConfig\x12c\n" +
	"\x15authorizer_credential\x18\x01 \x01(\v2..google.devtools.cloudbuild.v2.OAuthCredentialR\x14authorizerCredential\x12.\n" +
	"\x13app_installation_id\x18\x02 \x01(\x03R\x11appInstallationId\"\xce\x04\n" +
	"\x16GitHubEnterpriseConfig\x12\x1e\n" +
	"\bhost_uri\x18\x01 \x01(\tB\x03\xe0A\x02R\ahostUri\x12\x1c\n" +
	"\aapi_key\x18\f \x01(\tB\x03\xe0A\x02R\x06apiKey\x12\x15\n" +
	"\x06app_id\x18\x02 \x01(\x03R\x05appId\x12\x19\n" +
	"\bapp_slug\x18\r \x01(\tR\aappSlug\x12l\n" +
	"\x1aprivate_key_secret_version\x18\x04 \x01(\tB/\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x17privateKeySecretVersion\x12r\n" +
	"\x1dwebhook_secret_secret_version\x18\x05 \x01(\tB/\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x1awebhookSecretSecretVersion\x12.\n" +
	"\x13app_installation_id\x18\t \x01(\x03R\x11appInstallationId\x12o\n" +
	"\x18service_directory_config\x18\n" +
	" \x01(\v25.google.devtools.cloudbuild.v2.ServiceDirectoryConfigR\x16serviceDirectoryConfig\x12\x15\n" +
	"\x06ssl_ca\x18\v \x01(\tR\x05sslCa\x12*\n" +
	"\x0eserver_version\x18\x0e \x01(\tB\x03\xe0A\x03R\rserverVersion\"\xb2\x04\n" +
	"\fGitLabConfig\x12\x19\n" +
	"\bhost_uri\x18\x01 \x01(\tR\ahostUri\x12x\n" +
	"\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB5\xe0A\x02\xe0A\x05\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x1awebhookSecretSecretVersion\x12p\n" +
	"\x1aread_authorizer_credential\x18\x03 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x18readAuthorizerCredential\x12g\n" +
	"\x15authorizer_credential\x18\x04 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x14authorizerCredential\x12o\n" +
	"\x18service_directory_config\x18\x05 \x01(\v25.google.devtools.cloudbuild.v2.ServiceDirectoryConfigR\x16serviceDirectoryConfig\x12\x15\n" +
	"\x06ssl_ca\x18\x06 \x01(\tR\x05sslCa\x12*\n" +
	"\x0eserver_version\x18\a \x01(\tB\x03\xe0A\x03R\rserverVersion\"\xce\x04\n" +
	"\x19BitbucketDataCenterConfig\x12\x1e\n" +
	"\bhost_uri\x18\x01 \x01(\tB\x03\xe0A\x02R\ahostUri\x12x\n" +
	"\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB5\xe0A\x02\xe0A\x05\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x1awebhookSecretSecretVersion\x12p\n" +
	"\x1aread_authorizer_credential\x18\x03 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x18readAuthorizerCredential\x12g\n" +
	"\x15authorizer_credential\x18\x04 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x14authorizerCredential\x12t\n" +
	"\x18service_directory_config\x18\x05 \x01(\v25.google.devtools.cloudbuild.v2.ServiceDirectoryConfigB\x03\xe0A\x01R\x16serviceDirectoryConfig\x12\x1a\n" +
	"\x06ssl_ca\x18\x06 \x01(\tB\x03\xe0A\x01R\x05sslCa\x12*\n" +
	"\x0eserver_version\x18\a \x01(\tB\x03\xe0A\x03R\rserverVersion\"\x8b\x03\n" +
	"\x14BitbucketCloudConfig\x12!\n" +
	"\tworkspace\x18\x01 \x01(\tB\x03\xe0A\x02R\tworkspace\x12u\n" +
	"\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB2\xe0A\x02\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x1awebhookSecretSecretVersion\x12p\n" +
	"\x1aread_authorizer_credential\x18\x03 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x18readAuthorizerCredential\x12g\n" +
	"\x15authorizer_credential\x18\x04 \x01(\v2-.google.devtools.cloudbuild.v2.UserCredentialB\x03\xe0A\x02R\x14authorizerCredential\"c\n" +
	"\x16ServiceDirectoryConfig\x12I\n" +
	"\aservice\x18\x01 \x01(\tB/\xe0A\x02\xfaA)\n" +
	"'servicedirectory.googleapis.com/ServiceR\aservice\"\xc9\x04\n" +
	"\n" +
	"Repository\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12\"\n" +
	"\n" +
	"remote_uri\x18\x02 \x01(\tB\x03\xe0A\x02R\tremoteUri\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12\\\n" +
	"\vannotations\x18\x06 \x03(\v2:.google.devtools.cloudbuild.v2.Repository.AnnotationsEntryR\vannotations\x12\x12\n" +
	"\x04etag\x18\a \x01(\tR\x04etag\x12\"\n" +
	"\n" +
	"webhook_id\x18\b \x01(\tB\x03\xe0A\x03R\twebhookId\x1a>\n" +
	"\x10AnnotationsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:\xa3\x01\xeaA\x9f\x01\n" +
	"$cloudbuild.googleapis.com/Repository\x12Zprojects/{project}/locations/{location}/connections/{connection}/repositories/{repository}*\frepositories2\n" +
	"repositoryR\x01\x01\"\xa0\x01\n" +
	"\x0fOAuthCredential\x12l\n" +
	"\x1aoauth_token_secret_version\x18\x01 \x01(\tB/\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x17oauthTokenSecretVersion\x12\x1f\n" +
	"\busername\x18\x02 \x01(\tB\x03\xe0A\x03R\busername\"\xa0\x01\n" +
	"\x0eUserCredential\x12m\n" +
	"\x19user_token_secret_version\x18\x01 \x01(\tB2\xe0A\x02\xfaA,\n" +
	"*secretmanager.googleapis.com/SecretVersionR\x16userTokenSecretVersion\x12\x1f\n" +
	"\busername\x18\x02 \x01(\tB\x03\xe0A\x03R\busername\"\xd9\x01\n" +
	"\x17CreateConnectionRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\x12$cloudbuild.googleapis.com/ConnectionR\x06parent\x12N\n" +
	"\n" +
	"connection\x18\x02 \x01(\v2).google.devtools.cloudbuild.v2.ConnectionB\x03\xe0A\x02R\n" +
	"connection\x12(\n" +
	"\rconnection_id\x18\x03 \x01(\tB\x03\xe0A\x02R\fconnectionId\"X\n" +
	"\x14GetConnectionRequest\x12@\n" +
	"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/ConnectionR\x04name\"\x9a\x01\n" +
	"\x16ListConnectionsRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\x12$cloudbuild.googleapis.com/ConnectionR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x8e\x01\n" +
	"\x17ListConnectionsResponse\x12K\n" +
	"\vconnections\x18\x01 \x03(\v2).google.devtools.cloudbuild.v2.ConnectionR\vconnections\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xdf\x01\n" +
	"\x17UpdateConnectionRequest\x12N\n" +
	"\n" +
	"connection\x18\x01 \x01(\v2).google.devtools.cloudbuild.v2.ConnectionB\x03\xe0A\x02R\n" +
	"connection\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12#\n" +
	"\rallow_missing\x18\x03 \x01(\bR\fallowMissing\x12\x12\n" +
	"\x04etag\x18\x04 \x01(\tR\x04etag\"\x94\x01\n" +
	"\x17DeleteConnectionRequest\x12@\n" +
	"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/ConnectionR\x04name\x12\x12\n" +
	"\x04etag\x18\x02 \x01(\tR\x04etag\x12#\n" +
	"\rvalidate_only\x18\x03 \x01(\bR\fvalidateOnly\"\xd9\x01\n" +
	"\x17CreateRepositoryRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/ConnectionR\x06parent\x12N\n" +
	"\n" +
	"repository\x18\x02 \x01(\v2).google.devtools.cloudbuild.v2.RepositoryB\x03\xe0A\x02R\n" +
	"repository\x12(\n" +
	"\rrepository_id\x18\x03 \x01(\tB\x03\xe0A\x02R\frepositoryId\"\xbf\x01\n" +
	"\x1eBatchCreateRepositoriesRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/ConnectionR\x06parent\x12W\n" +
	"\brequests\x18\x02 \x03(\v26.google.devtools.cloudbuild.v2.CreateRepositoryRequestB\x03\xe0A\x02R\brequests\"p\n" +
	"\x1fBatchCreateRepositoriesResponse\x12M\n" +
	"\frepositories\x18\x01 \x03(\v2).google.devtools.cloudbuild.v2.RepositoryR\frepositories\"X\n" +
	"\x14GetRepositoryRequest\x12@\n" +
	"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/RepositoryR\x04name\"\xb3\x01\n" +
	"\x17ListRepositoriesRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\x12$cloudbuild.googleapis.com/RepositoryR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\x12\x16\n" +
	"\x06filter\x18\x04 \x01(\tR\x06filter\"\x91\x01\n" +
	"\x18ListRepositoriesResponse\x12M\n" +
	"\frepositories\x18\x01 \x03(\v2).google.devtools.cloudbuild.v2.RepositoryR\frepositories\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x94\x01\n" +
	"\x17DeleteRepositoryRequest\x12@\n" +
	"\x04name\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/RepositoryR\x04name\x12\x12\n" +
	"\x04etag\x18\x02 \x01(\tR\x04etag\x12#\n" +
	"\rvalidate_only\x18\x03 \x01(\bR\fvalidateOnly\"j\n" +
	"\x1aFetchReadWriteTokenRequest\x12L\n" +
	"\n" +
	"repository\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/RepositoryR\n" +
	"repository\"e\n" +
	"\x15FetchReadTokenRequest\x12L\n" +
	"\n" +
	"repository\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/RepositoryR\n" +
	"repository\"s\n" +
	"\x16FetchReadTokenResponse\x12\x14\n" +
	"\x05token\x18\x01 \x01(\tR\x05token\x12C\n" +
	"\x0fexpiration_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x0eexpirationTime\"x\n" +
	"\x1bFetchReadWriteTokenResponse\x12\x14\n" +
	"\x05token\x18\x01 \x01(\tR\x05token\x12C\n" +
	"\x0fexpiration_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x0eexpirationTime\"\xa8\x01\n" +
	"\x15ProcessWebhookRequest\x12D\n" +
	"\x06parent\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\x12$cloudbuild.googleapis.com/ConnectionR\x06parent\x12(\n" +
	"\x04body\x18\x02 \x01(\v2\x14.google.api.HttpBodyR\x04body\x12\x1f\n" +
	"\vwebhook_key\x18\x03 \x01(\tR\n" +
	"webhookKey\"\xf4\x01\n" +
	"\x13FetchGitRefsRequest\x12L\n" +
	"\n" +
	"repository\x18\x01 \x01(\tB,\xe0A\x02\xfaA&\n" +
	"$cloudbuild.googleapis.com/RepositoryR\n" +
	"repository\x12U\n" +
	"\bref_type\x18\x02 \x01(\x0e2:.google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefTypeR\arefType\"8\n" +
	"\aRefType\x12\x18\n" +
	"\x14REF_TYPE_UNSPECIFIED\x10\x00\x12\a\n" +
	"\x03TAG\x10\x01\x12\n" +
	"\n" +
	"\x06BRANCH\x10\x02\"3\n" +
	"\x14FetchGitRefsResponse\x12\x1b\n" +
	"\tref_names\x18\x01 \x03(\tR\brefNames2\xc2\x1b\n" +
	"\x11RepositoryManager\x12\x91\x02\n" +
	"\x10CreateConnection\x126.google.devtools.cloudbuild.v2.CreateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xcaA=\n" +
	"\n" +
	"Connection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=:\n" +
	"connection\"//v2/{parent=projects/*/locations/*}/connections\x12\xaf\x01\n" +
	"\rGetConnection\x123.google.devtools.cloudbuild.v2.GetConnectionRequest\x1a).google.devtools.cloudbuild.v2.Connection\">\xdaA\x04name\x82\xd3\xe4\x93\x021\x12//v2/{name=projects/*/locations/*/connections/*}\x12\xc2\x01\n" +
	"\x0fListConnections\x125.google.devtools.cloudbuild.v2.ListConnectionsRequest\x1a6.google.devtools.cloudbuild.v2.ListConnectionsResponse\"@\xdaA\x06parent\x82\xd3\xe4\x93\x021\x12//v2/{parent=projects/*/locations/*}/connections\x12\x93\x02\n" +
	"\x10UpdateConnection\x126.google.devtools.cloudbuild.v2.UpdateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xcaA=\n" +
	"\n" +
	"Connection\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x16connection,update_mask\x82\xd3\xe4\x93\x02H:\n" +
	"connection2:/v2/{connection.name=projects/*/locations/*/connections/*}\x12\xf5\x01\n" +
	"\x10DeleteConnection\x126.google.devtools.cloudbuild.v2.DeleteConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xcaAH\n" +
	"\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x04name\x82\xd3\xe4\x93\x021*//v2/{name=projects/*/locations/*/connections/*}\x12\xa0\x02\n" +
	"\x10CreateRepository\x126.google.devtools.cloudbuild.v2.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xcaA=\n" +
	"\n" +
	"Repository\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02L:\n" +
	"repository\">/v2/{parent=projects/*/locations/*/connections/*}/repositories\x12\xb6\x02\n" +
	"\x17BatchCreateRepositories\x12=.google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xcaAR\n" +
	"\x1fBatchCreateRepositoriesResponse\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x0fparent,requests\x82\xd3\xe4\x93\x02O:\x01*\"J/v2/{parent=projects/*/locations/*/connections/*}/repositories:batchCreate\x12\xbe\x01\n" +
	"\rGetRepository\x123.google.devtools.cloudbuild.v2.GetRepositoryRequest\x1a).google.devtools.cloudbuild.v2.Repository\"M\xdaA\x04name\x82\xd3\xe4\x93\x02@\x12>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xd4\x01\n" +
	"\x10ListRepositories\x126.google.devtools.cloudbuild.v2.ListRepositoriesRequest\x1a7.google.devtools.cloudbuild.v2.ListRepositoriesResponse\"O\xdaA\x06parent\x82\xd3\xe4\x93\x02@\x12>/v2/{parent=projects/*/locations/*/connections/*}/repositories\x12\x84\x02\n" +
	"\x10DeleteRepository\x126.google.devtools.cloudbuild.v2.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xcaAH\n" +
	"\x15google.protobuf.Empty\x12/google.devtools.cloudbuild.v2.OperationMetadata\xdaA\x04name\x82\xd3\xe4\x93\x02@*>/v2/{name=projects/*/locations/*/connections/*/repositories/*}\x12\xff\x01\n" +
	"\x13FetchReadWriteToken\x129.google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest\x1a:.google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse\"q\xdaA\n" +
	"repository\x82\xd3\xe4\x93\x02^:\x01*\"Y/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadWriteToken\x12\xeb\x01\n" +
	"\x0eFetchReadToken\x124.google.devtools.cloudbuild.v2.FetchReadTokenRequest\x1a5.google.devtools.cloudbuild.v2.FetchReadTokenResponse\"l\xdaA\n" +
	"repository\x82\xd3\xe4\x93\x02Y:\x01*\"T/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadToken\x12\xf7\x01\n" +
	"\x19FetchLinkableRepositories\x12?.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest\x1a@.google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/v2/{connection=projects/*/locations/*/connections/*}:fetchLinkableRepositories\x12\xdf\x01\n" +
	"\fFetchGitRefs\x122.google.devtools.cloudbuild.v2.FetchGitRefsRequest\x1a3.google.devtools.cloudbuild.v2.FetchGitRefsResponse\"f\xdaA\n" +
	"repository\x82\xd3\xe4\x93\x02S\x12Q/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:fetchGitRefs\x1aM\xcaA\x19cloudbuild.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xc9\x02\xeaA|\n" +
	"'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}\n" +
	"\x18com.google.cloudbuild.v2B\x16RepositoryManagerProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xa2\x02\x03GCB\xaa\x02\x1aGoogle.Cloud.CloudBuild.V2\xca\x02\x15Google\\Cloud\\Build\\V2\xea\x02\x18Google::Cloud::Build::V2b\x06proto3"

var (
	file_google_devtools_cloudbuild_v2_repositories_proto_rawDescOnce sync.Once
	file_google_devtools_cloudbuild_v2_repositories_proto_rawDescData []byte
)

func file_google_devtools_cloudbuild_v2_repositories_proto_rawDescGZIP() []byte {
	file_google_devtools_cloudbuild_v2_repositories_proto_rawDescOnce.Do(func() {
		file_google_devtools_cloudbuild_v2_repositories_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_devtools_cloudbuild_v2_repositories_proto_rawDesc), len(file_google_devtools_cloudbuild_v2_repositories_proto_rawDesc)))
	})
	return file_google_devtools_cloudbuild_v2_repositories_proto_rawDescData
}

var file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
var file_google_devtools_cloudbuild_v2_repositories_proto_goTypes = []any{
	(InstallationState_Stage)(0),              // 0: google.devtools.cloudbuild.v2.InstallationState.Stage
	(FetchGitRefsRequest_RefType)(0),          // 1: google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType
	(*Connection)(nil),                        // 2: google.devtools.cloudbuild.v2.Connection
	(*InstallationState)(nil),                 // 3: google.devtools.cloudbuild.v2.InstallationState
	(*FetchLinkableRepositoriesRequest)(nil),  // 4: google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest
	(*FetchLinkableRepositoriesResponse)(nil), // 5: google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse
	(*GitHubConfig)(nil),                      // 6: google.devtools.cloudbuild.v2.GitHubConfig
	(*GitHubEnterpriseConfig)(nil),            // 7: google.devtools.cloudbuild.v2.GitHubEnterpriseConfig
	(*GitLabConfig)(nil),                      // 8: google.devtools.cloudbuild.v2.GitLabConfig
	(*BitbucketDataCenterConfig)(nil),         // 9: google.devtools.cloudbuild.v2.BitbucketDataCenterConfig
	(*BitbucketCloudConfig)(nil),              // 10: google.devtools.cloudbuild.v2.BitbucketCloudConfig
	(*ServiceDirectoryConfig)(nil),            // 11: google.devtools.cloudbuild.v2.ServiceDirectoryConfig
	(*Repository)(nil),                        // 12: google.devtools.cloudbuild.v2.Repository
	(*OAuthCredential)(nil),                   // 13: google.devtools.cloudbuild.v2.OAuthCredential
	(*UserCredential)(nil),                    // 14: google.devtools.cloudbuild.v2.UserCredential
	(*CreateConnectionRequest)(nil),           // 15: google.devtools.cloudbuild.v2.CreateConnectionRequest
	(*GetConnectionRequest)(nil),              // 16: google.devtools.cloudbuild.v2.GetConnectionRequest
	(*ListConnectionsRequest)(nil),            // 17: google.devtools.cloudbuild.v2.ListConnectionsRequest
	(*ListConnectionsResponse)(nil),           // 18: google.devtools.cloudbuild.v2.ListConnectionsResponse
	(*UpdateConnectionRequest)(nil),           // 19: google.devtools.cloudbuild.v2.UpdateConnectionRequest
	(*DeleteConnectionRequest)(nil),           // 20: google.devtools.cloudbuild.v2.DeleteConnectionRequest
	(*CreateRepositoryRequest)(nil),           // 21: google.devtools.cloudbuild.v2.CreateRepositoryRequest
	(*BatchCreateRepositoriesRequest)(nil),    // 22: google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest
	(*BatchCreateRepositoriesResponse)(nil),   // 23: google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse
	(*GetRepositoryRequest)(nil),              // 24: google.devtools.cloudbuild.v2.GetRepositoryRequest
	(*ListRepositoriesRequest)(nil),           // 25: google.devtools.cloudbuild.v2.ListRepositoriesRequest
	(*ListRepositoriesResponse)(nil),          // 26: google.devtools.cloudbuild.v2.ListRepositoriesResponse
	(*DeleteRepositoryRequest)(nil),           // 27: google.devtools.cloudbuild.v2.DeleteRepositoryRequest
	(*FetchReadWriteTokenRequest)(nil),        // 28: google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest
	(*FetchReadTokenRequest)(nil),             // 29: google.devtools.cloudbuild.v2.FetchReadTokenRequest
	(*FetchReadTokenResponse)(nil),            // 30: google.devtools.cloudbuild.v2.FetchReadTokenResponse
	(*FetchReadWriteTokenResponse)(nil),       // 31: google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse
	(*ProcessWebhookRequest)(nil),             // 32: google.devtools.cloudbuild.v2.ProcessWebhookRequest
	(*FetchGitRefsRequest)(nil),               // 33: google.devtools.cloudbuild.v2.FetchGitRefsRequest
	(*FetchGitRefsResponse)(nil),              // 34: google.devtools.cloudbuild.v2.FetchGitRefsResponse
	nil,                                       // 35: google.devtools.cloudbuild.v2.Connection.AnnotationsEntry
	nil,                                       // 36: google.devtools.cloudbuild.v2.Repository.AnnotationsEntry
	(*timestamppb.Timestamp)(nil),             // 37: google.protobuf.Timestamp
	(*fieldmaskpb.FieldMask)(nil),             // 38: google.protobuf.FieldMask
	(*httpbody.HttpBody)(nil),                 // 39: google.api.HttpBody
	(*longrunningpb.Operation)(nil),           // 40: google.longrunning.Operation
}
var file_google_devtools_cloudbuild_v2_repositories_proto_depIdxs = []int32{
	37, // 0: google.devtools.cloudbuild.v2.Connection.create_time:type_name -> google.protobuf.Timestamp
	37, // 1: google.devtools.cloudbuild.v2.Connection.update_time:type_name -> google.protobuf.Timestamp
	6,  // 2: google.devtools.cloudbuild.v2.Connection.github_config:type_name -> google.devtools.cloudbuild.v2.GitHubConfig
	7,  // 3: google.devtools.cloudbuild.v2.Connection.github_enterprise_config:type_name -> google.devtools.cloudbuild.v2.GitHubEnterpriseConfig
	8,  // 4: google.devtools.cloudbuild.v2.Connection.gitlab_config:type_name -> google.devtools.cloudbuild.v2.GitLabConfig
	9,  // 5: google.devtools.cloudbuild.v2.Connection.bitbucket_data_center_config:type_name -> google.devtools.cloudbuild.v2.BitbucketDataCenterConfig
	10, // 6: google.devtools.cloudbuild.v2.Connection.bitbucket_cloud_config:type_name -> google.devtools.cloudbuild.v2.BitbucketCloudConfig
	3,  // 7: google.devtools.cloudbuild.v2.Connection.installation_state:type_name -> google.devtools.cloudbuild.v2.InstallationState
	35, // 8: google.devtools.cloudbuild.v2.Connection.annotations:type_name -> google.devtools.cloudbuild.v2.Connection.AnnotationsEntry
	0,  // 9: google.devtools.cloudbuild.v2.InstallationState.stage:type_name -> google.devtools.cloudbuild.v2.InstallationState.Stage
	12, // 10: google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.repositories:type_name -> google.devtools.cloudbuild.v2.Repository
	13, // 11: google.devtools.cloudbuild.v2.GitHubConfig.authorizer_credential:type_name -> google.devtools.cloudbuild.v2.OAuthCredential
	11, // 12: google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.service_directory_config:type_name -> google.devtools.cloudbuild.v2.ServiceDirectoryConfig
	14, // 13: google.devtools.cloudbuild.v2.GitLabConfig.read_authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	14, // 14: google.devtools.cloudbuild.v2.GitLabConfig.authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	11, // 15: google.devtools.cloudbuild.v2.GitLabConfig.service_directory_config:type_name -> google.devtools.cloudbuild.v2.ServiceDirectoryConfig
	14, // 16: google.devtools.cloudbuild.v2.BitbucketDataCenterConfig.read_authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	14, // 17: google.devtools.cloudbuild.v2.BitbucketDataCenterConfig.authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	11, // 18: google.devtools.cloudbuild.v2.BitbucketDataCenterConfig.service_directory_config:type_name -> google.devtools.cloudbuild.v2.ServiceDirectoryConfig
	14, // 19: google.devtools.cloudbuild.v2.BitbucketCloudConfig.read_authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	14, // 20: google.devtools.cloudbuild.v2.BitbucketCloudConfig.authorizer_credential:type_name -> google.devtools.cloudbuild.v2.UserCredential
	37, // 21: google.devtools.cloudbuild.v2.Repository.create_time:type_name -> google.protobuf.Timestamp
	37, // 22: google.devtools.cloudbuild.v2.Repository.update_time:type_name -> google.protobuf.Timestamp
	36, // 23: google.devtools.cloudbuild.v2.Repository.annotations:type_name -> google.devtools.cloudbuild.v2.Repository.AnnotationsEntry
	2,  // 24: google.devtools.cloudbuild.v2.CreateConnectionRequest.connection:type_name -> google.devtools.cloudbuild.v2.Connection
	2,  // 25: google.devtools.cloudbuild.v2.ListConnectionsResponse.connections:type_name -> google.devtools.cloudbuild.v2.Connection
	2,  // 26: google.devtools.cloudbuild.v2.UpdateConnectionRequest.connection:type_name -> google.devtools.cloudbuild.v2.Connection
	38, // 27: google.devtools.cloudbuild.v2.UpdateConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
	12, // 28: google.devtools.cloudbuild.v2.CreateRepositoryRequest.repository:type_name -> google.devtools.cloudbuild.v2.Repository
	21, // 29: google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.requests:type_name -> google.devtools.cloudbuild.v2.CreateRepositoryRequest
	12, // 30: google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.repositories:type_name -> google.devtools.cloudbuild.v2.Repository
	12, // 31: google.devtools.cloudbuild.v2.ListRepositoriesResponse.repositories:type_name -> google.devtools.cloudbuild.v2.Repository
	37, // 32: google.devtools.cloudbuild.v2.FetchReadTokenResponse.expiration_time:type_name -> google.protobuf.Timestamp
	37, // 33: google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.expiration_time:type_name -> google.protobuf.Timestamp
	39, // 34: google.devtools.cloudbuild.v2.ProcessWebhookRequest.body:type_name -> google.api.HttpBody
	1,  // 35: google.devtools.cloudbuild.v2.FetchGitRefsRequest.ref_type:type_name -> google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType
	15, // 36: google.devtools.cloudbuild.v2.RepositoryManager.CreateConnection:input_type -> google.devtools.cloudbuild.v2.CreateConnectionRequest
	16, // 37: google.devtools.cloudbuild.v2.RepositoryManager.GetConnection:input_type -> google.devtools.cloudbuild.v2.GetConnectionRequest
	17, // 38: google.devtools.cloudbuild.v2.RepositoryManager.ListConnections:input_type -> google.devtools.cloudbuild.v2.ListConnectionsRequest
	19, // 39: google.devtools.cloudbuild.v2.RepositoryManager.UpdateConnection:input_type -> google.devtools.cloudbuild.v2.UpdateConnectionRequest
	20, // 40: google.devtools.cloudbuild.v2.RepositoryManager.DeleteConnection:input_type -> google.devtools.cloudbuild.v2.DeleteConnectionRequest
	21, // 41: google.devtools.cloudbuild.v2.RepositoryManager.CreateRepository:input_type -> google.devtools.cloudbuild.v2.CreateRepositoryRequest
	22, // 42: google.devtools.cloudbuild.v2.RepositoryManager.BatchCreateRepositories:input_type -> google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest
	24, // 43: google.devtools.cloudbuild.v2.RepositoryManager.GetRepository:input_type -> google.devtools.cloudbuild.v2.GetRepositoryRequest
	25, // 44: google.devtools.cloudbuild.v2.RepositoryManager.ListRepositories:input_type -> google.devtools.cloudbuild.v2.ListRepositoriesRequest
	27, // 45: google.devtools.cloudbuild.v2.RepositoryManager.DeleteRepository:input_type -> google.devtools.cloudbuild.v2.DeleteRepositoryRequest
	28, // 46: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken:input_type -> google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest
	29, // 47: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken:input_type -> google.devtools.cloudbuild.v2.FetchReadTokenRequest
	4,  // 48: google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories:input_type -> google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest
	33, // 49: google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs:input_type -> google.devtools.cloudbuild.v2.FetchGitRefsRequest
	40, // 50: google.devtools.cloudbuild.v2.RepositoryManager.CreateConnection:output_type -> google.longrunning.Operation
	2,  // 51: google.devtools.cloudbuild.v2.RepositoryManager.GetConnection:output_type -> google.devtools.cloudbuild.v2.Connection
	18, // 52: google.devtools.cloudbuild.v2.RepositoryManager.ListConnections:output_type -> google.devtools.cloudbuild.v2.ListConnectionsResponse
	40, // 53: google.devtools.cloudbuild.v2.RepositoryManager.UpdateConnection:output_type -> google.longrunning.Operation
	40, // 54: google.devtools.cloudbuild.v2.RepositoryManager.DeleteConnection:output_type -> google.longrunning.Operation
	40, // 55: google.devtools.cloudbuild.v2.RepositoryManager.CreateRepository:output_type -> google.longrunning.Operation
	40, // 56: google.devtools.cloudbuild.v2.RepositoryManager.BatchCreateRepositories:output_type -> google.longrunning.Operation
	12, // 57: google.devtools.cloudbuild.v2.RepositoryManager.GetRepository:output_type -> google.devtools.cloudbuild.v2.Repository
	26, // 58: google.devtools.cloudbuild.v2.RepositoryManager.ListRepositories:output_type -> google.devtools.cloudbuild.v2.ListRepositoriesResponse
	40, // 59: google.devtools.cloudbuild.v2.RepositoryManager.DeleteRepository:output_type -> google.longrunning.Operation
	31, // 60: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken:output_type -> google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse
	30, // 61: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken:output_type -> google.devtools.cloudbuild.v2.FetchReadTokenResponse
	5,  // 62: google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories:output_type -> google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse
	34, // 63: google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs:output_type -> google.devtools.cloudbuild.v2.FetchGitRefsResponse
	50, // [50:64] is the sub-list for method output_type
	36, // [36:50] is the sub-list for method input_type
	36, // [36:36] is the sub-list for extension type_name
	36, // [36:36] is the sub-list for extension extendee
	0,  // [0:36] is the sub-list for field type_name
}

func init() { file_google_devtools_cloudbuild_v2_repositories_proto_init() }
func file_google_devtools_cloudbuild_v2_repositories_proto_init() {
	if File_google_devtools_cloudbuild_v2_repositories_proto != nil {
		return
	}
	file_google_devtools_cloudbuild_v2_cloudbuild_proto_init()
	file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes[0].OneofWrappers = []any{
		(*Connection_GithubConfig)(nil),
		(*Connection_GithubEnterpriseConfig)(nil),
		(*Connection_GitlabConfig)(nil),
		(*Connection_BitbucketDataCenterConfig)(nil),
		(*Connection_BitbucketCloudConfig)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_devtools_cloudbuild_v2_repositories_proto_rawDesc), len(file_google_devtools_cloudbuild_v2_repositories_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   35,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_devtools_cloudbuild_v2_repositories_proto_goTypes,
		DependencyIndexes: file_google_devtools_cloudbuild_v2_repositories_proto_depIdxs,
		EnumInfos:         file_google_devtools_cloudbuild_v2_repositories_proto_enumTypes,
		MessageInfos:      file_google_devtools_cloudbuild_v2_repositories_proto_msgTypes,
	}.Build()
	File_google_devtools_cloudbuild_v2_repositories_proto = out.File
	file_google_devtools_cloudbuild_v2_repositories_proto_goTypes = nil
	file_google_devtools_cloudbuild_v2_repositories_proto_depIdxs = nil
}
