1// Copyright 2021 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.26.0 18// protoc v3.12.2 19// source: google/devtools/artifactregistry/v1/repository.proto 20 21package artifactregistry 22 23import ( 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 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 31) 32 33const ( 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// A package format. 41type Repository_Format int32 42 43const ( 44 // Unspecified package format. 45 Repository_FORMAT_UNSPECIFIED Repository_Format = 0 46 // Docker package format. 47 Repository_DOCKER Repository_Format = 1 48 // Maven package format. 49 Repository_MAVEN Repository_Format = 2 50 // NPM package format. 51 Repository_NPM Repository_Format = 3 52 // APT package format. 53 Repository_APT Repository_Format = 5 54 // YUM package format. 55 Repository_YUM Repository_Format = 6 56 // Python package format. 57 Repository_PYTHON Repository_Format = 8 58) 59 60// Enum value maps for Repository_Format. 61var ( 62 Repository_Format_name = map[int32]string{ 63 0: "FORMAT_UNSPECIFIED", 64 1: "DOCKER", 65 2: "MAVEN", 66 3: "NPM", 67 5: "APT", 68 6: "YUM", 69 8: "PYTHON", 70 } 71 Repository_Format_value = map[string]int32{ 72 "FORMAT_UNSPECIFIED": 0, 73 "DOCKER": 1, 74 "MAVEN": 2, 75 "NPM": 3, 76 "APT": 5, 77 "YUM": 6, 78 "PYTHON": 8, 79 } 80) 81 82func (x Repository_Format) Enum() *Repository_Format { 83 p := new(Repository_Format) 84 *p = x 85 return p 86} 87 88func (x Repository_Format) String() string { 89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 90} 91 92func (Repository_Format) Descriptor() protoreflect.EnumDescriptor { 93 return file_google_devtools_artifactregistry_v1_repository_proto_enumTypes[0].Descriptor() 94} 95 96func (Repository_Format) Type() protoreflect.EnumType { 97 return &file_google_devtools_artifactregistry_v1_repository_proto_enumTypes[0] 98} 99 100func (x Repository_Format) Number() protoreflect.EnumNumber { 101 return protoreflect.EnumNumber(x) 102} 103 104// Deprecated: Use Repository_Format.Descriptor instead. 105func (Repository_Format) EnumDescriptor() ([]byte, []int) { 106 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP(), []int{0, 0} 107} 108 109// A Repository for storing artifacts with a specific format. 110type Repository struct { 111 state protoimpl.MessageState 112 sizeCache protoimpl.SizeCache 113 unknownFields protoimpl.UnknownFields 114 115 // The name of the repository, for example: 116 // "projects/p1/locations/us-central1/repositories/repo1". 117 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 118 // The format of packages that are stored in the repository. 119 Format Repository_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.devtools.artifactregistry.v1.Repository_Format" json:"format,omitempty"` 120 // The user-provided description of the repository. 121 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 122 // Labels with user-defined metadata. 123 // This field may contain up to 64 entries. Label keys and values may be no 124 // longer than 63 characters. Label keys must begin with a lowercase letter 125 // and may only contain lowercase letters, numeric characters, underscores, 126 // and dashes. 127 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 128 // The time when the repository was created. 129 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 130 // The time when the repository was last updated. 131 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 132 // The Cloud KMS resource name of the customer managed encryption key that’s 133 // used to encrypt the contents of the Repository. Has the form: 134 // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. 135 // This value may not be changed after the Repository has been created. 136 KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` 137} 138 139func (x *Repository) Reset() { 140 *x = Repository{} 141 if protoimpl.UnsafeEnabled { 142 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[0] 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 ms.StoreMessageInfo(mi) 145 } 146} 147 148func (x *Repository) String() string { 149 return protoimpl.X.MessageStringOf(x) 150} 151 152func (*Repository) ProtoMessage() {} 153 154func (x *Repository) ProtoReflect() protoreflect.Message { 155 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[0] 156 if protoimpl.UnsafeEnabled && x != nil { 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 if ms.LoadMessageInfo() == nil { 159 ms.StoreMessageInfo(mi) 160 } 161 return ms 162 } 163 return mi.MessageOf(x) 164} 165 166// Deprecated: Use Repository.ProtoReflect.Descriptor instead. 167func (*Repository) Descriptor() ([]byte, []int) { 168 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP(), []int{0} 169} 170 171func (x *Repository) GetName() string { 172 if x != nil { 173 return x.Name 174 } 175 return "" 176} 177 178func (x *Repository) GetFormat() Repository_Format { 179 if x != nil { 180 return x.Format 181 } 182 return Repository_FORMAT_UNSPECIFIED 183} 184 185func (x *Repository) GetDescription() string { 186 if x != nil { 187 return x.Description 188 } 189 return "" 190} 191 192func (x *Repository) GetLabels() map[string]string { 193 if x != nil { 194 return x.Labels 195 } 196 return nil 197} 198 199func (x *Repository) GetCreateTime() *timestamppb.Timestamp { 200 if x != nil { 201 return x.CreateTime 202 } 203 return nil 204} 205 206func (x *Repository) GetUpdateTime() *timestamppb.Timestamp { 207 if x != nil { 208 return x.UpdateTime 209 } 210 return nil 211} 212 213func (x *Repository) GetKmsKeyName() string { 214 if x != nil { 215 return x.KmsKeyName 216 } 217 return "" 218} 219 220// The request to list repositories. 221type ListRepositoriesRequest struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 // Required. The name of the parent resource whose repositories will be listed. 227 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 228 // The maximum number of repositories to return. 229 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 230 // The next_page_token value returned from a previous list request, if any. 231 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 232} 233 234func (x *ListRepositoriesRequest) Reset() { 235 *x = ListRepositoriesRequest{} 236 if protoimpl.UnsafeEnabled { 237 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[1] 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 ms.StoreMessageInfo(mi) 240 } 241} 242 243func (x *ListRepositoriesRequest) String() string { 244 return protoimpl.X.MessageStringOf(x) 245} 246 247func (*ListRepositoriesRequest) ProtoMessage() {} 248 249func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message { 250 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[1] 251 if protoimpl.UnsafeEnabled && x != nil { 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 if ms.LoadMessageInfo() == nil { 254 ms.StoreMessageInfo(mi) 255 } 256 return ms 257 } 258 return mi.MessageOf(x) 259} 260 261// Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead. 262func (*ListRepositoriesRequest) Descriptor() ([]byte, []int) { 263 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP(), []int{1} 264} 265 266func (x *ListRepositoriesRequest) GetParent() string { 267 if x != nil { 268 return x.Parent 269 } 270 return "" 271} 272 273func (x *ListRepositoriesRequest) GetPageSize() int32 { 274 if x != nil { 275 return x.PageSize 276 } 277 return 0 278} 279 280func (x *ListRepositoriesRequest) GetPageToken() string { 281 if x != nil { 282 return x.PageToken 283 } 284 return "" 285} 286 287// The response from listing repositories. 288type ListRepositoriesResponse struct { 289 state protoimpl.MessageState 290 sizeCache protoimpl.SizeCache 291 unknownFields protoimpl.UnknownFields 292 293 // The repositories returned. 294 Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` 295 // The token to retrieve the next page of repositories, or empty if there are 296 // no more repositories to return. 297 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 298} 299 300func (x *ListRepositoriesResponse) Reset() { 301 *x = ListRepositoriesResponse{} 302 if protoimpl.UnsafeEnabled { 303 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[2] 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 305 ms.StoreMessageInfo(mi) 306 } 307} 308 309func (x *ListRepositoriesResponse) String() string { 310 return protoimpl.X.MessageStringOf(x) 311} 312 313func (*ListRepositoriesResponse) ProtoMessage() {} 314 315func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message { 316 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[2] 317 if protoimpl.UnsafeEnabled && x != nil { 318 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 319 if ms.LoadMessageInfo() == nil { 320 ms.StoreMessageInfo(mi) 321 } 322 return ms 323 } 324 return mi.MessageOf(x) 325} 326 327// Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead. 328func (*ListRepositoriesResponse) Descriptor() ([]byte, []int) { 329 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP(), []int{2} 330} 331 332func (x *ListRepositoriesResponse) GetRepositories() []*Repository { 333 if x != nil { 334 return x.Repositories 335 } 336 return nil 337} 338 339func (x *ListRepositoriesResponse) GetNextPageToken() string { 340 if x != nil { 341 return x.NextPageToken 342 } 343 return "" 344} 345 346// The request to retrieve a repository. 347type GetRepositoryRequest struct { 348 state protoimpl.MessageState 349 sizeCache protoimpl.SizeCache 350 unknownFields protoimpl.UnknownFields 351 352 // Required. The name of the repository to retrieve. 353 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 354} 355 356func (x *GetRepositoryRequest) Reset() { 357 *x = GetRepositoryRequest{} 358 if protoimpl.UnsafeEnabled { 359 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[3] 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 ms.StoreMessageInfo(mi) 362 } 363} 364 365func (x *GetRepositoryRequest) String() string { 366 return protoimpl.X.MessageStringOf(x) 367} 368 369func (*GetRepositoryRequest) ProtoMessage() {} 370 371func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message { 372 mi := &file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[3] 373 if protoimpl.UnsafeEnabled && x != nil { 374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 375 if ms.LoadMessageInfo() == nil { 376 ms.StoreMessageInfo(mi) 377 } 378 return ms 379 } 380 return mi.MessageOf(x) 381} 382 383// Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead. 384func (*GetRepositoryRequest) Descriptor() ([]byte, []int) { 385 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP(), []int{3} 386} 387 388func (x *GetRepositoryRequest) GetName() string { 389 if x != nil { 390 return x.Name 391 } 392 return "" 393} 394 395var File_google_devtools_artifactregistry_v1_repository_proto protoreflect.FileDescriptor 396 397var file_google_devtools_artifactregistry_v1_repository_proto_rawDesc = []byte{ 398 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 399 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 400 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 401 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 402 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 403 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 404 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 405 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 406 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 407 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 408 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 409 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 410 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 411 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x05, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 412 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 413 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x66, 0x6f, 0x72, 414 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 415 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 416 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 417 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 418 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 419 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 420 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x06, 0x6c, 421 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 422 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 423 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 424 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x62, 425 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 426 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 427 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 428 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 429 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 430 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 431 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 432 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 433 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6b, 0x6d, 434 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 435 0x52, 0x0a, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 436 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 437 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 438 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 439 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 440 0x74, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 441 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x43, 442 0x4b, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x56, 0x45, 0x4e, 0x10, 0x02, 443 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x50, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x50, 0x54, 444 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x59, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x50, 445 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x08, 0x3a, 0x72, 0xea, 0x41, 0x6f, 0x0a, 0x2a, 0x61, 0x72, 446 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 447 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 448 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x41, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 449 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 450 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 451 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 452 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x22, 0xa1, 0x01, 0x0a, 0x17, 453 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 454 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 455 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12, 456 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 457 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 458 0x2f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 459 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 460 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 461 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 462 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 463 0x97, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 464 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 465 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 466 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 467 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 468 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 469 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 470 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 471 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 472 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5e, 0x0a, 0x14, 0x47, 0x65, 0x74, 473 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 474 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 475 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 476 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 477 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 478 0x6f, 0x72, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xfd, 0x01, 0x0a, 0x27, 0x63, 0x6f, 479 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 480 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 481 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 482 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 483 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 484 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 485 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 486 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x72, 0x74, 487 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0xaa, 0x02, 0x20, 488 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 489 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 490 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 491 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 492 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 493 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 494 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 495 0x33, 496} 497 498var ( 499 file_google_devtools_artifactregistry_v1_repository_proto_rawDescOnce sync.Once 500 file_google_devtools_artifactregistry_v1_repository_proto_rawDescData = file_google_devtools_artifactregistry_v1_repository_proto_rawDesc 501) 502 503func file_google_devtools_artifactregistry_v1_repository_proto_rawDescGZIP() []byte { 504 file_google_devtools_artifactregistry_v1_repository_proto_rawDescOnce.Do(func() { 505 file_google_devtools_artifactregistry_v1_repository_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_repository_proto_rawDescData) 506 }) 507 return file_google_devtools_artifactregistry_v1_repository_proto_rawDescData 508} 509 510var file_google_devtools_artifactregistry_v1_repository_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 511var file_google_devtools_artifactregistry_v1_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 512var file_google_devtools_artifactregistry_v1_repository_proto_goTypes = []interface{}{ 513 (Repository_Format)(0), // 0: google.devtools.artifactregistry.v1.Repository.Format 514 (*Repository)(nil), // 1: google.devtools.artifactregistry.v1.Repository 515 (*ListRepositoriesRequest)(nil), // 2: google.devtools.artifactregistry.v1.ListRepositoriesRequest 516 (*ListRepositoriesResponse)(nil), // 3: google.devtools.artifactregistry.v1.ListRepositoriesResponse 517 (*GetRepositoryRequest)(nil), // 4: google.devtools.artifactregistry.v1.GetRepositoryRequest 518 nil, // 5: google.devtools.artifactregistry.v1.Repository.LabelsEntry 519 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 520} 521var file_google_devtools_artifactregistry_v1_repository_proto_depIdxs = []int32{ 522 0, // 0: google.devtools.artifactregistry.v1.Repository.format:type_name -> google.devtools.artifactregistry.v1.Repository.Format 523 5, // 1: google.devtools.artifactregistry.v1.Repository.labels:type_name -> google.devtools.artifactregistry.v1.Repository.LabelsEntry 524 6, // 2: google.devtools.artifactregistry.v1.Repository.create_time:type_name -> google.protobuf.Timestamp 525 6, // 3: google.devtools.artifactregistry.v1.Repository.update_time:type_name -> google.protobuf.Timestamp 526 1, // 4: google.devtools.artifactregistry.v1.ListRepositoriesResponse.repositories:type_name -> google.devtools.artifactregistry.v1.Repository 527 5, // [5:5] is the sub-list for method output_type 528 5, // [5:5] is the sub-list for method input_type 529 5, // [5:5] is the sub-list for extension type_name 530 5, // [5:5] is the sub-list for extension extendee 531 0, // [0:5] is the sub-list for field type_name 532} 533 534func init() { file_google_devtools_artifactregistry_v1_repository_proto_init() } 535func file_google_devtools_artifactregistry_v1_repository_proto_init() { 536 if File_google_devtools_artifactregistry_v1_repository_proto != nil { 537 return 538 } 539 if !protoimpl.UnsafeEnabled { 540 file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 541 switch v := v.(*Repository); i { 542 case 0: 543 return &v.state 544 case 1: 545 return &v.sizeCache 546 case 2: 547 return &v.unknownFields 548 default: 549 return nil 550 } 551 } 552 file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 553 switch v := v.(*ListRepositoriesRequest); i { 554 case 0: 555 return &v.state 556 case 1: 557 return &v.sizeCache 558 case 2: 559 return &v.unknownFields 560 default: 561 return nil 562 } 563 } 564 file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 565 switch v := v.(*ListRepositoriesResponse); i { 566 case 0: 567 return &v.state 568 case 1: 569 return &v.sizeCache 570 case 2: 571 return &v.unknownFields 572 default: 573 return nil 574 } 575 } 576 file_google_devtools_artifactregistry_v1_repository_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 577 switch v := v.(*GetRepositoryRequest); i { 578 case 0: 579 return &v.state 580 case 1: 581 return &v.sizeCache 582 case 2: 583 return &v.unknownFields 584 default: 585 return nil 586 } 587 } 588 } 589 type x struct{} 590 out := protoimpl.TypeBuilder{ 591 File: protoimpl.DescBuilder{ 592 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 593 RawDescriptor: file_google_devtools_artifactregistry_v1_repository_proto_rawDesc, 594 NumEnums: 1, 595 NumMessages: 5, 596 NumExtensions: 0, 597 NumServices: 0, 598 }, 599 GoTypes: file_google_devtools_artifactregistry_v1_repository_proto_goTypes, 600 DependencyIndexes: file_google_devtools_artifactregistry_v1_repository_proto_depIdxs, 601 EnumInfos: file_google_devtools_artifactregistry_v1_repository_proto_enumTypes, 602 MessageInfos: file_google_devtools_artifactregistry_v1_repository_proto_msgTypes, 603 }.Build() 604 File_google_devtools_artifactregistry_v1_repository_proto = out.File 605 file_google_devtools_artifactregistry_v1_repository_proto_rawDesc = nil 606 file_google_devtools_artifactregistry_v1_repository_proto_goTypes = nil 607 file_google_devtools_artifactregistry_v1_repository_proto_depIdxs = nil 608} 609