github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/notification_channel/notification_channel.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/notification_channel.proto 3 // DO NOT EDIT!!! 4 5 package notification_channel 6 7 // proto imports 8 import ( 9 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 10 api "github.com/cloudwan/edgelq-sdk/common/api" 11 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 12 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 13 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 14 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 15 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 16 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 17 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 18 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 19 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 20 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 21 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 22 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 23 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 24 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 25 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 26 meta "github.com/cloudwan/goten-sdk/types/meta" 27 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 28 anypb "google.golang.org/protobuf/types/known/anypb" 29 durationpb "google.golang.org/protobuf/types/known/durationpb" 30 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 31 structpb "google.golang.org/protobuf/types/known/structpb" 32 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 33 ) 34 35 // make sure we're using proto imports 36 var ( 37 _ = &rcommon.LogCndSpec{} 38 _ = api.LaunchStage(0) 39 _ = &iam_iam_common.PCR{} 40 _ = &iam_organization.Organization{} 41 _ = &iam_project.Project{} 42 _ = &logging_bucket.Bucket{} 43 _ = &logging_common.LabelDescriptor{} 44 _ = &logging_log.Log{} 45 _ = &logging_log_descriptor.LogDescriptor{} 46 _ = &monitoring_common.LabelDescriptor{} 47 _ = &monitoring_metric_descriptor.MetricDescriptor{} 48 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 49 _ = &monitoring_project.Project{} 50 _ = &monitoring_time_serie.Point{} 51 _ = &anypb.Any{} 52 _ = &durationpb.Duration{} 53 _ = &fieldmaskpb.FieldMask{} 54 _ = &structpb.Struct{} 55 _ = ×tamppb.Timestamp{} 56 _ = &meta_common.LabelledDomain{} 57 _ = &meta_resource.Resource{} 58 _ = &meta_service.Service{} 59 _ = &meta.Meta{} 60 _ = &multi_region_policy.MultiRegionPolicy{} 61 ) 62 63 type NotificationChannelFieldPathBuilder struct{} 64 65 func NewNotificationChannelFieldPathBuilder() NotificationChannelFieldPathBuilder { 66 return NotificationChannelFieldPathBuilder{} 67 } 68 func (NotificationChannelFieldPathBuilder) Name() NotificationChannelPathSelectorName { 69 return NotificationChannelPathSelectorName{} 70 } 71 func (NotificationChannelFieldPathBuilder) Metadata() NotificationChannelPathSelectorMetadata { 72 return NotificationChannelPathSelectorMetadata{} 73 } 74 func (NotificationChannelFieldPathBuilder) DisplayName() NotificationChannelPathSelectorDisplayName { 75 return NotificationChannelPathSelectorDisplayName{} 76 } 77 func (NotificationChannelFieldPathBuilder) Description() NotificationChannelPathSelectorDescription { 78 return NotificationChannelPathSelectorDescription{} 79 } 80 func (NotificationChannelFieldPathBuilder) Spec() NotificationChannelPathSelectorSpec { 81 return NotificationChannelPathSelectorSpec{} 82 } 83 func (NotificationChannelFieldPathBuilder) State() NotificationChannelPathSelectorState { 84 return NotificationChannelPathSelectorState{} 85 } 86 87 type NotificationChannelPathSelectorName struct{} 88 89 func (NotificationChannelPathSelectorName) FieldPath() *NotificationChannel_FieldTerminalPath { 90 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorName} 91 } 92 93 func (s NotificationChannelPathSelectorName) WithValue(value *Name) *NotificationChannel_FieldTerminalPathValue { 94 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 95 } 96 97 func (s NotificationChannelPathSelectorName) WithArrayOfValues(values []*Name) *NotificationChannel_FieldTerminalPathArrayOfValues { 98 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 99 } 100 101 type NotificationChannelPathSelectorMetadata struct{} 102 103 func (NotificationChannelPathSelectorMetadata) FieldPath() *NotificationChannel_FieldTerminalPath { 104 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorMetadata} 105 } 106 107 func (s NotificationChannelPathSelectorMetadata) WithValue(value *meta.Meta) *NotificationChannel_FieldTerminalPathValue { 108 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 109 } 110 111 func (s NotificationChannelPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *NotificationChannel_FieldTerminalPathArrayOfValues { 112 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 113 } 114 115 func (NotificationChannelPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *NotificationChannel_FieldSubPath { 116 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorMetadata, subPath: subPath} 117 } 118 119 func (s NotificationChannelPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *NotificationChannel_FieldSubPathValue { 120 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 121 } 122 123 func (s NotificationChannelPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 124 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 125 } 126 127 func (s NotificationChannelPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 128 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 129 } 130 131 func (NotificationChannelPathSelectorMetadata) CreateTime() NotificationChannelPathSelectorMetadataCreateTime { 132 return NotificationChannelPathSelectorMetadataCreateTime{} 133 } 134 135 func (NotificationChannelPathSelectorMetadata) UpdateTime() NotificationChannelPathSelectorMetadataUpdateTime { 136 return NotificationChannelPathSelectorMetadataUpdateTime{} 137 } 138 139 func (NotificationChannelPathSelectorMetadata) DeleteTime() NotificationChannelPathSelectorMetadataDeleteTime { 140 return NotificationChannelPathSelectorMetadataDeleteTime{} 141 } 142 143 func (NotificationChannelPathSelectorMetadata) Uuid() NotificationChannelPathSelectorMetadataUuid { 144 return NotificationChannelPathSelectorMetadataUuid{} 145 } 146 147 func (NotificationChannelPathSelectorMetadata) Tags() NotificationChannelPathSelectorMetadataTags { 148 return NotificationChannelPathSelectorMetadataTags{} 149 } 150 151 func (NotificationChannelPathSelectorMetadata) Labels() NotificationChannelPathSelectorMetadataLabels { 152 return NotificationChannelPathSelectorMetadataLabels{} 153 } 154 155 func (NotificationChannelPathSelectorMetadata) Annotations() NotificationChannelPathSelectorMetadataAnnotations { 156 return NotificationChannelPathSelectorMetadataAnnotations{} 157 } 158 159 func (NotificationChannelPathSelectorMetadata) Generation() NotificationChannelPathSelectorMetadataGeneration { 160 return NotificationChannelPathSelectorMetadataGeneration{} 161 } 162 163 func (NotificationChannelPathSelectorMetadata) ResourceVersion() NotificationChannelPathSelectorMetadataResourceVersion { 164 return NotificationChannelPathSelectorMetadataResourceVersion{} 165 } 166 167 func (NotificationChannelPathSelectorMetadata) OwnerReferences() NotificationChannelPathSelectorMetadataOwnerReferences { 168 return NotificationChannelPathSelectorMetadataOwnerReferences{} 169 } 170 171 func (NotificationChannelPathSelectorMetadata) Shards() NotificationChannelPathSelectorMetadataShards { 172 return NotificationChannelPathSelectorMetadataShards{} 173 } 174 175 func (NotificationChannelPathSelectorMetadata) Syncing() NotificationChannelPathSelectorMetadataSyncing { 176 return NotificationChannelPathSelectorMetadataSyncing{} 177 } 178 179 func (NotificationChannelPathSelectorMetadata) Lifecycle() NotificationChannelPathSelectorMetadataLifecycle { 180 return NotificationChannelPathSelectorMetadataLifecycle{} 181 } 182 183 func (NotificationChannelPathSelectorMetadata) Services() NotificationChannelPathSelectorMetadataServices { 184 return NotificationChannelPathSelectorMetadataServices{} 185 } 186 187 type NotificationChannelPathSelectorMetadataCreateTime struct{} 188 189 func (NotificationChannelPathSelectorMetadataCreateTime) FieldPath() *NotificationChannel_FieldSubPath { 190 return &NotificationChannel_FieldSubPath{ 191 selector: NotificationChannel_FieldPathSelectorMetadata, 192 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 193 } 194 } 195 196 func (s NotificationChannelPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 197 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 198 } 199 200 func (s NotificationChannelPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 201 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 202 } 203 204 type NotificationChannelPathSelectorMetadataUpdateTime struct{} 205 206 func (NotificationChannelPathSelectorMetadataUpdateTime) FieldPath() *NotificationChannel_FieldSubPath { 207 return &NotificationChannel_FieldSubPath{ 208 selector: NotificationChannel_FieldPathSelectorMetadata, 209 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 210 } 211 } 212 213 func (s NotificationChannelPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 214 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 215 } 216 217 func (s NotificationChannelPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 218 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 219 } 220 221 type NotificationChannelPathSelectorMetadataDeleteTime struct{} 222 223 func (NotificationChannelPathSelectorMetadataDeleteTime) FieldPath() *NotificationChannel_FieldSubPath { 224 return &NotificationChannel_FieldSubPath{ 225 selector: NotificationChannel_FieldPathSelectorMetadata, 226 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 227 } 228 } 229 230 func (s NotificationChannelPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 231 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 232 } 233 234 func (s NotificationChannelPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 235 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 236 } 237 238 type NotificationChannelPathSelectorMetadataUuid struct{} 239 240 func (NotificationChannelPathSelectorMetadataUuid) FieldPath() *NotificationChannel_FieldSubPath { 241 return &NotificationChannel_FieldSubPath{ 242 selector: NotificationChannel_FieldPathSelectorMetadata, 243 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 244 } 245 } 246 247 func (s NotificationChannelPathSelectorMetadataUuid) WithValue(value string) *NotificationChannel_FieldSubPathValue { 248 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 249 } 250 251 func (s NotificationChannelPathSelectorMetadataUuid) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 252 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 253 } 254 255 type NotificationChannelPathSelectorMetadataTags struct{} 256 257 func (NotificationChannelPathSelectorMetadataTags) FieldPath() *NotificationChannel_FieldSubPath { 258 return &NotificationChannel_FieldSubPath{ 259 selector: NotificationChannel_FieldPathSelectorMetadata, 260 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 261 } 262 } 263 264 func (s NotificationChannelPathSelectorMetadataTags) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 265 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 266 } 267 268 func (s NotificationChannelPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 269 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 270 } 271 272 func (s NotificationChannelPathSelectorMetadataTags) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 273 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 274 } 275 276 type NotificationChannelPathSelectorMetadataLabels struct{} 277 278 func (NotificationChannelPathSelectorMetadataLabels) FieldPath() *NotificationChannel_FieldSubPath { 279 return &NotificationChannel_FieldSubPath{ 280 selector: NotificationChannel_FieldPathSelectorMetadata, 281 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 282 } 283 } 284 285 func (s NotificationChannelPathSelectorMetadataLabels) WithValue(value map[string]string) *NotificationChannel_FieldSubPathValue { 286 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 287 } 288 289 func (s NotificationChannelPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *NotificationChannel_FieldSubPathArrayOfValues { 290 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 291 } 292 293 func (NotificationChannelPathSelectorMetadataLabels) WithKey(key string) NotificationChannelMapPathSelectorMetadataLabels { 294 return NotificationChannelMapPathSelectorMetadataLabels{key: key} 295 } 296 297 type NotificationChannelMapPathSelectorMetadataLabels struct { 298 key string 299 } 300 301 func (s NotificationChannelMapPathSelectorMetadataLabels) FieldPath() *NotificationChannel_FieldSubPath { 302 return &NotificationChannel_FieldSubPath{ 303 selector: NotificationChannel_FieldPathSelectorMetadata, 304 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 305 } 306 } 307 308 func (s NotificationChannelMapPathSelectorMetadataLabels) WithValue(value string) *NotificationChannel_FieldSubPathValue { 309 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 310 } 311 312 func (s NotificationChannelMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 313 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 314 } 315 316 type NotificationChannelPathSelectorMetadataAnnotations struct{} 317 318 func (NotificationChannelPathSelectorMetadataAnnotations) FieldPath() *NotificationChannel_FieldSubPath { 319 return &NotificationChannel_FieldSubPath{ 320 selector: NotificationChannel_FieldPathSelectorMetadata, 321 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 322 } 323 } 324 325 func (s NotificationChannelPathSelectorMetadataAnnotations) WithValue(value map[string]string) *NotificationChannel_FieldSubPathValue { 326 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 327 } 328 329 func (s NotificationChannelPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *NotificationChannel_FieldSubPathArrayOfValues { 330 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 331 } 332 333 func (NotificationChannelPathSelectorMetadataAnnotations) WithKey(key string) NotificationChannelMapPathSelectorMetadataAnnotations { 334 return NotificationChannelMapPathSelectorMetadataAnnotations{key: key} 335 } 336 337 type NotificationChannelMapPathSelectorMetadataAnnotations struct { 338 key string 339 } 340 341 func (s NotificationChannelMapPathSelectorMetadataAnnotations) FieldPath() *NotificationChannel_FieldSubPath { 342 return &NotificationChannel_FieldSubPath{ 343 selector: NotificationChannel_FieldPathSelectorMetadata, 344 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 345 } 346 } 347 348 func (s NotificationChannelMapPathSelectorMetadataAnnotations) WithValue(value string) *NotificationChannel_FieldSubPathValue { 349 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 350 } 351 352 func (s NotificationChannelMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 353 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 354 } 355 356 type NotificationChannelPathSelectorMetadataGeneration struct{} 357 358 func (NotificationChannelPathSelectorMetadataGeneration) FieldPath() *NotificationChannel_FieldSubPath { 359 return &NotificationChannel_FieldSubPath{ 360 selector: NotificationChannel_FieldPathSelectorMetadata, 361 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 362 } 363 } 364 365 func (s NotificationChannelPathSelectorMetadataGeneration) WithValue(value int64) *NotificationChannel_FieldSubPathValue { 366 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 367 } 368 369 func (s NotificationChannelPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *NotificationChannel_FieldSubPathArrayOfValues { 370 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 371 } 372 373 type NotificationChannelPathSelectorMetadataResourceVersion struct{} 374 375 func (NotificationChannelPathSelectorMetadataResourceVersion) FieldPath() *NotificationChannel_FieldSubPath { 376 return &NotificationChannel_FieldSubPath{ 377 selector: NotificationChannel_FieldPathSelectorMetadata, 378 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 379 } 380 } 381 382 func (s NotificationChannelPathSelectorMetadataResourceVersion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 383 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 384 } 385 386 func (s NotificationChannelPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 387 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 388 } 389 390 type NotificationChannelPathSelectorMetadataOwnerReferences struct{} 391 392 func (NotificationChannelPathSelectorMetadataOwnerReferences) FieldPath() *NotificationChannel_FieldSubPath { 393 return &NotificationChannel_FieldSubPath{ 394 selector: NotificationChannel_FieldPathSelectorMetadata, 395 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 396 } 397 } 398 399 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *NotificationChannel_FieldSubPathValue { 400 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 401 } 402 403 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *NotificationChannel_FieldSubPathArrayOfValues { 404 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 405 } 406 407 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *NotificationChannel_FieldSubPathArrayItemValue { 408 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 409 } 410 411 func (NotificationChannelPathSelectorMetadataOwnerReferences) Kind() NotificationChannelPathSelectorMetadataOwnerReferencesKind { 412 return NotificationChannelPathSelectorMetadataOwnerReferencesKind{} 413 } 414 415 func (NotificationChannelPathSelectorMetadataOwnerReferences) Version() NotificationChannelPathSelectorMetadataOwnerReferencesVersion { 416 return NotificationChannelPathSelectorMetadataOwnerReferencesVersion{} 417 } 418 419 func (NotificationChannelPathSelectorMetadataOwnerReferences) Name() NotificationChannelPathSelectorMetadataOwnerReferencesName { 420 return NotificationChannelPathSelectorMetadataOwnerReferencesName{} 421 } 422 423 func (NotificationChannelPathSelectorMetadataOwnerReferences) Region() NotificationChannelPathSelectorMetadataOwnerReferencesRegion { 424 return NotificationChannelPathSelectorMetadataOwnerReferencesRegion{} 425 } 426 427 func (NotificationChannelPathSelectorMetadataOwnerReferences) Controller() NotificationChannelPathSelectorMetadataOwnerReferencesController { 428 return NotificationChannelPathSelectorMetadataOwnerReferencesController{} 429 } 430 431 func (NotificationChannelPathSelectorMetadataOwnerReferences) RequiresOwnerReference() NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 432 return NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 433 } 434 435 func (NotificationChannelPathSelectorMetadataOwnerReferences) UnsetOnDelete() NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete { 436 return NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 437 } 438 439 type NotificationChannelPathSelectorMetadataOwnerReferencesKind struct{} 440 441 func (NotificationChannelPathSelectorMetadataOwnerReferencesKind) FieldPath() *NotificationChannel_FieldSubPath { 442 return &NotificationChannel_FieldSubPath{ 443 selector: NotificationChannel_FieldPathSelectorMetadata, 444 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 445 } 446 } 447 448 func (s NotificationChannelPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *NotificationChannel_FieldSubPathValue { 449 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 450 } 451 452 func (s NotificationChannelPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 453 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 454 } 455 456 type NotificationChannelPathSelectorMetadataOwnerReferencesVersion struct{} 457 458 func (NotificationChannelPathSelectorMetadataOwnerReferencesVersion) FieldPath() *NotificationChannel_FieldSubPath { 459 return &NotificationChannel_FieldSubPath{ 460 selector: NotificationChannel_FieldPathSelectorMetadata, 461 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 462 } 463 } 464 465 func (s NotificationChannelPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 466 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 467 } 468 469 func (s NotificationChannelPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 470 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 471 } 472 473 type NotificationChannelPathSelectorMetadataOwnerReferencesName struct{} 474 475 func (NotificationChannelPathSelectorMetadataOwnerReferencesName) FieldPath() *NotificationChannel_FieldSubPath { 476 return &NotificationChannel_FieldSubPath{ 477 selector: NotificationChannel_FieldPathSelectorMetadata, 478 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 479 } 480 } 481 482 func (s NotificationChannelPathSelectorMetadataOwnerReferencesName) WithValue(value string) *NotificationChannel_FieldSubPathValue { 483 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 484 } 485 486 func (s NotificationChannelPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 487 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 488 } 489 490 type NotificationChannelPathSelectorMetadataOwnerReferencesRegion struct{} 491 492 func (NotificationChannelPathSelectorMetadataOwnerReferencesRegion) FieldPath() *NotificationChannel_FieldSubPath { 493 return &NotificationChannel_FieldSubPath{ 494 selector: NotificationChannel_FieldPathSelectorMetadata, 495 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 496 } 497 } 498 499 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 500 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 501 } 502 503 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 504 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 505 } 506 507 type NotificationChannelPathSelectorMetadataOwnerReferencesController struct{} 508 509 func (NotificationChannelPathSelectorMetadataOwnerReferencesController) FieldPath() *NotificationChannel_FieldSubPath { 510 return &NotificationChannel_FieldSubPath{ 511 selector: NotificationChannel_FieldPathSelectorMetadata, 512 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 513 } 514 } 515 516 func (s NotificationChannelPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 517 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 518 } 519 520 func (s NotificationChannelPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 521 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 522 } 523 524 type NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 525 526 func (NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *NotificationChannel_FieldSubPath { 527 return &NotificationChannel_FieldSubPath{ 528 selector: NotificationChannel_FieldPathSelectorMetadata, 529 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 530 } 531 } 532 533 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 534 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 535 } 536 537 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 538 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 539 } 540 541 type NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 542 543 func (NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *NotificationChannel_FieldSubPath { 544 return &NotificationChannel_FieldSubPath{ 545 selector: NotificationChannel_FieldPathSelectorMetadata, 546 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 547 } 548 } 549 550 func (s NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 551 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 552 } 553 554 func (s NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 555 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 556 } 557 558 type NotificationChannelPathSelectorMetadataShards struct{} 559 560 func (NotificationChannelPathSelectorMetadataShards) FieldPath() *NotificationChannel_FieldSubPath { 561 return &NotificationChannel_FieldSubPath{ 562 selector: NotificationChannel_FieldPathSelectorMetadata, 563 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 564 } 565 } 566 567 func (s NotificationChannelPathSelectorMetadataShards) WithValue(value map[string]int64) *NotificationChannel_FieldSubPathValue { 568 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 569 } 570 571 func (s NotificationChannelPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *NotificationChannel_FieldSubPathArrayOfValues { 572 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 573 } 574 575 func (NotificationChannelPathSelectorMetadataShards) WithKey(key string) NotificationChannelMapPathSelectorMetadataShards { 576 return NotificationChannelMapPathSelectorMetadataShards{key: key} 577 } 578 579 type NotificationChannelMapPathSelectorMetadataShards struct { 580 key string 581 } 582 583 func (s NotificationChannelMapPathSelectorMetadataShards) FieldPath() *NotificationChannel_FieldSubPath { 584 return &NotificationChannel_FieldSubPath{ 585 selector: NotificationChannel_FieldPathSelectorMetadata, 586 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 587 } 588 } 589 590 func (s NotificationChannelMapPathSelectorMetadataShards) WithValue(value int64) *NotificationChannel_FieldSubPathValue { 591 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 592 } 593 594 func (s NotificationChannelMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *NotificationChannel_FieldSubPathArrayOfValues { 595 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 596 } 597 598 type NotificationChannelPathSelectorMetadataSyncing struct{} 599 600 func (NotificationChannelPathSelectorMetadataSyncing) FieldPath() *NotificationChannel_FieldSubPath { 601 return &NotificationChannel_FieldSubPath{ 602 selector: NotificationChannel_FieldPathSelectorMetadata, 603 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 604 } 605 } 606 607 func (s NotificationChannelPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *NotificationChannel_FieldSubPathValue { 608 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 609 } 610 611 func (s NotificationChannelPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *NotificationChannel_FieldSubPathArrayOfValues { 612 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 613 } 614 615 func (NotificationChannelPathSelectorMetadataSyncing) OwningRegion() NotificationChannelPathSelectorMetadataSyncingOwningRegion { 616 return NotificationChannelPathSelectorMetadataSyncingOwningRegion{} 617 } 618 619 func (NotificationChannelPathSelectorMetadataSyncing) Regions() NotificationChannelPathSelectorMetadataSyncingRegions { 620 return NotificationChannelPathSelectorMetadataSyncingRegions{} 621 } 622 623 type NotificationChannelPathSelectorMetadataSyncingOwningRegion struct{} 624 625 func (NotificationChannelPathSelectorMetadataSyncingOwningRegion) FieldPath() *NotificationChannel_FieldSubPath { 626 return &NotificationChannel_FieldSubPath{ 627 selector: NotificationChannel_FieldPathSelectorMetadata, 628 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 629 } 630 } 631 632 func (s NotificationChannelPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 633 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 634 } 635 636 func (s NotificationChannelPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 637 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 638 } 639 640 type NotificationChannelPathSelectorMetadataSyncingRegions struct{} 641 642 func (NotificationChannelPathSelectorMetadataSyncingRegions) FieldPath() *NotificationChannel_FieldSubPath { 643 return &NotificationChannel_FieldSubPath{ 644 selector: NotificationChannel_FieldPathSelectorMetadata, 645 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 646 } 647 } 648 649 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 650 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 651 } 652 653 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 654 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 655 } 656 657 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 658 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 659 } 660 661 type NotificationChannelPathSelectorMetadataLifecycle struct{} 662 663 func (NotificationChannelPathSelectorMetadataLifecycle) FieldPath() *NotificationChannel_FieldSubPath { 664 return &NotificationChannel_FieldSubPath{ 665 selector: NotificationChannel_FieldPathSelectorMetadata, 666 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 667 } 668 } 669 670 func (s NotificationChannelPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *NotificationChannel_FieldSubPathValue { 671 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 672 } 673 674 func (s NotificationChannelPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *NotificationChannel_FieldSubPathArrayOfValues { 675 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 676 } 677 678 func (NotificationChannelPathSelectorMetadataLifecycle) State() NotificationChannelPathSelectorMetadataLifecycleState { 679 return NotificationChannelPathSelectorMetadataLifecycleState{} 680 } 681 682 func (NotificationChannelPathSelectorMetadataLifecycle) BlockDeletion() NotificationChannelPathSelectorMetadataLifecycleBlockDeletion { 683 return NotificationChannelPathSelectorMetadataLifecycleBlockDeletion{} 684 } 685 686 type NotificationChannelPathSelectorMetadataLifecycleState struct{} 687 688 func (NotificationChannelPathSelectorMetadataLifecycleState) FieldPath() *NotificationChannel_FieldSubPath { 689 return &NotificationChannel_FieldSubPath{ 690 selector: NotificationChannel_FieldPathSelectorMetadata, 691 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 692 } 693 } 694 695 func (s NotificationChannelPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *NotificationChannel_FieldSubPathValue { 696 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 697 } 698 699 func (s NotificationChannelPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *NotificationChannel_FieldSubPathArrayOfValues { 700 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 701 } 702 703 type NotificationChannelPathSelectorMetadataLifecycleBlockDeletion struct{} 704 705 func (NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *NotificationChannel_FieldSubPath { 706 return &NotificationChannel_FieldSubPath{ 707 selector: NotificationChannel_FieldPathSelectorMetadata, 708 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 709 } 710 } 711 712 func (s NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 713 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 714 } 715 716 func (s NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 717 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 718 } 719 720 type NotificationChannelPathSelectorMetadataServices struct{} 721 722 func (NotificationChannelPathSelectorMetadataServices) FieldPath() *NotificationChannel_FieldSubPath { 723 return &NotificationChannel_FieldSubPath{ 724 selector: NotificationChannel_FieldPathSelectorMetadata, 725 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 726 } 727 } 728 729 func (s NotificationChannelPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *NotificationChannel_FieldSubPathValue { 730 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 731 } 732 733 func (s NotificationChannelPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *NotificationChannel_FieldSubPathArrayOfValues { 734 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 735 } 736 737 func (NotificationChannelPathSelectorMetadataServices) OwningService() NotificationChannelPathSelectorMetadataServicesOwningService { 738 return NotificationChannelPathSelectorMetadataServicesOwningService{} 739 } 740 741 func (NotificationChannelPathSelectorMetadataServices) AllowedServices() NotificationChannelPathSelectorMetadataServicesAllowedServices { 742 return NotificationChannelPathSelectorMetadataServicesAllowedServices{} 743 } 744 745 type NotificationChannelPathSelectorMetadataServicesOwningService struct{} 746 747 func (NotificationChannelPathSelectorMetadataServicesOwningService) FieldPath() *NotificationChannel_FieldSubPath { 748 return &NotificationChannel_FieldSubPath{ 749 selector: NotificationChannel_FieldPathSelectorMetadata, 750 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 751 } 752 } 753 754 func (s NotificationChannelPathSelectorMetadataServicesOwningService) WithValue(value string) *NotificationChannel_FieldSubPathValue { 755 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 756 } 757 758 func (s NotificationChannelPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 759 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 760 } 761 762 type NotificationChannelPathSelectorMetadataServicesAllowedServices struct{} 763 764 func (NotificationChannelPathSelectorMetadataServicesAllowedServices) FieldPath() *NotificationChannel_FieldSubPath { 765 return &NotificationChannel_FieldSubPath{ 766 selector: NotificationChannel_FieldPathSelectorMetadata, 767 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 768 } 769 } 770 771 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 772 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 773 } 774 775 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 776 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 777 } 778 779 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 780 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 781 } 782 783 type NotificationChannelPathSelectorDisplayName struct{} 784 785 func (NotificationChannelPathSelectorDisplayName) FieldPath() *NotificationChannel_FieldTerminalPath { 786 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorDisplayName} 787 } 788 789 func (s NotificationChannelPathSelectorDisplayName) WithValue(value string) *NotificationChannel_FieldTerminalPathValue { 790 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 791 } 792 793 func (s NotificationChannelPathSelectorDisplayName) WithArrayOfValues(values []string) *NotificationChannel_FieldTerminalPathArrayOfValues { 794 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 795 } 796 797 type NotificationChannelPathSelectorDescription struct{} 798 799 func (NotificationChannelPathSelectorDescription) FieldPath() *NotificationChannel_FieldTerminalPath { 800 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorDescription} 801 } 802 803 func (s NotificationChannelPathSelectorDescription) WithValue(value string) *NotificationChannel_FieldTerminalPathValue { 804 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 805 } 806 807 func (s NotificationChannelPathSelectorDescription) WithArrayOfValues(values []string) *NotificationChannel_FieldTerminalPathArrayOfValues { 808 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 809 } 810 811 type NotificationChannelPathSelectorSpec struct{} 812 813 func (NotificationChannelPathSelectorSpec) FieldPath() *NotificationChannel_FieldTerminalPath { 814 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorSpec} 815 } 816 817 func (s NotificationChannelPathSelectorSpec) WithValue(value *rcommon.NotificationChannelSpec) *NotificationChannel_FieldTerminalPathValue { 818 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 819 } 820 821 func (s NotificationChannelPathSelectorSpec) WithArrayOfValues(values []*rcommon.NotificationChannelSpec) *NotificationChannel_FieldTerminalPathArrayOfValues { 822 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 823 } 824 825 func (NotificationChannelPathSelectorSpec) WithSubPath(subPath rcommon.NotificationChannelSpec_FieldPath) *NotificationChannel_FieldSubPath { 826 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorSpec, subPath: subPath} 827 } 828 829 func (s NotificationChannelPathSelectorSpec) WithSubValue(subPathValue rcommon.NotificationChannelSpec_FieldPathValue) *NotificationChannel_FieldSubPathValue { 830 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 831 } 832 833 func (s NotificationChannelPathSelectorSpec) WithSubArrayOfValues(subPathArrayOfValues rcommon.NotificationChannelSpec_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 834 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 835 } 836 837 func (s NotificationChannelPathSelectorSpec) WithSubArrayItemValue(subPathArrayItemValue rcommon.NotificationChannelSpec_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 838 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 839 } 840 841 func (NotificationChannelPathSelectorSpec) Enabled() NotificationChannelPathSelectorSpecEnabled { 842 return NotificationChannelPathSelectorSpecEnabled{} 843 } 844 845 func (NotificationChannelPathSelectorSpec) Type() NotificationChannelPathSelectorSpecType { 846 return NotificationChannelPathSelectorSpecType{} 847 } 848 849 func (NotificationChannelPathSelectorSpec) EnabledKinds() NotificationChannelPathSelectorSpecEnabledKinds { 850 return NotificationChannelPathSelectorSpecEnabledKinds{} 851 } 852 853 func (NotificationChannelPathSelectorSpec) Email() NotificationChannelPathSelectorSpecEmail { 854 return NotificationChannelPathSelectorSpecEmail{} 855 } 856 857 func (NotificationChannelPathSelectorSpec) Slack() NotificationChannelPathSelectorSpecSlack { 858 return NotificationChannelPathSelectorSpecSlack{} 859 } 860 861 func (NotificationChannelPathSelectorSpec) Webhook() NotificationChannelPathSelectorSpecWebhook { 862 return NotificationChannelPathSelectorSpecWebhook{} 863 } 864 865 func (NotificationChannelPathSelectorSpec) NotificationLanguageCode() NotificationChannelPathSelectorSpecNotificationLanguageCode { 866 return NotificationChannelPathSelectorSpecNotificationLanguageCode{} 867 } 868 869 func (NotificationChannelPathSelectorSpec) NotificationMask() NotificationChannelPathSelectorSpecNotificationMask { 870 return NotificationChannelPathSelectorSpecNotificationMask{} 871 } 872 873 func (NotificationChannelPathSelectorSpec) MaxAlertBodiesInMsg() NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg { 874 return NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg{} 875 } 876 877 func (NotificationChannelPathSelectorSpec) PutOnlyAlertsCounterWhenOverflowing() NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing { 878 return NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing{} 879 } 880 881 type NotificationChannelPathSelectorSpecEnabled struct{} 882 883 func (NotificationChannelPathSelectorSpecEnabled) FieldPath() *NotificationChannel_FieldSubPath { 884 return &NotificationChannel_FieldSubPath{ 885 selector: NotificationChannel_FieldPathSelectorSpec, 886 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Enabled().FieldPath(), 887 } 888 } 889 890 func (s NotificationChannelPathSelectorSpecEnabled) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 891 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 892 } 893 894 func (s NotificationChannelPathSelectorSpecEnabled) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 895 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 896 } 897 898 type NotificationChannelPathSelectorSpecType struct{} 899 900 func (NotificationChannelPathSelectorSpecType) FieldPath() *NotificationChannel_FieldSubPath { 901 return &NotificationChannel_FieldSubPath{ 902 selector: NotificationChannel_FieldPathSelectorSpec, 903 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Type().FieldPath(), 904 } 905 } 906 907 func (s NotificationChannelPathSelectorSpecType) WithValue(value rcommon.NotificationChannelSpec_Type) *NotificationChannel_FieldSubPathValue { 908 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 909 } 910 911 func (s NotificationChannelPathSelectorSpecType) WithArrayOfValues(values []rcommon.NotificationChannelSpec_Type) *NotificationChannel_FieldSubPathArrayOfValues { 912 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 913 } 914 915 type NotificationChannelPathSelectorSpecEnabledKinds struct{} 916 917 func (NotificationChannelPathSelectorSpecEnabledKinds) FieldPath() *NotificationChannel_FieldSubPath { 918 return &NotificationChannel_FieldSubPath{ 919 selector: NotificationChannel_FieldPathSelectorSpec, 920 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().EnabledKinds().FieldPath(), 921 } 922 } 923 924 func (s NotificationChannelPathSelectorSpecEnabledKinds) WithValue(value []rcommon.NotificationChannelSpec_EventKind) *NotificationChannel_FieldSubPathValue { 925 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 926 } 927 928 func (s NotificationChannelPathSelectorSpecEnabledKinds) WithArrayOfValues(values [][]rcommon.NotificationChannelSpec_EventKind) *NotificationChannel_FieldSubPathArrayOfValues { 929 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 930 } 931 932 func (s NotificationChannelPathSelectorSpecEnabledKinds) WithItemValue(value rcommon.NotificationChannelSpec_EventKind) *NotificationChannel_FieldSubPathArrayItemValue { 933 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 934 } 935 936 type NotificationChannelPathSelectorSpecEmail struct{} 937 938 func (NotificationChannelPathSelectorSpecEmail) FieldPath() *NotificationChannel_FieldSubPath { 939 return &NotificationChannel_FieldSubPath{ 940 selector: NotificationChannel_FieldPathSelectorSpec, 941 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Email().FieldPath(), 942 } 943 } 944 945 func (s NotificationChannelPathSelectorSpecEmail) WithValue(value *rcommon.NotificationChannelSpec_Email) *NotificationChannel_FieldSubPathValue { 946 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 947 } 948 949 func (s NotificationChannelPathSelectorSpecEmail) WithArrayOfValues(values []*rcommon.NotificationChannelSpec_Email) *NotificationChannel_FieldSubPathArrayOfValues { 950 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 951 } 952 953 func (NotificationChannelPathSelectorSpecEmail) Addresses() NotificationChannelPathSelectorSpecEmailAddresses { 954 return NotificationChannelPathSelectorSpecEmailAddresses{} 955 } 956 957 type NotificationChannelPathSelectorSpecEmailAddresses struct{} 958 959 func (NotificationChannelPathSelectorSpecEmailAddresses) FieldPath() *NotificationChannel_FieldSubPath { 960 return &NotificationChannel_FieldSubPath{ 961 selector: NotificationChannel_FieldPathSelectorSpec, 962 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Email().Addresses().FieldPath(), 963 } 964 } 965 966 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 967 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 968 } 969 970 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 971 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 972 } 973 974 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 975 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 976 } 977 978 type NotificationChannelPathSelectorSpecSlack struct{} 979 980 func (NotificationChannelPathSelectorSpecSlack) FieldPath() *NotificationChannel_FieldSubPath { 981 return &NotificationChannel_FieldSubPath{ 982 selector: NotificationChannel_FieldPathSelectorSpec, 983 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Slack().FieldPath(), 984 } 985 } 986 987 func (s NotificationChannelPathSelectorSpecSlack) WithValue(value *rcommon.NotificationChannelSpec_Slack) *NotificationChannel_FieldSubPathValue { 988 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 989 } 990 991 func (s NotificationChannelPathSelectorSpecSlack) WithArrayOfValues(values []*rcommon.NotificationChannelSpec_Slack) *NotificationChannel_FieldSubPathArrayOfValues { 992 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 993 } 994 995 func (NotificationChannelPathSelectorSpecSlack) IncomingWebhook() NotificationChannelPathSelectorSpecSlackIncomingWebhook { 996 return NotificationChannelPathSelectorSpecSlackIncomingWebhook{} 997 } 998 999 type NotificationChannelPathSelectorSpecSlackIncomingWebhook struct{} 1000 1001 func (NotificationChannelPathSelectorSpecSlackIncomingWebhook) FieldPath() *NotificationChannel_FieldSubPath { 1002 return &NotificationChannel_FieldSubPath{ 1003 selector: NotificationChannel_FieldPathSelectorSpec, 1004 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Slack().IncomingWebhook().FieldPath(), 1005 } 1006 } 1007 1008 func (s NotificationChannelPathSelectorSpecSlackIncomingWebhook) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1009 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1010 } 1011 1012 func (s NotificationChannelPathSelectorSpecSlackIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1013 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1014 } 1015 1016 type NotificationChannelPathSelectorSpecWebhook struct{} 1017 1018 func (NotificationChannelPathSelectorSpecWebhook) FieldPath() *NotificationChannel_FieldSubPath { 1019 return &NotificationChannel_FieldSubPath{ 1020 selector: NotificationChannel_FieldPathSelectorSpec, 1021 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().FieldPath(), 1022 } 1023 } 1024 1025 func (s NotificationChannelPathSelectorSpecWebhook) WithValue(value *rcommon.NotificationChannelSpec_Webhook) *NotificationChannel_FieldSubPathValue { 1026 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1027 } 1028 1029 func (s NotificationChannelPathSelectorSpecWebhook) WithArrayOfValues(values []*rcommon.NotificationChannelSpec_Webhook) *NotificationChannel_FieldSubPathArrayOfValues { 1030 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1031 } 1032 1033 func (NotificationChannelPathSelectorSpecWebhook) Url() NotificationChannelPathSelectorSpecWebhookUrl { 1034 return NotificationChannelPathSelectorSpecWebhookUrl{} 1035 } 1036 1037 func (NotificationChannelPathSelectorSpecWebhook) Headers() NotificationChannelPathSelectorSpecWebhookHeaders { 1038 return NotificationChannelPathSelectorSpecWebhookHeaders{} 1039 } 1040 1041 func (NotificationChannelPathSelectorSpecWebhook) MaxMessageSizeMb() NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb { 1042 return NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb{} 1043 } 1044 1045 type NotificationChannelPathSelectorSpecWebhookUrl struct{} 1046 1047 func (NotificationChannelPathSelectorSpecWebhookUrl) FieldPath() *NotificationChannel_FieldSubPath { 1048 return &NotificationChannel_FieldSubPath{ 1049 selector: NotificationChannel_FieldPathSelectorSpec, 1050 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().Url().FieldPath(), 1051 } 1052 } 1053 1054 func (s NotificationChannelPathSelectorSpecWebhookUrl) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1055 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1056 } 1057 1058 func (s NotificationChannelPathSelectorSpecWebhookUrl) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1059 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1060 } 1061 1062 type NotificationChannelPathSelectorSpecWebhookHeaders struct{} 1063 1064 func (NotificationChannelPathSelectorSpecWebhookHeaders) FieldPath() *NotificationChannel_FieldSubPath { 1065 return &NotificationChannel_FieldSubPath{ 1066 selector: NotificationChannel_FieldPathSelectorSpec, 1067 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().FieldPath(), 1068 } 1069 } 1070 1071 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithValue(value []*rcommon.NotificationChannelSpec_Webhook_Header) *NotificationChannel_FieldSubPathValue { 1072 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1073 } 1074 1075 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithArrayOfValues(values [][]*rcommon.NotificationChannelSpec_Webhook_Header) *NotificationChannel_FieldSubPathArrayOfValues { 1076 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1077 } 1078 1079 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithItemValue(value *rcommon.NotificationChannelSpec_Webhook_Header) *NotificationChannel_FieldSubPathArrayItemValue { 1080 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 1081 } 1082 1083 func (NotificationChannelPathSelectorSpecWebhookHeaders) Key() NotificationChannelPathSelectorSpecWebhookHeadersKey { 1084 return NotificationChannelPathSelectorSpecWebhookHeadersKey{} 1085 } 1086 1087 func (NotificationChannelPathSelectorSpecWebhookHeaders) Value() NotificationChannelPathSelectorSpecWebhookHeadersValue { 1088 return NotificationChannelPathSelectorSpecWebhookHeadersValue{} 1089 } 1090 1091 type NotificationChannelPathSelectorSpecWebhookHeadersKey struct{} 1092 1093 func (NotificationChannelPathSelectorSpecWebhookHeadersKey) FieldPath() *NotificationChannel_FieldSubPath { 1094 return &NotificationChannel_FieldSubPath{ 1095 selector: NotificationChannel_FieldPathSelectorSpec, 1096 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().Key().FieldPath(), 1097 } 1098 } 1099 1100 func (s NotificationChannelPathSelectorSpecWebhookHeadersKey) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1101 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1102 } 1103 1104 func (s NotificationChannelPathSelectorSpecWebhookHeadersKey) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1105 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1106 } 1107 1108 type NotificationChannelPathSelectorSpecWebhookHeadersValue struct{} 1109 1110 func (NotificationChannelPathSelectorSpecWebhookHeadersValue) FieldPath() *NotificationChannel_FieldSubPath { 1111 return &NotificationChannel_FieldSubPath{ 1112 selector: NotificationChannel_FieldPathSelectorSpec, 1113 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().Value().FieldPath(), 1114 } 1115 } 1116 1117 func (s NotificationChannelPathSelectorSpecWebhookHeadersValue) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1118 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1119 } 1120 1121 func (s NotificationChannelPathSelectorSpecWebhookHeadersValue) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1122 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1123 } 1124 1125 type NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb struct{} 1126 1127 func (NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) FieldPath() *NotificationChannel_FieldSubPath { 1128 return &NotificationChannel_FieldSubPath{ 1129 selector: NotificationChannel_FieldPathSelectorSpec, 1130 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().Webhook().MaxMessageSizeMb().FieldPath(), 1131 } 1132 } 1133 1134 func (s NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) WithValue(value float64) *NotificationChannel_FieldSubPathValue { 1135 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1136 } 1137 1138 func (s NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannel_FieldSubPathArrayOfValues { 1139 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1140 } 1141 1142 type NotificationChannelPathSelectorSpecNotificationLanguageCode struct{} 1143 1144 func (NotificationChannelPathSelectorSpecNotificationLanguageCode) FieldPath() *NotificationChannel_FieldSubPath { 1145 return &NotificationChannel_FieldSubPath{ 1146 selector: NotificationChannel_FieldPathSelectorSpec, 1147 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().NotificationLanguageCode().FieldPath(), 1148 } 1149 } 1150 1151 func (s NotificationChannelPathSelectorSpecNotificationLanguageCode) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1152 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1153 } 1154 1155 func (s NotificationChannelPathSelectorSpecNotificationLanguageCode) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1156 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1157 } 1158 1159 type NotificationChannelPathSelectorSpecNotificationMask struct{} 1160 1161 func (NotificationChannelPathSelectorSpecNotificationMask) FieldPath() *NotificationChannel_FieldSubPath { 1162 return &NotificationChannel_FieldSubPath{ 1163 selector: NotificationChannel_FieldPathSelectorSpec, 1164 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().NotificationMask().FieldPath(), 1165 } 1166 } 1167 1168 func (s NotificationChannelPathSelectorSpecNotificationMask) WithValue(value *fieldmaskpb.FieldMask) *NotificationChannel_FieldSubPathValue { 1169 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1170 } 1171 1172 func (s NotificationChannelPathSelectorSpecNotificationMask) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *NotificationChannel_FieldSubPathArrayOfValues { 1173 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1174 } 1175 1176 type NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg struct{} 1177 1178 func (NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg) FieldPath() *NotificationChannel_FieldSubPath { 1179 return &NotificationChannel_FieldSubPath{ 1180 selector: NotificationChannel_FieldPathSelectorSpec, 1181 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().MaxAlertBodiesInMsg().FieldPath(), 1182 } 1183 } 1184 1185 func (s NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg) WithValue(value int32) *NotificationChannel_FieldSubPathValue { 1186 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1187 } 1188 1189 func (s NotificationChannelPathSelectorSpecMaxAlertBodiesInMsg) WithArrayOfValues(values []int32) *NotificationChannel_FieldSubPathArrayOfValues { 1190 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1191 } 1192 1193 type NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing struct{} 1194 1195 func (NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing) FieldPath() *NotificationChannel_FieldSubPath { 1196 return &NotificationChannel_FieldSubPath{ 1197 selector: NotificationChannel_FieldPathSelectorSpec, 1198 subPath: rcommon.NewNotificationChannelSpecFieldPathBuilder().PutOnlyAlertsCounterWhenOverflowing().FieldPath(), 1199 } 1200 } 1201 1202 func (s NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 1203 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1204 } 1205 1206 func (s NotificationChannelPathSelectorSpecPutOnlyAlertsCounterWhenOverflowing) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 1207 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1208 } 1209 1210 type NotificationChannelPathSelectorState struct{} 1211 1212 func (NotificationChannelPathSelectorState) FieldPath() *NotificationChannel_FieldTerminalPath { 1213 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorState} 1214 } 1215 1216 func (s NotificationChannelPathSelectorState) WithValue(value *NotificationChannel_State) *NotificationChannel_FieldTerminalPathValue { 1217 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 1218 } 1219 1220 func (s NotificationChannelPathSelectorState) WithArrayOfValues(values []*NotificationChannel_State) *NotificationChannel_FieldTerminalPathArrayOfValues { 1221 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 1222 } 1223 1224 func (NotificationChannelPathSelectorState) WithSubPath(subPath NotificationChannelState_FieldPath) *NotificationChannel_FieldSubPath { 1225 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorState, subPath: subPath} 1226 } 1227 1228 func (s NotificationChannelPathSelectorState) WithSubValue(subPathValue NotificationChannelState_FieldPathValue) *NotificationChannel_FieldSubPathValue { 1229 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1230 } 1231 1232 func (s NotificationChannelPathSelectorState) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelState_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 1233 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1234 } 1235 1236 func (s NotificationChannelPathSelectorState) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelState_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 1237 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1238 } 1239 1240 func (NotificationChannelPathSelectorState) Status() NotificationChannelPathSelectorStateStatus { 1241 return NotificationChannelPathSelectorStateStatus{} 1242 } 1243 1244 func (NotificationChannelPathSelectorState) Error() NotificationChannelPathSelectorStateError { 1245 return NotificationChannelPathSelectorStateError{} 1246 } 1247 1248 type NotificationChannelPathSelectorStateStatus struct{} 1249 1250 func (NotificationChannelPathSelectorStateStatus) FieldPath() *NotificationChannel_FieldSubPath { 1251 return &NotificationChannel_FieldSubPath{ 1252 selector: NotificationChannel_FieldPathSelectorState, 1253 subPath: NewNotificationChannelStateFieldPathBuilder().Status().FieldPath(), 1254 } 1255 } 1256 1257 func (s NotificationChannelPathSelectorStateStatus) WithValue(value NotificationChannel_State_Status) *NotificationChannel_FieldSubPathValue { 1258 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1259 } 1260 1261 func (s NotificationChannelPathSelectorStateStatus) WithArrayOfValues(values []NotificationChannel_State_Status) *NotificationChannel_FieldSubPathArrayOfValues { 1262 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1263 } 1264 1265 type NotificationChannelPathSelectorStateError struct{} 1266 1267 func (NotificationChannelPathSelectorStateError) FieldPath() *NotificationChannel_FieldSubPath { 1268 return &NotificationChannel_FieldSubPath{ 1269 selector: NotificationChannel_FieldPathSelectorState, 1270 subPath: NewNotificationChannelStateFieldPathBuilder().Error().FieldPath(), 1271 } 1272 } 1273 1274 func (s NotificationChannelPathSelectorStateError) WithValue(value *NotificationChannel_State_Error) *NotificationChannel_FieldSubPathValue { 1275 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1276 } 1277 1278 func (s NotificationChannelPathSelectorStateError) WithArrayOfValues(values []*NotificationChannel_State_Error) *NotificationChannel_FieldSubPathArrayOfValues { 1279 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1280 } 1281 1282 func (NotificationChannelPathSelectorStateError) Time() NotificationChannelPathSelectorStateErrorTime { 1283 return NotificationChannelPathSelectorStateErrorTime{} 1284 } 1285 1286 func (NotificationChannelPathSelectorStateError) Message() NotificationChannelPathSelectorStateErrorMessage { 1287 return NotificationChannelPathSelectorStateErrorMessage{} 1288 } 1289 1290 type NotificationChannelPathSelectorStateErrorTime struct{} 1291 1292 func (NotificationChannelPathSelectorStateErrorTime) FieldPath() *NotificationChannel_FieldSubPath { 1293 return &NotificationChannel_FieldSubPath{ 1294 selector: NotificationChannel_FieldPathSelectorState, 1295 subPath: NewNotificationChannelStateFieldPathBuilder().Error().Time().FieldPath(), 1296 } 1297 } 1298 1299 func (s NotificationChannelPathSelectorStateErrorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 1300 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1301 } 1302 1303 func (s NotificationChannelPathSelectorStateErrorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 1304 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1305 } 1306 1307 type NotificationChannelPathSelectorStateErrorMessage struct{} 1308 1309 func (NotificationChannelPathSelectorStateErrorMessage) FieldPath() *NotificationChannel_FieldSubPath { 1310 return &NotificationChannel_FieldSubPath{ 1311 selector: NotificationChannel_FieldPathSelectorState, 1312 subPath: NewNotificationChannelStateFieldPathBuilder().Error().Message().FieldPath(), 1313 } 1314 } 1315 1316 func (s NotificationChannelPathSelectorStateErrorMessage) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1317 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1318 } 1319 1320 func (s NotificationChannelPathSelectorStateErrorMessage) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1321 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1322 } 1323 1324 type NotificationChannelStateFieldPathBuilder struct{} 1325 1326 func NewNotificationChannelStateFieldPathBuilder() NotificationChannelStateFieldPathBuilder { 1327 return NotificationChannelStateFieldPathBuilder{} 1328 } 1329 func (NotificationChannelStateFieldPathBuilder) Status() NotificationChannel_StatePathSelectorStatus { 1330 return NotificationChannel_StatePathSelectorStatus{} 1331 } 1332 func (NotificationChannelStateFieldPathBuilder) Error() NotificationChannel_StatePathSelectorError { 1333 return NotificationChannel_StatePathSelectorError{} 1334 } 1335 1336 type NotificationChannel_StatePathSelectorStatus struct{} 1337 1338 func (NotificationChannel_StatePathSelectorStatus) FieldPath() *NotificationChannelState_FieldTerminalPath { 1339 return &NotificationChannelState_FieldTerminalPath{selector: NotificationChannelState_FieldPathSelectorStatus} 1340 } 1341 1342 func (s NotificationChannel_StatePathSelectorStatus) WithValue(value NotificationChannel_State_Status) *NotificationChannelState_FieldTerminalPathValue { 1343 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldTerminalPathValue) 1344 } 1345 1346 func (s NotificationChannel_StatePathSelectorStatus) WithArrayOfValues(values []NotificationChannel_State_Status) *NotificationChannelState_FieldTerminalPathArrayOfValues { 1347 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldTerminalPathArrayOfValues) 1348 } 1349 1350 type NotificationChannel_StatePathSelectorError struct{} 1351 1352 func (NotificationChannel_StatePathSelectorError) FieldPath() *NotificationChannelState_FieldTerminalPath { 1353 return &NotificationChannelState_FieldTerminalPath{selector: NotificationChannelState_FieldPathSelectorError} 1354 } 1355 1356 func (s NotificationChannel_StatePathSelectorError) WithValue(value *NotificationChannel_State_Error) *NotificationChannelState_FieldTerminalPathValue { 1357 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldTerminalPathValue) 1358 } 1359 1360 func (s NotificationChannel_StatePathSelectorError) WithArrayOfValues(values []*NotificationChannel_State_Error) *NotificationChannelState_FieldTerminalPathArrayOfValues { 1361 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldTerminalPathArrayOfValues) 1362 } 1363 1364 func (NotificationChannel_StatePathSelectorError) WithSubPath(subPath NotificationChannelStateError_FieldPath) *NotificationChannelState_FieldSubPath { 1365 return &NotificationChannelState_FieldSubPath{selector: NotificationChannelState_FieldPathSelectorError, subPath: subPath} 1366 } 1367 1368 func (s NotificationChannel_StatePathSelectorError) WithSubValue(subPathValue NotificationChannelStateError_FieldPathValue) *NotificationChannelState_FieldSubPathValue { 1369 return &NotificationChannelState_FieldSubPathValue{NotificationChannelState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1370 } 1371 1372 func (s NotificationChannel_StatePathSelectorError) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelStateError_FieldPathArrayOfValues) *NotificationChannelState_FieldSubPathArrayOfValues { 1373 return &NotificationChannelState_FieldSubPathArrayOfValues{NotificationChannelState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1374 } 1375 1376 func (s NotificationChannel_StatePathSelectorError) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelStateError_FieldPathArrayItemValue) *NotificationChannelState_FieldSubPathArrayItemValue { 1377 return &NotificationChannelState_FieldSubPathArrayItemValue{NotificationChannelState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1378 } 1379 1380 func (NotificationChannel_StatePathSelectorError) Time() NotificationChannel_StatePathSelectorErrorTime { 1381 return NotificationChannel_StatePathSelectorErrorTime{} 1382 } 1383 1384 func (NotificationChannel_StatePathSelectorError) Message() NotificationChannel_StatePathSelectorErrorMessage { 1385 return NotificationChannel_StatePathSelectorErrorMessage{} 1386 } 1387 1388 type NotificationChannel_StatePathSelectorErrorTime struct{} 1389 1390 func (NotificationChannel_StatePathSelectorErrorTime) FieldPath() *NotificationChannelState_FieldSubPath { 1391 return &NotificationChannelState_FieldSubPath{ 1392 selector: NotificationChannelState_FieldPathSelectorError, 1393 subPath: NewNotificationChannelStateErrorFieldPathBuilder().Time().FieldPath(), 1394 } 1395 } 1396 1397 func (s NotificationChannel_StatePathSelectorErrorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannelState_FieldSubPathValue { 1398 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldSubPathValue) 1399 } 1400 1401 func (s NotificationChannel_StatePathSelectorErrorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannelState_FieldSubPathArrayOfValues { 1402 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldSubPathArrayOfValues) 1403 } 1404 1405 type NotificationChannel_StatePathSelectorErrorMessage struct{} 1406 1407 func (NotificationChannel_StatePathSelectorErrorMessage) FieldPath() *NotificationChannelState_FieldSubPath { 1408 return &NotificationChannelState_FieldSubPath{ 1409 selector: NotificationChannelState_FieldPathSelectorError, 1410 subPath: NewNotificationChannelStateErrorFieldPathBuilder().Message().FieldPath(), 1411 } 1412 } 1413 1414 func (s NotificationChannel_StatePathSelectorErrorMessage) WithValue(value string) *NotificationChannelState_FieldSubPathValue { 1415 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldSubPathValue) 1416 } 1417 1418 func (s NotificationChannel_StatePathSelectorErrorMessage) WithArrayOfValues(values []string) *NotificationChannelState_FieldSubPathArrayOfValues { 1419 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldSubPathArrayOfValues) 1420 } 1421 1422 type NotificationChannelStateErrorFieldPathBuilder struct{} 1423 1424 func NewNotificationChannelStateErrorFieldPathBuilder() NotificationChannelStateErrorFieldPathBuilder { 1425 return NotificationChannelStateErrorFieldPathBuilder{} 1426 } 1427 func (NotificationChannelStateErrorFieldPathBuilder) Time() NotificationChannel_State_ErrorPathSelectorTime { 1428 return NotificationChannel_State_ErrorPathSelectorTime{} 1429 } 1430 func (NotificationChannelStateErrorFieldPathBuilder) Message() NotificationChannel_State_ErrorPathSelectorMessage { 1431 return NotificationChannel_State_ErrorPathSelectorMessage{} 1432 } 1433 1434 type NotificationChannel_State_ErrorPathSelectorTime struct{} 1435 1436 func (NotificationChannel_State_ErrorPathSelectorTime) FieldPath() *NotificationChannelStateError_FieldTerminalPath { 1437 return &NotificationChannelStateError_FieldTerminalPath{selector: NotificationChannelStateError_FieldPathSelectorTime} 1438 } 1439 1440 func (s NotificationChannel_State_ErrorPathSelectorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannelStateError_FieldTerminalPathValue { 1441 return s.FieldPath().WithIValue(value).(*NotificationChannelStateError_FieldTerminalPathValue) 1442 } 1443 1444 func (s NotificationChannel_State_ErrorPathSelectorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannelStateError_FieldTerminalPathArrayOfValues { 1445 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelStateError_FieldTerminalPathArrayOfValues) 1446 } 1447 1448 type NotificationChannel_State_ErrorPathSelectorMessage struct{} 1449 1450 func (NotificationChannel_State_ErrorPathSelectorMessage) FieldPath() *NotificationChannelStateError_FieldTerminalPath { 1451 return &NotificationChannelStateError_FieldTerminalPath{selector: NotificationChannelStateError_FieldPathSelectorMessage} 1452 } 1453 1454 func (s NotificationChannel_State_ErrorPathSelectorMessage) WithValue(value string) *NotificationChannelStateError_FieldTerminalPathValue { 1455 return s.FieldPath().WithIValue(value).(*NotificationChannelStateError_FieldTerminalPathValue) 1456 } 1457 1458 func (s NotificationChannel_State_ErrorPathSelectorMessage) WithArrayOfValues(values []string) *NotificationChannelStateError_FieldTerminalPathArrayOfValues { 1459 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelStateError_FieldTerminalPathArrayOfValues) 1460 }