| 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/rule.proto |
| 20 |
|
| 21 |
package artifactregistrypb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
expr "google.golang.org/genproto/googleapis/type/expr" |
| 26 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 27 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 28 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 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 |
// Defines the action of the rule. |
| 41 |
type Rule_Action int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Action not specified. |
| 45 |
Rule_ACTION_UNSPECIFIED Rule_Action = 0 |
| 46 |
// Allow the operation. |
| 47 |
Rule_ALLOW Rule_Action = 1 |
| 48 |
// Deny the operation. |
| 49 |
Rule_DENY Rule_Action = 2 |
| 50 |
) |
| 51 |
|
| 52 |
// Enum value maps for Rule_Action. |
| 53 |
var ( |
| 54 |
Rule_Action_name = map[int32]string{ |
| 55 |
0: "ACTION_UNSPECIFIED", |
| 56 |
1: "ALLOW", |
| 57 |
2: "DENY", |
| 58 |
} |
| 59 |
Rule_Action_value = map[string]int32{ |
| 60 |
"ACTION_UNSPECIFIED": 0, |
| 61 |
"ALLOW": 1, |
| 62 |
"DENY": 2, |
| 63 |
} |
| 64 |
) |
| 65 |
|
| 66 |
func (x Rule_Action) Enum() *Rule_Action { |
| 67 |
p := new(Rule_Action) |
| 68 |
*p = x |
| 69 |
return p |
| 70 |
} |
| 71 |
|
| 72 |
func (x Rule_Action) String() string { |
| 73 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 74 |
} |
| 75 |
|
| 76 |
func (Rule_Action) Descriptor() protoreflect.EnumDescriptor { |
| 77 |
return file_google_devtools_artifactregistry_v1_rule_proto_enumTypes[0].Descriptor() |
| 78 |
} |
| 79 |
|
| 80 |
func (Rule_Action) Type() protoreflect.EnumType { |
| 81 |
return &file_google_devtools_artifactregistry_v1_rule_proto_enumTypes[0] |
| 82 |
} |
| 83 |
|
| 84 |
func (x Rule_Action) Number() protoreflect.EnumNumber { |
| 85 |
return protoreflect.EnumNumber(x) |
| 86 |
} |
| 87 |
|
| 88 |
// Deprecated: Use Rule_Action.Descriptor instead. |
| 89 |
func (Rule_Action) EnumDescriptor() ([]byte, []int) { |
| 90 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{0, 0} |
| 91 |
} |
| 92 |
|
| 93 |
// The operation the rule applies to. |
| 94 |
type Rule_Operation int32 |
| 95 |
|
| 96 |
const ( |
| 97 |
// Operation not specified. |
| 98 |
Rule_OPERATION_UNSPECIFIED Rule_Operation = 0 |
| 99 |
// Download operation. |
| 100 |
Rule_DOWNLOAD Rule_Operation = 1 |
| 101 |
) |
| 102 |
|
| 103 |
// Enum value maps for Rule_Operation. |
| 104 |
var ( |
| 105 |
Rule_Operation_name = map[int32]string{ |
| 106 |
0: "OPERATION_UNSPECIFIED", |
| 107 |
1: "DOWNLOAD", |
| 108 |
} |
| 109 |
Rule_Operation_value = map[string]int32{ |
| 110 |
"OPERATION_UNSPECIFIED": 0, |
| 111 |
"DOWNLOAD": 1, |
| 112 |
} |
| 113 |
) |
| 114 |
|
| 115 |
func (x Rule_Operation) Enum() *Rule_Operation { |
| 116 |
p := new(Rule_Operation) |
| 117 |
*p = x |
| 118 |
return p |
| 119 |
} |
| 120 |
|
| 121 |
func (x Rule_Operation) String() string { |
| 122 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 123 |
} |
| 124 |
|
| 125 |
func (Rule_Operation) Descriptor() protoreflect.EnumDescriptor { |
| 126 |
return file_google_devtools_artifactregistry_v1_rule_proto_enumTypes[1].Descriptor() |
| 127 |
} |
| 128 |
|
| 129 |
func (Rule_Operation) Type() protoreflect.EnumType { |
| 130 |
return &file_google_devtools_artifactregistry_v1_rule_proto_enumTypes[1] |
| 131 |
} |
| 132 |
|
| 133 |
func (x Rule_Operation) Number() protoreflect.EnumNumber { |
| 134 |
return protoreflect.EnumNumber(x) |
| 135 |
} |
| 136 |
|
| 137 |
// Deprecated: Use Rule_Operation.Descriptor instead. |
| 138 |
func (Rule_Operation) EnumDescriptor() ([]byte, []int) { |
| 139 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{0, 1} |
| 140 |
} |
| 141 |
|
| 142 |
// A rule defines the deny or allow action of the operation it applies to and |
| 143 |
// the conditions required for the rule to apply. You can set one rule for an |
| 144 |
// entire repository and one rule for each package within. |
| 145 |
type Rule struct { |
| 146 |
state protoimpl.MessageState |
| 147 |
sizeCache protoimpl.SizeCache |
| 148 |
unknownFields protoimpl.UnknownFields |
| 149 |
|
| 150 |
// The name of the rule, for example: |
| 151 |
// `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`. |
| 152 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 153 |
// The action this rule takes. |
| 154 |
Action Rule_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.devtools.artifactregistry.v1.Rule_Action" json:"action,omitempty"` |
| 155 |
Operation Rule_Operation `protobuf:"varint,3,opt,name=operation,proto3,enum=google.devtools.artifactregistry.v1.Rule_Operation" json:"operation,omitempty"` |
| 156 |
// Optional. A CEL expression for conditions that must be met in order for the |
| 157 |
// rule to apply. If not provided, the rule matches all objects. |
| 158 |
Condition *expr.Expr `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` |
| 159 |
// The package ID the rule applies to. |
| 160 |
// If empty, this rule applies to all packages inside the repository. |
| 161 |
PackageId string `protobuf:"bytes,5,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` |
| 162 |
} |
| 163 |
|
| 164 |
func (x *Rule) Reset() { |
| 165 |
*x = Rule{} |
| 166 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[0] |
| 167 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 168 |
ms.StoreMessageInfo(mi) |
| 169 |
} |
| 170 |
|
| 171 |
func (x *Rule) String() string { |
| 172 |
return protoimpl.X.MessageStringOf(x) |
| 173 |
} |
| 174 |
|
| 175 |
func (*Rule) ProtoMessage() {} |
| 176 |
|
| 177 |
func (x *Rule) ProtoReflect() protoreflect.Message { |
| 178 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[0] |
| 179 |
if x != nil { |
| 180 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 181 |
if ms.LoadMessageInfo() == nil { |
| 182 |
ms.StoreMessageInfo(mi) |
| 183 |
} |
| 184 |
return ms |
| 185 |
} |
| 186 |
return mi.MessageOf(x) |
| 187 |
} |
| 188 |
|
| 189 |
// Deprecated: Use Rule.ProtoReflect.Descriptor instead. |
| 190 |
func (*Rule) Descriptor() ([]byte, []int) { |
| 191 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{0} |
| 192 |
} |
| 193 |
|
| 194 |
func (x *Rule) GetName() string { |
| 195 |
if x != nil { |
| 196 |
return x.Name |
| 197 |
} |
| 198 |
return "" |
| 199 |
} |
| 200 |
|
| 201 |
func (x *Rule) GetAction() Rule_Action { |
| 202 |
if x != nil { |
| 203 |
return x.Action |
| 204 |
} |
| 205 |
return Rule_ACTION_UNSPECIFIED |
| 206 |
} |
| 207 |
|
| 208 |
func (x *Rule) GetOperation() Rule_Operation { |
| 209 |
if x != nil { |
| 210 |
return x.Operation |
| 211 |
} |
| 212 |
return Rule_OPERATION_UNSPECIFIED |
| 213 |
} |
| 214 |
|
| 215 |
func (x *Rule) GetCondition() *expr.Expr { |
| 216 |
if x != nil { |
| 217 |
return x.Condition |
| 218 |
} |
| 219 |
return nil |
| 220 |
} |
| 221 |
|
| 222 |
func (x *Rule) GetPackageId() string { |
| 223 |
if x != nil { |
| 224 |
return x.PackageId |
| 225 |
} |
| 226 |
return "" |
| 227 |
} |
| 228 |
|
| 229 |
// The request to list rules. |
| 230 |
type ListRulesRequest struct { |
| 231 |
state protoimpl.MessageState |
| 232 |
sizeCache protoimpl.SizeCache |
| 233 |
unknownFields protoimpl.UnknownFields |
| 234 |
|
| 235 |
// Required. The name of the parent repository whose rules will be listed. |
| 236 |
// For example: |
| 237 |
// `projects/p1/locations/us-central1/repositories/repo1`. |
| 238 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 239 |
// The maximum number of rules to return. Maximum page size is 1,000. |
| 240 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 241 |
// The next_page_token value returned from a previous list request, if any. |
| 242 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 243 |
} |
| 244 |
|
| 245 |
func (x *ListRulesRequest) Reset() { |
| 246 |
*x = ListRulesRequest{} |
| 247 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[1] |
| 248 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 249 |
ms.StoreMessageInfo(mi) |
| 250 |
} |
| 251 |
|
| 252 |
func (x *ListRulesRequest) String() string { |
| 253 |
return protoimpl.X.MessageStringOf(x) |
| 254 |
} |
| 255 |
|
| 256 |
func (*ListRulesRequest) ProtoMessage() {} |
| 257 |
|
| 258 |
func (x *ListRulesRequest) ProtoReflect() protoreflect.Message { |
| 259 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[1] |
| 260 |
if x != nil { |
| 261 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 262 |
if ms.LoadMessageInfo() == nil { |
| 263 |
ms.StoreMessageInfo(mi) |
| 264 |
} |
| 265 |
return ms |
| 266 |
} |
| 267 |
return mi.MessageOf(x) |
| 268 |
} |
| 269 |
|
| 270 |
// Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead. |
| 271 |
func (*ListRulesRequest) Descriptor() ([]byte, []int) { |
| 272 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{1} |
| 273 |
} |
| 274 |
|
| 275 |
func (x *ListRulesRequest) GetParent() string { |
| 276 |
if x != nil { |
| 277 |
return x.Parent |
| 278 |
} |
| 279 |
return "" |
| 280 |
} |
| 281 |
|
| 282 |
func (x *ListRulesRequest) GetPageSize() int32 { |
| 283 |
if x != nil { |
| 284 |
return x.PageSize |
| 285 |
} |
| 286 |
return 0 |
| 287 |
} |
| 288 |
|
| 289 |
func (x *ListRulesRequest) GetPageToken() string { |
| 290 |
if x != nil { |
| 291 |
return x.PageToken |
| 292 |
} |
| 293 |
return "" |
| 294 |
} |
| 295 |
|
| 296 |
// The response from listing rules. |
| 297 |
type ListRulesResponse struct { |
| 298 |
state protoimpl.MessageState |
| 299 |
sizeCache protoimpl.SizeCache |
| 300 |
unknownFields protoimpl.UnknownFields |
| 301 |
|
| 302 |
// The rules returned. |
| 303 |
Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` |
| 304 |
// The token to retrieve the next page of rules, or empty if there are no |
| 305 |
// more rules to return. |
| 306 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 307 |
} |
| 308 |
|
| 309 |
func (x *ListRulesResponse) Reset() { |
| 310 |
*x = ListRulesResponse{} |
| 311 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[2] |
| 312 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 |
ms.StoreMessageInfo(mi) |
| 314 |
} |
| 315 |
|
| 316 |
func (x *ListRulesResponse) String() string { |
| 317 |
return protoimpl.X.MessageStringOf(x) |
| 318 |
} |
| 319 |
|
| 320 |
func (*ListRulesResponse) ProtoMessage() {} |
| 321 |
|
| 322 |
func (x *ListRulesResponse) ProtoReflect() protoreflect.Message { |
| 323 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[2] |
| 324 |
if x != nil { |
| 325 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 326 |
if ms.LoadMessageInfo() == nil { |
| 327 |
ms.StoreMessageInfo(mi) |
| 328 |
} |
| 329 |
return ms |
| 330 |
} |
| 331 |
return mi.MessageOf(x) |
| 332 |
} |
| 333 |
|
| 334 |
// Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead. |
| 335 |
func (*ListRulesResponse) Descriptor() ([]byte, []int) { |
| 336 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{2} |
| 337 |
} |
| 338 |
|
| 339 |
func (x *ListRulesResponse) GetRules() []*Rule { |
| 340 |
if x != nil { |
| 341 |
return x.Rules |
| 342 |
} |
| 343 |
return nil |
| 344 |
} |
| 345 |
|
| 346 |
func (x *ListRulesResponse) GetNextPageToken() string { |
| 347 |
if x != nil { |
| 348 |
return x.NextPageToken |
| 349 |
} |
| 350 |
return "" |
| 351 |
} |
| 352 |
|
| 353 |
// The request to retrieve a rule. |
| 354 |
type GetRuleRequest struct { |
| 355 |
state protoimpl.MessageState |
| 356 |
sizeCache protoimpl.SizeCache |
| 357 |
unknownFields protoimpl.UnknownFields |
| 358 |
|
| 359 |
// Required. The name of the rule to retrieve. |
| 360 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 361 |
} |
| 362 |
|
| 363 |
func (x *GetRuleRequest) Reset() { |
| 364 |
*x = GetRuleRequest{} |
| 365 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[3] |
| 366 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 367 |
ms.StoreMessageInfo(mi) |
| 368 |
} |
| 369 |
|
| 370 |
func (x *GetRuleRequest) String() string { |
| 371 |
return protoimpl.X.MessageStringOf(x) |
| 372 |
} |
| 373 |
|
| 374 |
func (*GetRuleRequest) ProtoMessage() {} |
| 375 |
|
| 376 |
func (x *GetRuleRequest) ProtoReflect() protoreflect.Message { |
| 377 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[3] |
| 378 |
if x != nil { |
| 379 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 380 |
if ms.LoadMessageInfo() == nil { |
| 381 |
ms.StoreMessageInfo(mi) |
| 382 |
} |
| 383 |
return ms |
| 384 |
} |
| 385 |
return mi.MessageOf(x) |
| 386 |
} |
| 387 |
|
| 388 |
// Deprecated: Use GetRuleRequest.ProtoReflect.Descriptor instead. |
| 389 |
func (*GetRuleRequest) Descriptor() ([]byte, []int) { |
| 390 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{3} |
| 391 |
} |
| 392 |
|
| 393 |
func (x *GetRuleRequest) GetName() string { |
| 394 |
if x != nil { |
| 395 |
return x.Name |
| 396 |
} |
| 397 |
return "" |
| 398 |
} |
| 399 |
|
| 400 |
// The request to create a new rule. |
| 401 |
type CreateRuleRequest struct { |
| 402 |
state protoimpl.MessageState |
| 403 |
sizeCache protoimpl.SizeCache |
| 404 |
unknownFields protoimpl.UnknownFields |
| 405 |
|
| 406 |
// Required. The name of the parent resource where the rule will be created. |
| 407 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 408 |
// The rule id to use for this repository. |
| 409 |
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` |
| 410 |
// The rule to be created. |
| 411 |
Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` |
| 412 |
} |
| 413 |
|
| 414 |
func (x *CreateRuleRequest) Reset() { |
| 415 |
*x = CreateRuleRequest{} |
| 416 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[4] |
| 417 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 418 |
ms.StoreMessageInfo(mi) |
| 419 |
} |
| 420 |
|
| 421 |
func (x *CreateRuleRequest) String() string { |
| 422 |
return protoimpl.X.MessageStringOf(x) |
| 423 |
} |
| 424 |
|
| 425 |
func (*CreateRuleRequest) ProtoMessage() {} |
| 426 |
|
| 427 |
func (x *CreateRuleRequest) ProtoReflect() protoreflect.Message { |
| 428 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[4] |
| 429 |
if x != nil { |
| 430 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 431 |
if ms.LoadMessageInfo() == nil { |
| 432 |
ms.StoreMessageInfo(mi) |
| 433 |
} |
| 434 |
return ms |
| 435 |
} |
| 436 |
return mi.MessageOf(x) |
| 437 |
} |
| 438 |
|
| 439 |
// Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead. |
| 440 |
func (*CreateRuleRequest) Descriptor() ([]byte, []int) { |
| 441 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{4} |
| 442 |
} |
| 443 |
|
| 444 |
func (x *CreateRuleRequest) GetParent() string { |
| 445 |
if x != nil { |
| 446 |
return x.Parent |
| 447 |
} |
| 448 |
return "" |
| 449 |
} |
| 450 |
|
| 451 |
func (x *CreateRuleRequest) GetRuleId() string { |
| 452 |
if x != nil { |
| 453 |
return x.RuleId |
| 454 |
} |
| 455 |
return "" |
| 456 |
} |
| 457 |
|
| 458 |
func (x *CreateRuleRequest) GetRule() *Rule { |
| 459 |
if x != nil { |
| 460 |
return x.Rule |
| 461 |
} |
| 462 |
return nil |
| 463 |
} |
| 464 |
|
| 465 |
// The request to update a rule. |
| 466 |
type UpdateRuleRequest struct { |
| 467 |
state protoimpl.MessageState |
| 468 |
sizeCache protoimpl.SizeCache |
| 469 |
unknownFields protoimpl.UnknownFields |
| 470 |
|
| 471 |
// The rule that replaces the resource on the server. |
| 472 |
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` |
| 473 |
// The update mask applies to the resource. For the `FieldMask` definition, |
| 474 |
// see |
| 475 |
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
| 476 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 477 |
} |
| 478 |
|
| 479 |
func (x *UpdateRuleRequest) Reset() { |
| 480 |
*x = UpdateRuleRequest{} |
| 481 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[5] |
| 482 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 483 |
ms.StoreMessageInfo(mi) |
| 484 |
} |
| 485 |
|
| 486 |
func (x *UpdateRuleRequest) String() string { |
| 487 |
return protoimpl.X.MessageStringOf(x) |
| 488 |
} |
| 489 |
|
| 490 |
func (*UpdateRuleRequest) ProtoMessage() {} |
| 491 |
|
| 492 |
func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message { |
| 493 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[5] |
| 494 |
if x != nil { |
| 495 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 496 |
if ms.LoadMessageInfo() == nil { |
| 497 |
ms.StoreMessageInfo(mi) |
| 498 |
} |
| 499 |
return ms |
| 500 |
} |
| 501 |
return mi.MessageOf(x) |
| 502 |
} |
| 503 |
|
| 504 |
// Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead. |
| 505 |
func (*UpdateRuleRequest) Descriptor() ([]byte, []int) { |
| 506 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{5} |
| 507 |
} |
| 508 |
|
| 509 |
func (x *UpdateRuleRequest) GetRule() *Rule { |
| 510 |
if x != nil { |
| 511 |
return x.Rule |
| 512 |
} |
| 513 |
return nil |
| 514 |
} |
| 515 |
|
| 516 |
func (x *UpdateRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 517 |
if x != nil { |
| 518 |
return x.UpdateMask |
| 519 |
} |
| 520 |
return nil |
| 521 |
} |
| 522 |
|
| 523 |
// The request to delete a rule. |
| 524 |
type DeleteRuleRequest struct { |
| 525 |
state protoimpl.MessageState |
| 526 |
sizeCache protoimpl.SizeCache |
| 527 |
unknownFields protoimpl.UnknownFields |
| 528 |
|
| 529 |
// Required. The name of the rule to delete. |
| 530 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 531 |
} |
| 532 |
|
| 533 |
func (x *DeleteRuleRequest) Reset() { |
| 534 |
*x = DeleteRuleRequest{} |
| 535 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[6] |
| 536 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 537 |
ms.StoreMessageInfo(mi) |
| 538 |
} |
| 539 |
|
| 540 |
func (x *DeleteRuleRequest) String() string { |
| 541 |
return protoimpl.X.MessageStringOf(x) |
| 542 |
} |
| 543 |
|
| 544 |
func (*DeleteRuleRequest) ProtoMessage() {} |
| 545 |
|
| 546 |
func (x *DeleteRuleRequest) ProtoReflect() protoreflect.Message { |
| 547 |
mi := &file_google_devtools_artifactregistry_v1_rule_proto_msgTypes[6] |
| 548 |
if x != nil { |
| 549 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 550 |
if ms.LoadMessageInfo() == nil { |
| 551 |
ms.StoreMessageInfo(mi) |
| 552 |
} |
| 553 |
return ms |
| 554 |
} |
| 555 |
return mi.MessageOf(x) |
| 556 |
} |
| 557 |
|
| 558 |
// Deprecated: Use DeleteRuleRequest.ProtoReflect.Descriptor instead. |
| 559 |
func (*DeleteRuleRequest) Descriptor() ([]byte, []int) { |
| 560 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP(), []int{6} |
| 561 |
} |
| 562 |
|
| 563 |
func (x *DeleteRuleRequest) GetName() string { |
| 564 |
if x != nil { |
| 565 |
return x.Name |
| 566 |
} |
| 567 |
return "" |
| 568 |
} |
| 569 |
|
| 570 |
var File_google_devtools_artifactregistry_v1_rule_proto protoreflect.FileDescriptor |
| 571 |
|
| 572 |
var file_google_devtools_artifactregistry_v1_rule_proto_rawDesc = []byte{ |
| 573 |
0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 574 |
0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 575 |
0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 576 |
0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 577 |
0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 578 |
0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 579 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 580 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 581 |
0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 582 |
0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 583 |
0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, |
| 584 |
0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, |
| 585 |
0x2f, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x03, 0x0a, 0x04, |
| 586 |
0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 587 |
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, |
| 588 |
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 589 |
0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, |
| 590 |
0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, |
| 591 |
0x75, 0x6c, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, |
| 592 |
0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 593 |
0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 594 |
0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, |
| 595 |
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, |
| 596 |
0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, |
| 597 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, |
| 598 |
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 599 |
0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 600 |
0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, |
| 601 |
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 602 |
0x09, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x06, 0x41, 0x63, |
| 603 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, |
| 604 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, |
| 605 |
0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, |
| 606 |
0x02, 0x22, 0x34, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, |
| 607 |
0x0a, 0x15, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 608 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x57, |
| 609 |
0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 0x24, 0x61, 0x72, |
| 610 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, |
| 611 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x75, |
| 612 |
0x6c, 0x65, 0x12, 0x4e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, |
| 613 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 614 |
0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, |
| 615 |
0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, |
| 616 |
0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x75, 0x6c, |
| 617 |
0x65, 0x7d, 0x22, 0x94, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x73, |
| 618 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 619 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, |
| 620 |
0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 621 |
0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 622 |
0x2f, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, |
| 623 |
0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
| 624 |
0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, |
| 625 |
0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 626 |
0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, |
| 627 |
0x74, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, |
| 628 |
0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, |
| 629 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, |
| 630 |
0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, |
| 631 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, |
| 632 |
0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 633 |
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 634 |
0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x75, |
| 635 |
0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 636 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, |
| 637 |
0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 638 |
0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 639 |
0x2f, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x11, |
| 640 |
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 641 |
0x74, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 642 |
0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, |
| 643 |
0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 644 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x75, 0x6c, 0x65, 0x52, |
| 645 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x5f, |
| 646 |
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x75, 0x6c, 0x65, 0x49, 0x64, |
| 647 |
0x12, 0x3d, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, |
| 648 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 649 |
0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 650 |
0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, |
| 651 |
0x8f, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, |
| 652 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, |
| 653 |
0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, |
| 654 |
0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, |
| 655 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, |
| 656 |
0x72, 0x75, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, |
| 657 |
0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 658 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, |
| 659 |
0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, |
| 660 |
0x6b, 0x22, 0x55, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x52, |
| 661 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 662 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x61, 0x72, |
| 663 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, |
| 664 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x75, |
| 665 |
0x6c, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xf4, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, |
| 666 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 667 |
0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 668 |
0x79, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 669 |
0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 670 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, |
| 671 |
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, |
| 672 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, |
| 673 |
0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 674 |
0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, |
| 675 |
0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, |
| 676 |
0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, |
| 677 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, |
| 678 |
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, |
| 679 |
0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, |
| 680 |
0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, |
| 681 |
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 682 |
} |
| 683 |
|
| 684 |
var ( |
| 685 |
file_google_devtools_artifactregistry_v1_rule_proto_rawDescOnce sync.Once |
| 686 |
file_google_devtools_artifactregistry_v1_rule_proto_rawDescData = file_google_devtools_artifactregistry_v1_rule_proto_rawDesc |
| 687 |
) |
| 688 |
|
| 689 |
func file_google_devtools_artifactregistry_v1_rule_proto_rawDescGZIP() []byte { |
| 690 |
file_google_devtools_artifactregistry_v1_rule_proto_rawDescOnce.Do(func() { |
| 691 |
file_google_devtools_artifactregistry_v1_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_rule_proto_rawDescData) |
| 692 |
}) |
| 693 |
return file_google_devtools_artifactregistry_v1_rule_proto_rawDescData |
| 694 |
} |
| 695 |
|
| 696 |
var file_google_devtools_artifactregistry_v1_rule_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 697 |
var file_google_devtools_artifactregistry_v1_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| 698 |
var file_google_devtools_artifactregistry_v1_rule_proto_goTypes = []any{ |
| 699 |
(Rule_Action)(0), // 0: google.devtools.artifactregistry.v1.Rule.Action |
| 700 |
(Rule_Operation)(0), // 1: google.devtools.artifactregistry.v1.Rule.Operation |
| 701 |
(*Rule)(nil), // 2: google.devtools.artifactregistry.v1.Rule |
| 702 |
(*ListRulesRequest)(nil), // 3: google.devtools.artifactregistry.v1.ListRulesRequest |
| 703 |
(*ListRulesResponse)(nil), // 4: google.devtools.artifactregistry.v1.ListRulesResponse |
| 704 |
(*GetRuleRequest)(nil), // 5: google.devtools.artifactregistry.v1.GetRuleRequest |
| 705 |
(*CreateRuleRequest)(nil), // 6: google.devtools.artifactregistry.v1.CreateRuleRequest |
| 706 |
(*UpdateRuleRequest)(nil), // 7: google.devtools.artifactregistry.v1.UpdateRuleRequest |
| 707 |
(*DeleteRuleRequest)(nil), // 8: google.devtools.artifactregistry.v1.DeleteRuleRequest |
| 708 |
(*expr.Expr)(nil), // 9: google.type.Expr |
| 709 |
(*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask |
| 710 |
} |
| 711 |
var file_google_devtools_artifactregistry_v1_rule_proto_depIdxs = []int32{ |
| 712 |
0, // 0: google.devtools.artifactregistry.v1.Rule.action:type_name -> google.devtools.artifactregistry.v1.Rule.Action |
| 713 |
1, // 1: google.devtools.artifactregistry.v1.Rule.operation:type_name -> google.devtools.artifactregistry.v1.Rule.Operation |
| 714 |
9, // 2: google.devtools.artifactregistry.v1.Rule.condition:type_name -> google.type.Expr |
| 715 |
2, // 3: google.devtools.artifactregistry.v1.ListRulesResponse.rules:type_name -> google.devtools.artifactregistry.v1.Rule |
| 716 |
2, // 4: google.devtools.artifactregistry.v1.CreateRuleRequest.rule:type_name -> google.devtools.artifactregistry.v1.Rule |
| 717 |
2, // 5: google.devtools.artifactregistry.v1.UpdateRuleRequest.rule:type_name -> google.devtools.artifactregistry.v1.Rule |
| 718 |
10, // 6: google.devtools.artifactregistry.v1.UpdateRuleRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 719 |
7, // [7:7] is the sub-list for method output_type |
| 720 |
7, // [7:7] is the sub-list for method input_type |
| 721 |
7, // [7:7] is the sub-list for extension type_name |
| 722 |
7, // [7:7] is the sub-list for extension extendee |
| 723 |
0, // [0:7] is the sub-list for field type_name |
| 724 |
} |
| 725 |
|
| 726 |
func init() { file_google_devtools_artifactregistry_v1_rule_proto_init() } |
| 727 |
func file_google_devtools_artifactregistry_v1_rule_proto_init() { |
| 728 |
if File_google_devtools_artifactregistry_v1_rule_proto != nil { |
| 729 |
return |
| 730 |
} |
| 731 |
type x struct{} |
| 732 |
out := protoimpl.TypeBuilder{ |
| 733 |
File: protoimpl.DescBuilder{ |
| 734 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 735 |
RawDescriptor: file_google_devtools_artifactregistry_v1_rule_proto_rawDesc, |
| 736 |
NumEnums: 2, |
| 737 |
NumMessages: 7, |
| 738 |
NumExtensions: 0, |
| 739 |
NumServices: 0, |
| 740 |
}, |
| 741 |
GoTypes: file_google_devtools_artifactregistry_v1_rule_proto_goTypes, |
| 742 |
DependencyIndexes: file_google_devtools_artifactregistry_v1_rule_proto_depIdxs, |
| 743 |
EnumInfos: file_google_devtools_artifactregistry_v1_rule_proto_enumTypes, |
| 744 |
MessageInfos: file_google_devtools_artifactregistry_v1_rule_proto_msgTypes, |
| 745 |
}.Build() |
| 746 |
File_google_devtools_artifactregistry_v1_rule_proto = out.File |
| 747 |
file_google_devtools_artifactregistry_v1_rule_proto_rawDesc = nil |
| 748 |
file_google_devtools_artifactregistry_v1_rule_proto_goTypes = nil |
| 749 |
file_google_devtools_artifactregistry_v1_rule_proto_depIdxs = nil |
| 750 |
} |