| 1 |
// Copyright 2025 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/devtools/artifactregistry/v1/file.proto |
| 20 |
|
| 21 |
package artifactregistrypb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 28 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 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 algorithm used to compute the hash. |
| 41 |
type Hash_HashType int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Unspecified. |
| 45 |
Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 |
| 46 |
// SHA256 hash. |
| 47 |
Hash_SHA256 Hash_HashType = 1 |
| 48 |
// MD5 hash. |
| 49 |
Hash_MD5 Hash_HashType = 2 |
| 50 |
) |
| 51 |
|
| 52 |
// Enum value maps for Hash_HashType. |
| 53 |
var ( |
| 54 |
Hash_HashType_name = map[int32]string{ |
| 55 |
0: "HASH_TYPE_UNSPECIFIED", |
| 56 |
1: "SHA256", |
| 57 |
2: "MD5", |
| 58 |
} |
| 59 |
Hash_HashType_value = map[string]int32{ |
| 60 |
"HASH_TYPE_UNSPECIFIED": 0, |
| 61 |
"SHA256": 1, |
| 62 |
"MD5": 2, |
| 63 |
} |
| 64 |
) |
| 65 |
|
| 66 |
func (x Hash_HashType) Enum() *Hash_HashType { |
| 67 |
p := new(Hash_HashType) |
| 68 |
*p = x |
| 69 |
return p |
| 70 |
} |
| 71 |
|
| 72 |
func (x Hash_HashType) String() string { |
| 73 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 74 |
} |
| 75 |
|
| 76 |
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor { |
| 77 |
return file_google_devtools_artifactregistry_v1_file_proto_enumTypes[0].Descriptor() |
| 78 |
} |
| 79 |
|
| 80 |
func (Hash_HashType) Type() protoreflect.EnumType { |
| 81 |
return &file_google_devtools_artifactregistry_v1_file_proto_enumTypes[0] |
| 82 |
} |
| 83 |
|
| 84 |
func (x Hash_HashType) Number() protoreflect.EnumNumber { |
| 85 |
return protoreflect.EnumNumber(x) |
| 86 |
} |
| 87 |
|
| 88 |
// Deprecated: Use Hash_HashType.Descriptor instead. |
| 89 |
func (Hash_HashType) EnumDescriptor() ([]byte, []int) { |
| 90 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{0, 0} |
| 91 |
} |
| 92 |
|
| 93 |
// A hash of file content. |
| 94 |
type Hash struct { |
| 95 |
state protoimpl.MessageState |
| 96 |
sizeCache protoimpl.SizeCache |
| 97 |
unknownFields protoimpl.UnknownFields |
| 98 |
|
| 99 |
// The algorithm used to compute the hash value. |
| 100 |
Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.artifactregistry.v1.Hash_HashType" json:"type,omitempty"` |
| 101 |
// The hash value. |
| 102 |
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 103 |
} |
| 104 |
|
| 105 |
func (x *Hash) Reset() { |
| 106 |
*x = Hash{} |
| 107 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[0] |
| 108 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 109 |
ms.StoreMessageInfo(mi) |
| 110 |
} |
| 111 |
|
| 112 |
func (x *Hash) String() string { |
| 113 |
return protoimpl.X.MessageStringOf(x) |
| 114 |
} |
| 115 |
|
| 116 |
func (*Hash) ProtoMessage() {} |
| 117 |
|
| 118 |
func (x *Hash) ProtoReflect() protoreflect.Message { |
| 119 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[0] |
| 120 |
if x != nil { |
| 121 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 122 |
if ms.LoadMessageInfo() == nil { |
| 123 |
ms.StoreMessageInfo(mi) |
| 124 |
} |
| 125 |
return ms |
| 126 |
} |
| 127 |
return mi.MessageOf(x) |
| 128 |
} |
| 129 |
|
| 130 |
// Deprecated: Use Hash.ProtoReflect.Descriptor instead. |
| 131 |
func (*Hash) Descriptor() ([]byte, []int) { |
| 132 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{0} |
| 133 |
} |
| 134 |
|
| 135 |
func (x *Hash) GetType() Hash_HashType { |
| 136 |
if x != nil { |
| 137 |
return x.Type |
| 138 |
} |
| 139 |
return Hash_HASH_TYPE_UNSPECIFIED |
| 140 |
} |
| 141 |
|
| 142 |
func (x *Hash) GetValue() []byte { |
| 143 |
if x != nil { |
| 144 |
return x.Value |
| 145 |
} |
| 146 |
return nil |
| 147 |
} |
| 148 |
|
| 149 |
// Files store content that is potentially associated with Packages or Versions. |
| 150 |
type File struct { |
| 151 |
state protoimpl.MessageState |
| 152 |
sizeCache protoimpl.SizeCache |
| 153 |
unknownFields protoimpl.UnknownFields |
| 154 |
|
| 155 |
// The name of the file, for example: |
| 156 |
// `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. |
| 157 |
// If the file ID part contains slashes, they are escaped. |
| 158 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 159 |
// The size of the File in bytes. |
| 160 |
SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` |
| 161 |
// The hashes of the file content. |
| 162 |
Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"` |
| 163 |
// Output only. The time when the File was created. |
| 164 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 165 |
// Output only. The time when the File was last updated. |
| 166 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 167 |
// The name of the Package or Version that owns this file, if any. |
| 168 |
Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` |
| 169 |
// Output only. The time when the last attempt to refresh the file's data was |
| 170 |
// made. Only set when the repository is remote. |
| 171 |
FetchTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=fetch_time,json=fetchTime,proto3" json:"fetch_time,omitempty"` |
| 172 |
// Optional. Client specified annotations. |
| 173 |
Annotations map[string]string `protobuf:"bytes,9,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 174 |
} |
| 175 |
|
| 176 |
func (x *File) Reset() { |
| 177 |
*x = File{} |
| 178 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[1] |
| 179 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 180 |
ms.StoreMessageInfo(mi) |
| 181 |
} |
| 182 |
|
| 183 |
func (x *File) String() string { |
| 184 |
return protoimpl.X.MessageStringOf(x) |
| 185 |
} |
| 186 |
|
| 187 |
func (*File) ProtoMessage() {} |
| 188 |
|
| 189 |
func (x *File) ProtoReflect() protoreflect.Message { |
| 190 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[1] |
| 191 |
if x != nil { |
| 192 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 193 |
if ms.LoadMessageInfo() == nil { |
| 194 |
ms.StoreMessageInfo(mi) |
| 195 |
} |
| 196 |
return ms |
| 197 |
} |
| 198 |
return mi.MessageOf(x) |
| 199 |
} |
| 200 |
|
| 201 |
// Deprecated: Use File.ProtoReflect.Descriptor instead. |
| 202 |
func (*File) Descriptor() ([]byte, []int) { |
| 203 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{1} |
| 204 |
} |
| 205 |
|
| 206 |
func (x *File) GetName() string { |
| 207 |
if x != nil { |
| 208 |
return x.Name |
| 209 |
} |
| 210 |
return "" |
| 211 |
} |
| 212 |
|
| 213 |
func (x *File) GetSizeBytes() int64 { |
| 214 |
if x != nil { |
| 215 |
return x.SizeBytes |
| 216 |
} |
| 217 |
return 0 |
| 218 |
} |
| 219 |
|
| 220 |
func (x *File) GetHashes() []*Hash { |
| 221 |
if x != nil { |
| 222 |
return x.Hashes |
| 223 |
} |
| 224 |
return nil |
| 225 |
} |
| 226 |
|
| 227 |
func (x *File) GetCreateTime() *timestamppb.Timestamp { |
| 228 |
if x != nil { |
| 229 |
return x.CreateTime |
| 230 |
} |
| 231 |
return nil |
| 232 |
} |
| 233 |
|
| 234 |
func (x *File) GetUpdateTime() *timestamppb.Timestamp { |
| 235 |
if x != nil { |
| 236 |
return x.UpdateTime |
| 237 |
} |
| 238 |
return nil |
| 239 |
} |
| 240 |
|
| 241 |
func (x *File) GetOwner() string { |
| 242 |
if x != nil { |
| 243 |
return x.Owner |
| 244 |
} |
| 245 |
return "" |
| 246 |
} |
| 247 |
|
| 248 |
func (x *File) GetFetchTime() *timestamppb.Timestamp { |
| 249 |
if x != nil { |
| 250 |
return x.FetchTime |
| 251 |
} |
| 252 |
return nil |
| 253 |
} |
| 254 |
|
| 255 |
func (x *File) GetAnnotations() map[string]string { |
| 256 |
if x != nil { |
| 257 |
return x.Annotations |
| 258 |
} |
| 259 |
return nil |
| 260 |
} |
| 261 |
|
| 262 |
// The request to list files. |
| 263 |
type ListFilesRequest struct { |
| 264 |
state protoimpl.MessageState |
| 265 |
sizeCache protoimpl.SizeCache |
| 266 |
unknownFields protoimpl.UnknownFields |
| 267 |
|
| 268 |
// Required. The name of the repository whose files will be listed. For |
| 269 |
// example: "projects/p1/locations/us-central1/repositories/repo1 |
| 270 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 271 |
// An expression for filtering the results of the request. Filter rules are |
| 272 |
// case insensitive. The fields eligible for filtering are: |
| 273 |
// |
| 274 |
// - `name` |
| 275 |
// - `owner` |
| 276 |
// - `annotations` |
| 277 |
// |
| 278 |
// Examples of using a filter: |
| 279 |
// |
| 280 |
// To filter the results of your request to files with the name `my_file.txt` |
| 281 |
// in project `my-project` in the `us-central` region, in repository |
| 282 |
// `my-repo`, append the following filter expression to your request: |
| 283 |
// |
| 284 |
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt"` |
| 285 |
// |
| 286 |
// You can also use wildcards to match any number of characters before or |
| 287 |
// after the value: |
| 288 |
// |
| 289 |
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-*"` |
| 290 |
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt"` |
| 291 |
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file*"` |
| 292 |
// |
| 293 |
// To filter the results of your request to files owned by the version `1.0` |
| 294 |
// in package `pkg1`, append the following filter expression to your request: |
| 295 |
// |
| 296 |
// * `owner="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"` |
| 297 |
// |
| 298 |
// To filter the results of your request to files with the annotation |
| 299 |
// key-value pair [`external_link`: `external_link_value`], append the |
| 300 |
// following filter expression to your request: |
| 301 |
// |
| 302 |
// * `"annotations.external_link:external_link_value"` |
| 303 |
// |
| 304 |
// To filter just for a specific annotation key `external_link`, append the |
| 305 |
// following filter expression to your request: |
| 306 |
// |
| 307 |
// * `"annotations.external_link"` |
| 308 |
// |
| 309 |
// If the annotation key or value contains special characters, you can escape |
| 310 |
// them by surrounding the value with backticks. For example, to filter the |
| 311 |
// results of your request to files with the annotation key-value pair |
| 312 |
// [`external.link`:`https://example.com/my-file`], append the following |
| 313 |
// filter expression to your request: |
| 314 |
// |
| 315 |
// * `` "annotations.`external.link`:`https://example.com/my-file`" `` |
| 316 |
// |
| 317 |
// You can also filter with annotations with a wildcard to |
| 318 |
// match any number of characters before or after the value: |
| 319 |
// |
| 320 |
// * `` "annotations.*_link:`*example.com*`" `` |
| 321 |
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| 322 |
// The maximum number of files to return. Maximum page size is 1,000. |
| 323 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 324 |
// The next_page_token value returned from a previous list request, if any. |
| 325 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 326 |
// The field to order the results by. |
| 327 |
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` |
| 328 |
} |
| 329 |
|
| 330 |
func (x *ListFilesRequest) Reset() { |
| 331 |
*x = ListFilesRequest{} |
| 332 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[2] |
| 333 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 334 |
ms.StoreMessageInfo(mi) |
| 335 |
} |
| 336 |
|
| 337 |
func (x *ListFilesRequest) String() string { |
| 338 |
return protoimpl.X.MessageStringOf(x) |
| 339 |
} |
| 340 |
|
| 341 |
func (*ListFilesRequest) ProtoMessage() {} |
| 342 |
|
| 343 |
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { |
| 344 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[2] |
| 345 |
if x != nil { |
| 346 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 347 |
if ms.LoadMessageInfo() == nil { |
| 348 |
ms.StoreMessageInfo(mi) |
| 349 |
} |
| 350 |
return ms |
| 351 |
} |
| 352 |
return mi.MessageOf(x) |
| 353 |
} |
| 354 |
|
| 355 |
// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. |
| 356 |
func (*ListFilesRequest) Descriptor() ([]byte, []int) { |
| 357 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{2} |
| 358 |
} |
| 359 |
|
| 360 |
func (x *ListFilesRequest) GetParent() string { |
| 361 |
if x != nil { |
| 362 |
return x.Parent |
| 363 |
} |
| 364 |
return "" |
| 365 |
} |
| 366 |
|
| 367 |
func (x *ListFilesRequest) GetFilter() string { |
| 368 |
if x != nil { |
| 369 |
return x.Filter |
| 370 |
} |
| 371 |
return "" |
| 372 |
} |
| 373 |
|
| 374 |
func (x *ListFilesRequest) GetPageSize() int32 { |
| 375 |
if x != nil { |
| 376 |
return x.PageSize |
| 377 |
} |
| 378 |
return 0 |
| 379 |
} |
| 380 |
|
| 381 |
func (x *ListFilesRequest) GetPageToken() string { |
| 382 |
if x != nil { |
| 383 |
return x.PageToken |
| 384 |
} |
| 385 |
return "" |
| 386 |
} |
| 387 |
|
| 388 |
func (x *ListFilesRequest) GetOrderBy() string { |
| 389 |
if x != nil { |
| 390 |
return x.OrderBy |
| 391 |
} |
| 392 |
return "" |
| 393 |
} |
| 394 |
|
| 395 |
// The response from listing files. |
| 396 |
type ListFilesResponse struct { |
| 397 |
state protoimpl.MessageState |
| 398 |
sizeCache protoimpl.SizeCache |
| 399 |
unknownFields protoimpl.UnknownFields |
| 400 |
|
| 401 |
// The files returned. |
| 402 |
Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` |
| 403 |
// The token to retrieve the next page of files, or empty if there are no |
| 404 |
// more files to return. |
| 405 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 406 |
} |
| 407 |
|
| 408 |
func (x *ListFilesResponse) Reset() { |
| 409 |
*x = ListFilesResponse{} |
| 410 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[3] |
| 411 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 412 |
ms.StoreMessageInfo(mi) |
| 413 |
} |
| 414 |
|
| 415 |
func (x *ListFilesResponse) String() string { |
| 416 |
return protoimpl.X.MessageStringOf(x) |
| 417 |
} |
| 418 |
|
| 419 |
func (*ListFilesResponse) ProtoMessage() {} |
| 420 |
|
| 421 |
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { |
| 422 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[3] |
| 423 |
if x != nil { |
| 424 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 425 |
if ms.LoadMessageInfo() == nil { |
| 426 |
ms.StoreMessageInfo(mi) |
| 427 |
} |
| 428 |
return ms |
| 429 |
} |
| 430 |
return mi.MessageOf(x) |
| 431 |
} |
| 432 |
|
| 433 |
// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. |
| 434 |
func (*ListFilesResponse) Descriptor() ([]byte, []int) { |
| 435 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{3} |
| 436 |
} |
| 437 |
|
| 438 |
func (x *ListFilesResponse) GetFiles() []*File { |
| 439 |
if x != nil { |
| 440 |
return x.Files |
| 441 |
} |
| 442 |
return nil |
| 443 |
} |
| 444 |
|
| 445 |
func (x *ListFilesResponse) GetNextPageToken() string { |
| 446 |
if x != nil { |
| 447 |
return x.NextPageToken |
| 448 |
} |
| 449 |
return "" |
| 450 |
} |
| 451 |
|
| 452 |
// The request to retrieve a file. |
| 453 |
type GetFileRequest struct { |
| 454 |
state protoimpl.MessageState |
| 455 |
sizeCache protoimpl.SizeCache |
| 456 |
unknownFields protoimpl.UnknownFields |
| 457 |
|
| 458 |
// Required. The name of the file to retrieve. |
| 459 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 460 |
} |
| 461 |
|
| 462 |
func (x *GetFileRequest) Reset() { |
| 463 |
*x = GetFileRequest{} |
| 464 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[4] |
| 465 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 466 |
ms.StoreMessageInfo(mi) |
| 467 |
} |
| 468 |
|
| 469 |
func (x *GetFileRequest) String() string { |
| 470 |
return protoimpl.X.MessageStringOf(x) |
| 471 |
} |
| 472 |
|
| 473 |
func (*GetFileRequest) ProtoMessage() {} |
| 474 |
|
| 475 |
func (x *GetFileRequest) ProtoReflect() protoreflect.Message { |
| 476 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[4] |
| 477 |
if x != nil { |
| 478 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 479 |
if ms.LoadMessageInfo() == nil { |
| 480 |
ms.StoreMessageInfo(mi) |
| 481 |
} |
| 482 |
return ms |
| 483 |
} |
| 484 |
return mi.MessageOf(x) |
| 485 |
} |
| 486 |
|
| 487 |
// Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead. |
| 488 |
func (*GetFileRequest) Descriptor() ([]byte, []int) { |
| 489 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{4} |
| 490 |
} |
| 491 |
|
| 492 |
func (x *GetFileRequest) GetName() string { |
| 493 |
if x != nil { |
| 494 |
return x.Name |
| 495 |
} |
| 496 |
return "" |
| 497 |
} |
| 498 |
|
| 499 |
// The request to delete a file. |
| 500 |
type DeleteFileRequest struct { |
| 501 |
state protoimpl.MessageState |
| 502 |
sizeCache protoimpl.SizeCache |
| 503 |
unknownFields protoimpl.UnknownFields |
| 504 |
|
| 505 |
// Required. The name of the file to delete. |
| 506 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 507 |
} |
| 508 |
|
| 509 |
func (x *DeleteFileRequest) Reset() { |
| 510 |
*x = DeleteFileRequest{} |
| 511 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[5] |
| 512 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 513 |
ms.StoreMessageInfo(mi) |
| 514 |
} |
| 515 |
|
| 516 |
func (x *DeleteFileRequest) String() string { |
| 517 |
return protoimpl.X.MessageStringOf(x) |
| 518 |
} |
| 519 |
|
| 520 |
func (*DeleteFileRequest) ProtoMessage() {} |
| 521 |
|
| 522 |
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message { |
| 523 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[5] |
| 524 |
if x != nil { |
| 525 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 526 |
if ms.LoadMessageInfo() == nil { |
| 527 |
ms.StoreMessageInfo(mi) |
| 528 |
} |
| 529 |
return ms |
| 530 |
} |
| 531 |
return mi.MessageOf(x) |
| 532 |
} |
| 533 |
|
| 534 |
// Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead. |
| 535 |
func (*DeleteFileRequest) Descriptor() ([]byte, []int) { |
| 536 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{5} |
| 537 |
} |
| 538 |
|
| 539 |
func (x *DeleteFileRequest) GetName() string { |
| 540 |
if x != nil { |
| 541 |
return x.Name |
| 542 |
} |
| 543 |
return "" |
| 544 |
} |
| 545 |
|
| 546 |
// The request to update a file. |
| 547 |
type UpdateFileRequest struct { |
| 548 |
state protoimpl.MessageState |
| 549 |
sizeCache protoimpl.SizeCache |
| 550 |
unknownFields protoimpl.UnknownFields |
| 551 |
|
| 552 |
// Required. The File that replaces the resource on the server. |
| 553 |
File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` |
| 554 |
// Required. The update mask applies to the resource. For the `FieldMask` |
| 555 |
// definition, see |
| 556 |
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
| 557 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 558 |
} |
| 559 |
|
| 560 |
func (x *UpdateFileRequest) Reset() { |
| 561 |
*x = UpdateFileRequest{} |
| 562 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[6] |
| 563 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 564 |
ms.StoreMessageInfo(mi) |
| 565 |
} |
| 566 |
|
| 567 |
func (x *UpdateFileRequest) String() string { |
| 568 |
return protoimpl.X.MessageStringOf(x) |
| 569 |
} |
| 570 |
|
| 571 |
func (*UpdateFileRequest) ProtoMessage() {} |
| 572 |
|
| 573 |
func (x *UpdateFileRequest) ProtoReflect() protoreflect.Message { |
| 574 |
mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[6] |
| 575 |
if x != nil { |
| 576 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 577 |
if ms.LoadMessageInfo() == nil { |
| 578 |
ms.StoreMessageInfo(mi) |
| 579 |
} |
| 580 |
return ms |
| 581 |
} |
| 582 |
return mi.MessageOf(x) |
| 583 |
} |
| 584 |
|
| 585 |
// Deprecated: Use UpdateFileRequest.ProtoReflect.Descriptor instead. |
| 586 |
func (*UpdateFileRequest) Descriptor() ([]byte, []int) { |
| 587 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{6} |
| 588 |
} |
| 589 |
|
| 590 |
func (x *UpdateFileRequest) GetFile() *File { |
| 591 |
if x != nil { |
| 592 |
return x.File |
| 593 |
} |
| 594 |
return nil |
| 595 |
} |
| 596 |
|
| 597 |
func (x *UpdateFileRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 598 |
if x != nil { |
| 599 |
return x.UpdateMask |
| 600 |
} |
| 601 |
return nil |
| 602 |
} |
| 603 |
|
| 604 |
var File_google_devtools_artifactregistry_v1_file_proto protoreflect.FileDescriptor |
| 605 |
|
| 606 |
var file_google_devtools_artifactregistry_v1_file_proto_rawDesc = []byte{ |
| 607 |
0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 608 |
0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 609 |
0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 610 |
0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 611 |
0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 612 |
0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 613 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 614 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 615 |
0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 616 |
0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 617 |
0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, |
| 618 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 619 |
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 620 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x46, 0x0a, |
| 621 |
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, |
| 622 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, |
| 623 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, |
| 624 |
0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, |
| 625 |
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 626 |
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x0a, 0x08, 0x48, |
| 627 |
0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, |
| 628 |
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 629 |
0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x07, |
| 630 |
0x0a, 0x03, 0x4d, 0x44, 0x35, 0x10, 0x02, 0x22, 0xf4, 0x04, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, |
| 631 |
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 632 |
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, |
| 633 |
0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, |
| 634 |
0x74, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, |
| 635 |
0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, |
| 636 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 637 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, |
| 638 |
0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 639 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 640 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 641 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, |
| 642 |
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, |
| 643 |
0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 644 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 645 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, |
| 646 |
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, |
| 647 |
0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, |
| 648 |
0x12, 0x3e, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, |
| 649 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 650 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 651 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, |
| 652 |
0x12, 0x61, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 653 |
0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 654 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 655 |
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, |
| 656 |
0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 657 |
0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, |
| 658 |
0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 659 |
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
| 660 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
| 661 |
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, |
| 662 |
0x02, 0x38, 0x01, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, |
| 663 |
0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 664 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4e, |
| 665 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 666 |
0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, |
| 667 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, |
| 668 |
0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, |
| 669 |
0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6c, 0x65, 0x7d, 0x22, 0xc7, |
| 670 |
0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, |
| 671 |
0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, |
| 672 |
0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, 0x24, 0x61, 0x72, 0x74, |
| 673 |
0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, |
| 674 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, |
| 675 |
0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, |
| 676 |
0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, |
| 677 |
0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, |
| 678 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, |
| 679 |
0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, |
| 680 |
0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, |
| 681 |
0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 682 |
0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, |
| 683 |
0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, |
| 684 |
0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, |
| 685 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, |
| 686 |
0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, |
| 687 |
0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x26, |
| 688 |
0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, |
| 689 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, |
| 690 |
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, |
| 691 |
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 692 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, |
| 693 |
0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, |
| 694 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 695 |
0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x11, 0x44, 0x65, |
| 696 |
0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 697 |
0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, |
| 698 |
0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, |
| 699 |
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 700 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 701 |
0x65, 0x22, 0x99, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, |
| 702 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, |
| 703 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 704 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 705 |
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, |
| 706 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, |
| 707 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 708 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 709 |
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, |
| 710 |
0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0xf4, 0x01, |
| 711 |
0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, |
| 712 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 713 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x50, |
| 714 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, |
| 715 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, |
| 716 |
0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, |
| 717 |
0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, |
| 718 |
0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 719 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 720 |
0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 721 |
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, |
| 722 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, |
| 723 |
0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, |
| 724 |
0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, |
| 725 |
0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, |
| 726 |
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 727 |
} |
| 728 |
|
| 729 |
var ( |
| 730 |
file_google_devtools_artifactregistry_v1_file_proto_rawDescOnce sync.Once |
| 731 |
file_google_devtools_artifactregistry_v1_file_proto_rawDescData = file_google_devtools_artifactregistry_v1_file_proto_rawDesc |
| 732 |
) |
| 733 |
|
| 734 |
func file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP() []byte { |
| 735 |
file_google_devtools_artifactregistry_v1_file_proto_rawDescOnce.Do(func() { |
| 736 |
file_google_devtools_artifactregistry_v1_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_file_proto_rawDescData) |
| 737 |
}) |
| 738 |
return file_google_devtools_artifactregistry_v1_file_proto_rawDescData |
| 739 |
} |
| 740 |
|
| 741 |
var file_google_devtools_artifactregistry_v1_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 742 |
var file_google_devtools_artifactregistry_v1_file_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 743 |
var file_google_devtools_artifactregistry_v1_file_proto_goTypes = []any{ |
| 744 |
(Hash_HashType)(0), // 0: google.devtools.artifactregistry.v1.Hash.HashType |
| 745 |
(*Hash)(nil), // 1: google.devtools.artifactregistry.v1.Hash |
| 746 |
(*File)(nil), // 2: google.devtools.artifactregistry.v1.File |
| 747 |
(*ListFilesRequest)(nil), // 3: google.devtools.artifactregistry.v1.ListFilesRequest |
| 748 |
(*ListFilesResponse)(nil), // 4: google.devtools.artifactregistry.v1.ListFilesResponse |
| 749 |
(*GetFileRequest)(nil), // 5: google.devtools.artifactregistry.v1.GetFileRequest |
| 750 |
(*DeleteFileRequest)(nil), // 6: google.devtools.artifactregistry.v1.DeleteFileRequest |
| 751 |
(*UpdateFileRequest)(nil), // 7: google.devtools.artifactregistry.v1.UpdateFileRequest |
| 752 |
nil, // 8: google.devtools.artifactregistry.v1.File.AnnotationsEntry |
| 753 |
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp |
| 754 |
(*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask |
| 755 |
} |
| 756 |
var file_google_devtools_artifactregistry_v1_file_proto_depIdxs = []int32{ |
| 757 |
0, // 0: google.devtools.artifactregistry.v1.Hash.type:type_name -> google.devtools.artifactregistry.v1.Hash.HashType |
| 758 |
1, // 1: google.devtools.artifactregistry.v1.File.hashes:type_name -> google.devtools.artifactregistry.v1.Hash |
| 759 |
9, // 2: google.devtools.artifactregistry.v1.File.create_time:type_name -> google.protobuf.Timestamp |
| 760 |
9, // 3: google.devtools.artifactregistry.v1.File.update_time:type_name -> google.protobuf.Timestamp |
| 761 |
9, // 4: google.devtools.artifactregistry.v1.File.fetch_time:type_name -> google.protobuf.Timestamp |
| 762 |
8, // 5: google.devtools.artifactregistry.v1.File.annotations:type_name -> google.devtools.artifactregistry.v1.File.AnnotationsEntry |
| 763 |
2, // 6: google.devtools.artifactregistry.v1.ListFilesResponse.files:type_name -> google.devtools.artifactregistry.v1.File |
| 764 |
2, // 7: google.devtools.artifactregistry.v1.UpdateFileRequest.file:type_name -> google.devtools.artifactregistry.v1.File |
| 765 |
10, // 8: google.devtools.artifactregistry.v1.UpdateFileRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 766 |
9, // [9:9] is the sub-list for method output_type |
| 767 |
9, // [9:9] is the sub-list for method input_type |
| 768 |
9, // [9:9] is the sub-list for extension type_name |
| 769 |
9, // [9:9] is the sub-list for extension extendee |
| 770 |
0, // [0:9] is the sub-list for field type_name |
| 771 |
} |
| 772 |
|
| 773 |
func init() { file_google_devtools_artifactregistry_v1_file_proto_init() } |
| 774 |
func file_google_devtools_artifactregistry_v1_file_proto_init() { |
| 775 |
if File_google_devtools_artifactregistry_v1_file_proto != nil { |
| 776 |
return |
| 777 |
} |
| 778 |
type x struct{} |
| 779 |
out := protoimpl.TypeBuilder{ |
| 780 |
File: protoimpl.DescBuilder{ |
| 781 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 782 |
RawDescriptor: file_google_devtools_artifactregistry_v1_file_proto_rawDesc, |
| 783 |
NumEnums: 1, |
| 784 |
NumMessages: 8, |
| 785 |
NumExtensions: 0, |
| 786 |
NumServices: 0, |
| 787 |
}, |
| 788 |
GoTypes: file_google_devtools_artifactregistry_v1_file_proto_goTypes, |
| 789 |
DependencyIndexes: file_google_devtools_artifactregistry_v1_file_proto_depIdxs, |
| 790 |
EnumInfos: file_google_devtools_artifactregistry_v1_file_proto_enumTypes, |
| 791 |
MessageInfos: file_google_devtools_artifactregistry_v1_file_proto_msgTypes, |
| 792 |
}.Build() |
| 793 |
File_google_devtools_artifactregistry_v1_file_proto = out.File |
| 794 |
file_google_devtools_artifactregistry_v1_file_proto_rawDesc = nil |
| 795 |
file_google_devtools_artifactregistry_v1_file_proto_goTypes = nil |
| 796 |
file_google_devtools_artifactregistry_v1_file_proto_depIdxs = nil |
| 797 |
} |