| 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/version.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 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 29 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 30 |
reflect "reflect" |
| 31 |
sync "sync" |
| 32 |
) |
| 33 |
|
| 34 |
const ( |
| 35 |
// Verify that this generated code is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 37 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 39 |
) |
| 40 |
|
| 41 |
// The view, which determines what version information is returned in a |
| 42 |
// response. |
| 43 |
type VersionView int32 |
| 44 |
|
| 45 |
const ( |
| 46 |
// The default / unset value. |
| 47 |
// The API will default to the BASIC view. |
| 48 |
VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0 |
| 49 |
// Includes basic information about the version, but not any related tags. |
| 50 |
VersionView_BASIC VersionView = 1 |
| 51 |
// Include everything. |
| 52 |
VersionView_FULL VersionView = 2 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for VersionView. |
| 56 |
var ( |
| 57 |
VersionView_name = map[int32]string{ |
| 58 |
0: "VERSION_VIEW_UNSPECIFIED", |
| 59 |
1: "BASIC", |
| 60 |
2: "FULL", |
| 61 |
} |
| 62 |
VersionView_value = map[string]int32{ |
| 63 |
"VERSION_VIEW_UNSPECIFIED": 0, |
| 64 |
"BASIC": 1, |
| 65 |
"FULL": 2, |
| 66 |
} |
| 67 |
) |
| 68 |
|
| 69 |
func (x VersionView) Enum() *VersionView { |
| 70 |
p := new(VersionView) |
| 71 |
*p = x |
| 72 |
return p |
| 73 |
} |
| 74 |
|
| 75 |
func (x VersionView) String() string { |
| 76 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 77 |
} |
| 78 |
|
| 79 |
func (VersionView) Descriptor() protoreflect.EnumDescriptor { |
| 80 |
return file_google_devtools_artifactregistry_v1_version_proto_enumTypes[0].Descriptor() |
| 81 |
} |
| 82 |
|
| 83 |
func (VersionView) Type() protoreflect.EnumType { |
| 84 |
return &file_google_devtools_artifactregistry_v1_version_proto_enumTypes[0] |
| 85 |
} |
| 86 |
|
| 87 |
func (x VersionView) Number() protoreflect.EnumNumber { |
| 88 |
return protoreflect.EnumNumber(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use VersionView.Descriptor instead. |
| 92 |
func (VersionView) EnumDescriptor() ([]byte, []int) { |
| 93 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{0} |
| 94 |
} |
| 95 |
|
| 96 |
// The body of a version resource. A version resource represents a |
| 97 |
// collection of components, such as files and other data. This may correspond |
| 98 |
// to a version in many package management schemes. |
| 99 |
type Version struct { |
| 100 |
state protoimpl.MessageState |
| 101 |
sizeCache protoimpl.SizeCache |
| 102 |
unknownFields protoimpl.UnknownFields |
| 103 |
|
| 104 |
// The name of the version, for example: |
| 105 |
// `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. |
| 106 |
// If the package or version ID parts contain slashes, the slashes are |
| 107 |
// escaped. |
| 108 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 109 |
// Optional. Description of the version, as specified in its metadata. |
| 110 |
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
| 111 |
// The time when the version was created. |
| 112 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 113 |
// The time when the version was last updated. |
| 114 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 115 |
// Output only. A list of related tags. Will contain up to 100 tags that |
| 116 |
// reference this version. |
| 117 |
RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"` |
| 118 |
// Output only. Repository-specific Metadata stored against this version. |
| 119 |
// The fields returned are defined by the underlying repository-specific |
| 120 |
// resource. Currently, the resources could be: |
| 121 |
// [DockerImage][google.devtools.artifactregistry.v1.DockerImage] |
| 122 |
// [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact] |
| 123 |
Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 124 |
// Optional. Client specified annotations. |
| 125 |
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"` |
| 126 |
} |
| 127 |
|
| 128 |
func (x *Version) Reset() { |
| 129 |
*x = Version{} |
| 130 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[0] |
| 131 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 132 |
ms.StoreMessageInfo(mi) |
| 133 |
} |
| 134 |
|
| 135 |
func (x *Version) String() string { |
| 136 |
return protoimpl.X.MessageStringOf(x) |
| 137 |
} |
| 138 |
|
| 139 |
func (*Version) ProtoMessage() {} |
| 140 |
|
| 141 |
func (x *Version) ProtoReflect() protoreflect.Message { |
| 142 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[0] |
| 143 |
if x != nil { |
| 144 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 145 |
if ms.LoadMessageInfo() == nil { |
| 146 |
ms.StoreMessageInfo(mi) |
| 147 |
} |
| 148 |
return ms |
| 149 |
} |
| 150 |
return mi.MessageOf(x) |
| 151 |
} |
| 152 |
|
| 153 |
// Deprecated: Use Version.ProtoReflect.Descriptor instead. |
| 154 |
func (*Version) Descriptor() ([]byte, []int) { |
| 155 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{0} |
| 156 |
} |
| 157 |
|
| 158 |
func (x *Version) GetName() string { |
| 159 |
if x != nil { |
| 160 |
return x.Name |
| 161 |
} |
| 162 |
return "" |
| 163 |
} |
| 164 |
|
| 165 |
func (x *Version) GetDescription() string { |
| 166 |
if x != nil { |
| 167 |
return x.Description |
| 168 |
} |
| 169 |
return "" |
| 170 |
} |
| 171 |
|
| 172 |
func (x *Version) GetCreateTime() *timestamppb.Timestamp { |
| 173 |
if x != nil { |
| 174 |
return x.CreateTime |
| 175 |
} |
| 176 |
return nil |
| 177 |
} |
| 178 |
|
| 179 |
func (x *Version) GetUpdateTime() *timestamppb.Timestamp { |
| 180 |
if x != nil { |
| 181 |
return x.UpdateTime |
| 182 |
} |
| 183 |
return nil |
| 184 |
} |
| 185 |
|
| 186 |
func (x *Version) GetRelatedTags() []*Tag { |
| 187 |
if x != nil { |
| 188 |
return x.RelatedTags |
| 189 |
} |
| 190 |
return nil |
| 191 |
} |
| 192 |
|
| 193 |
func (x *Version) GetMetadata() *structpb.Struct { |
| 194 |
if x != nil { |
| 195 |
return x.Metadata |
| 196 |
} |
| 197 |
return nil |
| 198 |
} |
| 199 |
|
| 200 |
func (x *Version) GetAnnotations() map[string]string { |
| 201 |
if x != nil { |
| 202 |
return x.Annotations |
| 203 |
} |
| 204 |
return nil |
| 205 |
} |
| 206 |
|
| 207 |
// The request to list versions. |
| 208 |
type ListVersionsRequest struct { |
| 209 |
state protoimpl.MessageState |
| 210 |
sizeCache protoimpl.SizeCache |
| 211 |
unknownFields protoimpl.UnknownFields |
| 212 |
|
| 213 |
// The name of the parent resource whose versions will be listed. |
| 214 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 215 |
// The maximum number of versions to return. Maximum page size is 1,000. |
| 216 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 217 |
// The next_page_token value returned from a previous list request, if any. |
| 218 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 219 |
// The view that should be returned in the response. |
| 220 |
View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"` |
| 221 |
// Optional. The field to order the results by. |
| 222 |
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` |
| 223 |
// Optional. An expression for filtering the results of the request. Filter |
| 224 |
// rules are case insensitive. The fields eligible for filtering are: |
| 225 |
// |
| 226 |
// - `name` |
| 227 |
// |
| 228 |
// - `annotations` |
| 229 |
// |
| 230 |
// Examples of using a filter: |
| 231 |
// |
| 232 |
// To filter the results of your request to versions with the name |
| 233 |
// `my-version` in project `my-project` in the `us-central` region, in |
| 234 |
// repository `my-repo`, append the following filter expression to your |
| 235 |
// request: |
| 236 |
// |
| 237 |
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my-version"` |
| 238 |
// |
| 239 |
// You can also use wildcards to match any number of characters before or |
| 240 |
// after the value: |
| 241 |
// |
| 242 |
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version"` |
| 243 |
// |
| 244 |
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*"` |
| 245 |
// |
| 246 |
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version*"` |
| 247 |
// |
| 248 |
// To filter the results of your request to versions with the annotation |
| 249 |
// key-value pair [`external_link`: `external_link_value`], append the |
| 250 |
// following filter expression to your request: |
| 251 |
// |
| 252 |
// - `"annotations.external_link:external_link_value"` |
| 253 |
// |
| 254 |
// To filter just for a specific annotation key `external_link`, append the |
| 255 |
// following filter expression to your request: |
| 256 |
// |
| 257 |
// - `"annotations.external_link"` |
| 258 |
// |
| 259 |
// If the annotation key or value contains special characters, you can escape |
| 260 |
// them by surrounding the value with backticks. For example, to filter the |
| 261 |
// results of your request to versions with the annotation key-value pair |
| 262 |
// [`external.link`:`https://example.com/my-version`], append the following |
| 263 |
// filter expression to your request: |
| 264 |
// |
| 265 |
// - “ "annotations.`external.link`:`https://example.com/my-version`" “ |
| 266 |
// |
| 267 |
// You can also filter with annotations with a wildcard to |
| 268 |
// match any number of characters before or after the value: |
| 269 |
// |
| 270 |
// - “ "annotations.*_link:`*example.com*`" “ |
| 271 |
Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` |
| 272 |
} |
| 273 |
|
| 274 |
func (x *ListVersionsRequest) Reset() { |
| 275 |
*x = ListVersionsRequest{} |
| 276 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[1] |
| 277 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 278 |
ms.StoreMessageInfo(mi) |
| 279 |
} |
| 280 |
|
| 281 |
func (x *ListVersionsRequest) String() string { |
| 282 |
return protoimpl.X.MessageStringOf(x) |
| 283 |
} |
| 284 |
|
| 285 |
func (*ListVersionsRequest) ProtoMessage() {} |
| 286 |
|
| 287 |
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message { |
| 288 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[1] |
| 289 |
if x != nil { |
| 290 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 291 |
if ms.LoadMessageInfo() == nil { |
| 292 |
ms.StoreMessageInfo(mi) |
| 293 |
} |
| 294 |
return ms |
| 295 |
} |
| 296 |
return mi.MessageOf(x) |
| 297 |
} |
| 298 |
|
| 299 |
// Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead. |
| 300 |
func (*ListVersionsRequest) Descriptor() ([]byte, []int) { |
| 301 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{1} |
| 302 |
} |
| 303 |
|
| 304 |
func (x *ListVersionsRequest) GetParent() string { |
| 305 |
if x != nil { |
| 306 |
return x.Parent |
| 307 |
} |
| 308 |
return "" |
| 309 |
} |
| 310 |
|
| 311 |
func (x *ListVersionsRequest) GetPageSize() int32 { |
| 312 |
if x != nil { |
| 313 |
return x.PageSize |
| 314 |
} |
| 315 |
return 0 |
| 316 |
} |
| 317 |
|
| 318 |
func (x *ListVersionsRequest) GetPageToken() string { |
| 319 |
if x != nil { |
| 320 |
return x.PageToken |
| 321 |
} |
| 322 |
return "" |
| 323 |
} |
| 324 |
|
| 325 |
func (x *ListVersionsRequest) GetView() VersionView { |
| 326 |
if x != nil { |
| 327 |
return x.View |
| 328 |
} |
| 329 |
return VersionView_VERSION_VIEW_UNSPECIFIED |
| 330 |
} |
| 331 |
|
| 332 |
func (x *ListVersionsRequest) GetOrderBy() string { |
| 333 |
if x != nil { |
| 334 |
return x.OrderBy |
| 335 |
} |
| 336 |
return "" |
| 337 |
} |
| 338 |
|
| 339 |
func (x *ListVersionsRequest) GetFilter() string { |
| 340 |
if x != nil { |
| 341 |
return x.Filter |
| 342 |
} |
| 343 |
return "" |
| 344 |
} |
| 345 |
|
| 346 |
// The response from listing versions. |
| 347 |
type ListVersionsResponse struct { |
| 348 |
state protoimpl.MessageState |
| 349 |
sizeCache protoimpl.SizeCache |
| 350 |
unknownFields protoimpl.UnknownFields |
| 351 |
|
| 352 |
// The versions returned. |
| 353 |
Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` |
| 354 |
// The token to retrieve the next page of versions, or empty if there are no |
| 355 |
// more versions to return. |
| 356 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 357 |
} |
| 358 |
|
| 359 |
func (x *ListVersionsResponse) Reset() { |
| 360 |
*x = ListVersionsResponse{} |
| 361 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[2] |
| 362 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 363 |
ms.StoreMessageInfo(mi) |
| 364 |
} |
| 365 |
|
| 366 |
func (x *ListVersionsResponse) String() string { |
| 367 |
return protoimpl.X.MessageStringOf(x) |
| 368 |
} |
| 369 |
|
| 370 |
func (*ListVersionsResponse) ProtoMessage() {} |
| 371 |
|
| 372 |
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message { |
| 373 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[2] |
| 374 |
if x != nil { |
| 375 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 376 |
if ms.LoadMessageInfo() == nil { |
| 377 |
ms.StoreMessageInfo(mi) |
| 378 |
} |
| 379 |
return ms |
| 380 |
} |
| 381 |
return mi.MessageOf(x) |
| 382 |
} |
| 383 |
|
| 384 |
// Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead. |
| 385 |
func (*ListVersionsResponse) Descriptor() ([]byte, []int) { |
| 386 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{2} |
| 387 |
} |
| 388 |
|
| 389 |
func (x *ListVersionsResponse) GetVersions() []*Version { |
| 390 |
if x != nil { |
| 391 |
return x.Versions |
| 392 |
} |
| 393 |
return nil |
| 394 |
} |
| 395 |
|
| 396 |
func (x *ListVersionsResponse) GetNextPageToken() string { |
| 397 |
if x != nil { |
| 398 |
return x.NextPageToken |
| 399 |
} |
| 400 |
return "" |
| 401 |
} |
| 402 |
|
| 403 |
// The request to retrieve a version. |
| 404 |
type GetVersionRequest struct { |
| 405 |
state protoimpl.MessageState |
| 406 |
sizeCache protoimpl.SizeCache |
| 407 |
unknownFields protoimpl.UnknownFields |
| 408 |
|
| 409 |
// The name of the version to retrieve. |
| 410 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 411 |
// The view that should be returned in the response. |
| 412 |
View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"` |
| 413 |
} |
| 414 |
|
| 415 |
func (x *GetVersionRequest) Reset() { |
| 416 |
*x = GetVersionRequest{} |
| 417 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[3] |
| 418 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 419 |
ms.StoreMessageInfo(mi) |
| 420 |
} |
| 421 |
|
| 422 |
func (x *GetVersionRequest) String() string { |
| 423 |
return protoimpl.X.MessageStringOf(x) |
| 424 |
} |
| 425 |
|
| 426 |
func (*GetVersionRequest) ProtoMessage() {} |
| 427 |
|
| 428 |
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { |
| 429 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[3] |
| 430 |
if x != nil { |
| 431 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 432 |
if ms.LoadMessageInfo() == nil { |
| 433 |
ms.StoreMessageInfo(mi) |
| 434 |
} |
| 435 |
return ms |
| 436 |
} |
| 437 |
return mi.MessageOf(x) |
| 438 |
} |
| 439 |
|
| 440 |
// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. |
| 441 |
func (*GetVersionRequest) Descriptor() ([]byte, []int) { |
| 442 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{3} |
| 443 |
} |
| 444 |
|
| 445 |
func (x *GetVersionRequest) GetName() string { |
| 446 |
if x != nil { |
| 447 |
return x.Name |
| 448 |
} |
| 449 |
return "" |
| 450 |
} |
| 451 |
|
| 452 |
func (x *GetVersionRequest) GetView() VersionView { |
| 453 |
if x != nil { |
| 454 |
return x.View |
| 455 |
} |
| 456 |
return VersionView_VERSION_VIEW_UNSPECIFIED |
| 457 |
} |
| 458 |
|
| 459 |
// The request to delete a version. |
| 460 |
type DeleteVersionRequest struct { |
| 461 |
state protoimpl.MessageState |
| 462 |
sizeCache protoimpl.SizeCache |
| 463 |
unknownFields protoimpl.UnknownFields |
| 464 |
|
| 465 |
// The name of the version to delete. |
| 466 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 467 |
// By default, a version that is tagged may not be deleted. If force=true, the |
| 468 |
// version and any tags pointing to the version are deleted. |
| 469 |
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` |
| 470 |
} |
| 471 |
|
| 472 |
func (x *DeleteVersionRequest) Reset() { |
| 473 |
*x = DeleteVersionRequest{} |
| 474 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[4] |
| 475 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 476 |
ms.StoreMessageInfo(mi) |
| 477 |
} |
| 478 |
|
| 479 |
func (x *DeleteVersionRequest) String() string { |
| 480 |
return protoimpl.X.MessageStringOf(x) |
| 481 |
} |
| 482 |
|
| 483 |
func (*DeleteVersionRequest) ProtoMessage() {} |
| 484 |
|
| 485 |
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message { |
| 486 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[4] |
| 487 |
if x != nil { |
| 488 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 489 |
if ms.LoadMessageInfo() == nil { |
| 490 |
ms.StoreMessageInfo(mi) |
| 491 |
} |
| 492 |
return ms |
| 493 |
} |
| 494 |
return mi.MessageOf(x) |
| 495 |
} |
| 496 |
|
| 497 |
// Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead. |
| 498 |
func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { |
| 499 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{4} |
| 500 |
} |
| 501 |
|
| 502 |
func (x *DeleteVersionRequest) GetName() string { |
| 503 |
if x != nil { |
| 504 |
return x.Name |
| 505 |
} |
| 506 |
return "" |
| 507 |
} |
| 508 |
|
| 509 |
func (x *DeleteVersionRequest) GetForce() bool { |
| 510 |
if x != nil { |
| 511 |
return x.Force |
| 512 |
} |
| 513 |
return false |
| 514 |
} |
| 515 |
|
| 516 |
// The request to delete multiple versions across a repository. |
| 517 |
type BatchDeleteVersionsRequest struct { |
| 518 |
state protoimpl.MessageState |
| 519 |
sizeCache protoimpl.SizeCache |
| 520 |
unknownFields protoimpl.UnknownFields |
| 521 |
|
| 522 |
// The name of the repository holding all requested versions. |
| 523 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 524 |
// Required. The names of the versions to delete. |
| 525 |
// The maximum number of versions deleted per batch is determined by the |
| 526 |
// service and is dependent on the available resources in the region. |
| 527 |
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` |
| 528 |
// If true, the request is performed without deleting data, following AIP-163. |
| 529 |
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` |
| 530 |
} |
| 531 |
|
| 532 |
func (x *BatchDeleteVersionsRequest) Reset() { |
| 533 |
*x = BatchDeleteVersionsRequest{} |
| 534 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[5] |
| 535 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 536 |
ms.StoreMessageInfo(mi) |
| 537 |
} |
| 538 |
|
| 539 |
func (x *BatchDeleteVersionsRequest) String() string { |
| 540 |
return protoimpl.X.MessageStringOf(x) |
| 541 |
} |
| 542 |
|
| 543 |
func (*BatchDeleteVersionsRequest) ProtoMessage() {} |
| 544 |
|
| 545 |
func (x *BatchDeleteVersionsRequest) ProtoReflect() protoreflect.Message { |
| 546 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[5] |
| 547 |
if x != nil { |
| 548 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 549 |
if ms.LoadMessageInfo() == nil { |
| 550 |
ms.StoreMessageInfo(mi) |
| 551 |
} |
| 552 |
return ms |
| 553 |
} |
| 554 |
return mi.MessageOf(x) |
| 555 |
} |
| 556 |
|
| 557 |
// Deprecated: Use BatchDeleteVersionsRequest.ProtoReflect.Descriptor instead. |
| 558 |
func (*BatchDeleteVersionsRequest) Descriptor() ([]byte, []int) { |
| 559 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{5} |
| 560 |
} |
| 561 |
|
| 562 |
func (x *BatchDeleteVersionsRequest) GetParent() string { |
| 563 |
if x != nil { |
| 564 |
return x.Parent |
| 565 |
} |
| 566 |
return "" |
| 567 |
} |
| 568 |
|
| 569 |
func (x *BatchDeleteVersionsRequest) GetNames() []string { |
| 570 |
if x != nil { |
| 571 |
return x.Names |
| 572 |
} |
| 573 |
return nil |
| 574 |
} |
| 575 |
|
| 576 |
func (x *BatchDeleteVersionsRequest) GetValidateOnly() bool { |
| 577 |
if x != nil { |
| 578 |
return x.ValidateOnly |
| 579 |
} |
| 580 |
return false |
| 581 |
} |
| 582 |
|
| 583 |
// The metadata of an LRO from deleting multiple versions. |
| 584 |
type BatchDeleteVersionsMetadata struct { |
| 585 |
state protoimpl.MessageState |
| 586 |
sizeCache protoimpl.SizeCache |
| 587 |
unknownFields protoimpl.UnknownFields |
| 588 |
|
| 589 |
// The versions the operation failed to delete. |
| 590 |
FailedVersions []string `protobuf:"bytes,2,rep,name=failed_versions,json=failedVersions,proto3" json:"failed_versions,omitempty"` |
| 591 |
} |
| 592 |
|
| 593 |
func (x *BatchDeleteVersionsMetadata) Reset() { |
| 594 |
*x = BatchDeleteVersionsMetadata{} |
| 595 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[6] |
| 596 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 597 |
ms.StoreMessageInfo(mi) |
| 598 |
} |
| 599 |
|
| 600 |
func (x *BatchDeleteVersionsMetadata) String() string { |
| 601 |
return protoimpl.X.MessageStringOf(x) |
| 602 |
} |
| 603 |
|
| 604 |
func (*BatchDeleteVersionsMetadata) ProtoMessage() {} |
| 605 |
|
| 606 |
func (x *BatchDeleteVersionsMetadata) ProtoReflect() protoreflect.Message { |
| 607 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[6] |
| 608 |
if x != nil { |
| 609 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 610 |
if ms.LoadMessageInfo() == nil { |
| 611 |
ms.StoreMessageInfo(mi) |
| 612 |
} |
| 613 |
return ms |
| 614 |
} |
| 615 |
return mi.MessageOf(x) |
| 616 |
} |
| 617 |
|
| 618 |
// Deprecated: Use BatchDeleteVersionsMetadata.ProtoReflect.Descriptor instead. |
| 619 |
func (*BatchDeleteVersionsMetadata) Descriptor() ([]byte, []int) { |
| 620 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{6} |
| 621 |
} |
| 622 |
|
| 623 |
func (x *BatchDeleteVersionsMetadata) GetFailedVersions() []string { |
| 624 |
if x != nil { |
| 625 |
return x.FailedVersions |
| 626 |
} |
| 627 |
return nil |
| 628 |
} |
| 629 |
|
| 630 |
// The request to update a version. |
| 631 |
type UpdateVersionRequest struct { |
| 632 |
state protoimpl.MessageState |
| 633 |
sizeCache protoimpl.SizeCache |
| 634 |
unknownFields protoimpl.UnknownFields |
| 635 |
|
| 636 |
// Required. The Version that replaces the resource on the server. |
| 637 |
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 638 |
// The update mask applies to the resource. For the `FieldMask` definition, |
| 639 |
// see |
| 640 |
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
| 641 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 642 |
} |
| 643 |
|
| 644 |
func (x *UpdateVersionRequest) Reset() { |
| 645 |
*x = UpdateVersionRequest{} |
| 646 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[7] |
| 647 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 648 |
ms.StoreMessageInfo(mi) |
| 649 |
} |
| 650 |
|
| 651 |
func (x *UpdateVersionRequest) String() string { |
| 652 |
return protoimpl.X.MessageStringOf(x) |
| 653 |
} |
| 654 |
|
| 655 |
func (*UpdateVersionRequest) ProtoMessage() {} |
| 656 |
|
| 657 |
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message { |
| 658 |
mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[7] |
| 659 |
if x != nil { |
| 660 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 661 |
if ms.LoadMessageInfo() == nil { |
| 662 |
ms.StoreMessageInfo(mi) |
| 663 |
} |
| 664 |
return ms |
| 665 |
} |
| 666 |
return mi.MessageOf(x) |
| 667 |
} |
| 668 |
|
| 669 |
// Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead. |
| 670 |
func (*UpdateVersionRequest) Descriptor() ([]byte, []int) { |
| 671 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{7} |
| 672 |
} |
| 673 |
|
| 674 |
func (x *UpdateVersionRequest) GetVersion() *Version { |
| 675 |
if x != nil { |
| 676 |
return x.Version |
| 677 |
} |
| 678 |
return nil |
| 679 |
} |
| 680 |
|
| 681 |
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 682 |
if x != nil { |
| 683 |
return x.UpdateMask |
| 684 |
} |
| 685 |
return nil |
| 686 |
} |
| 687 |
|
| 688 |
var File_google_devtools_artifactregistry_v1_version_proto protoreflect.FileDescriptor |
| 689 |
|
| 690 |
var file_google_devtools_artifactregistry_v1_version_proto_rawDesc = []byte{ |
| 691 |
0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 692 |
0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 693 |
0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, |
| 694 |
0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, |
| 695 |
0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, |
| 696 |
0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 697 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 698 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 699 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, |
| 700 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, |
| 701 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 702 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, |
| 703 |
0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 704 |
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, |
| 705 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, |
| 706 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, |
| 707 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 708 |
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 709 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x04, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 710 |
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 711 |
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 712 |
0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 713 |
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 714 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 715 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 716 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, |
| 717 |
0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, |
| 718 |
0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 719 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, |
| 720 |
0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, |
| 721 |
0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, |
| 722 |
0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 723 |
0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, |
| 724 |
0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, |
| 725 |
0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, |
| 726 |
0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 727 |
0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 728 |
0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, |
| 729 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, |
| 730 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, |
| 731 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, |
| 732 |
0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, |
| 733 |
0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, |
| 734 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 735 |
0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, |
| 736 |
0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 737 |
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| 738 |
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 739 |
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x96, 0x01, |
| 740 |
0xea, 0x41, 0x92, 0x01, 0x0a, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 741 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 742 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x70, |
| 743 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 744 |
0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, |
| 745 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, |
| 746 |
0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, |
| 747 |
0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x61, 0x63, 0x6b, 0x61, |
| 748 |
0x67, 0x65, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, |
| 749 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xec, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, |
| 750 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, |
| 751 |
0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, |
| 752 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, |
| 753 |
0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, |
| 754 |
0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, |
| 755 |
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, |
| 756 |
0x65, 0x6e, 0x12, 0x44, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, |
| 757 |
0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 758 |
0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, |
| 759 |
0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, |
| 760 |
0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, |
| 761 |
0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 762 |
0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, |
| 763 |
0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, |
| 764 |
0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x88, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, |
| 765 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, |
| 766 |
0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 767 |
0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, |
| 768 |
0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, |
| 769 |
0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, |
| 770 |
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, |
| 771 |
0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 772 |
0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, |
| 773 |
0x22, 0x6d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, |
| 774 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 775 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x76, 0x69, 0x65, |
| 776 |
0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 777 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, |
| 778 |
0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, |
| 779 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, |
| 780 |
0x40, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 781 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 782 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, |
| 783 |
0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, |
| 784 |
0x65, 0x22, 0xce, 0x01, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, |
| 785 |
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 786 |
0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 787 |
0x42, 0x2c, 0xfa, 0x41, 0x29, 0x12, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, |
| 788 |
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 789 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x06, |
| 790 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, |
| 791 |
0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x61, |
| 792 |
0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, |
| 793 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, |
| 794 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x0a, |
| 795 |
0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, |
| 796 |
0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, |
| 797 |
0x6c, 0x79, 0x22, 0x46, 0x0a, 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, |
| 798 |
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, |
| 799 |
0x61, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, |
| 800 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, |
| 801 |
0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x14, 0x55, |
| 802 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, |
| 803 |
0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, |
| 804 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, |
| 805 |
0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, |
| 806 |
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, |
| 807 |
0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 808 |
0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, |
| 809 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 810 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, |
| 811 |
0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x2a, 0x40, 0x0a, |
| 812 |
0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1c, 0x0a, 0x18, |
| 813 |
0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, |
| 814 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, |
| 815 |
0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x42, |
| 816 |
0xf7, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 817 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 818 |
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x56, 0x65, 0x72, |
| 819 |
0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, |
| 820 |
0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, |
| 821 |
0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 822 |
0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 823 |
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, |
| 824 |
0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, |
| 825 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, |
| 826 |
0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, |
| 827 |
0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, |
| 828 |
0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, |
| 829 |
0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, |
| 830 |
0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, |
| 831 |
0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 832 |
0x33, |
| 833 |
} |
| 834 |
|
| 835 |
var ( |
| 836 |
file_google_devtools_artifactregistry_v1_version_proto_rawDescOnce sync.Once |
| 837 |
file_google_devtools_artifactregistry_v1_version_proto_rawDescData = file_google_devtools_artifactregistry_v1_version_proto_rawDesc |
| 838 |
) |
| 839 |
|
| 840 |
func file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP() []byte { |
| 841 |
file_google_devtools_artifactregistry_v1_version_proto_rawDescOnce.Do(func() { |
| 842 |
file_google_devtools_artifactregistry_v1_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_version_proto_rawDescData) |
| 843 |
}) |
| 844 |
return file_google_devtools_artifactregistry_v1_version_proto_rawDescData |
| 845 |
} |
| 846 |
|
| 847 |
var file_google_devtools_artifactregistry_v1_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 848 |
var file_google_devtools_artifactregistry_v1_version_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| 849 |
var file_google_devtools_artifactregistry_v1_version_proto_goTypes = []any{ |
| 850 |
(VersionView)(0), // 0: google.devtools.artifactregistry.v1.VersionView |
| 851 |
(*Version)(nil), // 1: google.devtools.artifactregistry.v1.Version |
| 852 |
(*ListVersionsRequest)(nil), // 2: google.devtools.artifactregistry.v1.ListVersionsRequest |
| 853 |
(*ListVersionsResponse)(nil), // 3: google.devtools.artifactregistry.v1.ListVersionsResponse |
| 854 |
(*GetVersionRequest)(nil), // 4: google.devtools.artifactregistry.v1.GetVersionRequest |
| 855 |
(*DeleteVersionRequest)(nil), // 5: google.devtools.artifactregistry.v1.DeleteVersionRequest |
| 856 |
(*BatchDeleteVersionsRequest)(nil), // 6: google.devtools.artifactregistry.v1.BatchDeleteVersionsRequest |
| 857 |
(*BatchDeleteVersionsMetadata)(nil), // 7: google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata |
| 858 |
(*UpdateVersionRequest)(nil), // 8: google.devtools.artifactregistry.v1.UpdateVersionRequest |
| 859 |
nil, // 9: google.devtools.artifactregistry.v1.Version.AnnotationsEntry |
| 860 |
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| 861 |
(*Tag)(nil), // 11: google.devtools.artifactregistry.v1.Tag |
| 862 |
(*structpb.Struct)(nil), // 12: google.protobuf.Struct |
| 863 |
(*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask |
| 864 |
} |
| 865 |
var file_google_devtools_artifactregistry_v1_version_proto_depIdxs = []int32{ |
| 866 |
10, // 0: google.devtools.artifactregistry.v1.Version.create_time:type_name -> google.protobuf.Timestamp |
| 867 |
10, // 1: google.devtools.artifactregistry.v1.Version.update_time:type_name -> google.protobuf.Timestamp |
| 868 |
11, // 2: google.devtools.artifactregistry.v1.Version.related_tags:type_name -> google.devtools.artifactregistry.v1.Tag |
| 869 |
12, // 3: google.devtools.artifactregistry.v1.Version.metadata:type_name -> google.protobuf.Struct |
| 870 |
9, // 4: google.devtools.artifactregistry.v1.Version.annotations:type_name -> google.devtools.artifactregistry.v1.Version.AnnotationsEntry |
| 871 |
0, // 5: google.devtools.artifactregistry.v1.ListVersionsRequest.view:type_name -> google.devtools.artifactregistry.v1.VersionView |
| 872 |
1, // 6: google.devtools.artifactregistry.v1.ListVersionsResponse.versions:type_name -> google.devtools.artifactregistry.v1.Version |
| 873 |
0, // 7: google.devtools.artifactregistry.v1.GetVersionRequest.view:type_name -> google.devtools.artifactregistry.v1.VersionView |
| 874 |
1, // 8: google.devtools.artifactregistry.v1.UpdateVersionRequest.version:type_name -> google.devtools.artifactregistry.v1.Version |
| 875 |
13, // 9: google.devtools.artifactregistry.v1.UpdateVersionRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 876 |
10, // [10:10] is the sub-list for method output_type |
| 877 |
10, // [10:10] is the sub-list for method input_type |
| 878 |
10, // [10:10] is the sub-list for extension type_name |
| 879 |
10, // [10:10] is the sub-list for extension extendee |
| 880 |
0, // [0:10] is the sub-list for field type_name |
| 881 |
} |
| 882 |
|
| 883 |
func init() { file_google_devtools_artifactregistry_v1_version_proto_init() } |
| 884 |
func file_google_devtools_artifactregistry_v1_version_proto_init() { |
| 885 |
if File_google_devtools_artifactregistry_v1_version_proto != nil { |
| 886 |
return |
| 887 |
} |
| 888 |
file_google_devtools_artifactregistry_v1_tag_proto_init() |
| 889 |
type x struct{} |
| 890 |
out := protoimpl.TypeBuilder{ |
| 891 |
File: protoimpl.DescBuilder{ |
| 892 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 893 |
RawDescriptor: file_google_devtools_artifactregistry_v1_version_proto_rawDesc, |
| 894 |
NumEnums: 1, |
| 895 |
NumMessages: 9, |
| 896 |
NumExtensions: 0, |
| 897 |
NumServices: 0, |
| 898 |
}, |
| 899 |
GoTypes: file_google_devtools_artifactregistry_v1_version_proto_goTypes, |
| 900 |
DependencyIndexes: file_google_devtools_artifactregistry_v1_version_proto_depIdxs, |
| 901 |
EnumInfos: file_google_devtools_artifactregistry_v1_version_proto_enumTypes, |
| 902 |
MessageInfos: file_google_devtools_artifactregistry_v1_version_proto_msgTypes, |
| 903 |
}.Build() |
| 904 |
File_google_devtools_artifactregistry_v1_version_proto = out.File |
| 905 |
file_google_devtools_artifactregistry_v1_version_proto_rawDesc = nil |
| 906 |
file_google_devtools_artifactregistry_v1_version_proto_goTypes = nil |
| 907 |
file_google_devtools_artifactregistry_v1_version_proto_depIdxs = nil |
| 908 |
} |