github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/log_condition/log_condition.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/log_condition.proto 3 // DO NOT EDIT!!! 4 5 package log_condition 6 7 // proto imports 8 import ( 9 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 10 document "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/document" 11 log_condition_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/log_condition_template" 12 notification_channel "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/notification_channel" 13 policy "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy" 14 policy_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy_template" 15 api "github.com/cloudwan/edgelq-sdk/common/api" 16 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 17 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 18 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 19 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 20 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 21 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 22 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 23 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 24 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 25 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 26 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 27 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 28 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 29 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 30 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 31 meta "github.com/cloudwan/goten-sdk/types/meta" 32 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 33 anypb "google.golang.org/protobuf/types/known/anypb" 34 durationpb "google.golang.org/protobuf/types/known/durationpb" 35 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 36 structpb "google.golang.org/protobuf/types/known/structpb" 37 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &document.Document{} 43 _ = &log_condition_template.LogConditionTemplate{} 44 _ = ¬ification_channel.NotificationChannel{} 45 _ = &policy.Policy{} 46 _ = &policy_template.PolicyTemplate{} 47 _ = &rcommon.LogCndSpec{} 48 _ = api.LaunchStage(0) 49 _ = &iam_iam_common.PCR{} 50 _ = &iam_organization.Organization{} 51 _ = &iam_project.Project{} 52 _ = &logging_bucket.Bucket{} 53 _ = &logging_common.LabelDescriptor{} 54 _ = &logging_log.Log{} 55 _ = &logging_log_descriptor.LogDescriptor{} 56 _ = &monitoring_common.LabelDescriptor{} 57 _ = &monitoring_metric_descriptor.MetricDescriptor{} 58 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 59 _ = &monitoring_project.Project{} 60 _ = &monitoring_time_serie.Point{} 61 _ = &anypb.Any{} 62 _ = &durationpb.Duration{} 63 _ = &fieldmaskpb.FieldMask{} 64 _ = &structpb.Struct{} 65 _ = ×tamppb.Timestamp{} 66 _ = &meta_common.LabelledDomain{} 67 _ = &meta_resource.Resource{} 68 _ = &meta_service.Service{} 69 _ = &meta.Meta{} 70 _ = &multi_region_policy.MultiRegionPolicy{} 71 ) 72 73 type LogConditionFieldPathBuilder struct{} 74 75 func NewLogConditionFieldPathBuilder() LogConditionFieldPathBuilder { 76 return LogConditionFieldPathBuilder{} 77 } 78 func (LogConditionFieldPathBuilder) Name() LogConditionPathSelectorName { 79 return LogConditionPathSelectorName{} 80 } 81 func (LogConditionFieldPathBuilder) Metadata() LogConditionPathSelectorMetadata { 82 return LogConditionPathSelectorMetadata{} 83 } 84 func (LogConditionFieldPathBuilder) DisplayName() LogConditionPathSelectorDisplayName { 85 return LogConditionPathSelectorDisplayName{} 86 } 87 func (LogConditionFieldPathBuilder) Description() LogConditionPathSelectorDescription { 88 return LogConditionPathSelectorDescription{} 89 } 90 func (LogConditionFieldPathBuilder) SupportingDocs() LogConditionPathSelectorSupportingDocs { 91 return LogConditionPathSelectorSupportingDocs{} 92 } 93 func (LogConditionFieldPathBuilder) Spec() LogConditionPathSelectorSpec { 94 return LogConditionPathSelectorSpec{} 95 } 96 func (LogConditionFieldPathBuilder) Internal() LogConditionPathSelectorInternal { 97 return LogConditionPathSelectorInternal{} 98 } 99 func (LogConditionFieldPathBuilder) TemplateSource() LogConditionPathSelectorTemplateSource { 100 return LogConditionPathSelectorTemplateSource{} 101 } 102 103 type LogConditionPathSelectorName struct{} 104 105 func (LogConditionPathSelectorName) FieldPath() *LogCondition_FieldTerminalPath { 106 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorName} 107 } 108 109 func (s LogConditionPathSelectorName) WithValue(value *Name) *LogCondition_FieldTerminalPathValue { 110 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 111 } 112 113 func (s LogConditionPathSelectorName) WithArrayOfValues(values []*Name) *LogCondition_FieldTerminalPathArrayOfValues { 114 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 115 } 116 117 type LogConditionPathSelectorMetadata struct{} 118 119 func (LogConditionPathSelectorMetadata) FieldPath() *LogCondition_FieldTerminalPath { 120 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorMetadata} 121 } 122 123 func (s LogConditionPathSelectorMetadata) WithValue(value *meta.Meta) *LogCondition_FieldTerminalPathValue { 124 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 125 } 126 127 func (s LogConditionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *LogCondition_FieldTerminalPathArrayOfValues { 128 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 129 } 130 131 func (LogConditionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *LogCondition_FieldSubPath { 132 return &LogCondition_FieldSubPath{selector: LogCondition_FieldPathSelectorMetadata, subPath: subPath} 133 } 134 135 func (s LogConditionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *LogCondition_FieldSubPathValue { 136 return &LogCondition_FieldSubPathValue{LogCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 137 } 138 139 func (s LogConditionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *LogCondition_FieldSubPathArrayOfValues { 140 return &LogCondition_FieldSubPathArrayOfValues{LogCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 141 } 142 143 func (s LogConditionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *LogCondition_FieldSubPathArrayItemValue { 144 return &LogCondition_FieldSubPathArrayItemValue{LogCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 145 } 146 147 func (LogConditionPathSelectorMetadata) CreateTime() LogConditionPathSelectorMetadataCreateTime { 148 return LogConditionPathSelectorMetadataCreateTime{} 149 } 150 151 func (LogConditionPathSelectorMetadata) UpdateTime() LogConditionPathSelectorMetadataUpdateTime { 152 return LogConditionPathSelectorMetadataUpdateTime{} 153 } 154 155 func (LogConditionPathSelectorMetadata) DeleteTime() LogConditionPathSelectorMetadataDeleteTime { 156 return LogConditionPathSelectorMetadataDeleteTime{} 157 } 158 159 func (LogConditionPathSelectorMetadata) Uuid() LogConditionPathSelectorMetadataUuid { 160 return LogConditionPathSelectorMetadataUuid{} 161 } 162 163 func (LogConditionPathSelectorMetadata) Tags() LogConditionPathSelectorMetadataTags { 164 return LogConditionPathSelectorMetadataTags{} 165 } 166 167 func (LogConditionPathSelectorMetadata) Labels() LogConditionPathSelectorMetadataLabels { 168 return LogConditionPathSelectorMetadataLabels{} 169 } 170 171 func (LogConditionPathSelectorMetadata) Annotations() LogConditionPathSelectorMetadataAnnotations { 172 return LogConditionPathSelectorMetadataAnnotations{} 173 } 174 175 func (LogConditionPathSelectorMetadata) Generation() LogConditionPathSelectorMetadataGeneration { 176 return LogConditionPathSelectorMetadataGeneration{} 177 } 178 179 func (LogConditionPathSelectorMetadata) ResourceVersion() LogConditionPathSelectorMetadataResourceVersion { 180 return LogConditionPathSelectorMetadataResourceVersion{} 181 } 182 183 func (LogConditionPathSelectorMetadata) OwnerReferences() LogConditionPathSelectorMetadataOwnerReferences { 184 return LogConditionPathSelectorMetadataOwnerReferences{} 185 } 186 187 func (LogConditionPathSelectorMetadata) Shards() LogConditionPathSelectorMetadataShards { 188 return LogConditionPathSelectorMetadataShards{} 189 } 190 191 func (LogConditionPathSelectorMetadata) Syncing() LogConditionPathSelectorMetadataSyncing { 192 return LogConditionPathSelectorMetadataSyncing{} 193 } 194 195 func (LogConditionPathSelectorMetadata) Lifecycle() LogConditionPathSelectorMetadataLifecycle { 196 return LogConditionPathSelectorMetadataLifecycle{} 197 } 198 199 func (LogConditionPathSelectorMetadata) Services() LogConditionPathSelectorMetadataServices { 200 return LogConditionPathSelectorMetadataServices{} 201 } 202 203 type LogConditionPathSelectorMetadataCreateTime struct{} 204 205 func (LogConditionPathSelectorMetadataCreateTime) FieldPath() *LogCondition_FieldSubPath { 206 return &LogCondition_FieldSubPath{ 207 selector: LogCondition_FieldPathSelectorMetadata, 208 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 209 } 210 } 211 212 func (s LogConditionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *LogCondition_FieldSubPathValue { 213 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 214 } 215 216 func (s LogConditionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogCondition_FieldSubPathArrayOfValues { 217 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 218 } 219 220 type LogConditionPathSelectorMetadataUpdateTime struct{} 221 222 func (LogConditionPathSelectorMetadataUpdateTime) FieldPath() *LogCondition_FieldSubPath { 223 return &LogCondition_FieldSubPath{ 224 selector: LogCondition_FieldPathSelectorMetadata, 225 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 226 } 227 } 228 229 func (s LogConditionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *LogCondition_FieldSubPathValue { 230 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 231 } 232 233 func (s LogConditionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogCondition_FieldSubPathArrayOfValues { 234 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 235 } 236 237 type LogConditionPathSelectorMetadataDeleteTime struct{} 238 239 func (LogConditionPathSelectorMetadataDeleteTime) FieldPath() *LogCondition_FieldSubPath { 240 return &LogCondition_FieldSubPath{ 241 selector: LogCondition_FieldPathSelectorMetadata, 242 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 243 } 244 } 245 246 func (s LogConditionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *LogCondition_FieldSubPathValue { 247 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 248 } 249 250 func (s LogConditionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *LogCondition_FieldSubPathArrayOfValues { 251 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 252 } 253 254 type LogConditionPathSelectorMetadataUuid struct{} 255 256 func (LogConditionPathSelectorMetadataUuid) FieldPath() *LogCondition_FieldSubPath { 257 return &LogCondition_FieldSubPath{ 258 selector: LogCondition_FieldPathSelectorMetadata, 259 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 260 } 261 } 262 263 func (s LogConditionPathSelectorMetadataUuid) WithValue(value string) *LogCondition_FieldSubPathValue { 264 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 265 } 266 267 func (s LogConditionPathSelectorMetadataUuid) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 268 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 269 } 270 271 type LogConditionPathSelectorMetadataTags struct{} 272 273 func (LogConditionPathSelectorMetadataTags) FieldPath() *LogCondition_FieldSubPath { 274 return &LogCondition_FieldSubPath{ 275 selector: LogCondition_FieldPathSelectorMetadata, 276 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 277 } 278 } 279 280 func (s LogConditionPathSelectorMetadataTags) WithValue(value []string) *LogCondition_FieldSubPathValue { 281 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 282 } 283 284 func (s LogConditionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *LogCondition_FieldSubPathArrayOfValues { 285 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 286 } 287 288 func (s LogConditionPathSelectorMetadataTags) WithItemValue(value string) *LogCondition_FieldSubPathArrayItemValue { 289 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldSubPathArrayItemValue) 290 } 291 292 type LogConditionPathSelectorMetadataLabels struct{} 293 294 func (LogConditionPathSelectorMetadataLabels) FieldPath() *LogCondition_FieldSubPath { 295 return &LogCondition_FieldSubPath{ 296 selector: LogCondition_FieldPathSelectorMetadata, 297 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 298 } 299 } 300 301 func (s LogConditionPathSelectorMetadataLabels) WithValue(value map[string]string) *LogCondition_FieldSubPathValue { 302 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 303 } 304 305 func (s LogConditionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *LogCondition_FieldSubPathArrayOfValues { 306 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 307 } 308 309 func (LogConditionPathSelectorMetadataLabels) WithKey(key string) LogConditionMapPathSelectorMetadataLabels { 310 return LogConditionMapPathSelectorMetadataLabels{key: key} 311 } 312 313 type LogConditionMapPathSelectorMetadataLabels struct { 314 key string 315 } 316 317 func (s LogConditionMapPathSelectorMetadataLabels) FieldPath() *LogCondition_FieldSubPath { 318 return &LogCondition_FieldSubPath{ 319 selector: LogCondition_FieldPathSelectorMetadata, 320 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 321 } 322 } 323 324 func (s LogConditionMapPathSelectorMetadataLabels) WithValue(value string) *LogCondition_FieldSubPathValue { 325 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 326 } 327 328 func (s LogConditionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 329 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 330 } 331 332 type LogConditionPathSelectorMetadataAnnotations struct{} 333 334 func (LogConditionPathSelectorMetadataAnnotations) FieldPath() *LogCondition_FieldSubPath { 335 return &LogCondition_FieldSubPath{ 336 selector: LogCondition_FieldPathSelectorMetadata, 337 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 338 } 339 } 340 341 func (s LogConditionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *LogCondition_FieldSubPathValue { 342 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 343 } 344 345 func (s LogConditionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *LogCondition_FieldSubPathArrayOfValues { 346 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 347 } 348 349 func (LogConditionPathSelectorMetadataAnnotations) WithKey(key string) LogConditionMapPathSelectorMetadataAnnotations { 350 return LogConditionMapPathSelectorMetadataAnnotations{key: key} 351 } 352 353 type LogConditionMapPathSelectorMetadataAnnotations struct { 354 key string 355 } 356 357 func (s LogConditionMapPathSelectorMetadataAnnotations) FieldPath() *LogCondition_FieldSubPath { 358 return &LogCondition_FieldSubPath{ 359 selector: LogCondition_FieldPathSelectorMetadata, 360 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 361 } 362 } 363 364 func (s LogConditionMapPathSelectorMetadataAnnotations) WithValue(value string) *LogCondition_FieldSubPathValue { 365 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 366 } 367 368 func (s LogConditionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 369 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 370 } 371 372 type LogConditionPathSelectorMetadataGeneration struct{} 373 374 func (LogConditionPathSelectorMetadataGeneration) FieldPath() *LogCondition_FieldSubPath { 375 return &LogCondition_FieldSubPath{ 376 selector: LogCondition_FieldPathSelectorMetadata, 377 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 378 } 379 } 380 381 func (s LogConditionPathSelectorMetadataGeneration) WithValue(value int64) *LogCondition_FieldSubPathValue { 382 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 383 } 384 385 func (s LogConditionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *LogCondition_FieldSubPathArrayOfValues { 386 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 387 } 388 389 type LogConditionPathSelectorMetadataResourceVersion struct{} 390 391 func (LogConditionPathSelectorMetadataResourceVersion) FieldPath() *LogCondition_FieldSubPath { 392 return &LogCondition_FieldSubPath{ 393 selector: LogCondition_FieldPathSelectorMetadata, 394 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 395 } 396 } 397 398 func (s LogConditionPathSelectorMetadataResourceVersion) WithValue(value string) *LogCondition_FieldSubPathValue { 399 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 400 } 401 402 func (s LogConditionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 403 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 404 } 405 406 type LogConditionPathSelectorMetadataOwnerReferences struct{} 407 408 func (LogConditionPathSelectorMetadataOwnerReferences) FieldPath() *LogCondition_FieldSubPath { 409 return &LogCondition_FieldSubPath{ 410 selector: LogCondition_FieldPathSelectorMetadata, 411 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 412 } 413 } 414 415 func (s LogConditionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *LogCondition_FieldSubPathValue { 416 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 417 } 418 419 func (s LogConditionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *LogCondition_FieldSubPathArrayOfValues { 420 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 421 } 422 423 func (s LogConditionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *LogCondition_FieldSubPathArrayItemValue { 424 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldSubPathArrayItemValue) 425 } 426 427 func (LogConditionPathSelectorMetadataOwnerReferences) Kind() LogConditionPathSelectorMetadataOwnerReferencesKind { 428 return LogConditionPathSelectorMetadataOwnerReferencesKind{} 429 } 430 431 func (LogConditionPathSelectorMetadataOwnerReferences) Version() LogConditionPathSelectorMetadataOwnerReferencesVersion { 432 return LogConditionPathSelectorMetadataOwnerReferencesVersion{} 433 } 434 435 func (LogConditionPathSelectorMetadataOwnerReferences) Name() LogConditionPathSelectorMetadataOwnerReferencesName { 436 return LogConditionPathSelectorMetadataOwnerReferencesName{} 437 } 438 439 func (LogConditionPathSelectorMetadataOwnerReferences) Region() LogConditionPathSelectorMetadataOwnerReferencesRegion { 440 return LogConditionPathSelectorMetadataOwnerReferencesRegion{} 441 } 442 443 func (LogConditionPathSelectorMetadataOwnerReferences) Controller() LogConditionPathSelectorMetadataOwnerReferencesController { 444 return LogConditionPathSelectorMetadataOwnerReferencesController{} 445 } 446 447 func (LogConditionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 448 return LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 449 } 450 451 func (LogConditionPathSelectorMetadataOwnerReferences) UnsetOnDelete() LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete { 452 return LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 453 } 454 455 type LogConditionPathSelectorMetadataOwnerReferencesKind struct{} 456 457 func (LogConditionPathSelectorMetadataOwnerReferencesKind) FieldPath() *LogCondition_FieldSubPath { 458 return &LogCondition_FieldSubPath{ 459 selector: LogCondition_FieldPathSelectorMetadata, 460 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 461 } 462 } 463 464 func (s LogConditionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *LogCondition_FieldSubPathValue { 465 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 466 } 467 468 func (s LogConditionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 469 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 470 } 471 472 type LogConditionPathSelectorMetadataOwnerReferencesVersion struct{} 473 474 func (LogConditionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *LogCondition_FieldSubPath { 475 return &LogCondition_FieldSubPath{ 476 selector: LogCondition_FieldPathSelectorMetadata, 477 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 478 } 479 } 480 481 func (s LogConditionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *LogCondition_FieldSubPathValue { 482 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 483 } 484 485 func (s LogConditionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 486 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 487 } 488 489 type LogConditionPathSelectorMetadataOwnerReferencesName struct{} 490 491 func (LogConditionPathSelectorMetadataOwnerReferencesName) FieldPath() *LogCondition_FieldSubPath { 492 return &LogCondition_FieldSubPath{ 493 selector: LogCondition_FieldPathSelectorMetadata, 494 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 495 } 496 } 497 498 func (s LogConditionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *LogCondition_FieldSubPathValue { 499 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 500 } 501 502 func (s LogConditionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 503 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 504 } 505 506 type LogConditionPathSelectorMetadataOwnerReferencesRegion struct{} 507 508 func (LogConditionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *LogCondition_FieldSubPath { 509 return &LogCondition_FieldSubPath{ 510 selector: LogCondition_FieldPathSelectorMetadata, 511 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 512 } 513 } 514 515 func (s LogConditionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *LogCondition_FieldSubPathValue { 516 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 517 } 518 519 func (s LogConditionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 520 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 521 } 522 523 type LogConditionPathSelectorMetadataOwnerReferencesController struct{} 524 525 func (LogConditionPathSelectorMetadataOwnerReferencesController) FieldPath() *LogCondition_FieldSubPath { 526 return &LogCondition_FieldSubPath{ 527 selector: LogCondition_FieldPathSelectorMetadata, 528 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 529 } 530 } 531 532 func (s LogConditionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *LogCondition_FieldSubPathValue { 533 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 534 } 535 536 func (s LogConditionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *LogCondition_FieldSubPathArrayOfValues { 537 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 538 } 539 540 type LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 541 542 func (LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *LogCondition_FieldSubPath { 543 return &LogCondition_FieldSubPath{ 544 selector: LogCondition_FieldPathSelectorMetadata, 545 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 546 } 547 } 548 549 func (s LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *LogCondition_FieldSubPathValue { 550 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 551 } 552 553 func (s LogConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *LogCondition_FieldSubPathArrayOfValues { 554 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 555 } 556 557 type LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 558 559 func (LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *LogCondition_FieldSubPath { 560 return &LogCondition_FieldSubPath{ 561 selector: LogCondition_FieldPathSelectorMetadata, 562 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 563 } 564 } 565 566 func (s LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *LogCondition_FieldSubPathValue { 567 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 568 } 569 570 func (s LogConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *LogCondition_FieldSubPathArrayOfValues { 571 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 572 } 573 574 type LogConditionPathSelectorMetadataShards struct{} 575 576 func (LogConditionPathSelectorMetadataShards) FieldPath() *LogCondition_FieldSubPath { 577 return &LogCondition_FieldSubPath{ 578 selector: LogCondition_FieldPathSelectorMetadata, 579 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 580 } 581 } 582 583 func (s LogConditionPathSelectorMetadataShards) WithValue(value map[string]int64) *LogCondition_FieldSubPathValue { 584 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 585 } 586 587 func (s LogConditionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *LogCondition_FieldSubPathArrayOfValues { 588 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 589 } 590 591 func (LogConditionPathSelectorMetadataShards) WithKey(key string) LogConditionMapPathSelectorMetadataShards { 592 return LogConditionMapPathSelectorMetadataShards{key: key} 593 } 594 595 type LogConditionMapPathSelectorMetadataShards struct { 596 key string 597 } 598 599 func (s LogConditionMapPathSelectorMetadataShards) FieldPath() *LogCondition_FieldSubPath { 600 return &LogCondition_FieldSubPath{ 601 selector: LogCondition_FieldPathSelectorMetadata, 602 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 603 } 604 } 605 606 func (s LogConditionMapPathSelectorMetadataShards) WithValue(value int64) *LogCondition_FieldSubPathValue { 607 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 608 } 609 610 func (s LogConditionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *LogCondition_FieldSubPathArrayOfValues { 611 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 612 } 613 614 type LogConditionPathSelectorMetadataSyncing struct{} 615 616 func (LogConditionPathSelectorMetadataSyncing) FieldPath() *LogCondition_FieldSubPath { 617 return &LogCondition_FieldSubPath{ 618 selector: LogCondition_FieldPathSelectorMetadata, 619 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 620 } 621 } 622 623 func (s LogConditionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *LogCondition_FieldSubPathValue { 624 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 625 } 626 627 func (s LogConditionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *LogCondition_FieldSubPathArrayOfValues { 628 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 629 } 630 631 func (LogConditionPathSelectorMetadataSyncing) OwningRegion() LogConditionPathSelectorMetadataSyncingOwningRegion { 632 return LogConditionPathSelectorMetadataSyncingOwningRegion{} 633 } 634 635 func (LogConditionPathSelectorMetadataSyncing) Regions() LogConditionPathSelectorMetadataSyncingRegions { 636 return LogConditionPathSelectorMetadataSyncingRegions{} 637 } 638 639 type LogConditionPathSelectorMetadataSyncingOwningRegion struct{} 640 641 func (LogConditionPathSelectorMetadataSyncingOwningRegion) FieldPath() *LogCondition_FieldSubPath { 642 return &LogCondition_FieldSubPath{ 643 selector: LogCondition_FieldPathSelectorMetadata, 644 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 645 } 646 } 647 648 func (s LogConditionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *LogCondition_FieldSubPathValue { 649 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 650 } 651 652 func (s LogConditionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 653 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 654 } 655 656 type LogConditionPathSelectorMetadataSyncingRegions struct{} 657 658 func (LogConditionPathSelectorMetadataSyncingRegions) FieldPath() *LogCondition_FieldSubPath { 659 return &LogCondition_FieldSubPath{ 660 selector: LogCondition_FieldPathSelectorMetadata, 661 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 662 } 663 } 664 665 func (s LogConditionPathSelectorMetadataSyncingRegions) WithValue(value []string) *LogCondition_FieldSubPathValue { 666 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 667 } 668 669 func (s LogConditionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *LogCondition_FieldSubPathArrayOfValues { 670 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 671 } 672 673 func (s LogConditionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *LogCondition_FieldSubPathArrayItemValue { 674 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldSubPathArrayItemValue) 675 } 676 677 type LogConditionPathSelectorMetadataLifecycle struct{} 678 679 func (LogConditionPathSelectorMetadataLifecycle) FieldPath() *LogCondition_FieldSubPath { 680 return &LogCondition_FieldSubPath{ 681 selector: LogCondition_FieldPathSelectorMetadata, 682 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 683 } 684 } 685 686 func (s LogConditionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *LogCondition_FieldSubPathValue { 687 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 688 } 689 690 func (s LogConditionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *LogCondition_FieldSubPathArrayOfValues { 691 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 692 } 693 694 func (LogConditionPathSelectorMetadataLifecycle) State() LogConditionPathSelectorMetadataLifecycleState { 695 return LogConditionPathSelectorMetadataLifecycleState{} 696 } 697 698 func (LogConditionPathSelectorMetadataLifecycle) BlockDeletion() LogConditionPathSelectorMetadataLifecycleBlockDeletion { 699 return LogConditionPathSelectorMetadataLifecycleBlockDeletion{} 700 } 701 702 type LogConditionPathSelectorMetadataLifecycleState struct{} 703 704 func (LogConditionPathSelectorMetadataLifecycleState) FieldPath() *LogCondition_FieldSubPath { 705 return &LogCondition_FieldSubPath{ 706 selector: LogCondition_FieldPathSelectorMetadata, 707 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 708 } 709 } 710 711 func (s LogConditionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *LogCondition_FieldSubPathValue { 712 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 713 } 714 715 func (s LogConditionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *LogCondition_FieldSubPathArrayOfValues { 716 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 717 } 718 719 type LogConditionPathSelectorMetadataLifecycleBlockDeletion struct{} 720 721 func (LogConditionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *LogCondition_FieldSubPath { 722 return &LogCondition_FieldSubPath{ 723 selector: LogCondition_FieldPathSelectorMetadata, 724 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 725 } 726 } 727 728 func (s LogConditionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *LogCondition_FieldSubPathValue { 729 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 730 } 731 732 func (s LogConditionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *LogCondition_FieldSubPathArrayOfValues { 733 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 734 } 735 736 type LogConditionPathSelectorMetadataServices struct{} 737 738 func (LogConditionPathSelectorMetadataServices) FieldPath() *LogCondition_FieldSubPath { 739 return &LogCondition_FieldSubPath{ 740 selector: LogCondition_FieldPathSelectorMetadata, 741 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 742 } 743 } 744 745 func (s LogConditionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *LogCondition_FieldSubPathValue { 746 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 747 } 748 749 func (s LogConditionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *LogCondition_FieldSubPathArrayOfValues { 750 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 751 } 752 753 func (LogConditionPathSelectorMetadataServices) OwningService() LogConditionPathSelectorMetadataServicesOwningService { 754 return LogConditionPathSelectorMetadataServicesOwningService{} 755 } 756 757 func (LogConditionPathSelectorMetadataServices) AllowedServices() LogConditionPathSelectorMetadataServicesAllowedServices { 758 return LogConditionPathSelectorMetadataServicesAllowedServices{} 759 } 760 761 type LogConditionPathSelectorMetadataServicesOwningService struct{} 762 763 func (LogConditionPathSelectorMetadataServicesOwningService) FieldPath() *LogCondition_FieldSubPath { 764 return &LogCondition_FieldSubPath{ 765 selector: LogCondition_FieldPathSelectorMetadata, 766 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 767 } 768 } 769 770 func (s LogConditionPathSelectorMetadataServicesOwningService) WithValue(value string) *LogCondition_FieldSubPathValue { 771 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 772 } 773 774 func (s LogConditionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *LogCondition_FieldSubPathArrayOfValues { 775 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 776 } 777 778 type LogConditionPathSelectorMetadataServicesAllowedServices struct{} 779 780 func (LogConditionPathSelectorMetadataServicesAllowedServices) FieldPath() *LogCondition_FieldSubPath { 781 return &LogCondition_FieldSubPath{ 782 selector: LogCondition_FieldPathSelectorMetadata, 783 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 784 } 785 } 786 787 func (s LogConditionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *LogCondition_FieldSubPathValue { 788 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 789 } 790 791 func (s LogConditionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *LogCondition_FieldSubPathArrayOfValues { 792 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 793 } 794 795 func (s LogConditionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *LogCondition_FieldSubPathArrayItemValue { 796 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldSubPathArrayItemValue) 797 } 798 799 type LogConditionPathSelectorDisplayName struct{} 800 801 func (LogConditionPathSelectorDisplayName) FieldPath() *LogCondition_FieldTerminalPath { 802 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorDisplayName} 803 } 804 805 func (s LogConditionPathSelectorDisplayName) WithValue(value string) *LogCondition_FieldTerminalPathValue { 806 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 807 } 808 809 func (s LogConditionPathSelectorDisplayName) WithArrayOfValues(values []string) *LogCondition_FieldTerminalPathArrayOfValues { 810 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 811 } 812 813 type LogConditionPathSelectorDescription struct{} 814 815 func (LogConditionPathSelectorDescription) FieldPath() *LogCondition_FieldTerminalPath { 816 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorDescription} 817 } 818 819 func (s LogConditionPathSelectorDescription) WithValue(value string) *LogCondition_FieldTerminalPathValue { 820 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 821 } 822 823 func (s LogConditionPathSelectorDescription) WithArrayOfValues(values []string) *LogCondition_FieldTerminalPathArrayOfValues { 824 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 825 } 826 827 type LogConditionPathSelectorSupportingDocs struct{} 828 829 func (LogConditionPathSelectorSupportingDocs) FieldPath() *LogCondition_FieldTerminalPath { 830 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorSupportingDocs} 831 } 832 833 func (s LogConditionPathSelectorSupportingDocs) WithValue(value []*document.Reference) *LogCondition_FieldTerminalPathValue { 834 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 835 } 836 837 func (s LogConditionPathSelectorSupportingDocs) WithArrayOfValues(values [][]*document.Reference) *LogCondition_FieldTerminalPathArrayOfValues { 838 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 839 } 840 841 func (s LogConditionPathSelectorSupportingDocs) WithItemValue(value *document.Reference) *LogCondition_FieldTerminalPathArrayItemValue { 842 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldTerminalPathArrayItemValue) 843 } 844 845 type LogConditionPathSelectorSpec struct{} 846 847 func (LogConditionPathSelectorSpec) FieldPath() *LogCondition_FieldTerminalPath { 848 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorSpec} 849 } 850 851 func (s LogConditionPathSelectorSpec) WithValue(value *rcommon.LogCndSpec) *LogCondition_FieldTerminalPathValue { 852 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 853 } 854 855 func (s LogConditionPathSelectorSpec) WithArrayOfValues(values []*rcommon.LogCndSpec) *LogCondition_FieldTerminalPathArrayOfValues { 856 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 857 } 858 859 func (LogConditionPathSelectorSpec) WithSubPath(subPath rcommon.LogCndSpec_FieldPath) *LogCondition_FieldSubPath { 860 return &LogCondition_FieldSubPath{selector: LogCondition_FieldPathSelectorSpec, subPath: subPath} 861 } 862 863 func (s LogConditionPathSelectorSpec) WithSubValue(subPathValue rcommon.LogCndSpec_FieldPathValue) *LogCondition_FieldSubPathValue { 864 return &LogCondition_FieldSubPathValue{LogCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 865 } 866 867 func (s LogConditionPathSelectorSpec) WithSubArrayOfValues(subPathArrayOfValues rcommon.LogCndSpec_FieldPathArrayOfValues) *LogCondition_FieldSubPathArrayOfValues { 868 return &LogCondition_FieldSubPathArrayOfValues{LogCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 869 } 870 871 func (s LogConditionPathSelectorSpec) WithSubArrayItemValue(subPathArrayItemValue rcommon.LogCndSpec_FieldPathArrayItemValue) *LogCondition_FieldSubPathArrayItemValue { 872 return &LogCondition_FieldSubPathArrayItemValue{LogCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 873 } 874 875 func (LogConditionPathSelectorSpec) Query() LogConditionPathSelectorSpecQuery { 876 return LogConditionPathSelectorSpecQuery{} 877 } 878 879 func (LogConditionPathSelectorSpec) GroupByLabels() LogConditionPathSelectorSpecGroupByLabels { 880 return LogConditionPathSelectorSpecGroupByLabels{} 881 } 882 883 type LogConditionPathSelectorSpecQuery struct{} 884 885 func (LogConditionPathSelectorSpecQuery) FieldPath() *LogCondition_FieldSubPath { 886 return &LogCondition_FieldSubPath{ 887 selector: LogCondition_FieldPathSelectorSpec, 888 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().FieldPath(), 889 } 890 } 891 892 func (s LogConditionPathSelectorSpecQuery) WithValue(value *rcommon.LogCndSpec_Query) *LogCondition_FieldSubPathValue { 893 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 894 } 895 896 func (s LogConditionPathSelectorSpecQuery) WithArrayOfValues(values []*rcommon.LogCndSpec_Query) *LogCondition_FieldSubPathArrayOfValues { 897 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 898 } 899 900 func (LogConditionPathSelectorSpecQuery) Filter() LogConditionPathSelectorSpecQueryFilter { 901 return LogConditionPathSelectorSpecQueryFilter{} 902 } 903 904 func (LogConditionPathSelectorSpecQuery) Trigger() LogConditionPathSelectorSpecQueryTrigger { 905 return LogConditionPathSelectorSpecQueryTrigger{} 906 } 907 908 func (LogConditionPathSelectorSpecQuery) MinDuration() LogConditionPathSelectorSpecQueryMinDuration { 909 return LogConditionPathSelectorSpecQueryMinDuration{} 910 } 911 912 type LogConditionPathSelectorSpecQueryFilter struct{} 913 914 func (LogConditionPathSelectorSpecQueryFilter) FieldPath() *LogCondition_FieldSubPath { 915 return &LogCondition_FieldSubPath{ 916 selector: LogCondition_FieldPathSelectorSpec, 917 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().Filter().FieldPath(), 918 } 919 } 920 921 func (s LogConditionPathSelectorSpecQueryFilter) WithValue(value *logging_log.Filter) *LogCondition_FieldSubPathValue { 922 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 923 } 924 925 func (s LogConditionPathSelectorSpecQueryFilter) WithArrayOfValues(values []*logging_log.Filter) *LogCondition_FieldSubPathArrayOfValues { 926 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 927 } 928 929 type LogConditionPathSelectorSpecQueryTrigger struct{} 930 931 func (LogConditionPathSelectorSpecQueryTrigger) FieldPath() *LogCondition_FieldSubPath { 932 return &LogCondition_FieldSubPath{ 933 selector: LogCondition_FieldPathSelectorSpec, 934 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().Trigger().FieldPath(), 935 } 936 } 937 938 func (s LogConditionPathSelectorSpecQueryTrigger) WithValue(value *rcommon.LogCndSpec_Query_TriggerCnd) *LogCondition_FieldSubPathValue { 939 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 940 } 941 942 func (s LogConditionPathSelectorSpecQueryTrigger) WithArrayOfValues(values []*rcommon.LogCndSpec_Query_TriggerCnd) *LogCondition_FieldSubPathArrayOfValues { 943 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 944 } 945 946 type LogConditionPathSelectorSpecQueryMinDuration struct{} 947 948 func (LogConditionPathSelectorSpecQueryMinDuration) FieldPath() *LogCondition_FieldSubPath { 949 return &LogCondition_FieldSubPath{ 950 selector: LogCondition_FieldPathSelectorSpec, 951 subPath: rcommon.NewLogCndSpecFieldPathBuilder().Query().MinDuration().FieldPath(), 952 } 953 } 954 955 func (s LogConditionPathSelectorSpecQueryMinDuration) WithValue(value *durationpb.Duration) *LogCondition_FieldSubPathValue { 956 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 957 } 958 959 func (s LogConditionPathSelectorSpecQueryMinDuration) WithArrayOfValues(values []*durationpb.Duration) *LogCondition_FieldSubPathArrayOfValues { 960 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 961 } 962 963 type LogConditionPathSelectorSpecGroupByLabels struct{} 964 965 func (LogConditionPathSelectorSpecGroupByLabels) FieldPath() *LogCondition_FieldSubPath { 966 return &LogCondition_FieldSubPath{ 967 selector: LogCondition_FieldPathSelectorSpec, 968 subPath: rcommon.NewLogCndSpecFieldPathBuilder().GroupByLabels().FieldPath(), 969 } 970 } 971 972 func (s LogConditionPathSelectorSpecGroupByLabels) WithValue(value []string) *LogCondition_FieldSubPathValue { 973 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 974 } 975 976 func (s LogConditionPathSelectorSpecGroupByLabels) WithArrayOfValues(values [][]string) *LogCondition_FieldSubPathArrayOfValues { 977 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 978 } 979 980 func (s LogConditionPathSelectorSpecGroupByLabels) WithItemValue(value string) *LogCondition_FieldSubPathArrayItemValue { 981 return s.FieldPath().WithIArrayItemValue(value).(*LogCondition_FieldSubPathArrayItemValue) 982 } 983 984 type LogConditionPathSelectorInternal struct{} 985 986 func (LogConditionPathSelectorInternal) FieldPath() *LogCondition_FieldTerminalPath { 987 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorInternal} 988 } 989 990 func (s LogConditionPathSelectorInternal) WithValue(value *LogCondition_Internal) *LogCondition_FieldTerminalPathValue { 991 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 992 } 993 994 func (s LogConditionPathSelectorInternal) WithArrayOfValues(values []*LogCondition_Internal) *LogCondition_FieldTerminalPathArrayOfValues { 995 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 996 } 997 998 func (LogConditionPathSelectorInternal) WithSubPath(subPath LogConditionInternal_FieldPath) *LogCondition_FieldSubPath { 999 return &LogCondition_FieldSubPath{selector: LogCondition_FieldPathSelectorInternal, subPath: subPath} 1000 } 1001 1002 func (s LogConditionPathSelectorInternal) WithSubValue(subPathValue LogConditionInternal_FieldPathValue) *LogCondition_FieldSubPathValue { 1003 return &LogCondition_FieldSubPathValue{LogCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1004 } 1005 1006 func (s LogConditionPathSelectorInternal) WithSubArrayOfValues(subPathArrayOfValues LogConditionInternal_FieldPathArrayOfValues) *LogCondition_FieldSubPathArrayOfValues { 1007 return &LogCondition_FieldSubPathArrayOfValues{LogCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1008 } 1009 1010 func (s LogConditionPathSelectorInternal) WithSubArrayItemValue(subPathArrayItemValue LogConditionInternal_FieldPathArrayItemValue) *LogCondition_FieldSubPathArrayItemValue { 1011 return &LogCondition_FieldSubPathArrayItemValue{LogCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1012 } 1013 1014 func (LogConditionPathSelectorInternal) AlertingLocation() LogConditionPathSelectorInternalAlertingLocation { 1015 return LogConditionPathSelectorInternalAlertingLocation{} 1016 } 1017 1018 type LogConditionPathSelectorInternalAlertingLocation struct{} 1019 1020 func (LogConditionPathSelectorInternalAlertingLocation) FieldPath() *LogCondition_FieldSubPath { 1021 return &LogCondition_FieldSubPath{ 1022 selector: LogCondition_FieldPathSelectorInternal, 1023 subPath: NewLogConditionInternalFieldPathBuilder().AlertingLocation().FieldPath(), 1024 } 1025 } 1026 1027 func (s LogConditionPathSelectorInternalAlertingLocation) WithValue(value rcommon.PolicySpec_ProcessingLocation) *LogCondition_FieldSubPathValue { 1028 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 1029 } 1030 1031 func (s LogConditionPathSelectorInternalAlertingLocation) WithArrayOfValues(values []rcommon.PolicySpec_ProcessingLocation) *LogCondition_FieldSubPathArrayOfValues { 1032 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 1033 } 1034 1035 type LogConditionPathSelectorTemplateSource struct{} 1036 1037 func (LogConditionPathSelectorTemplateSource) FieldPath() *LogCondition_FieldTerminalPath { 1038 return &LogCondition_FieldTerminalPath{selector: LogCondition_FieldPathSelectorTemplateSource} 1039 } 1040 1041 func (s LogConditionPathSelectorTemplateSource) WithValue(value *LogCondition_TemplateSource) *LogCondition_FieldTerminalPathValue { 1042 return s.FieldPath().WithIValue(value).(*LogCondition_FieldTerminalPathValue) 1043 } 1044 1045 func (s LogConditionPathSelectorTemplateSource) WithArrayOfValues(values []*LogCondition_TemplateSource) *LogCondition_FieldTerminalPathArrayOfValues { 1046 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldTerminalPathArrayOfValues) 1047 } 1048 1049 func (LogConditionPathSelectorTemplateSource) WithSubPath(subPath LogConditionTemplateSource_FieldPath) *LogCondition_FieldSubPath { 1050 return &LogCondition_FieldSubPath{selector: LogCondition_FieldPathSelectorTemplateSource, subPath: subPath} 1051 } 1052 1053 func (s LogConditionPathSelectorTemplateSource) WithSubValue(subPathValue LogConditionTemplateSource_FieldPathValue) *LogCondition_FieldSubPathValue { 1054 return &LogCondition_FieldSubPathValue{LogCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1055 } 1056 1057 func (s LogConditionPathSelectorTemplateSource) WithSubArrayOfValues(subPathArrayOfValues LogConditionTemplateSource_FieldPathArrayOfValues) *LogCondition_FieldSubPathArrayOfValues { 1058 return &LogCondition_FieldSubPathArrayOfValues{LogCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1059 } 1060 1061 func (s LogConditionPathSelectorTemplateSource) WithSubArrayItemValue(subPathArrayItemValue LogConditionTemplateSource_FieldPathArrayItemValue) *LogCondition_FieldSubPathArrayItemValue { 1062 return &LogCondition_FieldSubPathArrayItemValue{LogCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1063 } 1064 1065 func (LogConditionPathSelectorTemplateSource) Template() LogConditionPathSelectorTemplateSourceTemplate { 1066 return LogConditionPathSelectorTemplateSourceTemplate{} 1067 } 1068 1069 func (LogConditionPathSelectorTemplateSource) UpdatedFields() LogConditionPathSelectorTemplateSourceUpdatedFields { 1070 return LogConditionPathSelectorTemplateSourceUpdatedFields{} 1071 } 1072 1073 type LogConditionPathSelectorTemplateSourceTemplate struct{} 1074 1075 func (LogConditionPathSelectorTemplateSourceTemplate) FieldPath() *LogCondition_FieldSubPath { 1076 return &LogCondition_FieldSubPath{ 1077 selector: LogCondition_FieldPathSelectorTemplateSource, 1078 subPath: NewLogConditionTemplateSourceFieldPathBuilder().Template().FieldPath(), 1079 } 1080 } 1081 1082 func (s LogConditionPathSelectorTemplateSourceTemplate) WithValue(value *log_condition_template.Reference) *LogCondition_FieldSubPathValue { 1083 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 1084 } 1085 1086 func (s LogConditionPathSelectorTemplateSourceTemplate) WithArrayOfValues(values []*log_condition_template.Reference) *LogCondition_FieldSubPathArrayOfValues { 1087 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 1088 } 1089 1090 type LogConditionPathSelectorTemplateSourceUpdatedFields struct{} 1091 1092 func (LogConditionPathSelectorTemplateSourceUpdatedFields) FieldPath() *LogCondition_FieldSubPath { 1093 return &LogCondition_FieldSubPath{ 1094 selector: LogCondition_FieldPathSelectorTemplateSource, 1095 subPath: NewLogConditionTemplateSourceFieldPathBuilder().UpdatedFields().FieldPath(), 1096 } 1097 } 1098 1099 func (s LogConditionPathSelectorTemplateSourceUpdatedFields) WithValue(value *fieldmaskpb.FieldMask) *LogCondition_FieldSubPathValue { 1100 return s.FieldPath().WithIValue(value).(*LogCondition_FieldSubPathValue) 1101 } 1102 1103 func (s LogConditionPathSelectorTemplateSourceUpdatedFields) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *LogCondition_FieldSubPathArrayOfValues { 1104 return s.FieldPath().WithIArrayOfValues(values).(*LogCondition_FieldSubPathArrayOfValues) 1105 } 1106 1107 type LogConditionInternalFieldPathBuilder struct{} 1108 1109 func NewLogConditionInternalFieldPathBuilder() LogConditionInternalFieldPathBuilder { 1110 return LogConditionInternalFieldPathBuilder{} 1111 } 1112 func (LogConditionInternalFieldPathBuilder) AlertingLocation() LogCondition_InternalPathSelectorAlertingLocation { 1113 return LogCondition_InternalPathSelectorAlertingLocation{} 1114 } 1115 1116 type LogCondition_InternalPathSelectorAlertingLocation struct{} 1117 1118 func (LogCondition_InternalPathSelectorAlertingLocation) FieldPath() *LogConditionInternal_FieldTerminalPath { 1119 return &LogConditionInternal_FieldTerminalPath{selector: LogConditionInternal_FieldPathSelectorAlertingLocation} 1120 } 1121 1122 func (s LogCondition_InternalPathSelectorAlertingLocation) WithValue(value rcommon.PolicySpec_ProcessingLocation) *LogConditionInternal_FieldTerminalPathValue { 1123 return s.FieldPath().WithIValue(value).(*LogConditionInternal_FieldTerminalPathValue) 1124 } 1125 1126 func (s LogCondition_InternalPathSelectorAlertingLocation) WithArrayOfValues(values []rcommon.PolicySpec_ProcessingLocation) *LogConditionInternal_FieldTerminalPathArrayOfValues { 1127 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionInternal_FieldTerminalPathArrayOfValues) 1128 } 1129 1130 type LogConditionTemplateSourceFieldPathBuilder struct{} 1131 1132 func NewLogConditionTemplateSourceFieldPathBuilder() LogConditionTemplateSourceFieldPathBuilder { 1133 return LogConditionTemplateSourceFieldPathBuilder{} 1134 } 1135 func (LogConditionTemplateSourceFieldPathBuilder) Template() LogCondition_TemplateSourcePathSelectorTemplate { 1136 return LogCondition_TemplateSourcePathSelectorTemplate{} 1137 } 1138 func (LogConditionTemplateSourceFieldPathBuilder) UpdatedFields() LogCondition_TemplateSourcePathSelectorUpdatedFields { 1139 return LogCondition_TemplateSourcePathSelectorUpdatedFields{} 1140 } 1141 1142 type LogCondition_TemplateSourcePathSelectorTemplate struct{} 1143 1144 func (LogCondition_TemplateSourcePathSelectorTemplate) FieldPath() *LogConditionTemplateSource_FieldTerminalPath { 1145 return &LogConditionTemplateSource_FieldTerminalPath{selector: LogConditionTemplateSource_FieldPathSelectorTemplate} 1146 } 1147 1148 func (s LogCondition_TemplateSourcePathSelectorTemplate) WithValue(value *log_condition_template.Reference) *LogConditionTemplateSource_FieldTerminalPathValue { 1149 return s.FieldPath().WithIValue(value).(*LogConditionTemplateSource_FieldTerminalPathValue) 1150 } 1151 1152 func (s LogCondition_TemplateSourcePathSelectorTemplate) WithArrayOfValues(values []*log_condition_template.Reference) *LogConditionTemplateSource_FieldTerminalPathArrayOfValues { 1153 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplateSource_FieldTerminalPathArrayOfValues) 1154 } 1155 1156 type LogCondition_TemplateSourcePathSelectorUpdatedFields struct{} 1157 1158 func (LogCondition_TemplateSourcePathSelectorUpdatedFields) FieldPath() *LogConditionTemplateSource_FieldTerminalPath { 1159 return &LogConditionTemplateSource_FieldTerminalPath{selector: LogConditionTemplateSource_FieldPathSelectorUpdatedFields} 1160 } 1161 1162 func (s LogCondition_TemplateSourcePathSelectorUpdatedFields) WithValue(value *fieldmaskpb.FieldMask) *LogConditionTemplateSource_FieldTerminalPathValue { 1163 return s.FieldPath().WithIValue(value).(*LogConditionTemplateSource_FieldTerminalPathValue) 1164 } 1165 1166 func (s LogCondition_TemplateSourcePathSelectorUpdatedFields) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *LogConditionTemplateSource_FieldTerminalPathArrayOfValues { 1167 return s.FieldPath().WithIArrayOfValues(values).(*LogConditionTemplateSource_FieldTerminalPathArrayOfValues) 1168 }