...

Source file src/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.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/vpcsc_config.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  // VPCSCPolicy is the VPC SC policy for project and location.
    41  type VPCSCConfig_VPCSCPolicy int32
    42  
    43  const (
    44  	// VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined.
    45  	// When VPS SC policy is not defined - the Service will use the default
    46  	// behavior (VPCSC_DENY).
    47  	VPCSCConfig_VPCSC_POLICY_UNSPECIFIED VPCSCConfig_VPCSCPolicy = 0
    48  	// VPCSC_DENY - repository will block the requests to the Upstreams for the
    49  	// Remote Repositories if the resource is in the perimeter.
    50  	VPCSCConfig_DENY VPCSCConfig_VPCSCPolicy = 1
    51  	// VPCSC_ALLOW - repository will allow the requests to the Upstreams for the
    52  	// Remote Repositories if the resource is in the perimeter.
    53  	VPCSCConfig_ALLOW VPCSCConfig_VPCSCPolicy = 2
    54  )
    55  
    56  // Enum value maps for VPCSCConfig_VPCSCPolicy.
    57  var (
    58  	VPCSCConfig_VPCSCPolicy_name = map[int32]string{
    59  		0: "VPCSC_POLICY_UNSPECIFIED",
    60  		1: "DENY",
    61  		2: "ALLOW",
    62  	}
    63  	VPCSCConfig_VPCSCPolicy_value = map[string]int32{
    64  		"VPCSC_POLICY_UNSPECIFIED": 0,
    65  		"DENY":                     1,
    66  		"ALLOW":                    2,
    67  	}
    68  )
    69  
    70  func (x VPCSCConfig_VPCSCPolicy) Enum() *VPCSCConfig_VPCSCPolicy {
    71  	p := new(VPCSCConfig_VPCSCPolicy)
    72  	*p = x
    73  	return p
    74  }
    75  
    76  func (x VPCSCConfig_VPCSCPolicy) String() string {
    77  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    78  }
    79  
    80  func (VPCSCConfig_VPCSCPolicy) Descriptor() protoreflect.EnumDescriptor {
    81  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_enumTypes[0].Descriptor()
    82  }
    83  
    84  func (VPCSCConfig_VPCSCPolicy) Type() protoreflect.EnumType {
    85  	return &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_enumTypes[0]
    86  }
    87  
    88  func (x VPCSCConfig_VPCSCPolicy) Number() protoreflect.EnumNumber {
    89  	return protoreflect.EnumNumber(x)
    90  }
    91  
    92  // Deprecated: Use VPCSCConfig_VPCSCPolicy.Descriptor instead.
    93  func (VPCSCConfig_VPCSCPolicy) EnumDescriptor() ([]byte, []int) {
    94  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescGZIP(), []int{0, 0}
    95  }
    96  
    97  // The Artifact Registry VPC SC config that apply to a Project.
    98  type VPCSCConfig struct {
    99  	state         protoimpl.MessageState
   100  	sizeCache     protoimpl.SizeCache
   101  	unknownFields protoimpl.UnknownFields
   102  
   103  	// The name of the project's VPC SC Config.
   104  	//
   105  	// Always of the form:
   106  	// projects/{projectID}/locations/{location}/vpcscConfig
   107  	//
   108  	// In update request: never set
   109  	// In response: always set
   110  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   111  	// The project per location VPC SC policy that defines the VPC SC behavior for
   112  	// the Remote Repository (Allow/Deny).
   113  	VpcscPolicy VPCSCConfig_VPCSCPolicy `protobuf:"varint,2,opt,name=vpcsc_policy,json=vpcscPolicy,proto3,enum=google.devtools.artifactregistry.v1.VPCSCConfig_VPCSCPolicy" json:"vpcsc_policy,omitempty"`
   114  }
   115  
   116  func (x *VPCSCConfig) Reset() {
   117  	*x = VPCSCConfig{}
   118  	if protoimpl.UnsafeEnabled {
   119  		mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[0]
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		ms.StoreMessageInfo(mi)
   122  	}
   123  }
   124  
   125  func (x *VPCSCConfig) String() string {
   126  	return protoimpl.X.MessageStringOf(x)
   127  }
   128  
   129  func (*VPCSCConfig) ProtoMessage() {}
   130  
   131  func (x *VPCSCConfig) ProtoReflect() protoreflect.Message {
   132  	mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[0]
   133  	if protoimpl.UnsafeEnabled && x != nil {
   134  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   135  		if ms.LoadMessageInfo() == nil {
   136  			ms.StoreMessageInfo(mi)
   137  		}
   138  		return ms
   139  	}
   140  	return mi.MessageOf(x)
   141  }
   142  
   143  // Deprecated: Use VPCSCConfig.ProtoReflect.Descriptor instead.
   144  func (*VPCSCConfig) Descriptor() ([]byte, []int) {
   145  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescGZIP(), []int{0}
   146  }
   147  
   148  func (x *VPCSCConfig) GetName() string {
   149  	if x != nil {
   150  		return x.Name
   151  	}
   152  	return ""
   153  }
   154  
   155  func (x *VPCSCConfig) GetVpcscPolicy() VPCSCConfig_VPCSCPolicy {
   156  	if x != nil {
   157  		return x.VpcscPolicy
   158  	}
   159  	return VPCSCConfig_VPCSC_POLICY_UNSPECIFIED
   160  }
   161  
   162  // Gets the VPC SC config for a project.
   163  type GetVPCSCConfigRequest struct {
   164  	state         protoimpl.MessageState
   165  	sizeCache     protoimpl.SizeCache
   166  	unknownFields protoimpl.UnknownFields
   167  
   168  	// Required. The name of the VPCSCConfig resource.
   169  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   170  }
   171  
   172  func (x *GetVPCSCConfigRequest) Reset() {
   173  	*x = GetVPCSCConfigRequest{}
   174  	if protoimpl.UnsafeEnabled {
   175  		mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[1]
   176  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   177  		ms.StoreMessageInfo(mi)
   178  	}
   179  }
   180  
   181  func (x *GetVPCSCConfigRequest) String() string {
   182  	return protoimpl.X.MessageStringOf(x)
   183  }
   184  
   185  func (*GetVPCSCConfigRequest) ProtoMessage() {}
   186  
   187  func (x *GetVPCSCConfigRequest) ProtoReflect() protoreflect.Message {
   188  	mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[1]
   189  	if protoimpl.UnsafeEnabled && x != nil {
   190  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   191  		if ms.LoadMessageInfo() == nil {
   192  			ms.StoreMessageInfo(mi)
   193  		}
   194  		return ms
   195  	}
   196  	return mi.MessageOf(x)
   197  }
   198  
   199  // Deprecated: Use GetVPCSCConfigRequest.ProtoReflect.Descriptor instead.
   200  func (*GetVPCSCConfigRequest) Descriptor() ([]byte, []int) {
   201  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescGZIP(), []int{1}
   202  }
   203  
   204  func (x *GetVPCSCConfigRequest) GetName() string {
   205  	if x != nil {
   206  		return x.Name
   207  	}
   208  	return ""
   209  }
   210  
   211  // Sets the VPCSC config of the project.
   212  type UpdateVPCSCConfigRequest struct {
   213  	state         protoimpl.MessageState
   214  	sizeCache     protoimpl.SizeCache
   215  	unknownFields protoimpl.UnknownFields
   216  
   217  	// The project config.
   218  	VpcscConfig *VPCSCConfig `protobuf:"bytes,1,opt,name=vpcsc_config,json=vpcscConfig,proto3" json:"vpcsc_config,omitempty"`
   219  	// Field mask to support partial updates.
   220  	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
   221  }
   222  
   223  func (x *UpdateVPCSCConfigRequest) Reset() {
   224  	*x = UpdateVPCSCConfigRequest{}
   225  	if protoimpl.UnsafeEnabled {
   226  		mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[2]
   227  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   228  		ms.StoreMessageInfo(mi)
   229  	}
   230  }
   231  
   232  func (x *UpdateVPCSCConfigRequest) String() string {
   233  	return protoimpl.X.MessageStringOf(x)
   234  }
   235  
   236  func (*UpdateVPCSCConfigRequest) ProtoMessage() {}
   237  
   238  func (x *UpdateVPCSCConfigRequest) ProtoReflect() protoreflect.Message {
   239  	mi := &file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[2]
   240  	if protoimpl.UnsafeEnabled && x != nil {
   241  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   242  		if ms.LoadMessageInfo() == nil {
   243  			ms.StoreMessageInfo(mi)
   244  		}
   245  		return ms
   246  	}
   247  	return mi.MessageOf(x)
   248  }
   249  
   250  // Deprecated: Use UpdateVPCSCConfigRequest.ProtoReflect.Descriptor instead.
   251  func (*UpdateVPCSCConfigRequest) Descriptor() ([]byte, []int) {
   252  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescGZIP(), []int{2}
   253  }
   254  
   255  func (x *UpdateVPCSCConfigRequest) GetVpcscConfig() *VPCSCConfig {
   256  	if x != nil {
   257  		return x.VpcscConfig
   258  	}
   259  	return nil
   260  }
   261  
   262  func (x *UpdateVPCSCConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
   263  	if x != nil {
   264  		return x.UpdateMask
   265  	}
   266  	return nil
   267  }
   268  
   269  var File_google_devtools_artifactregistry_v1_vpcsc_config_proto protoreflect.FileDescriptor
   270  
   271  var file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDesc = []byte{
   272  	0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   273  	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   274  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x70, 0x63, 0x73, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
   275  	0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   276  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   277  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67,
   278  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
   279  	0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
   280  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
   281  	0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   282  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
   283  	0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x02, 0x0a, 0x0b,
   284  	0x56, 0x50, 0x43, 0x53, 0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   285  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   286  	0x5f, 0x0a, 0x0c, 0x76, 0x70, 0x63, 0x73, 0x63, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,
   287  	0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
   288  	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   289  	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x50, 0x43, 0x53,
   290  	0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x50, 0x43, 0x53, 0x43, 0x50, 0x6f, 0x6c,
   291  	0x69, 0x63, 0x79, 0x52, 0x0b, 0x76, 0x70, 0x63, 0x73, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   292  	0x22, 0x40, 0x0a, 0x0b, 0x56, 0x50, 0x43, 0x53, 0x43, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
   293  	0x1c, 0x0a, 0x18, 0x56, 0x50, 0x43, 0x53, 0x43, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f,
   294  	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a,
   295  	0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57,
   296  	0x10, 0x02, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x2b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
   297  	0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   298  	0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x70, 0x63, 0x73, 0x63, 0x43, 0x6f,
   299  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
   300  	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
   301  	0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x76, 0x70,
   302  	0x63, 0x73, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x60, 0x0a, 0x15, 0x47, 0x65, 0x74,
   303  	0x56, 0x50, 0x43, 0x53, 0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
   304  	0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   305  	0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   306  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   307  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x70, 0x63, 0x73, 0x63, 0x43,
   308  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x18,
   309  	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x50, 0x43, 0x53, 0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   310  	0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x0c, 0x76, 0x70, 0x63, 0x73,
   311  	0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30,
   312  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
   313  	0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
   314  	0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x50, 0x43, 0x53, 0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   315  	0x52, 0x0b, 0x76, 0x70, 0x63, 0x73, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a,
   316  	0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
   317  	0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   318  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a,
   319  	0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0xfb, 0x01, 0x0a, 0x27, 0x63,
   320  	0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
   321  	0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
   322  	0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x56, 0x50, 0x43, 0x53, 0x43, 0x43, 0x6f, 0x6e,
   323  	0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75,
   324  	0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
   325  	0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   326  	0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
   327  	0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   328  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47,
   329  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69,
   330  	0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca,
   331  	0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41,
   332  	0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c,
   333  	0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
   334  	0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69,
   335  	0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   336  }
   337  
   338  var (
   339  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescOnce sync.Once
   340  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescData = file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDesc
   341  )
   342  
   343  func file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescGZIP() []byte {
   344  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescOnce.Do(func() {
   345  		file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescData)
   346  	})
   347  	return file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDescData
   348  }
   349  
   350  var file_google_devtools_artifactregistry_v1_vpcsc_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   351  var file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   352  var file_google_devtools_artifactregistry_v1_vpcsc_config_proto_goTypes = []interface{}{
   353  	(VPCSCConfig_VPCSCPolicy)(0),     // 0: google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy
   354  	(*VPCSCConfig)(nil),              // 1: google.devtools.artifactregistry.v1.VPCSCConfig
   355  	(*GetVPCSCConfigRequest)(nil),    // 2: google.devtools.artifactregistry.v1.GetVPCSCConfigRequest
   356  	(*UpdateVPCSCConfigRequest)(nil), // 3: google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest
   357  	(*fieldmaskpb.FieldMask)(nil),    // 4: google.protobuf.FieldMask
   358  }
   359  var file_google_devtools_artifactregistry_v1_vpcsc_config_proto_depIdxs = []int32{
   360  	0, // 0: google.devtools.artifactregistry.v1.VPCSCConfig.vpcsc_policy:type_name -> google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy
   361  	1, // 1: google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest.vpcsc_config:type_name -> google.devtools.artifactregistry.v1.VPCSCConfig
   362  	4, // 2: google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest.update_mask:type_name -> google.protobuf.FieldMask
   363  	3, // [3:3] is the sub-list for method output_type
   364  	3, // [3:3] is the sub-list for method input_type
   365  	3, // [3:3] is the sub-list for extension type_name
   366  	3, // [3:3] is the sub-list for extension extendee
   367  	0, // [0:3] is the sub-list for field type_name
   368  }
   369  
   370  func init() { file_google_devtools_artifactregistry_v1_vpcsc_config_proto_init() }
   371  func file_google_devtools_artifactregistry_v1_vpcsc_config_proto_init() {
   372  	if File_google_devtools_artifactregistry_v1_vpcsc_config_proto != nil {
   373  		return
   374  	}
   375  	if !protoimpl.UnsafeEnabled {
   376  		file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   377  			switch v := v.(*VPCSCConfig); i {
   378  			case 0:
   379  				return &v.state
   380  			case 1:
   381  				return &v.sizeCache
   382  			case 2:
   383  				return &v.unknownFields
   384  			default:
   385  				return nil
   386  			}
   387  		}
   388  		file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   389  			switch v := v.(*GetVPCSCConfigRequest); i {
   390  			case 0:
   391  				return &v.state
   392  			case 1:
   393  				return &v.sizeCache
   394  			case 2:
   395  				return &v.unknownFields
   396  			default:
   397  				return nil
   398  			}
   399  		}
   400  		file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   401  			switch v := v.(*UpdateVPCSCConfigRequest); i {
   402  			case 0:
   403  				return &v.state
   404  			case 1:
   405  				return &v.sizeCache
   406  			case 2:
   407  				return &v.unknownFields
   408  			default:
   409  				return nil
   410  			}
   411  		}
   412  	}
   413  	type x struct{}
   414  	out := protoimpl.TypeBuilder{
   415  		File: protoimpl.DescBuilder{
   416  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   417  			RawDescriptor: file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDesc,
   418  			NumEnums:      1,
   419  			NumMessages:   3,
   420  			NumExtensions: 0,
   421  			NumServices:   0,
   422  		},
   423  		GoTypes:           file_google_devtools_artifactregistry_v1_vpcsc_config_proto_goTypes,
   424  		DependencyIndexes: file_google_devtools_artifactregistry_v1_vpcsc_config_proto_depIdxs,
   425  		EnumInfos:         file_google_devtools_artifactregistry_v1_vpcsc_config_proto_enumTypes,
   426  		MessageInfos:      file_google_devtools_artifactregistry_v1_vpcsc_config_proto_msgTypes,
   427  	}.Build()
   428  	File_google_devtools_artifactregistry_v1_vpcsc_config_proto = out.File
   429  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_rawDesc = nil
   430  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_goTypes = nil
   431  	file_google_devtools_artifactregistry_v1_vpcsc_config_proto_depIdxs = nil
   432  }
   433  

View as plain text