Path: blob/main/components/content-service-api/go/initializer.pb.go
2498 views
// Copyright (c) 2023 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc (unknown)8// source: initializer.proto910package api1112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15reflect "reflect"16sync "sync"17)1819const (20// Verify that this generated code is sufficiently up-to-date.21_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)22// Verify that runtime/protoimpl is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)24)2526// CloneTargetMode is the target state in which we want to leave a GitWorkspace27type CloneTargetMode int322829const (30// REMOTE_HEAD has the local WS point at the remote branch head31CloneTargetMode_REMOTE_HEAD CloneTargetMode = 032// REMOTE_COMMIT has the local WS point at a specific commit33CloneTargetMode_REMOTE_COMMIT CloneTargetMode = 134// REMOTE_BRANCH has the local WS point at a remote branch35CloneTargetMode_REMOTE_BRANCH CloneTargetMode = 236// LOCAL_BRANCH creates a local branch in the workspace37CloneTargetMode_LOCAL_BRANCH CloneTargetMode = 338)3940// Enum value maps for CloneTargetMode.41var (42CloneTargetMode_name = map[int32]string{430: "REMOTE_HEAD",441: "REMOTE_COMMIT",452: "REMOTE_BRANCH",463: "LOCAL_BRANCH",47}48CloneTargetMode_value = map[string]int32{49"REMOTE_HEAD": 0,50"REMOTE_COMMIT": 1,51"REMOTE_BRANCH": 2,52"LOCAL_BRANCH": 3,53}54)5556func (x CloneTargetMode) Enum() *CloneTargetMode {57p := new(CloneTargetMode)58*p = x59return p60}6162func (x CloneTargetMode) String() string {63return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))64}6566func (CloneTargetMode) Descriptor() protoreflect.EnumDescriptor {67return file_initializer_proto_enumTypes[0].Descriptor()68}6970func (CloneTargetMode) Type() protoreflect.EnumType {71return &file_initializer_proto_enumTypes[0]72}7374func (x CloneTargetMode) Number() protoreflect.EnumNumber {75return protoreflect.EnumNumber(x)76}7778// Deprecated: Use CloneTargetMode.Descriptor instead.79func (CloneTargetMode) EnumDescriptor() ([]byte, []int) {80return file_initializer_proto_rawDescGZIP(), []int{0}81}8283// GitAuthMethod is the means of authentication used during clone84type GitAuthMethod int328586const (87// NO_AUTH disables authentication during clone88GitAuthMethod_NO_AUTH GitAuthMethod = 089// BASIC_AUTH uses HTTP basic auth during clone (fails if repo is not cloned through http)90GitAuthMethod_BASIC_AUTH GitAuthMethod = 191// BASIC_AUTH_OTS uses HTTP basic auth during the clone with the secrets coming from the OTS URL.92// Fails if either the OTS download or the clone fail.93GitAuthMethod_BASIC_AUTH_OTS GitAuthMethod = 294)9596// Enum value maps for GitAuthMethod.97var (98GitAuthMethod_name = map[int32]string{990: "NO_AUTH",1001: "BASIC_AUTH",1012: "BASIC_AUTH_OTS",102}103GitAuthMethod_value = map[string]int32{104"NO_AUTH": 0,105"BASIC_AUTH": 1,106"BASIC_AUTH_OTS": 2,107}108)109110func (x GitAuthMethod) Enum() *GitAuthMethod {111p := new(GitAuthMethod)112*p = x113return p114}115116func (x GitAuthMethod) String() string {117return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))118}119120func (GitAuthMethod) Descriptor() protoreflect.EnumDescriptor {121return file_initializer_proto_enumTypes[1].Descriptor()122}123124func (GitAuthMethod) Type() protoreflect.EnumType {125return &file_initializer_proto_enumTypes[1]126}127128func (x GitAuthMethod) Number() protoreflect.EnumNumber {129return protoreflect.EnumNumber(x)130}131132// Deprecated: Use GitAuthMethod.Descriptor instead.133func (GitAuthMethod) EnumDescriptor() ([]byte, []int) {134return file_initializer_proto_rawDescGZIP(), []int{1}135}136137// WorkspaceInitializer specifies how a workspace is to be initialized138type WorkspaceInitializer struct {139state protoimpl.MessageState140sizeCache protoimpl.SizeCache141unknownFields protoimpl.UnknownFields142143// Types that are assignable to Spec:144//145// *WorkspaceInitializer_Empty146// *WorkspaceInitializer_Git147// *WorkspaceInitializer_Snapshot148// *WorkspaceInitializer_Prebuild149// *WorkspaceInitializer_Composite150// *WorkspaceInitializer_Download151// *WorkspaceInitializer_Backup152Spec isWorkspaceInitializer_Spec `protobuf_oneof:"spec"`153}154155func (x *WorkspaceInitializer) Reset() {156*x = WorkspaceInitializer{}157if protoimpl.UnsafeEnabled {158mi := &file_initializer_proto_msgTypes[0]159ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))160ms.StoreMessageInfo(mi)161}162}163164func (x *WorkspaceInitializer) String() string {165return protoimpl.X.MessageStringOf(x)166}167168func (*WorkspaceInitializer) ProtoMessage() {}169170func (x *WorkspaceInitializer) ProtoReflect() protoreflect.Message {171mi := &file_initializer_proto_msgTypes[0]172if protoimpl.UnsafeEnabled && x != nil {173ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))174if ms.LoadMessageInfo() == nil {175ms.StoreMessageInfo(mi)176}177return ms178}179return mi.MessageOf(x)180}181182// Deprecated: Use WorkspaceInitializer.ProtoReflect.Descriptor instead.183func (*WorkspaceInitializer) Descriptor() ([]byte, []int) {184return file_initializer_proto_rawDescGZIP(), []int{0}185}186187func (m *WorkspaceInitializer) GetSpec() isWorkspaceInitializer_Spec {188if m != nil {189return m.Spec190}191return nil192}193194func (x *WorkspaceInitializer) GetEmpty() *EmptyInitializer {195if x, ok := x.GetSpec().(*WorkspaceInitializer_Empty); ok {196return x.Empty197}198return nil199}200201func (x *WorkspaceInitializer) GetGit() *GitInitializer {202if x, ok := x.GetSpec().(*WorkspaceInitializer_Git); ok {203return x.Git204}205return nil206}207208func (x *WorkspaceInitializer) GetSnapshot() *SnapshotInitializer {209if x, ok := x.GetSpec().(*WorkspaceInitializer_Snapshot); ok {210return x.Snapshot211}212return nil213}214215func (x *WorkspaceInitializer) GetPrebuild() *PrebuildInitializer {216if x, ok := x.GetSpec().(*WorkspaceInitializer_Prebuild); ok {217return x.Prebuild218}219return nil220}221222func (x *WorkspaceInitializer) GetComposite() *CompositeInitializer {223if x, ok := x.GetSpec().(*WorkspaceInitializer_Composite); ok {224return x.Composite225}226return nil227}228229func (x *WorkspaceInitializer) GetDownload() *FileDownloadInitializer {230if x, ok := x.GetSpec().(*WorkspaceInitializer_Download); ok {231return x.Download232}233return nil234}235236func (x *WorkspaceInitializer) GetBackup() *FromBackupInitializer {237if x, ok := x.GetSpec().(*WorkspaceInitializer_Backup); ok {238return x.Backup239}240return nil241}242243type isWorkspaceInitializer_Spec interface {244isWorkspaceInitializer_Spec()245}246247type WorkspaceInitializer_Empty struct {248Empty *EmptyInitializer `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`249}250251type WorkspaceInitializer_Git struct {252Git *GitInitializer `protobuf:"bytes,2,opt,name=git,proto3,oneof"`253}254255type WorkspaceInitializer_Snapshot struct {256Snapshot *SnapshotInitializer `protobuf:"bytes,3,opt,name=snapshot,proto3,oneof"`257}258259type WorkspaceInitializer_Prebuild struct {260Prebuild *PrebuildInitializer `protobuf:"bytes,4,opt,name=prebuild,proto3,oneof"`261}262263type WorkspaceInitializer_Composite struct {264Composite *CompositeInitializer `protobuf:"bytes,5,opt,name=composite,proto3,oneof"`265}266267type WorkspaceInitializer_Download struct {268Download *FileDownloadInitializer `protobuf:"bytes,6,opt,name=download,proto3,oneof"`269}270271type WorkspaceInitializer_Backup struct {272Backup *FromBackupInitializer `protobuf:"bytes,7,opt,name=backup,proto3,oneof"`273}274275func (*WorkspaceInitializer_Empty) isWorkspaceInitializer_Spec() {}276277func (*WorkspaceInitializer_Git) isWorkspaceInitializer_Spec() {}278279func (*WorkspaceInitializer_Snapshot) isWorkspaceInitializer_Spec() {}280281func (*WorkspaceInitializer_Prebuild) isWorkspaceInitializer_Spec() {}282283func (*WorkspaceInitializer_Composite) isWorkspaceInitializer_Spec() {}284285func (*WorkspaceInitializer_Download) isWorkspaceInitializer_Spec() {}286287func (*WorkspaceInitializer_Backup) isWorkspaceInitializer_Spec() {}288289// CompositeInitializer uses a collection of initializer to produce workspace content.290// All initializer are executed in the order they're provided.291type CompositeInitializer struct {292state protoimpl.MessageState293sizeCache protoimpl.SizeCache294unknownFields protoimpl.UnknownFields295296Initializer []*WorkspaceInitializer `protobuf:"bytes,1,rep,name=initializer,proto3" json:"initializer,omitempty"`297}298299func (x *CompositeInitializer) Reset() {300*x = CompositeInitializer{}301if protoimpl.UnsafeEnabled {302mi := &file_initializer_proto_msgTypes[1]303ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))304ms.StoreMessageInfo(mi)305}306}307308func (x *CompositeInitializer) String() string {309return protoimpl.X.MessageStringOf(x)310}311312func (*CompositeInitializer) ProtoMessage() {}313314func (x *CompositeInitializer) ProtoReflect() protoreflect.Message {315mi := &file_initializer_proto_msgTypes[1]316if protoimpl.UnsafeEnabled && x != nil {317ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))318if ms.LoadMessageInfo() == nil {319ms.StoreMessageInfo(mi)320}321return ms322}323return mi.MessageOf(x)324}325326// Deprecated: Use CompositeInitializer.ProtoReflect.Descriptor instead.327func (*CompositeInitializer) Descriptor() ([]byte, []int) {328return file_initializer_proto_rawDescGZIP(), []int{1}329}330331func (x *CompositeInitializer) GetInitializer() []*WorkspaceInitializer {332if x != nil {333return x.Initializer334}335return nil336}337338// FileDownloadInitializer downloads files and uses them as workspace content.339type FileDownloadInitializer struct {340state protoimpl.MessageState341sizeCache protoimpl.SizeCache342unknownFields protoimpl.UnknownFields343344Files []*FileDownloadInitializer_FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`345TargetLocation string `protobuf:"bytes,2,opt,name=target_location,json=targetLocation,proto3" json:"target_location,omitempty"`346}347348func (x *FileDownloadInitializer) Reset() {349*x = FileDownloadInitializer{}350if protoimpl.UnsafeEnabled {351mi := &file_initializer_proto_msgTypes[2]352ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))353ms.StoreMessageInfo(mi)354}355}356357func (x *FileDownloadInitializer) String() string {358return protoimpl.X.MessageStringOf(x)359}360361func (*FileDownloadInitializer) ProtoMessage() {}362363func (x *FileDownloadInitializer) ProtoReflect() protoreflect.Message {364mi := &file_initializer_proto_msgTypes[2]365if protoimpl.UnsafeEnabled && x != nil {366ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))367if ms.LoadMessageInfo() == nil {368ms.StoreMessageInfo(mi)369}370return ms371}372return mi.MessageOf(x)373}374375// Deprecated: Use FileDownloadInitializer.ProtoReflect.Descriptor instead.376func (*FileDownloadInitializer) Descriptor() ([]byte, []int) {377return file_initializer_proto_rawDescGZIP(), []int{2}378}379380func (x *FileDownloadInitializer) GetFiles() []*FileDownloadInitializer_FileInfo {381if x != nil {382return x.Files383}384return nil385}386387func (x *FileDownloadInitializer) GetTargetLocation() string {388if x != nil {389return x.TargetLocation390}391return ""392}393394type EmptyInitializer struct {395state protoimpl.MessageState396sizeCache protoimpl.SizeCache397unknownFields protoimpl.UnknownFields398}399400func (x *EmptyInitializer) Reset() {401*x = EmptyInitializer{}402if protoimpl.UnsafeEnabled {403mi := &file_initializer_proto_msgTypes[3]404ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))405ms.StoreMessageInfo(mi)406}407}408409func (x *EmptyInitializer) String() string {410return protoimpl.X.MessageStringOf(x)411}412413func (*EmptyInitializer) ProtoMessage() {}414415func (x *EmptyInitializer) ProtoReflect() protoreflect.Message {416mi := &file_initializer_proto_msgTypes[3]417if protoimpl.UnsafeEnabled && x != nil {418ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))419if ms.LoadMessageInfo() == nil {420ms.StoreMessageInfo(mi)421}422return ms423}424return mi.MessageOf(x)425}426427// Deprecated: Use EmptyInitializer.ProtoReflect.Descriptor instead.428func (*EmptyInitializer) Descriptor() ([]byte, []int) {429return file_initializer_proto_rawDescGZIP(), []int{3}430}431432type GitInitializer struct {433state protoimpl.MessageState434sizeCache protoimpl.SizeCache435unknownFields protoimpl.UnknownFields436437// remote_uri is the Git remote origin438RemoteUri string `protobuf:"bytes,1,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`439// upstream_Remote_uri is the fork upstream of a repository440Upstream_RemoteUri string `protobuf:"bytes,2,opt,name=upstream_Remote_uri,json=upstreamRemoteUri,proto3" json:"upstream_Remote_uri,omitempty"`441// the target mode determines what gets checked out442TargetMode CloneTargetMode `protobuf:"varint,3,opt,name=target_mode,json=targetMode,proto3,enum=contentservice.CloneTargetMode" json:"target_mode,omitempty"`443// the value for the clone target mode - use depends on the target mode444CloneTaget string `protobuf:"bytes,4,opt,name=clone_taget,json=cloneTaget,proto3" json:"clone_taget,omitempty"`445// a path relative to the workspace root in which the code will be checked out to446CheckoutLocation string `protobuf:"bytes,5,opt,name=checkout_location,json=checkoutLocation,proto3" json:"checkout_location,omitempty"`447// config specifies the Git configuration for this workspace448Config *GitConfig `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`449// full_clone determines if the entire repository should be cloned, instead of with `--depth=1`450FullClone bool `protobuf:"varint,7,opt,name=full_clone,json=fullClone,proto3" json:"full_clone,omitempty"`451}452453func (x *GitInitializer) Reset() {454*x = GitInitializer{}455if protoimpl.UnsafeEnabled {456mi := &file_initializer_proto_msgTypes[4]457ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))458ms.StoreMessageInfo(mi)459}460}461462func (x *GitInitializer) String() string {463return protoimpl.X.MessageStringOf(x)464}465466func (*GitInitializer) ProtoMessage() {}467468func (x *GitInitializer) ProtoReflect() protoreflect.Message {469mi := &file_initializer_proto_msgTypes[4]470if protoimpl.UnsafeEnabled && x != nil {471ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))472if ms.LoadMessageInfo() == nil {473ms.StoreMessageInfo(mi)474}475return ms476}477return mi.MessageOf(x)478}479480// Deprecated: Use GitInitializer.ProtoReflect.Descriptor instead.481func (*GitInitializer) Descriptor() ([]byte, []int) {482return file_initializer_proto_rawDescGZIP(), []int{4}483}484485func (x *GitInitializer) GetRemoteUri() string {486if x != nil {487return x.RemoteUri488}489return ""490}491492func (x *GitInitializer) GetUpstream_RemoteUri() string {493if x != nil {494return x.Upstream_RemoteUri495}496return ""497}498499func (x *GitInitializer) GetTargetMode() CloneTargetMode {500if x != nil {501return x.TargetMode502}503return CloneTargetMode_REMOTE_HEAD504}505506func (x *GitInitializer) GetCloneTaget() string {507if x != nil {508return x.CloneTaget509}510return ""511}512513func (x *GitInitializer) GetCheckoutLocation() string {514if x != nil {515return x.CheckoutLocation516}517return ""518}519520func (x *GitInitializer) GetConfig() *GitConfig {521if x != nil {522return x.Config523}524return nil525}526527func (x *GitInitializer) GetFullClone() bool {528if x != nil {529return x.FullClone530}531return false532}533534type GitConfig struct {535state protoimpl.MessageState536sizeCache protoimpl.SizeCache537unknownFields protoimpl.UnknownFields538539// custom config values to be set on clone provided through `.gitpod.yml`540CustomConfig map[string]string `protobuf:"bytes,1,rep,name=custom_config,json=customConfig,proto3" json:"custom_config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`541// authentication method542Authentication GitAuthMethod `protobuf:"varint,2,opt,name=authentication,proto3,enum=contentservice.GitAuthMethod" json:"authentication,omitempty"`543// auth_user is the username used to authenticate the clone544AuthUser string `protobuf:"bytes,3,opt,name=auth_user,json=authUser,proto3" json:"auth_user,omitempty"`545// auth_password is the password used to authenticate the clone (can also be an API token)546AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`547// auth_ots is a URL where one can download the authentication secret (<username>:<password>)548// using a GET request.549AuthOts string `protobuf:"bytes,5,opt,name=auth_ots,json=authOts,proto3" json:"auth_ots,omitempty"`550}551552func (x *GitConfig) Reset() {553*x = GitConfig{}554if protoimpl.UnsafeEnabled {555mi := &file_initializer_proto_msgTypes[5]556ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))557ms.StoreMessageInfo(mi)558}559}560561func (x *GitConfig) String() string {562return protoimpl.X.MessageStringOf(x)563}564565func (*GitConfig) ProtoMessage() {}566567func (x *GitConfig) ProtoReflect() protoreflect.Message {568mi := &file_initializer_proto_msgTypes[5]569if protoimpl.UnsafeEnabled && x != nil {570ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))571if ms.LoadMessageInfo() == nil {572ms.StoreMessageInfo(mi)573}574return ms575}576return mi.MessageOf(x)577}578579// Deprecated: Use GitConfig.ProtoReflect.Descriptor instead.580func (*GitConfig) Descriptor() ([]byte, []int) {581return file_initializer_proto_rawDescGZIP(), []int{5}582}583584func (x *GitConfig) GetCustomConfig() map[string]string {585if x != nil {586return x.CustomConfig587}588return nil589}590591func (x *GitConfig) GetAuthentication() GitAuthMethod {592if x != nil {593return x.Authentication594}595return GitAuthMethod_NO_AUTH596}597598func (x *GitConfig) GetAuthUser() string {599if x != nil {600return x.AuthUser601}602return ""603}604605func (x *GitConfig) GetAuthPassword() string {606if x != nil {607return x.AuthPassword608}609return ""610}611612func (x *GitConfig) GetAuthOts() string {613if x != nil {614return x.AuthOts615}616return ""617}618619type SnapshotInitializer struct {620state protoimpl.MessageState621sizeCache protoimpl.SizeCache622unknownFields protoimpl.UnknownFields623624// name of the snapshot to restore625Snapshot string `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`626// if snapshot string is volume snapshot and not GCS url627FromVolumeSnapshot bool `protobuf:"varint,2,opt,name=from_volume_snapshot,json=fromVolumeSnapshot,proto3" json:"from_volume_snapshot,omitempty"`628}629630func (x *SnapshotInitializer) Reset() {631*x = SnapshotInitializer{}632if protoimpl.UnsafeEnabled {633mi := &file_initializer_proto_msgTypes[6]634ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))635ms.StoreMessageInfo(mi)636}637}638639func (x *SnapshotInitializer) String() string {640return protoimpl.X.MessageStringOf(x)641}642643func (*SnapshotInitializer) ProtoMessage() {}644645func (x *SnapshotInitializer) ProtoReflect() protoreflect.Message {646mi := &file_initializer_proto_msgTypes[6]647if protoimpl.UnsafeEnabled && x != nil {648ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))649if ms.LoadMessageInfo() == nil {650ms.StoreMessageInfo(mi)651}652return ms653}654return mi.MessageOf(x)655}656657// Deprecated: Use SnapshotInitializer.ProtoReflect.Descriptor instead.658func (*SnapshotInitializer) Descriptor() ([]byte, []int) {659return file_initializer_proto_rawDescGZIP(), []int{6}660}661662func (x *SnapshotInitializer) GetSnapshot() string {663if x != nil {664return x.Snapshot665}666return ""667}668669func (x *SnapshotInitializer) GetFromVolumeSnapshot() bool {670if x != nil {671return x.FromVolumeSnapshot672}673return false674}675676// A prebuild initializer combines snapshots with Git: first we try the snapshot, then apply the Git clone target.677// If restoring the snapshot fails, we fall back to a regular Git initializer, which might be composite git initializer for multi-repo projects.678type PrebuildInitializer struct {679state protoimpl.MessageState680sizeCache protoimpl.SizeCache681unknownFields protoimpl.UnknownFields682683Prebuild *SnapshotInitializer `protobuf:"bytes,1,opt,name=prebuild,proto3" json:"prebuild,omitempty"`684Git []*GitInitializer `protobuf:"bytes,2,rep,name=git,proto3" json:"git,omitempty"`685}686687func (x *PrebuildInitializer) Reset() {688*x = PrebuildInitializer{}689if protoimpl.UnsafeEnabled {690mi := &file_initializer_proto_msgTypes[7]691ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))692ms.StoreMessageInfo(mi)693}694}695696func (x *PrebuildInitializer) String() string {697return protoimpl.X.MessageStringOf(x)698}699700func (*PrebuildInitializer) ProtoMessage() {}701702func (x *PrebuildInitializer) ProtoReflect() protoreflect.Message {703mi := &file_initializer_proto_msgTypes[7]704if protoimpl.UnsafeEnabled && x != nil {705ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))706if ms.LoadMessageInfo() == nil {707ms.StoreMessageInfo(mi)708}709return ms710}711return mi.MessageOf(x)712}713714// Deprecated: Use PrebuildInitializer.ProtoReflect.Descriptor instead.715func (*PrebuildInitializer) Descriptor() ([]byte, []int) {716return file_initializer_proto_rawDescGZIP(), []int{7}717}718719func (x *PrebuildInitializer) GetPrebuild() *SnapshotInitializer {720if x != nil {721return x.Prebuild722}723return nil724}725726func (x *PrebuildInitializer) GetGit() []*GitInitializer {727if x != nil {728return x.Git729}730return nil731}732733// FromBackupInitializer initializes content from a previously made backup734type FromBackupInitializer struct {735state protoimpl.MessageState736sizeCache protoimpl.SizeCache737unknownFields protoimpl.UnknownFields738739CheckoutLocation string `protobuf:"bytes,1,opt,name=checkout_location,json=checkoutLocation,proto3" json:"checkout_location,omitempty"`740FromVolumeSnapshot bool `protobuf:"varint,2,opt,name=from_volume_snapshot,json=fromVolumeSnapshot,proto3" json:"from_volume_snapshot,omitempty"`741}742743func (x *FromBackupInitializer) Reset() {744*x = FromBackupInitializer{}745if protoimpl.UnsafeEnabled {746mi := &file_initializer_proto_msgTypes[8]747ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))748ms.StoreMessageInfo(mi)749}750}751752func (x *FromBackupInitializer) String() string {753return protoimpl.X.MessageStringOf(x)754}755756func (*FromBackupInitializer) ProtoMessage() {}757758func (x *FromBackupInitializer) ProtoReflect() protoreflect.Message {759mi := &file_initializer_proto_msgTypes[8]760if protoimpl.UnsafeEnabled && x != nil {761ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))762if ms.LoadMessageInfo() == nil {763ms.StoreMessageInfo(mi)764}765return ms766}767return mi.MessageOf(x)768}769770// Deprecated: Use FromBackupInitializer.ProtoReflect.Descriptor instead.771func (*FromBackupInitializer) Descriptor() ([]byte, []int) {772return file_initializer_proto_rawDescGZIP(), []int{8}773}774775func (x *FromBackupInitializer) GetCheckoutLocation() string {776if x != nil {777return x.CheckoutLocation778}779return ""780}781782func (x *FromBackupInitializer) GetFromVolumeSnapshot() bool {783if x != nil {784return x.FromVolumeSnapshot785}786return false787}788789// GitStatus describes the current Git working copy status, akin to a combination of "git status" and "git branch"790type GitStatus struct {791state protoimpl.MessageState792sizeCache protoimpl.SizeCache793unknownFields protoimpl.UnknownFields794795// branch is branch we're currently on796Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`797// latest_commit is the most recent commit on the current branch798LatestCommit string `protobuf:"bytes,2,opt,name=latest_commit,json=latestCommit,proto3" json:"latest_commit,omitempty"`799// uncommited_files is the number of uncommitted files, possibly truncated800UncommitedFiles []string `protobuf:"bytes,3,rep,name=uncommited_files,json=uncommitedFiles,proto3" json:"uncommited_files,omitempty"`801// the total number of uncommited files802TotalUncommitedFiles int64 `protobuf:"varint,6,opt,name=total_uncommited_files,json=totalUncommitedFiles,proto3" json:"total_uncommited_files,omitempty"`803// untracked_files is the number of untracked files in the workspace, possibly truncated804UntrackedFiles []string `protobuf:"bytes,4,rep,name=untracked_files,json=untrackedFiles,proto3" json:"untracked_files,omitempty"`805// the total number of untracked files806TotalUntrackedFiles int64 `protobuf:"varint,7,opt,name=total_untracked_files,json=totalUntrackedFiles,proto3" json:"total_untracked_files,omitempty"`807// unpushed_commits is the number of unpushed changes in the workspace, possibly truncated808UnpushedCommits []string `protobuf:"bytes,5,rep,name=unpushed_commits,json=unpushedCommits,proto3" json:"unpushed_commits,omitempty"`809// the total number of unpushed changes810TotalUnpushedCommits int64 `protobuf:"varint,8,opt,name=total_unpushed_commits,json=totalUnpushedCommits,proto3" json:"total_unpushed_commits,omitempty"`811}812813func (x *GitStatus) Reset() {814*x = GitStatus{}815if protoimpl.UnsafeEnabled {816mi := &file_initializer_proto_msgTypes[9]817ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))818ms.StoreMessageInfo(mi)819}820}821822func (x *GitStatus) String() string {823return protoimpl.X.MessageStringOf(x)824}825826func (*GitStatus) ProtoMessage() {}827828func (x *GitStatus) ProtoReflect() protoreflect.Message {829mi := &file_initializer_proto_msgTypes[9]830if protoimpl.UnsafeEnabled && x != nil {831ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))832if ms.LoadMessageInfo() == nil {833ms.StoreMessageInfo(mi)834}835return ms836}837return mi.MessageOf(x)838}839840// Deprecated: Use GitStatus.ProtoReflect.Descriptor instead.841func (*GitStatus) Descriptor() ([]byte, []int) {842return file_initializer_proto_rawDescGZIP(), []int{9}843}844845func (x *GitStatus) GetBranch() string {846if x != nil {847return x.Branch848}849return ""850}851852func (x *GitStatus) GetLatestCommit() string {853if x != nil {854return x.LatestCommit855}856return ""857}858859func (x *GitStatus) GetUncommitedFiles() []string {860if x != nil {861return x.UncommitedFiles862}863return nil864}865866func (x *GitStatus) GetTotalUncommitedFiles() int64 {867if x != nil {868return x.TotalUncommitedFiles869}870return 0871}872873func (x *GitStatus) GetUntrackedFiles() []string {874if x != nil {875return x.UntrackedFiles876}877return nil878}879880func (x *GitStatus) GetTotalUntrackedFiles() int64 {881if x != nil {882return x.TotalUntrackedFiles883}884return 0885}886887func (x *GitStatus) GetUnpushedCommits() []string {888if x != nil {889return x.UnpushedCommits890}891return nil892}893894func (x *GitStatus) GetTotalUnpushedCommits() int64 {895if x != nil {896return x.TotalUnpushedCommits897}898return 0899}900901type FileDownloadInitializer_FileInfo struct {902state protoimpl.MessageState903sizeCache protoimpl.SizeCache904unknownFields protoimpl.UnknownFields905906Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`907// file_path is relative to the target_location, e.g. if target_location is in `/workspace/myrepo`908// a file_path of `foobar/file` would produce a file in `/workspace/myrepo/foobar/file`.909// file_path must include the filename. The FileDownloadInitializer will create any parent directories910// necessary to place the file.911FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`912// digest is a hash of the file content in the OCI digest format (see https://github.com/opencontainers/image-spec/blob/master/descriptor.md#digests).913// This information is used to compute subsequent914// content versions, and to validate the file content was downloaded correctly.915Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`916}917918func (x *FileDownloadInitializer_FileInfo) Reset() {919*x = FileDownloadInitializer_FileInfo{}920if protoimpl.UnsafeEnabled {921mi := &file_initializer_proto_msgTypes[10]922ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))923ms.StoreMessageInfo(mi)924}925}926927func (x *FileDownloadInitializer_FileInfo) String() string {928return protoimpl.X.MessageStringOf(x)929}930931func (*FileDownloadInitializer_FileInfo) ProtoMessage() {}932933func (x *FileDownloadInitializer_FileInfo) ProtoReflect() protoreflect.Message {934mi := &file_initializer_proto_msgTypes[10]935if protoimpl.UnsafeEnabled && x != nil {936ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))937if ms.LoadMessageInfo() == nil {938ms.StoreMessageInfo(mi)939}940return ms941}942return mi.MessageOf(x)943}944945// Deprecated: Use FileDownloadInitializer_FileInfo.ProtoReflect.Descriptor instead.946func (*FileDownloadInitializer_FileInfo) Descriptor() ([]byte, []int) {947return file_initializer_proto_rawDescGZIP(), []int{2, 0}948}949950func (x *FileDownloadInitializer_FileInfo) GetUrl() string {951if x != nil {952return x.Url953}954return ""955}956957func (x *FileDownloadInitializer_FileInfo) GetFilePath() string {958if x != nil {959return x.FilePath960}961return ""962}963964func (x *FileDownloadInitializer_FileInfo) GetDigest() string {965if x != nil {966return x.Digest967}968return ""969}970971var File_initializer_proto protoreflect.FileDescriptor972973var file_initializer_proto_rawDesc = []byte{9740x0a, 0x11, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x70, 0x72,9750x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76,9760x69, 0x63, 0x65, 0x22, 0xe0, 0x03, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,9770x65, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x05,9780x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f,9790x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x6d, 0x70,9800x74, 0x79, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x48, 0x00, 0x52,9810x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, 0x02, 0x20,9820x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,9830x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69,9840x7a, 0x65, 0x72, 0x48, 0x00, 0x52, 0x03, 0x67, 0x69, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x73, 0x6e,9850x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63,9860x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6e,9870x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65,9880x72, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x41, 0x0a,9890x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,9900x23, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,9910x2e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,9920x69, 0x7a, 0x65, 0x72, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64,9930x12, 0x44, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x18, 0x05, 0x20,9940x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,9950x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x49, 0x6e,9960x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6d,9970x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,9980x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,9990x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f,10000x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65,10010x72, 0x48, 0x00, 0x52, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3f, 0x0a,10020x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,10030x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x46,10040x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,10050x69, 0x7a, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x06,10060x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x5e, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73,10070x69, 0x74, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x46,10080x0a, 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x18, 0x01, 0x20,10090x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,10100x76, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e,10110x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x52, 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x69,10120x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x22, 0xdd, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6c, 0x65, 0x44,10130x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a,10140x65, 0x72, 0x12, 0x46, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,10150x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,10160x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x49,10170x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49,10180x6e, 0x66, 0x6f, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61,10190x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,10200x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74,10210x69, 0x6f, 0x6e, 0x1a, 0x51, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,10220x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,10230x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02,10240x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16,10250x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,10260x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x49,10270x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x22, 0xc1, 0x02, 0x0a, 0x0e, 0x47,10280x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x1d, 0x0a,10290x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,10300x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x69, 0x12, 0x2e, 0x0a, 0x13,10310x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f,10320x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x75, 0x70, 0x73, 0x74, 0x72,10330x65, 0x61, 0x6d, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x69, 0x12, 0x40, 0x0a, 0x0b,10340x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,10350x0e, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,10360x63, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4d, 0x6f,10370x64, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1f,10380x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20,10390x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x54, 0x61, 0x67, 0x65, 0x74, 0x12,10400x2b, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61,10410x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63,10420x6b, 0x6f, 0x75, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x06,10430x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63,10440x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x69,10450x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,10460x1d, 0x0a, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x63, 0x6c, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20,10470x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x22, 0xc2,10480x02, 0x0a, 0x09, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0d,10490x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,10500x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,10510x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43,10520x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79,10530x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45,10540x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,10550x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,10560x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x4d,10570x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63,10580x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x75, 0x73,10590x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x55, 0x73,10600x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77,10610x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x50,10620x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x5f,10630x6f, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x4f,10640x74, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66,10650x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,10660x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,10670x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,10680x02, 0x38, 0x01, 0x22, 0x63, 0x0a, 0x13, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49,10690x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6e,10700x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6e,10710x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x76,10720x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02,10730x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x66, 0x72, 0x6f, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,10740x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x22, 0x88, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x65,10750x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72,10760x12, 0x3f, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01,10770x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76,10780x69, 0x63, 0x65, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x6e, 0x69, 0x74,10790x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,10800x64, 0x12, 0x30, 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,10810x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,10820x47, 0x69, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x52, 0x03,10830x67, 0x69, 0x74, 0x22, 0x76, 0x0a, 0x15, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75,10840x70, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11,10850x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,10860x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75,10870x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x72, 0x6f,10880x6d, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,10890x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x66, 0x72, 0x6f, 0x6d, 0x56, 0x6f, 0x6c,10900x75, 0x6d, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x22, 0xe7, 0x02, 0x0a, 0x09,10910x47, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61,10920x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63,10930x68, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,10940x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74,10950x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x6d,10960x69, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,10970x52, 0x0f, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65,10980x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6d,10990x6d, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,11000x03, 0x52, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,11010x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x74, 0x72, 0x61,11020x63, 0x6b, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,11030x52, 0x0e, 0x75, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73,11040x12, 0x32, 0x0a, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x75, 0x6e, 0x74, 0x72, 0x61, 0x63,11050x6b, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,11060x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x55, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46,11070x69, 0x6c, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x70, 0x75, 0x73, 0x68, 0x65, 0x64,11080x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,11090x75, 0x6e, 0x70, 0x75, 0x73, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12,11100x34, 0x0a, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x75, 0x6e, 0x70, 0x75, 0x73, 0x68, 0x65,11110x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,11120x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x55, 0x6e, 0x70, 0x75, 0x73, 0x68, 0x65, 0x64, 0x43, 0x6f,11130x6d, 0x6d, 0x69, 0x74, 0x73, 0x2a, 0x5a, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x54, 0x61,11140x72, 0x67, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x4d, 0x4f,11150x54, 0x45, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x4d,11160x4f, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d,11170x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10, 0x02, 0x12,11180x10, 0x0a, 0x0c, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10,11190x03, 0x2a, 0x40, 0x0a, 0x0d, 0x47, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68,11200x6f, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x00, 0x12,11210x0e, 0x0a, 0x0a, 0x42, 0x41, 0x53, 0x49, 0x43, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x01, 0x12,11220x12, 0x0a, 0x0e, 0x42, 0x41, 0x53, 0x49, 0x43, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x4f, 0x54,11230x53, 0x10, 0x02, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,11240x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70,11250x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69,11260x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,1127}11281129var (1130file_initializer_proto_rawDescOnce sync.Once1131file_initializer_proto_rawDescData = file_initializer_proto_rawDesc1132)11331134func file_initializer_proto_rawDescGZIP() []byte {1135file_initializer_proto_rawDescOnce.Do(func() {1136file_initializer_proto_rawDescData = protoimpl.X.CompressGZIP(file_initializer_proto_rawDescData)1137})1138return file_initializer_proto_rawDescData1139}11401141var file_initializer_proto_enumTypes = make([]protoimpl.EnumInfo, 2)1142var file_initializer_proto_msgTypes = make([]protoimpl.MessageInfo, 12)1143var file_initializer_proto_goTypes = []interface{}{1144(CloneTargetMode)(0), // 0: contentservice.CloneTargetMode1145(GitAuthMethod)(0), // 1: contentservice.GitAuthMethod1146(*WorkspaceInitializer)(nil), // 2: contentservice.WorkspaceInitializer1147(*CompositeInitializer)(nil), // 3: contentservice.CompositeInitializer1148(*FileDownloadInitializer)(nil), // 4: contentservice.FileDownloadInitializer1149(*EmptyInitializer)(nil), // 5: contentservice.EmptyInitializer1150(*GitInitializer)(nil), // 6: contentservice.GitInitializer1151(*GitConfig)(nil), // 7: contentservice.GitConfig1152(*SnapshotInitializer)(nil), // 8: contentservice.SnapshotInitializer1153(*PrebuildInitializer)(nil), // 9: contentservice.PrebuildInitializer1154(*FromBackupInitializer)(nil), // 10: contentservice.FromBackupInitializer1155(*GitStatus)(nil), // 11: contentservice.GitStatus1156(*FileDownloadInitializer_FileInfo)(nil), // 12: contentservice.FileDownloadInitializer.FileInfo1157nil, // 13: contentservice.GitConfig.CustomConfigEntry1158}1159var file_initializer_proto_depIdxs = []int32{11605, // 0: contentservice.WorkspaceInitializer.empty:type_name -> contentservice.EmptyInitializer11616, // 1: contentservice.WorkspaceInitializer.git:type_name -> contentservice.GitInitializer11628, // 2: contentservice.WorkspaceInitializer.snapshot:type_name -> contentservice.SnapshotInitializer11639, // 3: contentservice.WorkspaceInitializer.prebuild:type_name -> contentservice.PrebuildInitializer11643, // 4: contentservice.WorkspaceInitializer.composite:type_name -> contentservice.CompositeInitializer11654, // 5: contentservice.WorkspaceInitializer.download:type_name -> contentservice.FileDownloadInitializer116610, // 6: contentservice.WorkspaceInitializer.backup:type_name -> contentservice.FromBackupInitializer11672, // 7: contentservice.CompositeInitializer.initializer:type_name -> contentservice.WorkspaceInitializer116812, // 8: contentservice.FileDownloadInitializer.files:type_name -> contentservice.FileDownloadInitializer.FileInfo11690, // 9: contentservice.GitInitializer.target_mode:type_name -> contentservice.CloneTargetMode11707, // 10: contentservice.GitInitializer.config:type_name -> contentservice.GitConfig117113, // 11: contentservice.GitConfig.custom_config:type_name -> contentservice.GitConfig.CustomConfigEntry11721, // 12: contentservice.GitConfig.authentication:type_name -> contentservice.GitAuthMethod11738, // 13: contentservice.PrebuildInitializer.prebuild:type_name -> contentservice.SnapshotInitializer11746, // 14: contentservice.PrebuildInitializer.git:type_name -> contentservice.GitInitializer117515, // [15:15] is the sub-list for method output_type117615, // [15:15] is the sub-list for method input_type117715, // [15:15] is the sub-list for extension type_name117815, // [15:15] is the sub-list for extension extendee11790, // [0:15] is the sub-list for field type_name1180}11811182func init() { file_initializer_proto_init() }1183func file_initializer_proto_init() {1184if File_initializer_proto != nil {1185return1186}1187if !protoimpl.UnsafeEnabled {1188file_initializer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {1189switch v := v.(*WorkspaceInitializer); i {1190case 0:1191return &v.state1192case 1:1193return &v.sizeCache1194case 2:1195return &v.unknownFields1196default:1197return nil1198}1199}1200file_initializer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {1201switch v := v.(*CompositeInitializer); i {1202case 0:1203return &v.state1204case 1:1205return &v.sizeCache1206case 2:1207return &v.unknownFields1208default:1209return nil1210}1211}1212file_initializer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {1213switch v := v.(*FileDownloadInitializer); i {1214case 0:1215return &v.state1216case 1:1217return &v.sizeCache1218case 2:1219return &v.unknownFields1220default:1221return nil1222}1223}1224file_initializer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {1225switch v := v.(*EmptyInitializer); i {1226case 0:1227return &v.state1228case 1:1229return &v.sizeCache1230case 2:1231return &v.unknownFields1232default:1233return nil1234}1235}1236file_initializer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {1237switch v := v.(*GitInitializer); i {1238case 0:1239return &v.state1240case 1:1241return &v.sizeCache1242case 2:1243return &v.unknownFields1244default:1245return nil1246}1247}1248file_initializer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {1249switch v := v.(*GitConfig); i {1250case 0:1251return &v.state1252case 1:1253return &v.sizeCache1254case 2:1255return &v.unknownFields1256default:1257return nil1258}1259}1260file_initializer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {1261switch v := v.(*SnapshotInitializer); i {1262case 0:1263return &v.state1264case 1:1265return &v.sizeCache1266case 2:1267return &v.unknownFields1268default:1269return nil1270}1271}1272file_initializer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {1273switch v := v.(*PrebuildInitializer); i {1274case 0:1275return &v.state1276case 1:1277return &v.sizeCache1278case 2:1279return &v.unknownFields1280default:1281return nil1282}1283}1284file_initializer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {1285switch v := v.(*FromBackupInitializer); i {1286case 0:1287return &v.state1288case 1:1289return &v.sizeCache1290case 2:1291return &v.unknownFields1292default:1293return nil1294}1295}1296file_initializer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {1297switch v := v.(*GitStatus); i {1298case 0:1299return &v.state1300case 1:1301return &v.sizeCache1302case 2:1303return &v.unknownFields1304default:1305return nil1306}1307}1308file_initializer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {1309switch v := v.(*FileDownloadInitializer_FileInfo); i {1310case 0:1311return &v.state1312case 1:1313return &v.sizeCache1314case 2:1315return &v.unknownFields1316default:1317return nil1318}1319}1320}1321file_initializer_proto_msgTypes[0].OneofWrappers = []interface{}{1322(*WorkspaceInitializer_Empty)(nil),1323(*WorkspaceInitializer_Git)(nil),1324(*WorkspaceInitializer_Snapshot)(nil),1325(*WorkspaceInitializer_Prebuild)(nil),1326(*WorkspaceInitializer_Composite)(nil),1327(*WorkspaceInitializer_Download)(nil),1328(*WorkspaceInitializer_Backup)(nil),1329}1330type x struct{}1331out := protoimpl.TypeBuilder{1332File: protoimpl.DescBuilder{1333GoPackagePath: reflect.TypeOf(x{}).PkgPath(),1334RawDescriptor: file_initializer_proto_rawDesc,1335NumEnums: 2,1336NumMessages: 12,1337NumExtensions: 0,1338NumServices: 0,1339},1340GoTypes: file_initializer_proto_goTypes,1341DependencyIndexes: file_initializer_proto_depIdxs,1342EnumInfos: file_initializer_proto_enumTypes,1343MessageInfos: file_initializer_proto_msgTypes,1344}.Build()1345File_initializer_proto = out.File1346file_initializer_proto_rawDesc = nil1347file_initializer_proto_goTypes = nil1348file_initializer_proto_depIdxs = nil1349}135013511352