...

Source file src/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb/settings.pb.go

Documentation: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb

     1  // Copyright 2023 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.33.0
    18  // 	protoc        v4.25.3
    19  // source: google/devtools/artifactregistry/v1/settings.proto
    20  
    21  package artifactregistrypb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // The possible redirection states for legacy repositories.
    41  type ProjectSettings_RedirectionState int32
    42  
    43  const (
    44  	// No redirection status has been set.
    45  	ProjectSettings_REDIRECTION_STATE_UNSPECIFIED ProjectSettings_RedirectionState = 0
    46  	// Redirection is disabled.
    47  	ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED ProjectSettings_RedirectionState = 1
    48  	// Redirection is enabled.
    49  	ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED ProjectSettings_RedirectionState = 2
    50  	// Redirection is enabled, and has been finalized so cannot be reverted.
    51  	//
    52  	// Deprecated: Marked as deprecated in google/devtools/artifactregistry/v1/settings.proto.
    53  	ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED ProjectSettings_RedirectionState = 3
    54  )
    55  
    56  // Enum value maps for ProjectSettings_RedirectionState.
    57  var (
    58  	ProjectSettings_RedirectionState_name = map[int32]string{
    59  		0: "REDIRECTION_STATE_UNSPECIFIED",
    60  		1: "REDIRECTION_FROM_GCR_IO_DISABLED",
    61  		2: "REDIRECTION_FROM_GCR_IO_ENABLED",
    62  		3: "REDIRECTION_FROM_GCR_IO_FINALIZED",
    63  	}
    64  	ProjectSettings_RedirectionState_value = map[string]int32{
    65  		"REDIRECTION_STATE_UNSPECIFIED":     0,
    66  		"REDIRECTION_FROM_GCR_IO_DISABLED":  1,
    67  		"REDIRECTION_FROM_GCR_IO_ENABLED":   2,
    68  		"REDIRECTION_FROM_GCR_IO_FINALIZED": 3,
    69  	}
    70  )
    71  
    72  func (x ProjectSettings_RedirectionState) Enum() *ProjectSettings_RedirectionState {
    73  	p := new(ProjectSettings_RedirectionState)
    74  	*p = x
    75  	return p
    76  }
    77  
    78  func (x ProjectSettings_RedirectionState) String() string {
    79  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    80  }
    81  
    82  func (ProjectSettings_RedirectionState) Descriptor() protoreflect.EnumDescriptor {
    83  	return file_google_devtools_artifactregistry_v1_settings_proto_enumTypes[0].Descriptor()
    84  }
    85  
    86  func (ProjectSettings_RedirectionState) Type() protoreflect.EnumType {
    87  	return &file_google_devtools_artifactregistry_v1_settings_proto_enumTypes[0]
    88  }
    89  
    90  func (x ProjectSettings_RedirectionState) Number() protoreflect.EnumNumber {
    91  	return protoreflect.EnumNumber(x)
    92  }
    93  
    94  // Deprecated: Use ProjectSettings_RedirectionState.Descriptor instead.
    95  func (ProjectSettings_RedirectionState) EnumDescriptor() ([]byte, []int) {
    96  	return file_google_devtools_artifactregistry_v1_settings_proto_rawDescGZIP(), []int{0, 0}
    97  }
    98  
    99  // The Artifact Registry settings that apply to a Project.
   100  type ProjectSettings struct {
   101  	state         protoimpl.MessageState
   102  	sizeCache     protoimpl.SizeCache
   103  	unknownFields protoimpl.UnknownFields
   104  
   105  	// The name of the project's settings.
   106  	//
   107  	// Always of the form:
   108  	// projects/{project-id}/projectSettings
   109  	//
   110  	// In update request: never set
   111  	// In response: always set
   112  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   113  	// The redirection state of the legacy repositories in this project.
   114  	LegacyRedirectionState ProjectSettings_RedirectionState `protobuf:"varint,2,opt,name=legacy_redirection_state,json=legacyRedirectionState,proto3,enum=google.devtools.artifactregistry.v1.ProjectSettings_RedirectionState" json:"legacy_redirection_state,omitempty"`
   115  }
   116  
   117  func (x *ProjectSettings) Reset() {
   118  	*x = ProjectSettings{}
   119  	if protoimpl.UnsafeEnabled {
   120  		mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[0]
   121  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   122  		ms.StoreMessageInfo(mi)
   123  	}
   124  }
   125  
   126  func (x *ProjectSettings) String() string {
   127  	return protoimpl.X.MessageStringOf(x)
   128  }
   129  
   130  func (*ProjectSettings) ProtoMessage() {}
   131  
   132  func (x *ProjectSettings) ProtoReflect() protoreflect.Message {
   133  	mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[0]
   134  	if protoimpl.UnsafeEnabled && x != nil {
   135  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   136  		if ms.LoadMessageInfo() == nil {
   137  			ms.StoreMessageInfo(mi)
   138  		}
   139  		return ms
   140  	}
   141  	return mi.MessageOf(x)
   142  }
   143  
   144  // Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.
   145  func (*ProjectSettings) Descriptor() ([]byte, []int) {
   146  	return file_google_devtools_artifactregistry_v1_settings_proto_rawDescGZIP(), []int{0}
   147  }
   148  
   149  func (x *ProjectSettings) GetName() string {
   150  	if x != nil {
   151  		return x.Name
   152  	}
   153  	return ""
   154  }
   155  
   156  func (x *ProjectSettings) GetLegacyRedirectionState() ProjectSettings_RedirectionState {
   157  	if x != nil {
   158  		return x.LegacyRedirectionState
   159  	}
   160  	return ProjectSettings_REDIRECTION_STATE_UNSPECIFIED
   161  }
   162  
   163  // Gets the redirection status for a project.
   164  type GetProjectSettingsRequest struct {
   165  	state         protoimpl.MessageState
   166  	sizeCache     protoimpl.SizeCache
   167  	unknownFields protoimpl.UnknownFields
   168  
   169  	// Required. The name of the projectSettings resource.
   170  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   171  }
   172  
   173  func (x *GetProjectSettingsRequest) Reset() {
   174  	*x = GetProjectSettingsRequest{}
   175  	if protoimpl.UnsafeEnabled {
   176  		mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[1]
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		ms.StoreMessageInfo(mi)
   179  	}
   180  }
   181  
   182  func (x *GetProjectSettingsRequest) String() string {
   183  	return protoimpl.X.MessageStringOf(x)
   184  }
   185  
   186  func (*GetProjectSettingsRequest) ProtoMessage() {}
   187  
   188  func (x *GetProjectSettingsRequest) ProtoReflect() protoreflect.Message {
   189  	mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[1]
   190  	if protoimpl.UnsafeEnabled && x != nil {
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		if ms.LoadMessageInfo() == nil {
   193  			ms.StoreMessageInfo(mi)
   194  		}
   195  		return ms
   196  	}
   197  	return mi.MessageOf(x)
   198  }
   199  
   200  // Deprecated: Use GetProjectSettingsRequest.ProtoReflect.Descriptor instead.
   201  func (*GetProjectSettingsRequest) Descriptor() ([]byte, []int) {
   202  	return file_google_devtools_artifactregistry_v1_settings_proto_rawDescGZIP(), []int{1}
   203  }
   204  
   205  func (x *GetProjectSettingsRequest) GetName() string {
   206  	if x != nil {
   207  		return x.Name
   208  	}
   209  	return ""
   210  }
   211  
   212  // Sets the settings of the project.
   213  type UpdateProjectSettingsRequest struct {
   214  	state         protoimpl.MessageState
   215  	sizeCache     protoimpl.SizeCache
   216  	unknownFields protoimpl.UnknownFields
   217  
   218  	// The project settings.
   219  	ProjectSettings *ProjectSettings `protobuf:"bytes,2,opt,name=project_settings,json=projectSettings,proto3" json:"project_settings,omitempty"`
   220  	// Field mask to support partial updates.
   221  	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   222  }
   223  
   224  func (x *UpdateProjectSettingsRequest) Reset() {
   225  	*x = UpdateProjectSettingsRequest{}
   226  	if protoimpl.UnsafeEnabled {
   227  		mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[2]
   228  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   229  		ms.StoreMessageInfo(mi)
   230  	}
   231  }
   232  
   233  func (x *UpdateProjectSettingsRequest) String() string {
   234  	return protoimpl.X.MessageStringOf(x)
   235  }
   236  
   237  func (*UpdateProjectSettingsRequest) ProtoMessage() {}
   238  
   239  func (x *UpdateProjectSettingsRequest) ProtoReflect() protoreflect.Message {
   240  	mi := &file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[2]
   241  	if protoimpl.UnsafeEnabled && x != nil {
   242  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   243  		if ms.LoadMessageInfo() == nil {
   244  			ms.StoreMessageInfo(mi)
   245  		}
   246  		return ms
   247  	}
   248  	return mi.MessageOf(x)
   249  }
   250  
   251  // Deprecated: Use UpdateProjectSettingsRequest.ProtoReflect.Descriptor instead.
   252  func (*UpdateProjectSettingsRequest) Descriptor() ([]byte, []int) {
   253  	return file_google_devtools_artifactregistry_v1_settings_proto_rawDescGZIP(), []int{2}
   254  }
   255  
   256  func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings {
   257  	if x != nil {
   258  		return x.ProjectSettings
   259  	}
   260  	return nil
   261  }
   262  
   263  func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
   264  	if x != nil {
   265  		return x.UpdateMask
   266  	}
   267  	return nil
   268  }
   269  
   270  var File_google_devtools_artifactregistry_v1_settings_proto protoreflect.FileDescriptor
   271  
   272  var file_google_devtools_artifactregistry_v1_settings_proto_rawDesc = []byte{
   273  	0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   274  	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   275  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70,
   276  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
   277  	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
   278  	0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   279  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
   280  	0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
   281  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
   282  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
   283  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
   284  	0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x03, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a,
   285  	0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   286  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   287  	0x7f, 0x0a, 0x18, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65,
   288  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   289  	0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
   290  	0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
   291  	0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53,
   292  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
   293  	0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x16, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79,
   294  	0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
   295  	0x22, 0xab, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   296  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43,
   297  	0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
   298  	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x44, 0x49,
   299  	0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x47, 0x43, 0x52,
   300  	0x5f, 0x49, 0x4f, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x23,
   301  	0x0a, 0x1f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x52,
   302  	0x4f, 0x4d, 0x5f, 0x47, 0x43, 0x52, 0x5f, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45,
   303  	0x44, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x21, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49,
   304  	0x4f, 0x4e, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x47, 0x43, 0x52, 0x5f, 0x49, 0x4f, 0x5f, 0x46,
   305  	0x49, 0x4e, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x03, 0x1a, 0x02, 0x08, 0x01, 0x3a, 0x58,
   306  	0xea, 0x41, 0x55, 0x0a, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
   307  	0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   308  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74,
   309  	0x69, 0x6e, 0x67, 0x73, 0x12, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
   310  	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   311  	0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x68, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50,
   312  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
   313  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   314  	0x01, 0x28, 0x09, 0x42, 0x37, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x31, 0x0a, 0x2f, 0x61, 0x72, 0x74,
   315  	0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f,
   316  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f,
   317  	0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61,
   318  	0x6d, 0x65, 0x22, 0xbc, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
   319  	0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
   320  	0x65, 0x73, 0x74, 0x12, 0x5f, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73,
   321  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
   322  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
   323  	0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   324  	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
   325  	0x6e, 0x67, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x74, 0x74,
   326  	0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
   327  	0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   328  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
   329  	0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
   330  	0x6b, 0x42, 0xf8, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   331  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   332  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x53,
   333  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50,
   334  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
   335  	0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
   336  	0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66,
   337  	0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72,
   338  	0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62,
   339  	0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   340  	0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   341  	0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
   342  	0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73,
   343  	0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
   344  	0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   345  	0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
   346  	0x6f, 0x74, 0x6f, 0x33,
   347  }
   348  
   349  var (
   350  	file_google_devtools_artifactregistry_v1_settings_proto_rawDescOnce sync.Once
   351  	file_google_devtools_artifactregistry_v1_settings_proto_rawDescData = file_google_devtools_artifactregistry_v1_settings_proto_rawDesc
   352  )
   353  
   354  func file_google_devtools_artifactregistry_v1_settings_proto_rawDescGZIP() []byte {
   355  	file_google_devtools_artifactregistry_v1_settings_proto_rawDescOnce.Do(func() {
   356  		file_google_devtools_artifactregistry_v1_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_settings_proto_rawDescData)
   357  	})
   358  	return file_google_devtools_artifactregistry_v1_settings_proto_rawDescData
   359  }
   360  
   361  var file_google_devtools_artifactregistry_v1_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   362  var file_google_devtools_artifactregistry_v1_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   363  var file_google_devtools_artifactregistry_v1_settings_proto_goTypes = []interface{}{
   364  	(ProjectSettings_RedirectionState)(0), // 0: google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState
   365  	(*ProjectSettings)(nil),               // 1: google.devtools.artifactregistry.v1.ProjectSettings
   366  	(*GetProjectSettingsRequest)(nil),     // 2: google.devtools.artifactregistry.v1.GetProjectSettingsRequest
   367  	(*UpdateProjectSettingsRequest)(nil),  // 3: google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest
   368  	(*fieldmaskpb.FieldMask)(nil),         // 4: google.protobuf.FieldMask
   369  }
   370  var file_google_devtools_artifactregistry_v1_settings_proto_depIdxs = []int32{
   371  	0, // 0: google.devtools.artifactregistry.v1.ProjectSettings.legacy_redirection_state:type_name -> google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState
   372  	1, // 1: google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.project_settings:type_name -> google.devtools.artifactregistry.v1.ProjectSettings
   373  	4, // 2: google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.update_mask:type_name -> google.protobuf.FieldMask
   374  	3, // [3:3] is the sub-list for method output_type
   375  	3, // [3:3] is the sub-list for method input_type
   376  	3, // [3:3] is the sub-list for extension type_name
   377  	3, // [3:3] is the sub-list for extension extendee
   378  	0, // [0:3] is the sub-list for field type_name
   379  }
   380  
   381  func init() { file_google_devtools_artifactregistry_v1_settings_proto_init() }
   382  func file_google_devtools_artifactregistry_v1_settings_proto_init() {
   383  	if File_google_devtools_artifactregistry_v1_settings_proto != nil {
   384  		return
   385  	}
   386  	if !protoimpl.UnsafeEnabled {
   387  		file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   388  			switch v := v.(*ProjectSettings); i {
   389  			case 0:
   390  				return &v.state
   391  			case 1:
   392  				return &v.sizeCache
   393  			case 2:
   394  				return &v.unknownFields
   395  			default:
   396  				return nil
   397  			}
   398  		}
   399  		file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   400  			switch v := v.(*GetProjectSettingsRequest); i {
   401  			case 0:
   402  				return &v.state
   403  			case 1:
   404  				return &v.sizeCache
   405  			case 2:
   406  				return &v.unknownFields
   407  			default:
   408  				return nil
   409  			}
   410  		}
   411  		file_google_devtools_artifactregistry_v1_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   412  			switch v := v.(*UpdateProjectSettingsRequest); i {
   413  			case 0:
   414  				return &v.state
   415  			case 1:
   416  				return &v.sizeCache
   417  			case 2:
   418  				return &v.unknownFields
   419  			default:
   420  				return nil
   421  			}
   422  		}
   423  	}
   424  	type x struct{}
   425  	out := protoimpl.TypeBuilder{
   426  		File: protoimpl.DescBuilder{
   427  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   428  			RawDescriptor: file_google_devtools_artifactregistry_v1_settings_proto_rawDesc,
   429  			NumEnums:      1,
   430  			NumMessages:   3,
   431  			NumExtensions: 0,
   432  			NumServices:   0,
   433  		},
   434  		GoTypes:           file_google_devtools_artifactregistry_v1_settings_proto_goTypes,
   435  		DependencyIndexes: file_google_devtools_artifactregistry_v1_settings_proto_depIdxs,
   436  		EnumInfos:         file_google_devtools_artifactregistry_v1_settings_proto_enumTypes,
   437  		MessageInfos:      file_google_devtools_artifactregistry_v1_settings_proto_msgTypes,
   438  	}.Build()
   439  	File_google_devtools_artifactregistry_v1_settings_proto = out.File
   440  	file_google_devtools_artifactregistry_v1_settings_proto_rawDesc = nil
   441  	file_google_devtools_artifactregistry_v1_settings_proto_goTypes = nil
   442  	file_google_devtools_artifactregistry_v1_settings_proto_depIdxs = nil
   443  }
   444  

View as plain text