| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/cloud/contentwarehouse/v1/rule_engine.proto |
| 20 |
|
| 21 |
package contentwarehouse |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
v1 "google.golang.org/genproto/googleapis/iam/v1" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 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 |
type Rule_TriggerType int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
Rule_UNKNOWN Rule_TriggerType = 0 |
| 44 |
// Trigger for create document action. |
| 45 |
Rule_ON_CREATE Rule_TriggerType = 1 |
| 46 |
// Trigger for update document action. |
| 47 |
Rule_ON_UPDATE Rule_TriggerType = 4 |
| 48 |
) |
| 49 |
|
| 50 |
// Enum value maps for Rule_TriggerType. |
| 51 |
var ( |
| 52 |
Rule_TriggerType_name = map[int32]string{ |
| 53 |
0: "UNKNOWN", |
| 54 |
1: "ON_CREATE", |
| 55 |
4: "ON_UPDATE", |
| 56 |
} |
| 57 |
Rule_TriggerType_value = map[string]int32{ |
| 58 |
"UNKNOWN": 0, |
| 59 |
"ON_CREATE": 1, |
| 60 |
"ON_UPDATE": 4, |
| 61 |
} |
| 62 |
) |
| 63 |
|
| 64 |
func (x Rule_TriggerType) Enum() *Rule_TriggerType { |
| 65 |
p := new(Rule_TriggerType) |
| 66 |
*p = x |
| 67 |
return p |
| 68 |
} |
| 69 |
|
| 70 |
func (x Rule_TriggerType) String() string { |
| 71 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 72 |
} |
| 73 |
|
| 74 |
func (Rule_TriggerType) Descriptor() protoreflect.EnumDescriptor { |
| 75 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[0].Descriptor() |
| 76 |
} |
| 77 |
|
| 78 |
func (Rule_TriggerType) Type() protoreflect.EnumType { |
| 79 |
return &file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[0] |
| 80 |
} |
| 81 |
|
| 82 |
func (x Rule_TriggerType) Number() protoreflect.EnumNumber { |
| 83 |
return protoreflect.EnumNumber(x) |
| 84 |
} |
| 85 |
|
| 86 |
// Deprecated: Use Rule_TriggerType.Descriptor instead. |
| 87 |
func (Rule_TriggerType) EnumDescriptor() ([]byte, []int) { |
| 88 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{1, 0} |
| 89 |
} |
| 90 |
|
| 91 |
// Type of ACL modification operation. |
| 92 |
type AccessControlAction_OperationType int32 |
| 93 |
|
| 94 |
const ( |
| 95 |
AccessControlAction_UNKNOWN AccessControlAction_OperationType = 0 |
| 96 |
// Adds newly given policy bindings in the existing bindings list. |
| 97 |
AccessControlAction_ADD_POLICY_BINDING AccessControlAction_OperationType = 1 |
| 98 |
// Removes newly given policy bindings from the existing bindings list. |
| 99 |
AccessControlAction_REMOVE_POLICY_BINDING AccessControlAction_OperationType = 2 |
| 100 |
// Replaces existing policy bindings with the given policy binding list |
| 101 |
AccessControlAction_REPLACE_POLICY_BINDING AccessControlAction_OperationType = 3 |
| 102 |
) |
| 103 |
|
| 104 |
// Enum value maps for AccessControlAction_OperationType. |
| 105 |
var ( |
| 106 |
AccessControlAction_OperationType_name = map[int32]string{ |
| 107 |
0: "UNKNOWN", |
| 108 |
1: "ADD_POLICY_BINDING", |
| 109 |
2: "REMOVE_POLICY_BINDING", |
| 110 |
3: "REPLACE_POLICY_BINDING", |
| 111 |
} |
| 112 |
AccessControlAction_OperationType_value = map[string]int32{ |
| 113 |
"UNKNOWN": 0, |
| 114 |
"ADD_POLICY_BINDING": 1, |
| 115 |
"REMOVE_POLICY_BINDING": 2, |
| 116 |
"REPLACE_POLICY_BINDING": 3, |
| 117 |
} |
| 118 |
) |
| 119 |
|
| 120 |
func (x AccessControlAction_OperationType) Enum() *AccessControlAction_OperationType { |
| 121 |
p := new(AccessControlAction_OperationType) |
| 122 |
*p = x |
| 123 |
return p |
| 124 |
} |
| 125 |
|
| 126 |
func (x AccessControlAction_OperationType) String() string { |
| 127 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 128 |
} |
| 129 |
|
| 130 |
func (AccessControlAction_OperationType) Descriptor() protoreflect.EnumDescriptor { |
| 131 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[1].Descriptor() |
| 132 |
} |
| 133 |
|
| 134 |
func (AccessControlAction_OperationType) Type() protoreflect.EnumType { |
| 135 |
return &file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[1] |
| 136 |
} |
| 137 |
|
| 138 |
func (x AccessControlAction_OperationType) Number() protoreflect.EnumNumber { |
| 139 |
return protoreflect.EnumNumber(x) |
| 140 |
} |
| 141 |
|
| 142 |
// Deprecated: Use AccessControlAction_OperationType.Descriptor instead. |
| 143 |
func (AccessControlAction_OperationType) EnumDescriptor() ([]byte, []int) { |
| 144 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{3, 0} |
| 145 |
} |
| 146 |
|
| 147 |
// Represents execution state of the action. |
| 148 |
type ActionOutput_State int32 |
| 149 |
|
| 150 |
const ( |
| 151 |
ActionOutput_UNKNOWN ActionOutput_State = 0 |
| 152 |
// State indicating action executed successfully. |
| 153 |
ActionOutput_ACTION_SUCCEEDED ActionOutput_State = 1 |
| 154 |
// State indicating action failed. |
| 155 |
ActionOutput_ACTION_FAILED ActionOutput_State = 2 |
| 156 |
// State indicating action timed out. |
| 157 |
ActionOutput_ACTION_TIMED_OUT ActionOutput_State = 3 |
| 158 |
// State indicating action is pending. |
| 159 |
ActionOutput_ACTION_PENDING ActionOutput_State = 4 |
| 160 |
) |
| 161 |
|
| 162 |
// Enum value maps for ActionOutput_State. |
| 163 |
var ( |
| 164 |
ActionOutput_State_name = map[int32]string{ |
| 165 |
0: "UNKNOWN", |
| 166 |
1: "ACTION_SUCCEEDED", |
| 167 |
2: "ACTION_FAILED", |
| 168 |
3: "ACTION_TIMED_OUT", |
| 169 |
4: "ACTION_PENDING", |
| 170 |
} |
| 171 |
ActionOutput_State_value = map[string]int32{ |
| 172 |
"UNKNOWN": 0, |
| 173 |
"ACTION_SUCCEEDED": 1, |
| 174 |
"ACTION_FAILED": 2, |
| 175 |
"ACTION_TIMED_OUT": 3, |
| 176 |
"ACTION_PENDING": 4, |
| 177 |
} |
| 178 |
) |
| 179 |
|
| 180 |
func (x ActionOutput_State) Enum() *ActionOutput_State { |
| 181 |
p := new(ActionOutput_State) |
| 182 |
*p = x |
| 183 |
return p |
| 184 |
} |
| 185 |
|
| 186 |
func (x ActionOutput_State) String() string { |
| 187 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 188 |
} |
| 189 |
|
| 190 |
func (ActionOutput_State) Descriptor() protoreflect.EnumDescriptor { |
| 191 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[2].Descriptor() |
| 192 |
} |
| 193 |
|
| 194 |
func (ActionOutput_State) Type() protoreflect.EnumType { |
| 195 |
return &file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes[2] |
| 196 |
} |
| 197 |
|
| 198 |
func (x ActionOutput_State) Number() protoreflect.EnumNumber { |
| 199 |
return protoreflect.EnumNumber(x) |
| 200 |
} |
| 201 |
|
| 202 |
// Deprecated: Use ActionOutput_State.Descriptor instead. |
| 203 |
func (ActionOutput_State) EnumDescriptor() ([]byte, []int) { |
| 204 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{15, 0} |
| 205 |
} |
| 206 |
|
| 207 |
// Represents a set of rules from a single customer. |
| 208 |
type RuleSet struct { |
| 209 |
state protoimpl.MessageState |
| 210 |
sizeCache protoimpl.SizeCache |
| 211 |
unknownFields protoimpl.UnknownFields |
| 212 |
|
| 213 |
// The resource name of the rule set. Managed internally. |
| 214 |
// Format: |
| 215 |
// projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. |
| 216 |
// |
| 217 |
// The name is ignored when creating a rule set. |
| 218 |
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` |
| 219 |
// Short description of the rule-set. |
| 220 |
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` |
| 221 |
// Source of the rules i.e., customer name. |
| 222 |
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` |
| 223 |
// List of rules given by the customer. |
| 224 |
Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` |
| 225 |
} |
| 226 |
|
| 227 |
func (x *RuleSet) Reset() { |
| 228 |
*x = RuleSet{} |
| 229 |
if protoimpl.UnsafeEnabled { |
| 230 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[0] |
| 231 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 232 |
ms.StoreMessageInfo(mi) |
| 233 |
} |
| 234 |
} |
| 235 |
|
| 236 |
func (x *RuleSet) String() string { |
| 237 |
return protoimpl.X.MessageStringOf(x) |
| 238 |
} |
| 239 |
|
| 240 |
func (*RuleSet) ProtoMessage() {} |
| 241 |
|
| 242 |
func (x *RuleSet) ProtoReflect() protoreflect.Message { |
| 243 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[0] |
| 244 |
if protoimpl.UnsafeEnabled && x != nil { |
| 245 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 246 |
if ms.LoadMessageInfo() == nil { |
| 247 |
ms.StoreMessageInfo(mi) |
| 248 |
} |
| 249 |
return ms |
| 250 |
} |
| 251 |
return mi.MessageOf(x) |
| 252 |
} |
| 253 |
|
| 254 |
// Deprecated: Use RuleSet.ProtoReflect.Descriptor instead. |
| 255 |
func (*RuleSet) Descriptor() ([]byte, []int) { |
| 256 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{0} |
| 257 |
} |
| 258 |
|
| 259 |
func (x *RuleSet) GetName() string { |
| 260 |
if x != nil { |
| 261 |
return x.Name |
| 262 |
} |
| 263 |
return "" |
| 264 |
} |
| 265 |
|
| 266 |
func (x *RuleSet) GetDescription() string { |
| 267 |
if x != nil { |
| 268 |
return x.Description |
| 269 |
} |
| 270 |
return "" |
| 271 |
} |
| 272 |
|
| 273 |
func (x *RuleSet) GetSource() string { |
| 274 |
if x != nil { |
| 275 |
return x.Source |
| 276 |
} |
| 277 |
return "" |
| 278 |
} |
| 279 |
|
| 280 |
func (x *RuleSet) GetRules() []*Rule { |
| 281 |
if x != nil { |
| 282 |
return x.Rules |
| 283 |
} |
| 284 |
return nil |
| 285 |
} |
| 286 |
|
| 287 |
// Represents the rule for a content warehouse trigger. |
| 288 |
type Rule struct { |
| 289 |
state protoimpl.MessageState |
| 290 |
sizeCache protoimpl.SizeCache |
| 291 |
unknownFields protoimpl.UnknownFields |
| 292 |
|
| 293 |
// Short description of the rule and its context. |
| 294 |
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` |
| 295 |
// ID of the rule. It has to be unique across all the examples. |
| 296 |
// This is managed internally. |
| 297 |
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` |
| 298 |
// Identifies the trigger type for running the policy. |
| 299 |
TriggerType Rule_TriggerType `protobuf:"varint,3,opt,name=trigger_type,json=triggerType,proto3,enum=google.cloud.contentwarehouse.v1.Rule_TriggerType" json:"trigger_type,omitempty"` |
| 300 |
// Represents the conditional expression to be evaluated. |
| 301 |
// Expression should evaluate to a boolean result. |
| 302 |
// When the condition is true actions are executed. |
| 303 |
// Example: user_role = "hsbc_role_1" AND doc.salary > 20000 |
| 304 |
Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` |
| 305 |
// List of actions that are executed when the rule is satisfied. |
| 306 |
Actions []*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` |
| 307 |
} |
| 308 |
|
| 309 |
func (x *Rule) Reset() { |
| 310 |
*x = Rule{} |
| 311 |
if protoimpl.UnsafeEnabled { |
| 312 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[1] |
| 313 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 314 |
ms.StoreMessageInfo(mi) |
| 315 |
} |
| 316 |
} |
| 317 |
|
| 318 |
func (x *Rule) String() string { |
| 319 |
return protoimpl.X.MessageStringOf(x) |
| 320 |
} |
| 321 |
|
| 322 |
func (*Rule) ProtoMessage() {} |
| 323 |
|
| 324 |
func (x *Rule) ProtoReflect() protoreflect.Message { |
| 325 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[1] |
| 326 |
if protoimpl.UnsafeEnabled && x != nil { |
| 327 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 328 |
if ms.LoadMessageInfo() == nil { |
| 329 |
ms.StoreMessageInfo(mi) |
| 330 |
} |
| 331 |
return ms |
| 332 |
} |
| 333 |
return mi.MessageOf(x) |
| 334 |
} |
| 335 |
|
| 336 |
// Deprecated: Use Rule.ProtoReflect.Descriptor instead. |
| 337 |
func (*Rule) Descriptor() ([]byte, []int) { |
| 338 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{1} |
| 339 |
} |
| 340 |
|
| 341 |
func (x *Rule) GetDescription() string { |
| 342 |
if x != nil { |
| 343 |
return x.Description |
| 344 |
} |
| 345 |
return "" |
| 346 |
} |
| 347 |
|
| 348 |
func (x *Rule) GetRuleId() string { |
| 349 |
if x != nil { |
| 350 |
return x.RuleId |
| 351 |
} |
| 352 |
return "" |
| 353 |
} |
| 354 |
|
| 355 |
func (x *Rule) GetTriggerType() Rule_TriggerType { |
| 356 |
if x != nil { |
| 357 |
return x.TriggerType |
| 358 |
} |
| 359 |
return Rule_UNKNOWN |
| 360 |
} |
| 361 |
|
| 362 |
func (x *Rule) GetCondition() string { |
| 363 |
if x != nil { |
| 364 |
return x.Condition |
| 365 |
} |
| 366 |
return "" |
| 367 |
} |
| 368 |
|
| 369 |
func (x *Rule) GetActions() []*Action { |
| 370 |
if x != nil { |
| 371 |
return x.Actions |
| 372 |
} |
| 373 |
return nil |
| 374 |
} |
| 375 |
|
| 376 |
// Represents the action triggered by Rule Engine when the rule is true. |
| 377 |
type Action struct { |
| 378 |
state protoimpl.MessageState |
| 379 |
sizeCache protoimpl.SizeCache |
| 380 |
unknownFields protoimpl.UnknownFields |
| 381 |
|
| 382 |
// ID of the action. Managed internally. |
| 383 |
ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` |
| 384 |
// Types that are assignable to Action: |
| 385 |
// |
| 386 |
// *Action_AccessControl |
| 387 |
// *Action_DataValidation |
| 388 |
// *Action_DataUpdate |
| 389 |
// *Action_AddToFolder |
| 390 |
// *Action_PublishToPubSub |
| 391 |
// *Action_RemoveFromFolderAction |
| 392 |
// *Action_DeleteDocumentAction |
| 393 |
Action isAction_Action `protobuf_oneof:"action"` |
| 394 |
} |
| 395 |
|
| 396 |
func (x *Action) Reset() { |
| 397 |
*x = Action{} |
| 398 |
if protoimpl.UnsafeEnabled { |
| 399 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[2] |
| 400 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 401 |
ms.StoreMessageInfo(mi) |
| 402 |
} |
| 403 |
} |
| 404 |
|
| 405 |
func (x *Action) String() string { |
| 406 |
return protoimpl.X.MessageStringOf(x) |
| 407 |
} |
| 408 |
|
| 409 |
func (*Action) ProtoMessage() {} |
| 410 |
|
| 411 |
func (x *Action) ProtoReflect() protoreflect.Message { |
| 412 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[2] |
| 413 |
if protoimpl.UnsafeEnabled && x != nil { |
| 414 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 415 |
if ms.LoadMessageInfo() == nil { |
| 416 |
ms.StoreMessageInfo(mi) |
| 417 |
} |
| 418 |
return ms |
| 419 |
} |
| 420 |
return mi.MessageOf(x) |
| 421 |
} |
| 422 |
|
| 423 |
// Deprecated: Use Action.ProtoReflect.Descriptor instead. |
| 424 |
func (*Action) Descriptor() ([]byte, []int) { |
| 425 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{2} |
| 426 |
} |
| 427 |
|
| 428 |
func (x *Action) GetActionId() string { |
| 429 |
if x != nil { |
| 430 |
return x.ActionId |
| 431 |
} |
| 432 |
return "" |
| 433 |
} |
| 434 |
|
| 435 |
func (m *Action) GetAction() isAction_Action { |
| 436 |
if m != nil { |
| 437 |
return m.Action |
| 438 |
} |
| 439 |
return nil |
| 440 |
} |
| 441 |
|
| 442 |
func (x *Action) GetAccessControl() *AccessControlAction { |
| 443 |
if x, ok := x.GetAction().(*Action_AccessControl); ok { |
| 444 |
return x.AccessControl |
| 445 |
} |
| 446 |
return nil |
| 447 |
} |
| 448 |
|
| 449 |
func (x *Action) GetDataValidation() *DataValidationAction { |
| 450 |
if x, ok := x.GetAction().(*Action_DataValidation); ok { |
| 451 |
return x.DataValidation |
| 452 |
} |
| 453 |
return nil |
| 454 |
} |
| 455 |
|
| 456 |
func (x *Action) GetDataUpdate() *DataUpdateAction { |
| 457 |
if x, ok := x.GetAction().(*Action_DataUpdate); ok { |
| 458 |
return x.DataUpdate |
| 459 |
} |
| 460 |
return nil |
| 461 |
} |
| 462 |
|
| 463 |
func (x *Action) GetAddToFolder() *AddToFolderAction { |
| 464 |
if x, ok := x.GetAction().(*Action_AddToFolder); ok { |
| 465 |
return x.AddToFolder |
| 466 |
} |
| 467 |
return nil |
| 468 |
} |
| 469 |
|
| 470 |
func (x *Action) GetPublishToPubSub() *PublishAction { |
| 471 |
if x, ok := x.GetAction().(*Action_PublishToPubSub); ok { |
| 472 |
return x.PublishToPubSub |
| 473 |
} |
| 474 |
return nil |
| 475 |
} |
| 476 |
|
| 477 |
func (x *Action) GetRemoveFromFolderAction() *RemoveFromFolderAction { |
| 478 |
if x, ok := x.GetAction().(*Action_RemoveFromFolderAction); ok { |
| 479 |
return x.RemoveFromFolderAction |
| 480 |
} |
| 481 |
return nil |
| 482 |
} |
| 483 |
|
| 484 |
func (x *Action) GetDeleteDocumentAction() *DeleteDocumentAction { |
| 485 |
if x, ok := x.GetAction().(*Action_DeleteDocumentAction); ok { |
| 486 |
return x.DeleteDocumentAction |
| 487 |
} |
| 488 |
return nil |
| 489 |
} |
| 490 |
|
| 491 |
type isAction_Action interface { |
| 492 |
isAction_Action() |
| 493 |
} |
| 494 |
|
| 495 |
type Action_AccessControl struct { |
| 496 |
// Action triggering access control operations. |
| 497 |
AccessControl *AccessControlAction `protobuf:"bytes,2,opt,name=access_control,json=accessControl,proto3,oneof"` |
| 498 |
} |
| 499 |
|
| 500 |
type Action_DataValidation struct { |
| 501 |
// Action triggering data validation operations. |
| 502 |
DataValidation *DataValidationAction `protobuf:"bytes,3,opt,name=data_validation,json=dataValidation,proto3,oneof"` |
| 503 |
} |
| 504 |
|
| 505 |
type Action_DataUpdate struct { |
| 506 |
// Action triggering data update operations. |
| 507 |
DataUpdate *DataUpdateAction `protobuf:"bytes,4,opt,name=data_update,json=dataUpdate,proto3,oneof"` |
| 508 |
} |
| 509 |
|
| 510 |
type Action_AddToFolder struct { |
| 511 |
// Action triggering create document link operation. |
| 512 |
AddToFolder *AddToFolderAction `protobuf:"bytes,5,opt,name=add_to_folder,json=addToFolder,proto3,oneof"` |
| 513 |
} |
| 514 |
|
| 515 |
type Action_PublishToPubSub struct { |
| 516 |
// Action publish to Pub/Sub operation. |
| 517 |
PublishToPubSub *PublishAction `protobuf:"bytes,6,opt,name=publish_to_pub_sub,json=publishToPubSub,proto3,oneof"` |
| 518 |
} |
| 519 |
|
| 520 |
type Action_RemoveFromFolderAction struct { |
| 521 |
// Action removing a document from a folder. |
| 522 |
RemoveFromFolderAction *RemoveFromFolderAction `protobuf:"bytes,9,opt,name=remove_from_folder_action,json=removeFromFolderAction,proto3,oneof"` |
| 523 |
} |
| 524 |
|
| 525 |
type Action_DeleteDocumentAction struct { |
| 526 |
// Action deleting the document. |
| 527 |
DeleteDocumentAction *DeleteDocumentAction `protobuf:"bytes,10,opt,name=delete_document_action,json=deleteDocumentAction,proto3,oneof"` |
| 528 |
} |
| 529 |
|
| 530 |
func (*Action_AccessControl) isAction_Action() {} |
| 531 |
|
| 532 |
func (*Action_DataValidation) isAction_Action() {} |
| 533 |
|
| 534 |
func (*Action_DataUpdate) isAction_Action() {} |
| 535 |
|
| 536 |
func (*Action_AddToFolder) isAction_Action() {} |
| 537 |
|
| 538 |
func (*Action_PublishToPubSub) isAction_Action() {} |
| 539 |
|
| 540 |
func (*Action_RemoveFromFolderAction) isAction_Action() {} |
| 541 |
|
| 542 |
func (*Action_DeleteDocumentAction) isAction_Action() {} |
| 543 |
|
| 544 |
// Represents the action responsible for access control list management |
| 545 |
// operations. |
| 546 |
type AccessControlAction struct { |
| 547 |
state protoimpl.MessageState |
| 548 |
sizeCache protoimpl.SizeCache |
| 549 |
unknownFields protoimpl.UnknownFields |
| 550 |
|
| 551 |
// Identifies the type of operation. |
| 552 |
OperationType AccessControlAction_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.contentwarehouse.v1.AccessControlAction_OperationType" json:"operation_type,omitempty"` |
| 553 |
// Represents the new policy from which bindings are added, removed or |
| 554 |
// replaced based on the type of the operation. the policy is limited to a few |
| 555 |
// 10s of KB. |
| 556 |
Policy *v1.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` |
| 557 |
} |
| 558 |
|
| 559 |
func (x *AccessControlAction) Reset() { |
| 560 |
*x = AccessControlAction{} |
| 561 |
if protoimpl.UnsafeEnabled { |
| 562 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[3] |
| 563 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 564 |
ms.StoreMessageInfo(mi) |
| 565 |
} |
| 566 |
} |
| 567 |
|
| 568 |
func (x *AccessControlAction) String() string { |
| 569 |
return protoimpl.X.MessageStringOf(x) |
| 570 |
} |
| 571 |
|
| 572 |
func (*AccessControlAction) ProtoMessage() {} |
| 573 |
|
| 574 |
func (x *AccessControlAction) ProtoReflect() protoreflect.Message { |
| 575 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[3] |
| 576 |
if protoimpl.UnsafeEnabled && x != nil { |
| 577 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 578 |
if ms.LoadMessageInfo() == nil { |
| 579 |
ms.StoreMessageInfo(mi) |
| 580 |
} |
| 581 |
return ms |
| 582 |
} |
| 583 |
return mi.MessageOf(x) |
| 584 |
} |
| 585 |
|
| 586 |
// Deprecated: Use AccessControlAction.ProtoReflect.Descriptor instead. |
| 587 |
func (*AccessControlAction) Descriptor() ([]byte, []int) { |
| 588 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{3} |
| 589 |
} |
| 590 |
|
| 591 |
func (x *AccessControlAction) GetOperationType() AccessControlAction_OperationType { |
| 592 |
if x != nil { |
| 593 |
return x.OperationType |
| 594 |
} |
| 595 |
return AccessControlAction_UNKNOWN |
| 596 |
} |
| 597 |
|
| 598 |
func (x *AccessControlAction) GetPolicy() *v1.Policy { |
| 599 |
if x != nil { |
| 600 |
return x.Policy |
| 601 |
} |
| 602 |
return nil |
| 603 |
} |
| 604 |
|
| 605 |
// Represents the action responsible for data validation operations. |
| 606 |
type DataValidationAction struct { |
| 607 |
state protoimpl.MessageState |
| 608 |
sizeCache protoimpl.SizeCache |
| 609 |
unknownFields protoimpl.UnknownFields |
| 610 |
|
| 611 |
// Map of (K, V) -> (field, string condition to be evaluated on the field) |
| 612 |
// E.g., ("age", "age > 18 && age < 60") entry triggers validation of field |
| 613 |
// age with the given condition. Map entries will be ANDed during validation. |
| 614 |
Conditions map[string]string `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 615 |
} |
| 616 |
|
| 617 |
func (x *DataValidationAction) Reset() { |
| 618 |
*x = DataValidationAction{} |
| 619 |
if protoimpl.UnsafeEnabled { |
| 620 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[4] |
| 621 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 622 |
ms.StoreMessageInfo(mi) |
| 623 |
} |
| 624 |
} |
| 625 |
|
| 626 |
func (x *DataValidationAction) String() string { |
| 627 |
return protoimpl.X.MessageStringOf(x) |
| 628 |
} |
| 629 |
|
| 630 |
func (*DataValidationAction) ProtoMessage() {} |
| 631 |
|
| 632 |
func (x *DataValidationAction) ProtoReflect() protoreflect.Message { |
| 633 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[4] |
| 634 |
if protoimpl.UnsafeEnabled && x != nil { |
| 635 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 636 |
if ms.LoadMessageInfo() == nil { |
| 637 |
ms.StoreMessageInfo(mi) |
| 638 |
} |
| 639 |
return ms |
| 640 |
} |
| 641 |
return mi.MessageOf(x) |
| 642 |
} |
| 643 |
|
| 644 |
// Deprecated: Use DataValidationAction.ProtoReflect.Descriptor instead. |
| 645 |
func (*DataValidationAction) Descriptor() ([]byte, []int) { |
| 646 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{4} |
| 647 |
} |
| 648 |
|
| 649 |
func (x *DataValidationAction) GetConditions() map[string]string { |
| 650 |
if x != nil { |
| 651 |
return x.Conditions |
| 652 |
} |
| 653 |
return nil |
| 654 |
} |
| 655 |
|
| 656 |
// Represents the action responsible for properties update operations. |
| 657 |
type DataUpdateAction struct { |
| 658 |
state protoimpl.MessageState |
| 659 |
sizeCache protoimpl.SizeCache |
| 660 |
unknownFields protoimpl.UnknownFields |
| 661 |
|
| 662 |
// Map of (K, V) -> (valid name of the field, new value of the field) |
| 663 |
// E.g., ("age", "60") entry triggers update of field age with a value of 60. |
| 664 |
// If the field is not present then new entry is added. |
| 665 |
// During update action execution, value strings will be casted to |
| 666 |
// appropriate types. |
| 667 |
Entries map[string]string `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 668 |
} |
| 669 |
|
| 670 |
func (x *DataUpdateAction) Reset() { |
| 671 |
*x = DataUpdateAction{} |
| 672 |
if protoimpl.UnsafeEnabled { |
| 673 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[5] |
| 674 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 675 |
ms.StoreMessageInfo(mi) |
| 676 |
} |
| 677 |
} |
| 678 |
|
| 679 |
func (x *DataUpdateAction) String() string { |
| 680 |
return protoimpl.X.MessageStringOf(x) |
| 681 |
} |
| 682 |
|
| 683 |
func (*DataUpdateAction) ProtoMessage() {} |
| 684 |
|
| 685 |
func (x *DataUpdateAction) ProtoReflect() protoreflect.Message { |
| 686 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[5] |
| 687 |
if protoimpl.UnsafeEnabled && x != nil { |
| 688 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 689 |
if ms.LoadMessageInfo() == nil { |
| 690 |
ms.StoreMessageInfo(mi) |
| 691 |
} |
| 692 |
return ms |
| 693 |
} |
| 694 |
return mi.MessageOf(x) |
| 695 |
} |
| 696 |
|
| 697 |
// Deprecated: Use DataUpdateAction.ProtoReflect.Descriptor instead. |
| 698 |
func (*DataUpdateAction) Descriptor() ([]byte, []int) { |
| 699 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{5} |
| 700 |
} |
| 701 |
|
| 702 |
func (x *DataUpdateAction) GetEntries() map[string]string { |
| 703 |
if x != nil { |
| 704 |
return x.Entries |
| 705 |
} |
| 706 |
return nil |
| 707 |
} |
| 708 |
|
| 709 |
// Represents the action responsible for adding document under a folder. |
| 710 |
type AddToFolderAction struct { |
| 711 |
state protoimpl.MessageState |
| 712 |
sizeCache protoimpl.SizeCache |
| 713 |
unknownFields protoimpl.UnknownFields |
| 714 |
|
| 715 |
// Names of the folder under which new document is to be added. |
| 716 |
// Format: |
| 717 |
// projects/{project_number}/locations/{location}/documents/{document_id}. |
| 718 |
Folders []string `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` |
| 719 |
} |
| 720 |
|
| 721 |
func (x *AddToFolderAction) Reset() { |
| 722 |
*x = AddToFolderAction{} |
| 723 |
if protoimpl.UnsafeEnabled { |
| 724 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[6] |
| 725 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 726 |
ms.StoreMessageInfo(mi) |
| 727 |
} |
| 728 |
} |
| 729 |
|
| 730 |
func (x *AddToFolderAction) String() string { |
| 731 |
return protoimpl.X.MessageStringOf(x) |
| 732 |
} |
| 733 |
|
| 734 |
func (*AddToFolderAction) ProtoMessage() {} |
| 735 |
|
| 736 |
func (x *AddToFolderAction) ProtoReflect() protoreflect.Message { |
| 737 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[6] |
| 738 |
if protoimpl.UnsafeEnabled && x != nil { |
| 739 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 740 |
if ms.LoadMessageInfo() == nil { |
| 741 |
ms.StoreMessageInfo(mi) |
| 742 |
} |
| 743 |
return ms |
| 744 |
} |
| 745 |
return mi.MessageOf(x) |
| 746 |
} |
| 747 |
|
| 748 |
// Deprecated: Use AddToFolderAction.ProtoReflect.Descriptor instead. |
| 749 |
func (*AddToFolderAction) Descriptor() ([]byte, []int) { |
| 750 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{6} |
| 751 |
} |
| 752 |
|
| 753 |
func (x *AddToFolderAction) GetFolders() []string { |
| 754 |
if x != nil { |
| 755 |
return x.Folders |
| 756 |
} |
| 757 |
return nil |
| 758 |
} |
| 759 |
|
| 760 |
// Represents the action responsible for remove a document from a specific |
| 761 |
// folder. |
| 762 |
type RemoveFromFolderAction struct { |
| 763 |
state protoimpl.MessageState |
| 764 |
sizeCache protoimpl.SizeCache |
| 765 |
unknownFields protoimpl.UnknownFields |
| 766 |
|
| 767 |
// Condition of the action to be executed. |
| 768 |
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` |
| 769 |
// Name of the folder under which new document is to be added. |
| 770 |
// Format: |
| 771 |
// projects/{project_number}/locations/{location}/documents/{document_id}. |
| 772 |
Folder string `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` |
| 773 |
} |
| 774 |
|
| 775 |
func (x *RemoveFromFolderAction) Reset() { |
| 776 |
*x = RemoveFromFolderAction{} |
| 777 |
if protoimpl.UnsafeEnabled { |
| 778 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[7] |
| 779 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 780 |
ms.StoreMessageInfo(mi) |
| 781 |
} |
| 782 |
} |
| 783 |
|
| 784 |
func (x *RemoveFromFolderAction) String() string { |
| 785 |
return protoimpl.X.MessageStringOf(x) |
| 786 |
} |
| 787 |
|
| 788 |
func (*RemoveFromFolderAction) ProtoMessage() {} |
| 789 |
|
| 790 |
func (x *RemoveFromFolderAction) ProtoReflect() protoreflect.Message { |
| 791 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[7] |
| 792 |
if protoimpl.UnsafeEnabled && x != nil { |
| 793 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 794 |
if ms.LoadMessageInfo() == nil { |
| 795 |
ms.StoreMessageInfo(mi) |
| 796 |
} |
| 797 |
return ms |
| 798 |
} |
| 799 |
return mi.MessageOf(x) |
| 800 |
} |
| 801 |
|
| 802 |
// Deprecated: Use RemoveFromFolderAction.ProtoReflect.Descriptor instead. |
| 803 |
func (*RemoveFromFolderAction) Descriptor() ([]byte, []int) { |
| 804 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{7} |
| 805 |
} |
| 806 |
|
| 807 |
func (x *RemoveFromFolderAction) GetCondition() string { |
| 808 |
if x != nil { |
| 809 |
return x.Condition |
| 810 |
} |
| 811 |
return "" |
| 812 |
} |
| 813 |
|
| 814 |
func (x *RemoveFromFolderAction) GetFolder() string { |
| 815 |
if x != nil { |
| 816 |
return x.Folder |
| 817 |
} |
| 818 |
return "" |
| 819 |
} |
| 820 |
|
| 821 |
// Represents the action responsible for publishing messages to a Pub/Sub topic. |
| 822 |
type PublishAction struct { |
| 823 |
state protoimpl.MessageState |
| 824 |
sizeCache protoimpl.SizeCache |
| 825 |
unknownFields protoimpl.UnknownFields |
| 826 |
|
| 827 |
// The topic id in the Pub/Sub service for which messages will be published |
| 828 |
// to. |
| 829 |
TopicId string `protobuf:"bytes,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` |
| 830 |
// Messages to be published. |
| 831 |
Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` |
| 832 |
} |
| 833 |
|
| 834 |
func (x *PublishAction) Reset() { |
| 835 |
*x = PublishAction{} |
| 836 |
if protoimpl.UnsafeEnabled { |
| 837 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[8] |
| 838 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 839 |
ms.StoreMessageInfo(mi) |
| 840 |
} |
| 841 |
} |
| 842 |
|
| 843 |
func (x *PublishAction) String() string { |
| 844 |
return protoimpl.X.MessageStringOf(x) |
| 845 |
} |
| 846 |
|
| 847 |
func (*PublishAction) ProtoMessage() {} |
| 848 |
|
| 849 |
func (x *PublishAction) ProtoReflect() protoreflect.Message { |
| 850 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[8] |
| 851 |
if protoimpl.UnsafeEnabled && x != nil { |
| 852 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 853 |
if ms.LoadMessageInfo() == nil { |
| 854 |
ms.StoreMessageInfo(mi) |
| 855 |
} |
| 856 |
return ms |
| 857 |
} |
| 858 |
return mi.MessageOf(x) |
| 859 |
} |
| 860 |
|
| 861 |
// Deprecated: Use PublishAction.ProtoReflect.Descriptor instead. |
| 862 |
func (*PublishAction) Descriptor() ([]byte, []int) { |
| 863 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{8} |
| 864 |
} |
| 865 |
|
| 866 |
func (x *PublishAction) GetTopicId() string { |
| 867 |
if x != nil { |
| 868 |
return x.TopicId |
| 869 |
} |
| 870 |
return "" |
| 871 |
} |
| 872 |
|
| 873 |
func (x *PublishAction) GetMessages() []string { |
| 874 |
if x != nil { |
| 875 |
return x.Messages |
| 876 |
} |
| 877 |
return nil |
| 878 |
} |
| 879 |
|
| 880 |
// Represents the action responsible for deleting the document. |
| 881 |
type DeleteDocumentAction struct { |
| 882 |
state protoimpl.MessageState |
| 883 |
sizeCache protoimpl.SizeCache |
| 884 |
unknownFields protoimpl.UnknownFields |
| 885 |
|
| 886 |
// Boolean field to select between hard vs soft delete options. |
| 887 |
// Set 'true' for 'hard delete' and 'false' for 'soft delete'. |
| 888 |
EnableHardDelete bool `protobuf:"varint,1,opt,name=enable_hard_delete,json=enableHardDelete,proto3" json:"enable_hard_delete,omitempty"` |
| 889 |
} |
| 890 |
|
| 891 |
func (x *DeleteDocumentAction) Reset() { |
| 892 |
*x = DeleteDocumentAction{} |
| 893 |
if protoimpl.UnsafeEnabled { |
| 894 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[9] |
| 895 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 896 |
ms.StoreMessageInfo(mi) |
| 897 |
} |
| 898 |
} |
| 899 |
|
| 900 |
func (x *DeleteDocumentAction) String() string { |
| 901 |
return protoimpl.X.MessageStringOf(x) |
| 902 |
} |
| 903 |
|
| 904 |
func (*DeleteDocumentAction) ProtoMessage() {} |
| 905 |
|
| 906 |
func (x *DeleteDocumentAction) ProtoReflect() protoreflect.Message { |
| 907 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[9] |
| 908 |
if protoimpl.UnsafeEnabled && x != nil { |
| 909 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 910 |
if ms.LoadMessageInfo() == nil { |
| 911 |
ms.StoreMessageInfo(mi) |
| 912 |
} |
| 913 |
return ms |
| 914 |
} |
| 915 |
return mi.MessageOf(x) |
| 916 |
} |
| 917 |
|
| 918 |
// Deprecated: Use DeleteDocumentAction.ProtoReflect.Descriptor instead. |
| 919 |
func (*DeleteDocumentAction) Descriptor() ([]byte, []int) { |
| 920 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{9} |
| 921 |
} |
| 922 |
|
| 923 |
func (x *DeleteDocumentAction) GetEnableHardDelete() bool { |
| 924 |
if x != nil { |
| 925 |
return x.EnableHardDelete |
| 926 |
} |
| 927 |
return false |
| 928 |
} |
| 929 |
|
| 930 |
// Records the output of Rule Engine including rule evaluation and actions |
| 931 |
// result. |
| 932 |
type RuleEngineOutput struct { |
| 933 |
state protoimpl.MessageState |
| 934 |
sizeCache protoimpl.SizeCache |
| 935 |
unknownFields protoimpl.UnknownFields |
| 936 |
|
| 937 |
// Name of the document against which the rules and actions were evaluated. |
| 938 |
DocumentName string `protobuf:"bytes,3,opt,name=document_name,json=documentName,proto3" json:"document_name,omitempty"` |
| 939 |
// Output from Rule Evaluator containing matched, unmatched and invalid rules. |
| 940 |
RuleEvaluatorOutput *RuleEvaluatorOutput `protobuf:"bytes,1,opt,name=rule_evaluator_output,json=ruleEvaluatorOutput,proto3" json:"rule_evaluator_output,omitempty"` |
| 941 |
// Output from Action Executor containing rule and corresponding actions |
| 942 |
// execution result. |
| 943 |
ActionExecutorOutput *ActionExecutorOutput `protobuf:"bytes,2,opt,name=action_executor_output,json=actionExecutorOutput,proto3" json:"action_executor_output,omitempty"` |
| 944 |
} |
| 945 |
|
| 946 |
func (x *RuleEngineOutput) Reset() { |
| 947 |
*x = RuleEngineOutput{} |
| 948 |
if protoimpl.UnsafeEnabled { |
| 949 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[10] |
| 950 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 951 |
ms.StoreMessageInfo(mi) |
| 952 |
} |
| 953 |
} |
| 954 |
|
| 955 |
func (x *RuleEngineOutput) String() string { |
| 956 |
return protoimpl.X.MessageStringOf(x) |
| 957 |
} |
| 958 |
|
| 959 |
func (*RuleEngineOutput) ProtoMessage() {} |
| 960 |
|
| 961 |
func (x *RuleEngineOutput) ProtoReflect() protoreflect.Message { |
| 962 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[10] |
| 963 |
if protoimpl.UnsafeEnabled && x != nil { |
| 964 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 965 |
if ms.LoadMessageInfo() == nil { |
| 966 |
ms.StoreMessageInfo(mi) |
| 967 |
} |
| 968 |
return ms |
| 969 |
} |
| 970 |
return mi.MessageOf(x) |
| 971 |
} |
| 972 |
|
| 973 |
// Deprecated: Use RuleEngineOutput.ProtoReflect.Descriptor instead. |
| 974 |
func (*RuleEngineOutput) Descriptor() ([]byte, []int) { |
| 975 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{10} |
| 976 |
} |
| 977 |
|
| 978 |
func (x *RuleEngineOutput) GetDocumentName() string { |
| 979 |
if x != nil { |
| 980 |
return x.DocumentName |
| 981 |
} |
| 982 |
return "" |
| 983 |
} |
| 984 |
|
| 985 |
func (x *RuleEngineOutput) GetRuleEvaluatorOutput() *RuleEvaluatorOutput { |
| 986 |
if x != nil { |
| 987 |
return x.RuleEvaluatorOutput |
| 988 |
} |
| 989 |
return nil |
| 990 |
} |
| 991 |
|
| 992 |
func (x *RuleEngineOutput) GetActionExecutorOutput() *ActionExecutorOutput { |
| 993 |
if x != nil { |
| 994 |
return x.ActionExecutorOutput |
| 995 |
} |
| 996 |
return nil |
| 997 |
} |
| 998 |
|
| 999 |
// Represents the output of the Rule Evaluator. |
| 1000 |
type RuleEvaluatorOutput struct { |
| 1001 |
state protoimpl.MessageState |
| 1002 |
sizeCache protoimpl.SizeCache |
| 1003 |
unknownFields protoimpl.UnknownFields |
| 1004 |
|
| 1005 |
// List of rules fetched from database for the given request trigger type. |
| 1006 |
TriggeredRules []*Rule `protobuf:"bytes,1,rep,name=triggered_rules,json=triggeredRules,proto3" json:"triggered_rules,omitempty"` |
| 1007 |
// A subset of triggered rules that are evaluated true for a given request. |
| 1008 |
MatchedRules []*Rule `protobuf:"bytes,2,rep,name=matched_rules,json=matchedRules,proto3" json:"matched_rules,omitempty"` |
| 1009 |
// A subset of triggered rules that failed the validation check(s) after |
| 1010 |
// parsing. |
| 1011 |
InvalidRules []*InvalidRule `protobuf:"bytes,3,rep,name=invalid_rules,json=invalidRules,proto3" json:"invalid_rules,omitempty"` |
| 1012 |
} |
| 1013 |
|
| 1014 |
func (x *RuleEvaluatorOutput) Reset() { |
| 1015 |
*x = RuleEvaluatorOutput{} |
| 1016 |
if protoimpl.UnsafeEnabled { |
| 1017 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[11] |
| 1018 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1019 |
ms.StoreMessageInfo(mi) |
| 1020 |
} |
| 1021 |
} |
| 1022 |
|
| 1023 |
func (x *RuleEvaluatorOutput) String() string { |
| 1024 |
return protoimpl.X.MessageStringOf(x) |
| 1025 |
} |
| 1026 |
|
| 1027 |
func (*RuleEvaluatorOutput) ProtoMessage() {} |
| 1028 |
|
| 1029 |
func (x *RuleEvaluatorOutput) ProtoReflect() protoreflect.Message { |
| 1030 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[11] |
| 1031 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1032 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1033 |
if ms.LoadMessageInfo() == nil { |
| 1034 |
ms.StoreMessageInfo(mi) |
| 1035 |
} |
| 1036 |
return ms |
| 1037 |
} |
| 1038 |
return mi.MessageOf(x) |
| 1039 |
} |
| 1040 |
|
| 1041 |
// Deprecated: Use RuleEvaluatorOutput.ProtoReflect.Descriptor instead. |
| 1042 |
func (*RuleEvaluatorOutput) Descriptor() ([]byte, []int) { |
| 1043 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{11} |
| 1044 |
} |
| 1045 |
|
| 1046 |
func (x *RuleEvaluatorOutput) GetTriggeredRules() []*Rule { |
| 1047 |
if x != nil { |
| 1048 |
return x.TriggeredRules |
| 1049 |
} |
| 1050 |
return nil |
| 1051 |
} |
| 1052 |
|
| 1053 |
func (x *RuleEvaluatorOutput) GetMatchedRules() []*Rule { |
| 1054 |
if x != nil { |
| 1055 |
return x.MatchedRules |
| 1056 |
} |
| 1057 |
return nil |
| 1058 |
} |
| 1059 |
|
| 1060 |
func (x *RuleEvaluatorOutput) GetInvalidRules() []*InvalidRule { |
| 1061 |
if x != nil { |
| 1062 |
return x.InvalidRules |
| 1063 |
} |
| 1064 |
return nil |
| 1065 |
} |
| 1066 |
|
| 1067 |
// A triggered rule that failed the validation check(s) after parsing. |
| 1068 |
type InvalidRule struct { |
| 1069 |
state protoimpl.MessageState |
| 1070 |
sizeCache protoimpl.SizeCache |
| 1071 |
unknownFields protoimpl.UnknownFields |
| 1072 |
|
| 1073 |
// Triggered rule. |
| 1074 |
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` |
| 1075 |
// Validation error on a parsed expression. |
| 1076 |
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` |
| 1077 |
} |
| 1078 |
|
| 1079 |
func (x *InvalidRule) Reset() { |
| 1080 |
*x = InvalidRule{} |
| 1081 |
if protoimpl.UnsafeEnabled { |
| 1082 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[12] |
| 1083 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1084 |
ms.StoreMessageInfo(mi) |
| 1085 |
} |
| 1086 |
} |
| 1087 |
|
| 1088 |
func (x *InvalidRule) String() string { |
| 1089 |
return protoimpl.X.MessageStringOf(x) |
| 1090 |
} |
| 1091 |
|
| 1092 |
func (*InvalidRule) ProtoMessage() {} |
| 1093 |
|
| 1094 |
func (x *InvalidRule) ProtoReflect() protoreflect.Message { |
| 1095 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[12] |
| 1096 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1097 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1098 |
if ms.LoadMessageInfo() == nil { |
| 1099 |
ms.StoreMessageInfo(mi) |
| 1100 |
} |
| 1101 |
return ms |
| 1102 |
} |
| 1103 |
return mi.MessageOf(x) |
| 1104 |
} |
| 1105 |
|
| 1106 |
// Deprecated: Use InvalidRule.ProtoReflect.Descriptor instead. |
| 1107 |
func (*InvalidRule) Descriptor() ([]byte, []int) { |
| 1108 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{12} |
| 1109 |
} |
| 1110 |
|
| 1111 |
func (x *InvalidRule) GetRule() *Rule { |
| 1112 |
if x != nil { |
| 1113 |
return x.Rule |
| 1114 |
} |
| 1115 |
return nil |
| 1116 |
} |
| 1117 |
|
| 1118 |
func (x *InvalidRule) GetError() string { |
| 1119 |
if x != nil { |
| 1120 |
return x.Error |
| 1121 |
} |
| 1122 |
return "" |
| 1123 |
} |
| 1124 |
|
| 1125 |
// Represents the output of the Action Executor. |
| 1126 |
type ActionExecutorOutput struct { |
| 1127 |
state protoimpl.MessageState |
| 1128 |
sizeCache protoimpl.SizeCache |
| 1129 |
unknownFields protoimpl.UnknownFields |
| 1130 |
|
| 1131 |
// List of rule and corresponding actions result. |
| 1132 |
RuleActionsPairs []*RuleActionsPair `protobuf:"bytes,1,rep,name=rule_actions_pairs,json=ruleActionsPairs,proto3" json:"rule_actions_pairs,omitempty"` |
| 1133 |
} |
| 1134 |
|
| 1135 |
func (x *ActionExecutorOutput) Reset() { |
| 1136 |
*x = ActionExecutorOutput{} |
| 1137 |
if protoimpl.UnsafeEnabled { |
| 1138 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[13] |
| 1139 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1140 |
ms.StoreMessageInfo(mi) |
| 1141 |
} |
| 1142 |
} |
| 1143 |
|
| 1144 |
func (x *ActionExecutorOutput) String() string { |
| 1145 |
return protoimpl.X.MessageStringOf(x) |
| 1146 |
} |
| 1147 |
|
| 1148 |
func (*ActionExecutorOutput) ProtoMessage() {} |
| 1149 |
|
| 1150 |
func (x *ActionExecutorOutput) ProtoReflect() protoreflect.Message { |
| 1151 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[13] |
| 1152 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1153 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1154 |
if ms.LoadMessageInfo() == nil { |
| 1155 |
ms.StoreMessageInfo(mi) |
| 1156 |
} |
| 1157 |
return ms |
| 1158 |
} |
| 1159 |
return mi.MessageOf(x) |
| 1160 |
} |
| 1161 |
|
| 1162 |
// Deprecated: Use ActionExecutorOutput.ProtoReflect.Descriptor instead. |
| 1163 |
func (*ActionExecutorOutput) Descriptor() ([]byte, []int) { |
| 1164 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{13} |
| 1165 |
} |
| 1166 |
|
| 1167 |
func (x *ActionExecutorOutput) GetRuleActionsPairs() []*RuleActionsPair { |
| 1168 |
if x != nil { |
| 1169 |
return x.RuleActionsPairs |
| 1170 |
} |
| 1171 |
return nil |
| 1172 |
} |
| 1173 |
|
| 1174 |
// Represents a rule and outputs of associated actions. |
| 1175 |
type RuleActionsPair struct { |
| 1176 |
state protoimpl.MessageState |
| 1177 |
sizeCache protoimpl.SizeCache |
| 1178 |
unknownFields protoimpl.UnknownFields |
| 1179 |
|
| 1180 |
// Represents the rule. |
| 1181 |
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` |
| 1182 |
// Outputs of executing the actions associated with the above rule. |
| 1183 |
ActionOutputs []*ActionOutput `protobuf:"bytes,2,rep,name=action_outputs,json=actionOutputs,proto3" json:"action_outputs,omitempty"` |
| 1184 |
} |
| 1185 |
|
| 1186 |
func (x *RuleActionsPair) Reset() { |
| 1187 |
*x = RuleActionsPair{} |
| 1188 |
if protoimpl.UnsafeEnabled { |
| 1189 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[14] |
| 1190 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1191 |
ms.StoreMessageInfo(mi) |
| 1192 |
} |
| 1193 |
} |
| 1194 |
|
| 1195 |
func (x *RuleActionsPair) String() string { |
| 1196 |
return protoimpl.X.MessageStringOf(x) |
| 1197 |
} |
| 1198 |
|
| 1199 |
func (*RuleActionsPair) ProtoMessage() {} |
| 1200 |
|
| 1201 |
func (x *RuleActionsPair) ProtoReflect() protoreflect.Message { |
| 1202 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[14] |
| 1203 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1204 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1205 |
if ms.LoadMessageInfo() == nil { |
| 1206 |
ms.StoreMessageInfo(mi) |
| 1207 |
} |
| 1208 |
return ms |
| 1209 |
} |
| 1210 |
return mi.MessageOf(x) |
| 1211 |
} |
| 1212 |
|
| 1213 |
// Deprecated: Use RuleActionsPair.ProtoReflect.Descriptor instead. |
| 1214 |
func (*RuleActionsPair) Descriptor() ([]byte, []int) { |
| 1215 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{14} |
| 1216 |
} |
| 1217 |
|
| 1218 |
func (x *RuleActionsPair) GetRule() *Rule { |
| 1219 |
if x != nil { |
| 1220 |
return x.Rule |
| 1221 |
} |
| 1222 |
return nil |
| 1223 |
} |
| 1224 |
|
| 1225 |
func (x *RuleActionsPair) GetActionOutputs() []*ActionOutput { |
| 1226 |
if x != nil { |
| 1227 |
return x.ActionOutputs |
| 1228 |
} |
| 1229 |
return nil |
| 1230 |
} |
| 1231 |
|
| 1232 |
// Represents the result of executing an action. |
| 1233 |
type ActionOutput struct { |
| 1234 |
state protoimpl.MessageState |
| 1235 |
sizeCache protoimpl.SizeCache |
| 1236 |
unknownFields protoimpl.UnknownFields |
| 1237 |
|
| 1238 |
// ID of the action. |
| 1239 |
ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` |
| 1240 |
// State of an action. |
| 1241 |
ActionState ActionOutput_State `protobuf:"varint,2,opt,name=action_state,json=actionState,proto3,enum=google.cloud.contentwarehouse.v1.ActionOutput_State" json:"action_state,omitempty"` |
| 1242 |
// Action execution output message. |
| 1243 |
OutputMessage string `protobuf:"bytes,3,opt,name=output_message,json=outputMessage,proto3" json:"output_message,omitempty"` |
| 1244 |
} |
| 1245 |
|
| 1246 |
func (x *ActionOutput) Reset() { |
| 1247 |
*x = ActionOutput{} |
| 1248 |
if protoimpl.UnsafeEnabled { |
| 1249 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[15] |
| 1250 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1251 |
ms.StoreMessageInfo(mi) |
| 1252 |
} |
| 1253 |
} |
| 1254 |
|
| 1255 |
func (x *ActionOutput) String() string { |
| 1256 |
return protoimpl.X.MessageStringOf(x) |
| 1257 |
} |
| 1258 |
|
| 1259 |
func (*ActionOutput) ProtoMessage() {} |
| 1260 |
|
| 1261 |
func (x *ActionOutput) ProtoReflect() protoreflect.Message { |
| 1262 |
mi := &file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[15] |
| 1263 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1264 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1265 |
if ms.LoadMessageInfo() == nil { |
| 1266 |
ms.StoreMessageInfo(mi) |
| 1267 |
} |
| 1268 |
return ms |
| 1269 |
} |
| 1270 |
return mi.MessageOf(x) |
| 1271 |
} |
| 1272 |
|
| 1273 |
// Deprecated: Use ActionOutput.ProtoReflect.Descriptor instead. |
| 1274 |
func (*ActionOutput) Descriptor() ([]byte, []int) { |
| 1275 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP(), []int{15} |
| 1276 |
} |
| 1277 |
|
| 1278 |
func (x *ActionOutput) GetActionId() string { |
| 1279 |
if x != nil { |
| 1280 |
return x.ActionId |
| 1281 |
} |
| 1282 |
return "" |
| 1283 |
} |
| 1284 |
|
| 1285 |
func (x *ActionOutput) GetActionState() ActionOutput_State { |
| 1286 |
if x != nil { |
| 1287 |
return x.ActionState |
| 1288 |
} |
| 1289 |
return ActionOutput_UNKNOWN |
| 1290 |
} |
| 1291 |
|
| 1292 |
func (x *ActionOutput) GetOutputMessage() string { |
| 1293 |
if x != nil { |
| 1294 |
return x.OutputMessage |
| 1295 |
} |
| 1296 |
return "" |
| 1297 |
} |
| 1298 |
|
| 1299 |
var File_google_cloud_contentwarehouse_v1_rule_engine_proto protoreflect.FileDescriptor |
| 1300 |
|
| 1301 |
var file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDesc = []byte{ |
| 1302 |
0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 1303 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, |
| 1304 |
0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, |
| 1305 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1306 |
0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, |
| 1307 |
0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 1308 |
0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, |
| 1309 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 1310 |
0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 1311 |
0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, |
| 1312 |
0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, |
| 1313 |
0x02, 0x0a, 0x07, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, |
| 1314 |
0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, |
| 1315 |
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, |
| 1316 |
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 1317 |
0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 1318 |
0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, |
| 1319 |
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1320 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, |
| 1321 |
0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, |
| 1322 |
0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x3a, 0x69, 0xea, 0x41, 0x66, 0x0a, 0x27, 0x63, 0x6f, 0x6e, |
| 1323 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, |
| 1324 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x75, 0x6c, |
| 1325 |
0x65, 0x53, 0x65, 0x74, 0x12, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, |
| 1326 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 1327 |
0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x75, |
| 1328 |
0x6c, 0x65, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x74, |
| 1329 |
0x7d, 0x22, 0xb4, 0x02, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, |
| 1330 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1331 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, |
| 1332 |
0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, |
| 1333 |
0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x55, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, |
| 1334 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, |
| 1335 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 1336 |
0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, |
| 1337 |
0x75, 0x6c, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, |
| 1338 |
0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, |
| 1339 |
0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1340 |
0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x07, 0x61, 0x63, |
| 1341 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, |
| 1342 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 1343 |
0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, |
| 1344 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x38, |
| 1345 |
0x0a, 0x0b, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, |
| 1346 |
0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x4e, |
| 1347 |
0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x4e, 0x5f, |
| 1348 |
0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x22, 0xeb, 0x05, 0x0a, 0x06, 0x41, 0x63, 0x74, |
| 1349 |
0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, |
| 1350 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, |
| 1351 |
0x12, 0x5e, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, |
| 1352 |
0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1353 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 1354 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, |
| 1355 |
0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, |
| 1356 |
0x00, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 1357 |
0x12, 0x61, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, |
| 1358 |
0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1359 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 1360 |
0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, |
| 1361 |
0x61, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 1362 |
0x6e, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, |
| 1363 |
0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x75, 0x70, 0x64, 0x61, |
| 1364 |
0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1365 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 1366 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, |
| 1367 |
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, |
| 1368 |
0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x64, |
| 1369 |
0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 1370 |
0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1371 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 1372 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, |
| 1373 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x54, 0x6f, 0x46, |
| 1374 |
0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x5e, 0x0a, 0x12, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, |
| 1375 |
0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x73, 0x75, 0x62, 0x18, 0x06, 0x20, 0x01, 0x28, |
| 1376 |
0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1377 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 1378 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x41, 0x63, 0x74, 0x69, |
| 1379 |
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x6f, 0x50, |
| 1380 |
0x75, 0x62, 0x53, 0x75, 0x62, 0x12, 0x75, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, |
| 1381 |
0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x74, 0x69, |
| 1382 |
0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1383 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 1384 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, |
| 1385 |
0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, |
| 1386 |
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, |
| 1387 |
0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x16, |
| 1388 |
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, |
| 1389 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, |
| 1390 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 1391 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 1392 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, |
| 1393 |
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, |
| 1394 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, |
| 1395 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x02, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x65, 0x73, |
| 1396 |
0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6a, |
| 1397 |
0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 1398 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1399 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 1400 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, |
| 1401 |
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, |
| 1402 |
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x6f, 0x70, 0x65, |
| 1403 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, |
| 1404 |
0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, |
| 1405 |
0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 1406 |
0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6b, 0x0a, 0x0d, 0x4f, 0x70, 0x65, |
| 1407 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, |
| 1408 |
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x44, 0x44, 0x5f, 0x50, |
| 1409 |
0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, |
| 1410 |
0x19, 0x0a, 0x15, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, |
| 1411 |
0x5f, 0x42, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, |
| 1412 |
0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x42, 0x49, 0x4e, |
| 1413 |
0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x22, 0xbd, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x56, |
| 1414 |
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 1415 |
0x66, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, |
| 1416 |
0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1417 |
0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, |
| 1418 |
0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x56, 0x61, 0x6c, 0x69, 0x64, |
| 1419 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x64, |
| 1420 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x6f, 0x6e, |
| 1421 |
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x64, 0x69, |
| 1422 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, |
| 1423 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, |
| 1424 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 1425 |
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa9, 0x01, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x55, |
| 1426 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x07, 0x65, |
| 1427 |
0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, |
| 1428 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 1429 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 1430 |
0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 1431 |
0x2e, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, |
| 1432 |
0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, |
| 1433 |
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 1434 |
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 1435 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 1436 |
0x38, 0x01, 0x22, 0x5c, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x46, 0x6f, 0x6c, 0x64, 0x65, |
| 1437 |
0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, |
| 1438 |
0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2d, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, |
| 1439 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 1440 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, |
| 1441 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, |
| 1442 |
0x22, 0x7d, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x46, 0x6f, |
| 1443 |
0x6c, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, |
| 1444 |
0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, |
| 1445 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, |
| 1446 |
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, |
| 1447 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 1448 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, |
| 1449 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, |
| 1450 |
0x46, 0x0a, 0x0d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 1451 |
0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, |
| 1452 |
0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6d, |
| 1453 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, |
| 1454 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x44, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, |
| 1455 |
0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 1456 |
0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x64, |
| 1457 |
0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x6e, 0x61, |
| 1458 |
0x62, 0x6c, 0x65, 0x48, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x90, 0x02, |
| 1459 |
0x0a, 0x10, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x70, |
| 1460 |
0x75, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, |
| 1461 |
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x63, 0x75, 0x6d, |
| 1462 |
0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x69, 0x0a, 0x15, 0x72, 0x75, 0x6c, 0x65, 0x5f, |
| 1463 |
0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| 1464 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1465 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 1466 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, |
| 1467 |
0x61, 0x6c, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x13, 0x72, |
| 1468 |
0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x75, 0x74, 0x70, |
| 1469 |
0x75, 0x74, 0x12, 0x6c, 0x0a, 0x16, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x65, |
| 1470 |
0x63, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, |
| 1471 |
0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 1472 |
0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, |
| 1473 |
0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, |
| 1474 |
0x75, 0x74, 0x6f, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x14, 0x61, 0x63, 0x74, 0x69, |
| 1475 |
0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| 1476 |
0x22, 0x87, 0x02, 0x0a, 0x13, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, |
| 1477 |
0x6f, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x4f, 0x0a, 0x0f, 0x74, 0x72, 0x69, 0x67, |
| 1478 |
0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 1479 |
0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1480 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 1481 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0e, 0x74, 0x72, 0x69, 0x67, 0x67, |
| 1482 |
0x65, 0x72, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0d, 0x6d, 0x61, 0x74, |
| 1483 |
0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, |
| 1484 |
0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1485 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 1486 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, |
| 1487 |
0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, |
| 1488 |
0x64, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, |
| 1489 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, |
| 1490 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, |
| 1491 |
0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0c, 0x69, 0x6e, |
| 1492 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x0b, 0x49, 0x6e, |
| 1493 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x72, 0x75, 0x6c, |
| 1494 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1495 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, |
| 1496 |
0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, |
| 1497 |
0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, |
| 1498 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x77, 0x0a, 0x14, 0x41, |
| 1499 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x4f, 0x75, 0x74, |
| 1500 |
0x70, 0x75, 0x74, 0x12, 0x5f, 0x0a, 0x12, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, |
| 1501 |
0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 1502 |
0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 1503 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 1504 |
0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x61, |
| 1505 |
0x69, 0x72, 0x52, 0x10, 0x72, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, |
| 1506 |
0x61, 0x69, 0x72, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0f, 0x52, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x74, |
| 1507 |
0x69, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x69, 0x72, 0x12, 0x3a, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, |
| 1508 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1509 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 1510 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, |
| 1511 |
0x72, 0x75, 0x6c, 0x65, 0x12, 0x55, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, |
| 1512 |
0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, |
| 1513 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 1514 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 1515 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x61, 0x63, |
| 1516 |
0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x94, 0x02, 0x0a, 0x0c, |
| 1517 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, |
| 1518 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1519 |
0x08, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x0c, 0x61, 0x63, 0x74, |
| 1520 |
0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 1521 |
0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 1522 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 1523 |
0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, |
| 1524 |
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, |
| 1525 |
0x74, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x65, 0x73, |
| 1526 |
0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x75, 0x74, 0x70, |
| 1527 |
0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x67, 0x0a, 0x05, 0x53, 0x74, 0x61, |
| 1528 |
0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, |
| 1529 |
0x14, 0x0a, 0x10, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, |
| 1530 |
0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, |
| 1531 |
0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43, 0x54, 0x49, |
| 1532 |
0x4f, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x03, 0x12, 0x12, |
| 1533 |
0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, |
| 1534 |
0x10, 0x04, 0x42, 0x8b, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1535 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 1536 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x75, 0x6c, |
| 1537 |
0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, |
| 1538 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 1539 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1540 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, |
| 1541 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, |
| 1542 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 1543 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1544 |
} |
| 1545 |
|
| 1546 |
var ( |
| 1547 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescOnce sync.Once |
| 1548 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescData = file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDesc |
| 1549 |
) |
| 1550 |
|
| 1551 |
func file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescGZIP() []byte { |
| 1552 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescOnce.Do(func() { |
| 1553 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescData) |
| 1554 |
}) |
| 1555 |
return file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDescData |
| 1556 |
} |
| 1557 |
|
| 1558 |
var file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 1559 |
var file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes = make([]protoimpl.MessageInfo, 18) |
| 1560 |
var file_google_cloud_contentwarehouse_v1_rule_engine_proto_goTypes = []interface{}{ |
| 1561 |
(Rule_TriggerType)(0), // 0: google.cloud.contentwarehouse.v1.Rule.TriggerType |
| 1562 |
(AccessControlAction_OperationType)(0), // 1: google.cloud.contentwarehouse.v1.AccessControlAction.OperationType |
| 1563 |
(ActionOutput_State)(0), // 2: google.cloud.contentwarehouse.v1.ActionOutput.State |
| 1564 |
(*RuleSet)(nil), // 3: google.cloud.contentwarehouse.v1.RuleSet |
| 1565 |
(*Rule)(nil), // 4: google.cloud.contentwarehouse.v1.Rule |
| 1566 |
(*Action)(nil), // 5: google.cloud.contentwarehouse.v1.Action |
| 1567 |
(*AccessControlAction)(nil), // 6: google.cloud.contentwarehouse.v1.AccessControlAction |
| 1568 |
(*DataValidationAction)(nil), // 7: google.cloud.contentwarehouse.v1.DataValidationAction |
| 1569 |
(*DataUpdateAction)(nil), // 8: google.cloud.contentwarehouse.v1.DataUpdateAction |
| 1570 |
(*AddToFolderAction)(nil), // 9: google.cloud.contentwarehouse.v1.AddToFolderAction |
| 1571 |
(*RemoveFromFolderAction)(nil), // 10: google.cloud.contentwarehouse.v1.RemoveFromFolderAction |
| 1572 |
(*PublishAction)(nil), // 11: google.cloud.contentwarehouse.v1.PublishAction |
| 1573 |
(*DeleteDocumentAction)(nil), // 12: google.cloud.contentwarehouse.v1.DeleteDocumentAction |
| 1574 |
(*RuleEngineOutput)(nil), // 13: google.cloud.contentwarehouse.v1.RuleEngineOutput |
| 1575 |
(*RuleEvaluatorOutput)(nil), // 14: google.cloud.contentwarehouse.v1.RuleEvaluatorOutput |
| 1576 |
(*InvalidRule)(nil), // 15: google.cloud.contentwarehouse.v1.InvalidRule |
| 1577 |
(*ActionExecutorOutput)(nil), // 16: google.cloud.contentwarehouse.v1.ActionExecutorOutput |
| 1578 |
(*RuleActionsPair)(nil), // 17: google.cloud.contentwarehouse.v1.RuleActionsPair |
| 1579 |
(*ActionOutput)(nil), // 18: google.cloud.contentwarehouse.v1.ActionOutput |
| 1580 |
nil, // 19: google.cloud.contentwarehouse.v1.DataValidationAction.ConditionsEntry |
| 1581 |
nil, // 20: google.cloud.contentwarehouse.v1.DataUpdateAction.EntriesEntry |
| 1582 |
(*v1.Policy)(nil), // 21: google.iam.v1.Policy |
| 1583 |
} |
| 1584 |
var file_google_cloud_contentwarehouse_v1_rule_engine_proto_depIdxs = []int32{ |
| 1585 |
4, // 0: google.cloud.contentwarehouse.v1.RuleSet.rules:type_name -> google.cloud.contentwarehouse.v1.Rule |
| 1586 |
0, // 1: google.cloud.contentwarehouse.v1.Rule.trigger_type:type_name -> google.cloud.contentwarehouse.v1.Rule.TriggerType |
| 1587 |
5, // 2: google.cloud.contentwarehouse.v1.Rule.actions:type_name -> google.cloud.contentwarehouse.v1.Action |
| 1588 |
6, // 3: google.cloud.contentwarehouse.v1.Action.access_control:type_name -> google.cloud.contentwarehouse.v1.AccessControlAction |
| 1589 |
7, // 4: google.cloud.contentwarehouse.v1.Action.data_validation:type_name -> google.cloud.contentwarehouse.v1.DataValidationAction |
| 1590 |
8, // 5: google.cloud.contentwarehouse.v1.Action.data_update:type_name -> google.cloud.contentwarehouse.v1.DataUpdateAction |
| 1591 |
9, // 6: google.cloud.contentwarehouse.v1.Action.add_to_folder:type_name -> google.cloud.contentwarehouse.v1.AddToFolderAction |
| 1592 |
11, // 7: google.cloud.contentwarehouse.v1.Action.publish_to_pub_sub:type_name -> google.cloud.contentwarehouse.v1.PublishAction |
| 1593 |
10, // 8: google.cloud.contentwarehouse.v1.Action.remove_from_folder_action:type_name -> google.cloud.contentwarehouse.v1.RemoveFromFolderAction |
| 1594 |
12, // 9: google.cloud.contentwarehouse.v1.Action.delete_document_action:type_name -> google.cloud.contentwarehouse.v1.DeleteDocumentAction |
| 1595 |
1, // 10: google.cloud.contentwarehouse.v1.AccessControlAction.operation_type:type_name -> google.cloud.contentwarehouse.v1.AccessControlAction.OperationType |
| 1596 |
21, // 11: google.cloud.contentwarehouse.v1.AccessControlAction.policy:type_name -> google.iam.v1.Policy |
| 1597 |
19, // 12: google.cloud.contentwarehouse.v1.DataValidationAction.conditions:type_name -> google.cloud.contentwarehouse.v1.DataValidationAction.ConditionsEntry |
| 1598 |
20, // 13: google.cloud.contentwarehouse.v1.DataUpdateAction.entries:type_name -> google.cloud.contentwarehouse.v1.DataUpdateAction.EntriesEntry |
| 1599 |
14, // 14: google.cloud.contentwarehouse.v1.RuleEngineOutput.rule_evaluator_output:type_name -> google.cloud.contentwarehouse.v1.RuleEvaluatorOutput |
| 1600 |
16, // 15: google.cloud.contentwarehouse.v1.RuleEngineOutput.action_executor_output:type_name -> google.cloud.contentwarehouse.v1.ActionExecutorOutput |
| 1601 |
4, // 16: google.cloud.contentwarehouse.v1.RuleEvaluatorOutput.triggered_rules:type_name -> google.cloud.contentwarehouse.v1.Rule |
| 1602 |
4, // 17: google.cloud.contentwarehouse.v1.RuleEvaluatorOutput.matched_rules:type_name -> google.cloud.contentwarehouse.v1.Rule |
| 1603 |
15, // 18: google.cloud.contentwarehouse.v1.RuleEvaluatorOutput.invalid_rules:type_name -> google.cloud.contentwarehouse.v1.InvalidRule |
| 1604 |
4, // 19: google.cloud.contentwarehouse.v1.InvalidRule.rule:type_name -> google.cloud.contentwarehouse.v1.Rule |
| 1605 |
17, // 20: google.cloud.contentwarehouse.v1.ActionExecutorOutput.rule_actions_pairs:type_name -> google.cloud.contentwarehouse.v1.RuleActionsPair |
| 1606 |
4, // 21: google.cloud.contentwarehouse.v1.RuleActionsPair.rule:type_name -> google.cloud.contentwarehouse.v1.Rule |
| 1607 |
18, // 22: google.cloud.contentwarehouse.v1.RuleActionsPair.action_outputs:type_name -> google.cloud.contentwarehouse.v1.ActionOutput |
| 1608 |
2, // 23: google.cloud.contentwarehouse.v1.ActionOutput.action_state:type_name -> google.cloud.contentwarehouse.v1.ActionOutput.State |
| 1609 |
24, // [24:24] is the sub-list for method output_type |
| 1610 |
24, // [24:24] is the sub-list for method input_type |
| 1611 |
24, // [24:24] is the sub-list for extension type_name |
| 1612 |
24, // [24:24] is the sub-list for extension extendee |
| 1613 |
0, // [0:24] is the sub-list for field type_name |
| 1614 |
} |
| 1615 |
|
| 1616 |
func init() { file_google_cloud_contentwarehouse_v1_rule_engine_proto_init() } |
| 1617 |
func file_google_cloud_contentwarehouse_v1_rule_engine_proto_init() { |
| 1618 |
if File_google_cloud_contentwarehouse_v1_rule_engine_proto != nil { |
| 1619 |
return |
| 1620 |
} |
| 1621 |
if !protoimpl.UnsafeEnabled { |
| 1622 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1623 |
switch v := v.(*RuleSet); i { |
| 1624 |
case 0: |
| 1625 |
return &v.state |
| 1626 |
case 1: |
| 1627 |
return &v.sizeCache |
| 1628 |
case 2: |
| 1629 |
return &v.unknownFields |
| 1630 |
default: |
| 1631 |
return nil |
| 1632 |
} |
| 1633 |
} |
| 1634 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1635 |
switch v := v.(*Rule); i { |
| 1636 |
case 0: |
| 1637 |
return &v.state |
| 1638 |
case 1: |
| 1639 |
return &v.sizeCache |
| 1640 |
case 2: |
| 1641 |
return &v.unknownFields |
| 1642 |
default: |
| 1643 |
return nil |
| 1644 |
} |
| 1645 |
} |
| 1646 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1647 |
switch v := v.(*Action); i { |
| 1648 |
case 0: |
| 1649 |
return &v.state |
| 1650 |
case 1: |
| 1651 |
return &v.sizeCache |
| 1652 |
case 2: |
| 1653 |
return &v.unknownFields |
| 1654 |
default: |
| 1655 |
return nil |
| 1656 |
} |
| 1657 |
} |
| 1658 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1659 |
switch v := v.(*AccessControlAction); i { |
| 1660 |
case 0: |
| 1661 |
return &v.state |
| 1662 |
case 1: |
| 1663 |
return &v.sizeCache |
| 1664 |
case 2: |
| 1665 |
return &v.unknownFields |
| 1666 |
default: |
| 1667 |
return nil |
| 1668 |
} |
| 1669 |
} |
| 1670 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1671 |
switch v := v.(*DataValidationAction); i { |
| 1672 |
case 0: |
| 1673 |
return &v.state |
| 1674 |
case 1: |
| 1675 |
return &v.sizeCache |
| 1676 |
case 2: |
| 1677 |
return &v.unknownFields |
| 1678 |
default: |
| 1679 |
return nil |
| 1680 |
} |
| 1681 |
} |
| 1682 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1683 |
switch v := v.(*DataUpdateAction); i { |
| 1684 |
case 0: |
| 1685 |
return &v.state |
| 1686 |
case 1: |
| 1687 |
return &v.sizeCache |
| 1688 |
case 2: |
| 1689 |
return &v.unknownFields |
| 1690 |
default: |
| 1691 |
return nil |
| 1692 |
} |
| 1693 |
} |
| 1694 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1695 |
switch v := v.(*AddToFolderAction); i { |
| 1696 |
case 0: |
| 1697 |
return &v.state |
| 1698 |
case 1: |
| 1699 |
return &v.sizeCache |
| 1700 |
case 2: |
| 1701 |
return &v.unknownFields |
| 1702 |
default: |
| 1703 |
return nil |
| 1704 |
} |
| 1705 |
} |
| 1706 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1707 |
switch v := v.(*RemoveFromFolderAction); i { |
| 1708 |
case 0: |
| 1709 |
return &v.state |
| 1710 |
case 1: |
| 1711 |
return &v.sizeCache |
| 1712 |
case 2: |
| 1713 |
return &v.unknownFields |
| 1714 |
default: |
| 1715 |
return nil |
| 1716 |
} |
| 1717 |
} |
| 1718 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1719 |
switch v := v.(*PublishAction); i { |
| 1720 |
case 0: |
| 1721 |
return &v.state |
| 1722 |
case 1: |
| 1723 |
return &v.sizeCache |
| 1724 |
case 2: |
| 1725 |
return &v.unknownFields |
| 1726 |
default: |
| 1727 |
return nil |
| 1728 |
} |
| 1729 |
} |
| 1730 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1731 |
switch v := v.(*DeleteDocumentAction); i { |
| 1732 |
case 0: |
| 1733 |
return &v.state |
| 1734 |
case 1: |
| 1735 |
return &v.sizeCache |
| 1736 |
case 2: |
| 1737 |
return &v.unknownFields |
| 1738 |
default: |
| 1739 |
return nil |
| 1740 |
} |
| 1741 |
} |
| 1742 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1743 |
switch v := v.(*RuleEngineOutput); i { |
| 1744 |
case 0: |
| 1745 |
return &v.state |
| 1746 |
case 1: |
| 1747 |
return &v.sizeCache |
| 1748 |
case 2: |
| 1749 |
return &v.unknownFields |
| 1750 |
default: |
| 1751 |
return nil |
| 1752 |
} |
| 1753 |
} |
| 1754 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1755 |
switch v := v.(*RuleEvaluatorOutput); i { |
| 1756 |
case 0: |
| 1757 |
return &v.state |
| 1758 |
case 1: |
| 1759 |
return &v.sizeCache |
| 1760 |
case 2: |
| 1761 |
return &v.unknownFields |
| 1762 |
default: |
| 1763 |
return nil |
| 1764 |
} |
| 1765 |
} |
| 1766 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1767 |
switch v := v.(*InvalidRule); i { |
| 1768 |
case 0: |
| 1769 |
return &v.state |
| 1770 |
case 1: |
| 1771 |
return &v.sizeCache |
| 1772 |
case 2: |
| 1773 |
return &v.unknownFields |
| 1774 |
default: |
| 1775 |
return nil |
| 1776 |
} |
| 1777 |
} |
| 1778 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 1779 |
switch v := v.(*ActionExecutorOutput); i { |
| 1780 |
case 0: |
| 1781 |
return &v.state |
| 1782 |
case 1: |
| 1783 |
return &v.sizeCache |
| 1784 |
case 2: |
| 1785 |
return &v.unknownFields |
| 1786 |
default: |
| 1787 |
return nil |
| 1788 |
} |
| 1789 |
} |
| 1790 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 1791 |
switch v := v.(*RuleActionsPair); i { |
| 1792 |
case 0: |
| 1793 |
return &v.state |
| 1794 |
case 1: |
| 1795 |
return &v.sizeCache |
| 1796 |
case 2: |
| 1797 |
return &v.unknownFields |
| 1798 |
default: |
| 1799 |
return nil |
| 1800 |
} |
| 1801 |
} |
| 1802 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 1803 |
switch v := v.(*ActionOutput); i { |
| 1804 |
case 0: |
| 1805 |
return &v.state |
| 1806 |
case 1: |
| 1807 |
return &v.sizeCache |
| 1808 |
case 2: |
| 1809 |
return &v.unknownFields |
| 1810 |
default: |
| 1811 |
return nil |
| 1812 |
} |
| 1813 |
} |
| 1814 |
} |
| 1815 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes[2].OneofWrappers = []interface{}{ |
| 1816 |
(*Action_AccessControl)(nil), |
| 1817 |
(*Action_DataValidation)(nil), |
| 1818 |
(*Action_DataUpdate)(nil), |
| 1819 |
(*Action_AddToFolder)(nil), |
| 1820 |
(*Action_PublishToPubSub)(nil), |
| 1821 |
(*Action_RemoveFromFolderAction)(nil), |
| 1822 |
(*Action_DeleteDocumentAction)(nil), |
| 1823 |
} |
| 1824 |
type x struct{} |
| 1825 |
out := protoimpl.TypeBuilder{ |
| 1826 |
File: protoimpl.DescBuilder{ |
| 1827 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1828 |
RawDescriptor: file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDesc, |
| 1829 |
NumEnums: 3, |
| 1830 |
NumMessages: 18, |
| 1831 |
NumExtensions: 0, |
| 1832 |
NumServices: 0, |
| 1833 |
}, |
| 1834 |
GoTypes: file_google_cloud_contentwarehouse_v1_rule_engine_proto_goTypes, |
| 1835 |
DependencyIndexes: file_google_cloud_contentwarehouse_v1_rule_engine_proto_depIdxs, |
| 1836 |
EnumInfos: file_google_cloud_contentwarehouse_v1_rule_engine_proto_enumTypes, |
| 1837 |
MessageInfos: file_google_cloud_contentwarehouse_v1_rule_engine_proto_msgTypes, |
| 1838 |
}.Build() |
| 1839 |
File_google_cloud_contentwarehouse_v1_rule_engine_proto = out.File |
| 1840 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_rawDesc = nil |
| 1841 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_goTypes = nil |
| 1842 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_depIdxs = nil |
| 1843 |
} |