github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v4/notification_channel/notification_channel.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/monitoring/proto/v4/notification_channel.proto 3 // DO NOT EDIT!!! 4 5 package notification_channel 6 7 // proto imports 8 import ( 9 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 10 meta "github.com/cloudwan/goten-sdk/types/meta" 11 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 12 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 14 ) 15 16 // make sure we're using proto imports 17 var ( 18 _ = &project.Project{} 19 _ = &fieldmaskpb.FieldMask{} 20 _ = ×tamppb.Timestamp{} 21 _ = &meta.Meta{} 22 _ = &multi_region_policy.MultiRegionPolicy{} 23 ) 24 25 type NotificationChannelFieldPathBuilder struct{} 26 27 func NewNotificationChannelFieldPathBuilder() NotificationChannelFieldPathBuilder { 28 return NotificationChannelFieldPathBuilder{} 29 } 30 func (NotificationChannelFieldPathBuilder) Name() NotificationChannelPathSelectorName { 31 return NotificationChannelPathSelectorName{} 32 } 33 func (NotificationChannelFieldPathBuilder) Metadata() NotificationChannelPathSelectorMetadata { 34 return NotificationChannelPathSelectorMetadata{} 35 } 36 func (NotificationChannelFieldPathBuilder) DisplayName() NotificationChannelPathSelectorDisplayName { 37 return NotificationChannelPathSelectorDisplayName{} 38 } 39 func (NotificationChannelFieldPathBuilder) Spec() NotificationChannelPathSelectorSpec { 40 return NotificationChannelPathSelectorSpec{} 41 } 42 func (NotificationChannelFieldPathBuilder) State() NotificationChannelPathSelectorState { 43 return NotificationChannelPathSelectorState{} 44 } 45 func (NotificationChannelFieldPathBuilder) Description() NotificationChannelPathSelectorDescription { 46 return NotificationChannelPathSelectorDescription{} 47 } 48 49 type NotificationChannelPathSelectorName struct{} 50 51 func (NotificationChannelPathSelectorName) FieldPath() *NotificationChannel_FieldTerminalPath { 52 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorName} 53 } 54 55 func (s NotificationChannelPathSelectorName) WithValue(value *Name) *NotificationChannel_FieldTerminalPathValue { 56 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 57 } 58 59 func (s NotificationChannelPathSelectorName) WithArrayOfValues(values []*Name) *NotificationChannel_FieldTerminalPathArrayOfValues { 60 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 61 } 62 63 type NotificationChannelPathSelectorMetadata struct{} 64 65 func (NotificationChannelPathSelectorMetadata) FieldPath() *NotificationChannel_FieldTerminalPath { 66 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorMetadata} 67 } 68 69 func (s NotificationChannelPathSelectorMetadata) WithValue(value *meta.Meta) *NotificationChannel_FieldTerminalPathValue { 70 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 71 } 72 73 func (s NotificationChannelPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *NotificationChannel_FieldTerminalPathArrayOfValues { 74 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 75 } 76 77 func (NotificationChannelPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *NotificationChannel_FieldSubPath { 78 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorMetadata, subPath: subPath} 79 } 80 81 func (s NotificationChannelPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *NotificationChannel_FieldSubPathValue { 82 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 83 } 84 85 func (s NotificationChannelPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 86 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 87 } 88 89 func (s NotificationChannelPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 90 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 91 } 92 93 func (NotificationChannelPathSelectorMetadata) CreateTime() NotificationChannelPathSelectorMetadataCreateTime { 94 return NotificationChannelPathSelectorMetadataCreateTime{} 95 } 96 97 func (NotificationChannelPathSelectorMetadata) UpdateTime() NotificationChannelPathSelectorMetadataUpdateTime { 98 return NotificationChannelPathSelectorMetadataUpdateTime{} 99 } 100 101 func (NotificationChannelPathSelectorMetadata) DeleteTime() NotificationChannelPathSelectorMetadataDeleteTime { 102 return NotificationChannelPathSelectorMetadataDeleteTime{} 103 } 104 105 func (NotificationChannelPathSelectorMetadata) Uuid() NotificationChannelPathSelectorMetadataUuid { 106 return NotificationChannelPathSelectorMetadataUuid{} 107 } 108 109 func (NotificationChannelPathSelectorMetadata) Tags() NotificationChannelPathSelectorMetadataTags { 110 return NotificationChannelPathSelectorMetadataTags{} 111 } 112 113 func (NotificationChannelPathSelectorMetadata) Labels() NotificationChannelPathSelectorMetadataLabels { 114 return NotificationChannelPathSelectorMetadataLabels{} 115 } 116 117 func (NotificationChannelPathSelectorMetadata) Annotations() NotificationChannelPathSelectorMetadataAnnotations { 118 return NotificationChannelPathSelectorMetadataAnnotations{} 119 } 120 121 func (NotificationChannelPathSelectorMetadata) Generation() NotificationChannelPathSelectorMetadataGeneration { 122 return NotificationChannelPathSelectorMetadataGeneration{} 123 } 124 125 func (NotificationChannelPathSelectorMetadata) ResourceVersion() NotificationChannelPathSelectorMetadataResourceVersion { 126 return NotificationChannelPathSelectorMetadataResourceVersion{} 127 } 128 129 func (NotificationChannelPathSelectorMetadata) OwnerReferences() NotificationChannelPathSelectorMetadataOwnerReferences { 130 return NotificationChannelPathSelectorMetadataOwnerReferences{} 131 } 132 133 func (NotificationChannelPathSelectorMetadata) Shards() NotificationChannelPathSelectorMetadataShards { 134 return NotificationChannelPathSelectorMetadataShards{} 135 } 136 137 func (NotificationChannelPathSelectorMetadata) Syncing() NotificationChannelPathSelectorMetadataSyncing { 138 return NotificationChannelPathSelectorMetadataSyncing{} 139 } 140 141 func (NotificationChannelPathSelectorMetadata) Lifecycle() NotificationChannelPathSelectorMetadataLifecycle { 142 return NotificationChannelPathSelectorMetadataLifecycle{} 143 } 144 145 func (NotificationChannelPathSelectorMetadata) Services() NotificationChannelPathSelectorMetadataServices { 146 return NotificationChannelPathSelectorMetadataServices{} 147 } 148 149 type NotificationChannelPathSelectorMetadataCreateTime struct{} 150 151 func (NotificationChannelPathSelectorMetadataCreateTime) FieldPath() *NotificationChannel_FieldSubPath { 152 return &NotificationChannel_FieldSubPath{ 153 selector: NotificationChannel_FieldPathSelectorMetadata, 154 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 155 } 156 } 157 158 func (s NotificationChannelPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 159 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 160 } 161 162 func (s NotificationChannelPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 163 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 164 } 165 166 type NotificationChannelPathSelectorMetadataUpdateTime struct{} 167 168 func (NotificationChannelPathSelectorMetadataUpdateTime) FieldPath() *NotificationChannel_FieldSubPath { 169 return &NotificationChannel_FieldSubPath{ 170 selector: NotificationChannel_FieldPathSelectorMetadata, 171 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 172 } 173 } 174 175 func (s NotificationChannelPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 176 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 177 } 178 179 func (s NotificationChannelPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 180 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 181 } 182 183 type NotificationChannelPathSelectorMetadataDeleteTime struct{} 184 185 func (NotificationChannelPathSelectorMetadataDeleteTime) FieldPath() *NotificationChannel_FieldSubPath { 186 return &NotificationChannel_FieldSubPath{ 187 selector: NotificationChannel_FieldPathSelectorMetadata, 188 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 189 } 190 } 191 192 func (s NotificationChannelPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 193 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 194 } 195 196 func (s NotificationChannelPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 197 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 198 } 199 200 type NotificationChannelPathSelectorMetadataUuid struct{} 201 202 func (NotificationChannelPathSelectorMetadataUuid) FieldPath() *NotificationChannel_FieldSubPath { 203 return &NotificationChannel_FieldSubPath{ 204 selector: NotificationChannel_FieldPathSelectorMetadata, 205 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 206 } 207 } 208 209 func (s NotificationChannelPathSelectorMetadataUuid) WithValue(value string) *NotificationChannel_FieldSubPathValue { 210 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 211 } 212 213 func (s NotificationChannelPathSelectorMetadataUuid) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 214 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 215 } 216 217 type NotificationChannelPathSelectorMetadataTags struct{} 218 219 func (NotificationChannelPathSelectorMetadataTags) FieldPath() *NotificationChannel_FieldSubPath { 220 return &NotificationChannel_FieldSubPath{ 221 selector: NotificationChannel_FieldPathSelectorMetadata, 222 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 223 } 224 } 225 226 func (s NotificationChannelPathSelectorMetadataTags) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 227 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 228 } 229 230 func (s NotificationChannelPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 231 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 232 } 233 234 func (s NotificationChannelPathSelectorMetadataTags) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 235 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 236 } 237 238 type NotificationChannelPathSelectorMetadataLabels struct{} 239 240 func (NotificationChannelPathSelectorMetadataLabels) FieldPath() *NotificationChannel_FieldSubPath { 241 return &NotificationChannel_FieldSubPath{ 242 selector: NotificationChannel_FieldPathSelectorMetadata, 243 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 244 } 245 } 246 247 func (s NotificationChannelPathSelectorMetadataLabels) WithValue(value map[string]string) *NotificationChannel_FieldSubPathValue { 248 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 249 } 250 251 func (s NotificationChannelPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *NotificationChannel_FieldSubPathArrayOfValues { 252 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 253 } 254 255 func (NotificationChannelPathSelectorMetadataLabels) WithKey(key string) NotificationChannelMapPathSelectorMetadataLabels { 256 return NotificationChannelMapPathSelectorMetadataLabels{key: key} 257 } 258 259 type NotificationChannelMapPathSelectorMetadataLabels struct { 260 key string 261 } 262 263 func (s NotificationChannelMapPathSelectorMetadataLabels) FieldPath() *NotificationChannel_FieldSubPath { 264 return &NotificationChannel_FieldSubPath{ 265 selector: NotificationChannel_FieldPathSelectorMetadata, 266 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 267 } 268 } 269 270 func (s NotificationChannelMapPathSelectorMetadataLabels) WithValue(value string) *NotificationChannel_FieldSubPathValue { 271 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 272 } 273 274 func (s NotificationChannelMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 275 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 276 } 277 278 type NotificationChannelPathSelectorMetadataAnnotations struct{} 279 280 func (NotificationChannelPathSelectorMetadataAnnotations) FieldPath() *NotificationChannel_FieldSubPath { 281 return &NotificationChannel_FieldSubPath{ 282 selector: NotificationChannel_FieldPathSelectorMetadata, 283 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 284 } 285 } 286 287 func (s NotificationChannelPathSelectorMetadataAnnotations) WithValue(value map[string]string) *NotificationChannel_FieldSubPathValue { 288 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 289 } 290 291 func (s NotificationChannelPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *NotificationChannel_FieldSubPathArrayOfValues { 292 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 293 } 294 295 func (NotificationChannelPathSelectorMetadataAnnotations) WithKey(key string) NotificationChannelMapPathSelectorMetadataAnnotations { 296 return NotificationChannelMapPathSelectorMetadataAnnotations{key: key} 297 } 298 299 type NotificationChannelMapPathSelectorMetadataAnnotations struct { 300 key string 301 } 302 303 func (s NotificationChannelMapPathSelectorMetadataAnnotations) FieldPath() *NotificationChannel_FieldSubPath { 304 return &NotificationChannel_FieldSubPath{ 305 selector: NotificationChannel_FieldPathSelectorMetadata, 306 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 307 } 308 } 309 310 func (s NotificationChannelMapPathSelectorMetadataAnnotations) WithValue(value string) *NotificationChannel_FieldSubPathValue { 311 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 312 } 313 314 func (s NotificationChannelMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 315 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 316 } 317 318 type NotificationChannelPathSelectorMetadataGeneration struct{} 319 320 func (NotificationChannelPathSelectorMetadataGeneration) FieldPath() *NotificationChannel_FieldSubPath { 321 return &NotificationChannel_FieldSubPath{ 322 selector: NotificationChannel_FieldPathSelectorMetadata, 323 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 324 } 325 } 326 327 func (s NotificationChannelPathSelectorMetadataGeneration) WithValue(value int64) *NotificationChannel_FieldSubPathValue { 328 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 329 } 330 331 func (s NotificationChannelPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *NotificationChannel_FieldSubPathArrayOfValues { 332 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 333 } 334 335 type NotificationChannelPathSelectorMetadataResourceVersion struct{} 336 337 func (NotificationChannelPathSelectorMetadataResourceVersion) FieldPath() *NotificationChannel_FieldSubPath { 338 return &NotificationChannel_FieldSubPath{ 339 selector: NotificationChannel_FieldPathSelectorMetadata, 340 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 341 } 342 } 343 344 func (s NotificationChannelPathSelectorMetadataResourceVersion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 345 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 346 } 347 348 func (s NotificationChannelPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 349 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 350 } 351 352 type NotificationChannelPathSelectorMetadataOwnerReferences struct{} 353 354 func (NotificationChannelPathSelectorMetadataOwnerReferences) FieldPath() *NotificationChannel_FieldSubPath { 355 return &NotificationChannel_FieldSubPath{ 356 selector: NotificationChannel_FieldPathSelectorMetadata, 357 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 358 } 359 } 360 361 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *NotificationChannel_FieldSubPathValue { 362 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 363 } 364 365 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *NotificationChannel_FieldSubPathArrayOfValues { 366 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 367 } 368 369 func (s NotificationChannelPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *NotificationChannel_FieldSubPathArrayItemValue { 370 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 371 } 372 373 func (NotificationChannelPathSelectorMetadataOwnerReferences) Kind() NotificationChannelPathSelectorMetadataOwnerReferencesKind { 374 return NotificationChannelPathSelectorMetadataOwnerReferencesKind{} 375 } 376 377 func (NotificationChannelPathSelectorMetadataOwnerReferences) Version() NotificationChannelPathSelectorMetadataOwnerReferencesVersion { 378 return NotificationChannelPathSelectorMetadataOwnerReferencesVersion{} 379 } 380 381 func (NotificationChannelPathSelectorMetadataOwnerReferences) Name() NotificationChannelPathSelectorMetadataOwnerReferencesName { 382 return NotificationChannelPathSelectorMetadataOwnerReferencesName{} 383 } 384 385 func (NotificationChannelPathSelectorMetadataOwnerReferences) Region() NotificationChannelPathSelectorMetadataOwnerReferencesRegion { 386 return NotificationChannelPathSelectorMetadataOwnerReferencesRegion{} 387 } 388 389 func (NotificationChannelPathSelectorMetadataOwnerReferences) Controller() NotificationChannelPathSelectorMetadataOwnerReferencesController { 390 return NotificationChannelPathSelectorMetadataOwnerReferencesController{} 391 } 392 393 func (NotificationChannelPathSelectorMetadataOwnerReferences) RequiresOwnerReference() NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 394 return NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 395 } 396 397 func (NotificationChannelPathSelectorMetadataOwnerReferences) UnsetOnDelete() NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete { 398 return NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 399 } 400 401 type NotificationChannelPathSelectorMetadataOwnerReferencesKind struct{} 402 403 func (NotificationChannelPathSelectorMetadataOwnerReferencesKind) FieldPath() *NotificationChannel_FieldSubPath { 404 return &NotificationChannel_FieldSubPath{ 405 selector: NotificationChannel_FieldPathSelectorMetadata, 406 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 407 } 408 } 409 410 func (s NotificationChannelPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *NotificationChannel_FieldSubPathValue { 411 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 412 } 413 414 func (s NotificationChannelPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 415 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 416 } 417 418 type NotificationChannelPathSelectorMetadataOwnerReferencesVersion struct{} 419 420 func (NotificationChannelPathSelectorMetadataOwnerReferencesVersion) FieldPath() *NotificationChannel_FieldSubPath { 421 return &NotificationChannel_FieldSubPath{ 422 selector: NotificationChannel_FieldPathSelectorMetadata, 423 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 424 } 425 } 426 427 func (s NotificationChannelPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 428 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 429 } 430 431 func (s NotificationChannelPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 432 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 433 } 434 435 type NotificationChannelPathSelectorMetadataOwnerReferencesName struct{} 436 437 func (NotificationChannelPathSelectorMetadataOwnerReferencesName) FieldPath() *NotificationChannel_FieldSubPath { 438 return &NotificationChannel_FieldSubPath{ 439 selector: NotificationChannel_FieldPathSelectorMetadata, 440 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 441 } 442 } 443 444 func (s NotificationChannelPathSelectorMetadataOwnerReferencesName) WithValue(value string) *NotificationChannel_FieldSubPathValue { 445 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 446 } 447 448 func (s NotificationChannelPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 449 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 450 } 451 452 type NotificationChannelPathSelectorMetadataOwnerReferencesRegion struct{} 453 454 func (NotificationChannelPathSelectorMetadataOwnerReferencesRegion) FieldPath() *NotificationChannel_FieldSubPath { 455 return &NotificationChannel_FieldSubPath{ 456 selector: NotificationChannel_FieldPathSelectorMetadata, 457 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 458 } 459 } 460 461 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 462 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 463 } 464 465 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 466 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 467 } 468 469 type NotificationChannelPathSelectorMetadataOwnerReferencesController struct{} 470 471 func (NotificationChannelPathSelectorMetadataOwnerReferencesController) FieldPath() *NotificationChannel_FieldSubPath { 472 return &NotificationChannel_FieldSubPath{ 473 selector: NotificationChannel_FieldPathSelectorMetadata, 474 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 475 } 476 } 477 478 func (s NotificationChannelPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 479 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 480 } 481 482 func (s NotificationChannelPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 483 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 484 } 485 486 type NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 487 488 func (NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *NotificationChannel_FieldSubPath { 489 return &NotificationChannel_FieldSubPath{ 490 selector: NotificationChannel_FieldPathSelectorMetadata, 491 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 492 } 493 } 494 495 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 496 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 497 } 498 499 func (s NotificationChannelPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 500 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 501 } 502 503 type NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 504 505 func (NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *NotificationChannel_FieldSubPath { 506 return &NotificationChannel_FieldSubPath{ 507 selector: NotificationChannel_FieldPathSelectorMetadata, 508 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 509 } 510 } 511 512 func (s NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 513 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 514 } 515 516 func (s NotificationChannelPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 517 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 518 } 519 520 type NotificationChannelPathSelectorMetadataShards struct{} 521 522 func (NotificationChannelPathSelectorMetadataShards) FieldPath() *NotificationChannel_FieldSubPath { 523 return &NotificationChannel_FieldSubPath{ 524 selector: NotificationChannel_FieldPathSelectorMetadata, 525 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 526 } 527 } 528 529 func (s NotificationChannelPathSelectorMetadataShards) WithValue(value map[string]int64) *NotificationChannel_FieldSubPathValue { 530 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 531 } 532 533 func (s NotificationChannelPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *NotificationChannel_FieldSubPathArrayOfValues { 534 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 535 } 536 537 func (NotificationChannelPathSelectorMetadataShards) WithKey(key string) NotificationChannelMapPathSelectorMetadataShards { 538 return NotificationChannelMapPathSelectorMetadataShards{key: key} 539 } 540 541 type NotificationChannelMapPathSelectorMetadataShards struct { 542 key string 543 } 544 545 func (s NotificationChannelMapPathSelectorMetadataShards) FieldPath() *NotificationChannel_FieldSubPath { 546 return &NotificationChannel_FieldSubPath{ 547 selector: NotificationChannel_FieldPathSelectorMetadata, 548 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 549 } 550 } 551 552 func (s NotificationChannelMapPathSelectorMetadataShards) WithValue(value int64) *NotificationChannel_FieldSubPathValue { 553 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 554 } 555 556 func (s NotificationChannelMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *NotificationChannel_FieldSubPathArrayOfValues { 557 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 558 } 559 560 type NotificationChannelPathSelectorMetadataSyncing struct{} 561 562 func (NotificationChannelPathSelectorMetadataSyncing) FieldPath() *NotificationChannel_FieldSubPath { 563 return &NotificationChannel_FieldSubPath{ 564 selector: NotificationChannel_FieldPathSelectorMetadata, 565 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 566 } 567 } 568 569 func (s NotificationChannelPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *NotificationChannel_FieldSubPathValue { 570 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 571 } 572 573 func (s NotificationChannelPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *NotificationChannel_FieldSubPathArrayOfValues { 574 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 575 } 576 577 func (NotificationChannelPathSelectorMetadataSyncing) OwningRegion() NotificationChannelPathSelectorMetadataSyncingOwningRegion { 578 return NotificationChannelPathSelectorMetadataSyncingOwningRegion{} 579 } 580 581 func (NotificationChannelPathSelectorMetadataSyncing) Regions() NotificationChannelPathSelectorMetadataSyncingRegions { 582 return NotificationChannelPathSelectorMetadataSyncingRegions{} 583 } 584 585 type NotificationChannelPathSelectorMetadataSyncingOwningRegion struct{} 586 587 func (NotificationChannelPathSelectorMetadataSyncingOwningRegion) FieldPath() *NotificationChannel_FieldSubPath { 588 return &NotificationChannel_FieldSubPath{ 589 selector: NotificationChannel_FieldPathSelectorMetadata, 590 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 591 } 592 } 593 594 func (s NotificationChannelPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *NotificationChannel_FieldSubPathValue { 595 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 596 } 597 598 func (s NotificationChannelPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 599 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 600 } 601 602 type NotificationChannelPathSelectorMetadataSyncingRegions struct{} 603 604 func (NotificationChannelPathSelectorMetadataSyncingRegions) FieldPath() *NotificationChannel_FieldSubPath { 605 return &NotificationChannel_FieldSubPath{ 606 selector: NotificationChannel_FieldPathSelectorMetadata, 607 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 608 } 609 } 610 611 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 612 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 613 } 614 615 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 616 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 617 } 618 619 func (s NotificationChannelPathSelectorMetadataSyncingRegions) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 620 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 621 } 622 623 type NotificationChannelPathSelectorMetadataLifecycle struct{} 624 625 func (NotificationChannelPathSelectorMetadataLifecycle) FieldPath() *NotificationChannel_FieldSubPath { 626 return &NotificationChannel_FieldSubPath{ 627 selector: NotificationChannel_FieldPathSelectorMetadata, 628 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 629 } 630 } 631 632 func (s NotificationChannelPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *NotificationChannel_FieldSubPathValue { 633 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 634 } 635 636 func (s NotificationChannelPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *NotificationChannel_FieldSubPathArrayOfValues { 637 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 638 } 639 640 func (NotificationChannelPathSelectorMetadataLifecycle) State() NotificationChannelPathSelectorMetadataLifecycleState { 641 return NotificationChannelPathSelectorMetadataLifecycleState{} 642 } 643 644 func (NotificationChannelPathSelectorMetadataLifecycle) BlockDeletion() NotificationChannelPathSelectorMetadataLifecycleBlockDeletion { 645 return NotificationChannelPathSelectorMetadataLifecycleBlockDeletion{} 646 } 647 648 type NotificationChannelPathSelectorMetadataLifecycleState struct{} 649 650 func (NotificationChannelPathSelectorMetadataLifecycleState) FieldPath() *NotificationChannel_FieldSubPath { 651 return &NotificationChannel_FieldSubPath{ 652 selector: NotificationChannel_FieldPathSelectorMetadata, 653 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 654 } 655 } 656 657 func (s NotificationChannelPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *NotificationChannel_FieldSubPathValue { 658 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 659 } 660 661 func (s NotificationChannelPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *NotificationChannel_FieldSubPathArrayOfValues { 662 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 663 } 664 665 type NotificationChannelPathSelectorMetadataLifecycleBlockDeletion struct{} 666 667 func (NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *NotificationChannel_FieldSubPath { 668 return &NotificationChannel_FieldSubPath{ 669 selector: NotificationChannel_FieldPathSelectorMetadata, 670 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 671 } 672 } 673 674 func (s NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 675 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 676 } 677 678 func (s NotificationChannelPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 679 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 680 } 681 682 type NotificationChannelPathSelectorMetadataServices struct{} 683 684 func (NotificationChannelPathSelectorMetadataServices) FieldPath() *NotificationChannel_FieldSubPath { 685 return &NotificationChannel_FieldSubPath{ 686 selector: NotificationChannel_FieldPathSelectorMetadata, 687 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 688 } 689 } 690 691 func (s NotificationChannelPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *NotificationChannel_FieldSubPathValue { 692 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 693 } 694 695 func (s NotificationChannelPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *NotificationChannel_FieldSubPathArrayOfValues { 696 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 697 } 698 699 func (NotificationChannelPathSelectorMetadataServices) OwningService() NotificationChannelPathSelectorMetadataServicesOwningService { 700 return NotificationChannelPathSelectorMetadataServicesOwningService{} 701 } 702 703 func (NotificationChannelPathSelectorMetadataServices) AllowedServices() NotificationChannelPathSelectorMetadataServicesAllowedServices { 704 return NotificationChannelPathSelectorMetadataServicesAllowedServices{} 705 } 706 707 type NotificationChannelPathSelectorMetadataServicesOwningService struct{} 708 709 func (NotificationChannelPathSelectorMetadataServicesOwningService) FieldPath() *NotificationChannel_FieldSubPath { 710 return &NotificationChannel_FieldSubPath{ 711 selector: NotificationChannel_FieldPathSelectorMetadata, 712 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 713 } 714 } 715 716 func (s NotificationChannelPathSelectorMetadataServicesOwningService) WithValue(value string) *NotificationChannel_FieldSubPathValue { 717 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 718 } 719 720 func (s NotificationChannelPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 721 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 722 } 723 724 type NotificationChannelPathSelectorMetadataServicesAllowedServices struct{} 725 726 func (NotificationChannelPathSelectorMetadataServicesAllowedServices) FieldPath() *NotificationChannel_FieldSubPath { 727 return &NotificationChannel_FieldSubPath{ 728 selector: NotificationChannel_FieldPathSelectorMetadata, 729 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 730 } 731 } 732 733 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 734 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 735 } 736 737 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 738 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 739 } 740 741 func (s NotificationChannelPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 742 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 743 } 744 745 type NotificationChannelPathSelectorDisplayName struct{} 746 747 func (NotificationChannelPathSelectorDisplayName) FieldPath() *NotificationChannel_FieldTerminalPath { 748 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorDisplayName} 749 } 750 751 func (s NotificationChannelPathSelectorDisplayName) WithValue(value string) *NotificationChannel_FieldTerminalPathValue { 752 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 753 } 754 755 func (s NotificationChannelPathSelectorDisplayName) WithArrayOfValues(values []string) *NotificationChannel_FieldTerminalPathArrayOfValues { 756 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 757 } 758 759 type NotificationChannelPathSelectorSpec struct{} 760 761 func (NotificationChannelPathSelectorSpec) FieldPath() *NotificationChannel_FieldTerminalPath { 762 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorSpec} 763 } 764 765 func (s NotificationChannelPathSelectorSpec) WithValue(value *NotificationChannel_Spec) *NotificationChannel_FieldTerminalPathValue { 766 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 767 } 768 769 func (s NotificationChannelPathSelectorSpec) WithArrayOfValues(values []*NotificationChannel_Spec) *NotificationChannel_FieldTerminalPathArrayOfValues { 770 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 771 } 772 773 func (NotificationChannelPathSelectorSpec) WithSubPath(subPath NotificationChannelSpec_FieldPath) *NotificationChannel_FieldSubPath { 774 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorSpec, subPath: subPath} 775 } 776 777 func (s NotificationChannelPathSelectorSpec) WithSubValue(subPathValue NotificationChannelSpec_FieldPathValue) *NotificationChannel_FieldSubPathValue { 778 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 779 } 780 781 func (s NotificationChannelPathSelectorSpec) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpec_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 782 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 783 } 784 785 func (s NotificationChannelPathSelectorSpec) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpec_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 786 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 787 } 788 789 func (NotificationChannelPathSelectorSpec) Enabled() NotificationChannelPathSelectorSpecEnabled { 790 return NotificationChannelPathSelectorSpecEnabled{} 791 } 792 793 func (NotificationChannelPathSelectorSpec) Type() NotificationChannelPathSelectorSpecType { 794 return NotificationChannelPathSelectorSpecType{} 795 } 796 797 func (NotificationChannelPathSelectorSpec) Email() NotificationChannelPathSelectorSpecEmail { 798 return NotificationChannelPathSelectorSpecEmail{} 799 } 800 801 func (NotificationChannelPathSelectorSpec) Slack() NotificationChannelPathSelectorSpecSlack { 802 return NotificationChannelPathSelectorSpecSlack{} 803 } 804 805 func (NotificationChannelPathSelectorSpec) Webhook() NotificationChannelPathSelectorSpecWebhook { 806 return NotificationChannelPathSelectorSpecWebhook{} 807 } 808 809 func (NotificationChannelPathSelectorSpec) NotificationLanguageCode() NotificationChannelPathSelectorSpecNotificationLanguageCode { 810 return NotificationChannelPathSelectorSpecNotificationLanguageCode{} 811 } 812 813 type NotificationChannelPathSelectorSpecEnabled struct{} 814 815 func (NotificationChannelPathSelectorSpecEnabled) FieldPath() *NotificationChannel_FieldSubPath { 816 return &NotificationChannel_FieldSubPath{ 817 selector: NotificationChannel_FieldPathSelectorSpec, 818 subPath: NewNotificationChannelSpecFieldPathBuilder().Enabled().FieldPath(), 819 } 820 } 821 822 func (s NotificationChannelPathSelectorSpecEnabled) WithValue(value bool) *NotificationChannel_FieldSubPathValue { 823 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 824 } 825 826 func (s NotificationChannelPathSelectorSpecEnabled) WithArrayOfValues(values []bool) *NotificationChannel_FieldSubPathArrayOfValues { 827 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 828 } 829 830 type NotificationChannelPathSelectorSpecType struct{} 831 832 func (NotificationChannelPathSelectorSpecType) FieldPath() *NotificationChannel_FieldSubPath { 833 return &NotificationChannel_FieldSubPath{ 834 selector: NotificationChannel_FieldPathSelectorSpec, 835 subPath: NewNotificationChannelSpecFieldPathBuilder().Type().FieldPath(), 836 } 837 } 838 839 func (s NotificationChannelPathSelectorSpecType) WithValue(value NotificationChannel_Spec_Type) *NotificationChannel_FieldSubPathValue { 840 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 841 } 842 843 func (s NotificationChannelPathSelectorSpecType) WithArrayOfValues(values []NotificationChannel_Spec_Type) *NotificationChannel_FieldSubPathArrayOfValues { 844 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 845 } 846 847 type NotificationChannelPathSelectorSpecEmail struct{} 848 849 func (NotificationChannelPathSelectorSpecEmail) FieldPath() *NotificationChannel_FieldSubPath { 850 return &NotificationChannel_FieldSubPath{ 851 selector: NotificationChannel_FieldPathSelectorSpec, 852 subPath: NewNotificationChannelSpecFieldPathBuilder().Email().FieldPath(), 853 } 854 } 855 856 func (s NotificationChannelPathSelectorSpecEmail) WithValue(value *NotificationChannel_Spec_Email) *NotificationChannel_FieldSubPathValue { 857 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 858 } 859 860 func (s NotificationChannelPathSelectorSpecEmail) WithArrayOfValues(values []*NotificationChannel_Spec_Email) *NotificationChannel_FieldSubPathArrayOfValues { 861 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 862 } 863 864 func (NotificationChannelPathSelectorSpecEmail) Addresses() NotificationChannelPathSelectorSpecEmailAddresses { 865 return NotificationChannelPathSelectorSpecEmailAddresses{} 866 } 867 868 type NotificationChannelPathSelectorSpecEmailAddresses struct{} 869 870 func (NotificationChannelPathSelectorSpecEmailAddresses) FieldPath() *NotificationChannel_FieldSubPath { 871 return &NotificationChannel_FieldSubPath{ 872 selector: NotificationChannel_FieldPathSelectorSpec, 873 subPath: NewNotificationChannelSpecFieldPathBuilder().Email().Addresses().FieldPath(), 874 } 875 } 876 877 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithValue(value []string) *NotificationChannel_FieldSubPathValue { 878 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 879 } 880 881 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithArrayOfValues(values [][]string) *NotificationChannel_FieldSubPathArrayOfValues { 882 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 883 } 884 885 func (s NotificationChannelPathSelectorSpecEmailAddresses) WithItemValue(value string) *NotificationChannel_FieldSubPathArrayItemValue { 886 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 887 } 888 889 type NotificationChannelPathSelectorSpecSlack struct{} 890 891 func (NotificationChannelPathSelectorSpecSlack) FieldPath() *NotificationChannel_FieldSubPath { 892 return &NotificationChannel_FieldSubPath{ 893 selector: NotificationChannel_FieldPathSelectorSpec, 894 subPath: NewNotificationChannelSpecFieldPathBuilder().Slack().FieldPath(), 895 } 896 } 897 898 func (s NotificationChannelPathSelectorSpecSlack) WithValue(value *NotificationChannel_Spec_Slack) *NotificationChannel_FieldSubPathValue { 899 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 900 } 901 902 func (s NotificationChannelPathSelectorSpecSlack) WithArrayOfValues(values []*NotificationChannel_Spec_Slack) *NotificationChannel_FieldSubPathArrayOfValues { 903 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 904 } 905 906 func (NotificationChannelPathSelectorSpecSlack) IncomingWebhook() NotificationChannelPathSelectorSpecSlackIncomingWebhook { 907 return NotificationChannelPathSelectorSpecSlackIncomingWebhook{} 908 } 909 910 type NotificationChannelPathSelectorSpecSlackIncomingWebhook struct{} 911 912 func (NotificationChannelPathSelectorSpecSlackIncomingWebhook) FieldPath() *NotificationChannel_FieldSubPath { 913 return &NotificationChannel_FieldSubPath{ 914 selector: NotificationChannel_FieldPathSelectorSpec, 915 subPath: NewNotificationChannelSpecFieldPathBuilder().Slack().IncomingWebhook().FieldPath(), 916 } 917 } 918 919 func (s NotificationChannelPathSelectorSpecSlackIncomingWebhook) WithValue(value string) *NotificationChannel_FieldSubPathValue { 920 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 921 } 922 923 func (s NotificationChannelPathSelectorSpecSlackIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 924 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 925 } 926 927 type NotificationChannelPathSelectorSpecWebhook struct{} 928 929 func (NotificationChannelPathSelectorSpecWebhook) FieldPath() *NotificationChannel_FieldSubPath { 930 return &NotificationChannel_FieldSubPath{ 931 selector: NotificationChannel_FieldPathSelectorSpec, 932 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().FieldPath(), 933 } 934 } 935 936 func (s NotificationChannelPathSelectorSpecWebhook) WithValue(value *NotificationChannel_Spec_Webhook) *NotificationChannel_FieldSubPathValue { 937 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 938 } 939 940 func (s NotificationChannelPathSelectorSpecWebhook) WithArrayOfValues(values []*NotificationChannel_Spec_Webhook) *NotificationChannel_FieldSubPathArrayOfValues { 941 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 942 } 943 944 func (NotificationChannelPathSelectorSpecWebhook) Url() NotificationChannelPathSelectorSpecWebhookUrl { 945 return NotificationChannelPathSelectorSpecWebhookUrl{} 946 } 947 948 func (NotificationChannelPathSelectorSpecWebhook) Headers() NotificationChannelPathSelectorSpecWebhookHeaders { 949 return NotificationChannelPathSelectorSpecWebhookHeaders{} 950 } 951 952 func (NotificationChannelPathSelectorSpecWebhook) NotificationMask() NotificationChannelPathSelectorSpecWebhookNotificationMask { 953 return NotificationChannelPathSelectorSpecWebhookNotificationMask{} 954 } 955 956 func (NotificationChannelPathSelectorSpecWebhook) MaxMessageSizeMb() NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb { 957 return NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb{} 958 } 959 960 type NotificationChannelPathSelectorSpecWebhookUrl struct{} 961 962 func (NotificationChannelPathSelectorSpecWebhookUrl) FieldPath() *NotificationChannel_FieldSubPath { 963 return &NotificationChannel_FieldSubPath{ 964 selector: NotificationChannel_FieldPathSelectorSpec, 965 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().Url().FieldPath(), 966 } 967 } 968 969 func (s NotificationChannelPathSelectorSpecWebhookUrl) WithValue(value string) *NotificationChannel_FieldSubPathValue { 970 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 971 } 972 973 func (s NotificationChannelPathSelectorSpecWebhookUrl) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 974 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 975 } 976 977 type NotificationChannelPathSelectorSpecWebhookHeaders struct{} 978 979 func (NotificationChannelPathSelectorSpecWebhookHeaders) FieldPath() *NotificationChannel_FieldSubPath { 980 return &NotificationChannel_FieldSubPath{ 981 selector: NotificationChannel_FieldPathSelectorSpec, 982 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().FieldPath(), 983 } 984 } 985 986 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithValue(value []*NotificationChannel_Spec_Webhook_Header) *NotificationChannel_FieldSubPathValue { 987 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 988 } 989 990 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithArrayOfValues(values [][]*NotificationChannel_Spec_Webhook_Header) *NotificationChannel_FieldSubPathArrayOfValues { 991 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 992 } 993 994 func (s NotificationChannelPathSelectorSpecWebhookHeaders) WithItemValue(value *NotificationChannel_Spec_Webhook_Header) *NotificationChannel_FieldSubPathArrayItemValue { 995 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannel_FieldSubPathArrayItemValue) 996 } 997 998 func (NotificationChannelPathSelectorSpecWebhookHeaders) Key() NotificationChannelPathSelectorSpecWebhookHeadersKey { 999 return NotificationChannelPathSelectorSpecWebhookHeadersKey{} 1000 } 1001 1002 func (NotificationChannelPathSelectorSpecWebhookHeaders) Value() NotificationChannelPathSelectorSpecWebhookHeadersValue { 1003 return NotificationChannelPathSelectorSpecWebhookHeadersValue{} 1004 } 1005 1006 type NotificationChannelPathSelectorSpecWebhookHeadersKey struct{} 1007 1008 func (NotificationChannelPathSelectorSpecWebhookHeadersKey) FieldPath() *NotificationChannel_FieldSubPath { 1009 return &NotificationChannel_FieldSubPath{ 1010 selector: NotificationChannel_FieldPathSelectorSpec, 1011 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().Key().FieldPath(), 1012 } 1013 } 1014 1015 func (s NotificationChannelPathSelectorSpecWebhookHeadersKey) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1016 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1017 } 1018 1019 func (s NotificationChannelPathSelectorSpecWebhookHeadersKey) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1020 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1021 } 1022 1023 type NotificationChannelPathSelectorSpecWebhookHeadersValue struct{} 1024 1025 func (NotificationChannelPathSelectorSpecWebhookHeadersValue) FieldPath() *NotificationChannel_FieldSubPath { 1026 return &NotificationChannel_FieldSubPath{ 1027 selector: NotificationChannel_FieldPathSelectorSpec, 1028 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().Headers().Value().FieldPath(), 1029 } 1030 } 1031 1032 func (s NotificationChannelPathSelectorSpecWebhookHeadersValue) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1033 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1034 } 1035 1036 func (s NotificationChannelPathSelectorSpecWebhookHeadersValue) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1037 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1038 } 1039 1040 type NotificationChannelPathSelectorSpecWebhookNotificationMask struct{} 1041 1042 func (NotificationChannelPathSelectorSpecWebhookNotificationMask) FieldPath() *NotificationChannel_FieldSubPath { 1043 return &NotificationChannel_FieldSubPath{ 1044 selector: NotificationChannel_FieldPathSelectorSpec, 1045 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().NotificationMask().FieldPath(), 1046 } 1047 } 1048 1049 func (s NotificationChannelPathSelectorSpecWebhookNotificationMask) WithValue(value *fieldmaskpb.FieldMask) *NotificationChannel_FieldSubPathValue { 1050 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1051 } 1052 1053 func (s NotificationChannelPathSelectorSpecWebhookNotificationMask) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *NotificationChannel_FieldSubPathArrayOfValues { 1054 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1055 } 1056 1057 type NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb struct{} 1058 1059 func (NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) FieldPath() *NotificationChannel_FieldSubPath { 1060 return &NotificationChannel_FieldSubPath{ 1061 selector: NotificationChannel_FieldPathSelectorSpec, 1062 subPath: NewNotificationChannelSpecFieldPathBuilder().Webhook().MaxMessageSizeMb().FieldPath(), 1063 } 1064 } 1065 1066 func (s NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) WithValue(value float64) *NotificationChannel_FieldSubPathValue { 1067 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1068 } 1069 1070 func (s NotificationChannelPathSelectorSpecWebhookMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannel_FieldSubPathArrayOfValues { 1071 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1072 } 1073 1074 type NotificationChannelPathSelectorSpecNotificationLanguageCode struct{} 1075 1076 func (NotificationChannelPathSelectorSpecNotificationLanguageCode) FieldPath() *NotificationChannel_FieldSubPath { 1077 return &NotificationChannel_FieldSubPath{ 1078 selector: NotificationChannel_FieldPathSelectorSpec, 1079 subPath: NewNotificationChannelSpecFieldPathBuilder().NotificationLanguageCode().FieldPath(), 1080 } 1081 } 1082 1083 func (s NotificationChannelPathSelectorSpecNotificationLanguageCode) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1084 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1085 } 1086 1087 func (s NotificationChannelPathSelectorSpecNotificationLanguageCode) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1088 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1089 } 1090 1091 type NotificationChannelPathSelectorState struct{} 1092 1093 func (NotificationChannelPathSelectorState) FieldPath() *NotificationChannel_FieldTerminalPath { 1094 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorState} 1095 } 1096 1097 func (s NotificationChannelPathSelectorState) WithValue(value *NotificationChannel_State) *NotificationChannel_FieldTerminalPathValue { 1098 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 1099 } 1100 1101 func (s NotificationChannelPathSelectorState) WithArrayOfValues(values []*NotificationChannel_State) *NotificationChannel_FieldTerminalPathArrayOfValues { 1102 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 1103 } 1104 1105 func (NotificationChannelPathSelectorState) WithSubPath(subPath NotificationChannelState_FieldPath) *NotificationChannel_FieldSubPath { 1106 return &NotificationChannel_FieldSubPath{selector: NotificationChannel_FieldPathSelectorState, subPath: subPath} 1107 } 1108 1109 func (s NotificationChannelPathSelectorState) WithSubValue(subPathValue NotificationChannelState_FieldPathValue) *NotificationChannel_FieldSubPathValue { 1110 return &NotificationChannel_FieldSubPathValue{NotificationChannel_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1111 } 1112 1113 func (s NotificationChannelPathSelectorState) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelState_FieldPathArrayOfValues) *NotificationChannel_FieldSubPathArrayOfValues { 1114 return &NotificationChannel_FieldSubPathArrayOfValues{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1115 } 1116 1117 func (s NotificationChannelPathSelectorState) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelState_FieldPathArrayItemValue) *NotificationChannel_FieldSubPathArrayItemValue { 1118 return &NotificationChannel_FieldSubPathArrayItemValue{NotificationChannel_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1119 } 1120 1121 func (NotificationChannelPathSelectorState) Status() NotificationChannelPathSelectorStateStatus { 1122 return NotificationChannelPathSelectorStateStatus{} 1123 } 1124 1125 func (NotificationChannelPathSelectorState) Error() NotificationChannelPathSelectorStateError { 1126 return NotificationChannelPathSelectorStateError{} 1127 } 1128 1129 type NotificationChannelPathSelectorStateStatus struct{} 1130 1131 func (NotificationChannelPathSelectorStateStatus) FieldPath() *NotificationChannel_FieldSubPath { 1132 return &NotificationChannel_FieldSubPath{ 1133 selector: NotificationChannel_FieldPathSelectorState, 1134 subPath: NewNotificationChannelStateFieldPathBuilder().Status().FieldPath(), 1135 } 1136 } 1137 1138 func (s NotificationChannelPathSelectorStateStatus) WithValue(value NotificationChannel_State_Status) *NotificationChannel_FieldSubPathValue { 1139 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1140 } 1141 1142 func (s NotificationChannelPathSelectorStateStatus) WithArrayOfValues(values []NotificationChannel_State_Status) *NotificationChannel_FieldSubPathArrayOfValues { 1143 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1144 } 1145 1146 type NotificationChannelPathSelectorStateError struct{} 1147 1148 func (NotificationChannelPathSelectorStateError) FieldPath() *NotificationChannel_FieldSubPath { 1149 return &NotificationChannel_FieldSubPath{ 1150 selector: NotificationChannel_FieldPathSelectorState, 1151 subPath: NewNotificationChannelStateFieldPathBuilder().Error().FieldPath(), 1152 } 1153 } 1154 1155 func (s NotificationChannelPathSelectorStateError) WithValue(value *NotificationChannel_State_Error) *NotificationChannel_FieldSubPathValue { 1156 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1157 } 1158 1159 func (s NotificationChannelPathSelectorStateError) WithArrayOfValues(values []*NotificationChannel_State_Error) *NotificationChannel_FieldSubPathArrayOfValues { 1160 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1161 } 1162 1163 func (NotificationChannelPathSelectorStateError) Time() NotificationChannelPathSelectorStateErrorTime { 1164 return NotificationChannelPathSelectorStateErrorTime{} 1165 } 1166 1167 func (NotificationChannelPathSelectorStateError) Message() NotificationChannelPathSelectorStateErrorMessage { 1168 return NotificationChannelPathSelectorStateErrorMessage{} 1169 } 1170 1171 type NotificationChannelPathSelectorStateErrorTime struct{} 1172 1173 func (NotificationChannelPathSelectorStateErrorTime) FieldPath() *NotificationChannel_FieldSubPath { 1174 return &NotificationChannel_FieldSubPath{ 1175 selector: NotificationChannel_FieldPathSelectorState, 1176 subPath: NewNotificationChannelStateFieldPathBuilder().Error().Time().FieldPath(), 1177 } 1178 } 1179 1180 func (s NotificationChannelPathSelectorStateErrorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannel_FieldSubPathValue { 1181 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1182 } 1183 1184 func (s NotificationChannelPathSelectorStateErrorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannel_FieldSubPathArrayOfValues { 1185 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1186 } 1187 1188 type NotificationChannelPathSelectorStateErrorMessage struct{} 1189 1190 func (NotificationChannelPathSelectorStateErrorMessage) FieldPath() *NotificationChannel_FieldSubPath { 1191 return &NotificationChannel_FieldSubPath{ 1192 selector: NotificationChannel_FieldPathSelectorState, 1193 subPath: NewNotificationChannelStateFieldPathBuilder().Error().Message().FieldPath(), 1194 } 1195 } 1196 1197 func (s NotificationChannelPathSelectorStateErrorMessage) WithValue(value string) *NotificationChannel_FieldSubPathValue { 1198 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldSubPathValue) 1199 } 1200 1201 func (s NotificationChannelPathSelectorStateErrorMessage) WithArrayOfValues(values []string) *NotificationChannel_FieldSubPathArrayOfValues { 1202 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldSubPathArrayOfValues) 1203 } 1204 1205 type NotificationChannelPathSelectorDescription struct{} 1206 1207 func (NotificationChannelPathSelectorDescription) FieldPath() *NotificationChannel_FieldTerminalPath { 1208 return &NotificationChannel_FieldTerminalPath{selector: NotificationChannel_FieldPathSelectorDescription} 1209 } 1210 1211 func (s NotificationChannelPathSelectorDescription) WithValue(value string) *NotificationChannel_FieldTerminalPathValue { 1212 return s.FieldPath().WithIValue(value).(*NotificationChannel_FieldTerminalPathValue) 1213 } 1214 1215 func (s NotificationChannelPathSelectorDescription) WithArrayOfValues(values []string) *NotificationChannel_FieldTerminalPathArrayOfValues { 1216 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannel_FieldTerminalPathArrayOfValues) 1217 } 1218 1219 type NotificationChannelSpecFieldPathBuilder struct{} 1220 1221 func NewNotificationChannelSpecFieldPathBuilder() NotificationChannelSpecFieldPathBuilder { 1222 return NotificationChannelSpecFieldPathBuilder{} 1223 } 1224 func (NotificationChannelSpecFieldPathBuilder) Enabled() NotificationChannel_SpecPathSelectorEnabled { 1225 return NotificationChannel_SpecPathSelectorEnabled{} 1226 } 1227 func (NotificationChannelSpecFieldPathBuilder) Type() NotificationChannel_SpecPathSelectorType { 1228 return NotificationChannel_SpecPathSelectorType{} 1229 } 1230 func (NotificationChannelSpecFieldPathBuilder) Email() NotificationChannel_SpecPathSelectorEmail { 1231 return NotificationChannel_SpecPathSelectorEmail{} 1232 } 1233 func (NotificationChannelSpecFieldPathBuilder) Slack() NotificationChannel_SpecPathSelectorSlack { 1234 return NotificationChannel_SpecPathSelectorSlack{} 1235 } 1236 func (NotificationChannelSpecFieldPathBuilder) Webhook() NotificationChannel_SpecPathSelectorWebhook { 1237 return NotificationChannel_SpecPathSelectorWebhook{} 1238 } 1239 func (NotificationChannelSpecFieldPathBuilder) NotificationLanguageCode() NotificationChannel_SpecPathSelectorNotificationLanguageCode { 1240 return NotificationChannel_SpecPathSelectorNotificationLanguageCode{} 1241 } 1242 1243 type NotificationChannel_SpecPathSelectorEnabled struct{} 1244 1245 func (NotificationChannel_SpecPathSelectorEnabled) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1246 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorEnabled} 1247 } 1248 1249 func (s NotificationChannel_SpecPathSelectorEnabled) WithValue(value bool) *NotificationChannelSpec_FieldTerminalPathValue { 1250 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1251 } 1252 1253 func (s NotificationChannel_SpecPathSelectorEnabled) WithArrayOfValues(values []bool) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1254 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1255 } 1256 1257 type NotificationChannel_SpecPathSelectorType struct{} 1258 1259 func (NotificationChannel_SpecPathSelectorType) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1260 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorType} 1261 } 1262 1263 func (s NotificationChannel_SpecPathSelectorType) WithValue(value NotificationChannel_Spec_Type) *NotificationChannelSpec_FieldTerminalPathValue { 1264 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1265 } 1266 1267 func (s NotificationChannel_SpecPathSelectorType) WithArrayOfValues(values []NotificationChannel_Spec_Type) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1268 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1269 } 1270 1271 type NotificationChannel_SpecPathSelectorEmail struct{} 1272 1273 func (NotificationChannel_SpecPathSelectorEmail) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1274 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorEmail} 1275 } 1276 1277 func (s NotificationChannel_SpecPathSelectorEmail) WithValue(value *NotificationChannel_Spec_Email) *NotificationChannelSpec_FieldTerminalPathValue { 1278 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1279 } 1280 1281 func (s NotificationChannel_SpecPathSelectorEmail) WithArrayOfValues(values []*NotificationChannel_Spec_Email) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1282 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1283 } 1284 1285 func (NotificationChannel_SpecPathSelectorEmail) WithSubPath(subPath NotificationChannelSpecEmail_FieldPath) *NotificationChannelSpec_FieldSubPath { 1286 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorEmail, subPath: subPath} 1287 } 1288 1289 func (s NotificationChannel_SpecPathSelectorEmail) WithSubValue(subPathValue NotificationChannelSpecEmail_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 1290 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1291 } 1292 1293 func (s NotificationChannel_SpecPathSelectorEmail) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecEmail_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1294 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1295 } 1296 1297 func (s NotificationChannel_SpecPathSelectorEmail) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecEmail_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 1298 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1299 } 1300 1301 func (NotificationChannel_SpecPathSelectorEmail) Addresses() NotificationChannel_SpecPathSelectorEmailAddresses { 1302 return NotificationChannel_SpecPathSelectorEmailAddresses{} 1303 } 1304 1305 type NotificationChannel_SpecPathSelectorEmailAddresses struct{} 1306 1307 func (NotificationChannel_SpecPathSelectorEmailAddresses) FieldPath() *NotificationChannelSpec_FieldSubPath { 1308 return &NotificationChannelSpec_FieldSubPath{ 1309 selector: NotificationChannelSpec_FieldPathSelectorEmail, 1310 subPath: NewNotificationChannelSpecEmailFieldPathBuilder().Addresses().FieldPath(), 1311 } 1312 } 1313 1314 func (s NotificationChannel_SpecPathSelectorEmailAddresses) WithValue(value []string) *NotificationChannelSpec_FieldSubPathValue { 1315 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1316 } 1317 1318 func (s NotificationChannel_SpecPathSelectorEmailAddresses) WithArrayOfValues(values [][]string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1319 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1320 } 1321 1322 func (s NotificationChannel_SpecPathSelectorEmailAddresses) WithItemValue(value string) *NotificationChannelSpec_FieldSubPathArrayItemValue { 1323 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpec_FieldSubPathArrayItemValue) 1324 } 1325 1326 type NotificationChannel_SpecPathSelectorSlack struct{} 1327 1328 func (NotificationChannel_SpecPathSelectorSlack) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1329 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorSlack} 1330 } 1331 1332 func (s NotificationChannel_SpecPathSelectorSlack) WithValue(value *NotificationChannel_Spec_Slack) *NotificationChannelSpec_FieldTerminalPathValue { 1333 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1334 } 1335 1336 func (s NotificationChannel_SpecPathSelectorSlack) WithArrayOfValues(values []*NotificationChannel_Spec_Slack) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1337 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1338 } 1339 1340 func (NotificationChannel_SpecPathSelectorSlack) WithSubPath(subPath NotificationChannelSpecSlack_FieldPath) *NotificationChannelSpec_FieldSubPath { 1341 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorSlack, subPath: subPath} 1342 } 1343 1344 func (s NotificationChannel_SpecPathSelectorSlack) WithSubValue(subPathValue NotificationChannelSpecSlack_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 1345 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1346 } 1347 1348 func (s NotificationChannel_SpecPathSelectorSlack) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecSlack_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1349 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1350 } 1351 1352 func (s NotificationChannel_SpecPathSelectorSlack) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecSlack_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 1353 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1354 } 1355 1356 func (NotificationChannel_SpecPathSelectorSlack) IncomingWebhook() NotificationChannel_SpecPathSelectorSlackIncomingWebhook { 1357 return NotificationChannel_SpecPathSelectorSlackIncomingWebhook{} 1358 } 1359 1360 type NotificationChannel_SpecPathSelectorSlackIncomingWebhook struct{} 1361 1362 func (NotificationChannel_SpecPathSelectorSlackIncomingWebhook) FieldPath() *NotificationChannelSpec_FieldSubPath { 1363 return &NotificationChannelSpec_FieldSubPath{ 1364 selector: NotificationChannelSpec_FieldPathSelectorSlack, 1365 subPath: NewNotificationChannelSpecSlackFieldPathBuilder().IncomingWebhook().FieldPath(), 1366 } 1367 } 1368 1369 func (s NotificationChannel_SpecPathSelectorSlackIncomingWebhook) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 1370 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1371 } 1372 1373 func (s NotificationChannel_SpecPathSelectorSlackIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1374 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1375 } 1376 1377 type NotificationChannel_SpecPathSelectorWebhook struct{} 1378 1379 func (NotificationChannel_SpecPathSelectorWebhook) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1380 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorWebhook} 1381 } 1382 1383 func (s NotificationChannel_SpecPathSelectorWebhook) WithValue(value *NotificationChannel_Spec_Webhook) *NotificationChannelSpec_FieldTerminalPathValue { 1384 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1385 } 1386 1387 func (s NotificationChannel_SpecPathSelectorWebhook) WithArrayOfValues(values []*NotificationChannel_Spec_Webhook) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1388 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1389 } 1390 1391 func (NotificationChannel_SpecPathSelectorWebhook) WithSubPath(subPath NotificationChannelSpecWebhook_FieldPath) *NotificationChannelSpec_FieldSubPath { 1392 return &NotificationChannelSpec_FieldSubPath{selector: NotificationChannelSpec_FieldPathSelectorWebhook, subPath: subPath} 1393 } 1394 1395 func (s NotificationChannel_SpecPathSelectorWebhook) WithSubValue(subPathValue NotificationChannelSpecWebhook_FieldPathValue) *NotificationChannelSpec_FieldSubPathValue { 1396 return &NotificationChannelSpec_FieldSubPathValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1397 } 1398 1399 func (s NotificationChannel_SpecPathSelectorWebhook) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecWebhook_FieldPathArrayOfValues) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1400 return &NotificationChannelSpec_FieldSubPathArrayOfValues{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1401 } 1402 1403 func (s NotificationChannel_SpecPathSelectorWebhook) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecWebhook_FieldPathArrayItemValue) *NotificationChannelSpec_FieldSubPathArrayItemValue { 1404 return &NotificationChannelSpec_FieldSubPathArrayItemValue{NotificationChannelSpec_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1405 } 1406 1407 func (NotificationChannel_SpecPathSelectorWebhook) Url() NotificationChannel_SpecPathSelectorWebhookUrl { 1408 return NotificationChannel_SpecPathSelectorWebhookUrl{} 1409 } 1410 1411 func (NotificationChannel_SpecPathSelectorWebhook) Headers() NotificationChannel_SpecPathSelectorWebhookHeaders { 1412 return NotificationChannel_SpecPathSelectorWebhookHeaders{} 1413 } 1414 1415 func (NotificationChannel_SpecPathSelectorWebhook) NotificationMask() NotificationChannel_SpecPathSelectorWebhookNotificationMask { 1416 return NotificationChannel_SpecPathSelectorWebhookNotificationMask{} 1417 } 1418 1419 func (NotificationChannel_SpecPathSelectorWebhook) MaxMessageSizeMb() NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb { 1420 return NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb{} 1421 } 1422 1423 type NotificationChannel_SpecPathSelectorWebhookUrl struct{} 1424 1425 func (NotificationChannel_SpecPathSelectorWebhookUrl) FieldPath() *NotificationChannelSpec_FieldSubPath { 1426 return &NotificationChannelSpec_FieldSubPath{ 1427 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1428 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Url().FieldPath(), 1429 } 1430 } 1431 1432 func (s NotificationChannel_SpecPathSelectorWebhookUrl) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 1433 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1434 } 1435 1436 func (s NotificationChannel_SpecPathSelectorWebhookUrl) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1437 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1438 } 1439 1440 type NotificationChannel_SpecPathSelectorWebhookHeaders struct{} 1441 1442 func (NotificationChannel_SpecPathSelectorWebhookHeaders) FieldPath() *NotificationChannelSpec_FieldSubPath { 1443 return &NotificationChannelSpec_FieldSubPath{ 1444 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1445 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().FieldPath(), 1446 } 1447 } 1448 1449 func (s NotificationChannel_SpecPathSelectorWebhookHeaders) WithValue(value []*NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpec_FieldSubPathValue { 1450 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1451 } 1452 1453 func (s NotificationChannel_SpecPathSelectorWebhookHeaders) WithArrayOfValues(values [][]*NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1454 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1455 } 1456 1457 func (s NotificationChannel_SpecPathSelectorWebhookHeaders) WithItemValue(value *NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpec_FieldSubPathArrayItemValue { 1458 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpec_FieldSubPathArrayItemValue) 1459 } 1460 1461 func (NotificationChannel_SpecPathSelectorWebhookHeaders) Key() NotificationChannel_SpecPathSelectorWebhookHeadersKey { 1462 return NotificationChannel_SpecPathSelectorWebhookHeadersKey{} 1463 } 1464 1465 func (NotificationChannel_SpecPathSelectorWebhookHeaders) Value() NotificationChannel_SpecPathSelectorWebhookHeadersValue { 1466 return NotificationChannel_SpecPathSelectorWebhookHeadersValue{} 1467 } 1468 1469 type NotificationChannel_SpecPathSelectorWebhookHeadersKey struct{} 1470 1471 func (NotificationChannel_SpecPathSelectorWebhookHeadersKey) FieldPath() *NotificationChannelSpec_FieldSubPath { 1472 return &NotificationChannelSpec_FieldSubPath{ 1473 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1474 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().Key().FieldPath(), 1475 } 1476 } 1477 1478 func (s NotificationChannel_SpecPathSelectorWebhookHeadersKey) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 1479 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1480 } 1481 1482 func (s NotificationChannel_SpecPathSelectorWebhookHeadersKey) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1483 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1484 } 1485 1486 type NotificationChannel_SpecPathSelectorWebhookHeadersValue struct{} 1487 1488 func (NotificationChannel_SpecPathSelectorWebhookHeadersValue) FieldPath() *NotificationChannelSpec_FieldSubPath { 1489 return &NotificationChannelSpec_FieldSubPath{ 1490 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1491 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().Headers().Value().FieldPath(), 1492 } 1493 } 1494 1495 func (s NotificationChannel_SpecPathSelectorWebhookHeadersValue) WithValue(value string) *NotificationChannelSpec_FieldSubPathValue { 1496 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1497 } 1498 1499 func (s NotificationChannel_SpecPathSelectorWebhookHeadersValue) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1500 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1501 } 1502 1503 type NotificationChannel_SpecPathSelectorWebhookNotificationMask struct{} 1504 1505 func (NotificationChannel_SpecPathSelectorWebhookNotificationMask) FieldPath() *NotificationChannelSpec_FieldSubPath { 1506 return &NotificationChannelSpec_FieldSubPath{ 1507 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1508 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().NotificationMask().FieldPath(), 1509 } 1510 } 1511 1512 func (s NotificationChannel_SpecPathSelectorWebhookNotificationMask) WithValue(value *fieldmaskpb.FieldMask) *NotificationChannelSpec_FieldSubPathValue { 1513 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1514 } 1515 1516 func (s NotificationChannel_SpecPathSelectorWebhookNotificationMask) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1517 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1518 } 1519 1520 type NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb struct{} 1521 1522 func (NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb) FieldPath() *NotificationChannelSpec_FieldSubPath { 1523 return &NotificationChannelSpec_FieldSubPath{ 1524 selector: NotificationChannelSpec_FieldPathSelectorWebhook, 1525 subPath: NewNotificationChannelSpecWebhookFieldPathBuilder().MaxMessageSizeMb().FieldPath(), 1526 } 1527 } 1528 1529 func (s NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb) WithValue(value float64) *NotificationChannelSpec_FieldSubPathValue { 1530 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldSubPathValue) 1531 } 1532 1533 func (s NotificationChannel_SpecPathSelectorWebhookMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannelSpec_FieldSubPathArrayOfValues { 1534 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldSubPathArrayOfValues) 1535 } 1536 1537 type NotificationChannel_SpecPathSelectorNotificationLanguageCode struct{} 1538 1539 func (NotificationChannel_SpecPathSelectorNotificationLanguageCode) FieldPath() *NotificationChannelSpec_FieldTerminalPath { 1540 return &NotificationChannelSpec_FieldTerminalPath{selector: NotificationChannelSpec_FieldPathSelectorNotificationLanguageCode} 1541 } 1542 1543 func (s NotificationChannel_SpecPathSelectorNotificationLanguageCode) WithValue(value string) *NotificationChannelSpec_FieldTerminalPathValue { 1544 return s.FieldPath().WithIValue(value).(*NotificationChannelSpec_FieldTerminalPathValue) 1545 } 1546 1547 func (s NotificationChannel_SpecPathSelectorNotificationLanguageCode) WithArrayOfValues(values []string) *NotificationChannelSpec_FieldTerminalPathArrayOfValues { 1548 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpec_FieldTerminalPathArrayOfValues) 1549 } 1550 1551 type NotificationChannelStateFieldPathBuilder struct{} 1552 1553 func NewNotificationChannelStateFieldPathBuilder() NotificationChannelStateFieldPathBuilder { 1554 return NotificationChannelStateFieldPathBuilder{} 1555 } 1556 func (NotificationChannelStateFieldPathBuilder) Status() NotificationChannel_StatePathSelectorStatus { 1557 return NotificationChannel_StatePathSelectorStatus{} 1558 } 1559 func (NotificationChannelStateFieldPathBuilder) Error() NotificationChannel_StatePathSelectorError { 1560 return NotificationChannel_StatePathSelectorError{} 1561 } 1562 1563 type NotificationChannel_StatePathSelectorStatus struct{} 1564 1565 func (NotificationChannel_StatePathSelectorStatus) FieldPath() *NotificationChannelState_FieldTerminalPath { 1566 return &NotificationChannelState_FieldTerminalPath{selector: NotificationChannelState_FieldPathSelectorStatus} 1567 } 1568 1569 func (s NotificationChannel_StatePathSelectorStatus) WithValue(value NotificationChannel_State_Status) *NotificationChannelState_FieldTerminalPathValue { 1570 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldTerminalPathValue) 1571 } 1572 1573 func (s NotificationChannel_StatePathSelectorStatus) WithArrayOfValues(values []NotificationChannel_State_Status) *NotificationChannelState_FieldTerminalPathArrayOfValues { 1574 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldTerminalPathArrayOfValues) 1575 } 1576 1577 type NotificationChannel_StatePathSelectorError struct{} 1578 1579 func (NotificationChannel_StatePathSelectorError) FieldPath() *NotificationChannelState_FieldTerminalPath { 1580 return &NotificationChannelState_FieldTerminalPath{selector: NotificationChannelState_FieldPathSelectorError} 1581 } 1582 1583 func (s NotificationChannel_StatePathSelectorError) WithValue(value *NotificationChannel_State_Error) *NotificationChannelState_FieldTerminalPathValue { 1584 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldTerminalPathValue) 1585 } 1586 1587 func (s NotificationChannel_StatePathSelectorError) WithArrayOfValues(values []*NotificationChannel_State_Error) *NotificationChannelState_FieldTerminalPathArrayOfValues { 1588 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldTerminalPathArrayOfValues) 1589 } 1590 1591 func (NotificationChannel_StatePathSelectorError) WithSubPath(subPath NotificationChannelStateError_FieldPath) *NotificationChannelState_FieldSubPath { 1592 return &NotificationChannelState_FieldSubPath{selector: NotificationChannelState_FieldPathSelectorError, subPath: subPath} 1593 } 1594 1595 func (s NotificationChannel_StatePathSelectorError) WithSubValue(subPathValue NotificationChannelStateError_FieldPathValue) *NotificationChannelState_FieldSubPathValue { 1596 return &NotificationChannelState_FieldSubPathValue{NotificationChannelState_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1597 } 1598 1599 func (s NotificationChannel_StatePathSelectorError) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelStateError_FieldPathArrayOfValues) *NotificationChannelState_FieldSubPathArrayOfValues { 1600 return &NotificationChannelState_FieldSubPathArrayOfValues{NotificationChannelState_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1601 } 1602 1603 func (s NotificationChannel_StatePathSelectorError) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelStateError_FieldPathArrayItemValue) *NotificationChannelState_FieldSubPathArrayItemValue { 1604 return &NotificationChannelState_FieldSubPathArrayItemValue{NotificationChannelState_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1605 } 1606 1607 func (NotificationChannel_StatePathSelectorError) Time() NotificationChannel_StatePathSelectorErrorTime { 1608 return NotificationChannel_StatePathSelectorErrorTime{} 1609 } 1610 1611 func (NotificationChannel_StatePathSelectorError) Message() NotificationChannel_StatePathSelectorErrorMessage { 1612 return NotificationChannel_StatePathSelectorErrorMessage{} 1613 } 1614 1615 type NotificationChannel_StatePathSelectorErrorTime struct{} 1616 1617 func (NotificationChannel_StatePathSelectorErrorTime) FieldPath() *NotificationChannelState_FieldSubPath { 1618 return &NotificationChannelState_FieldSubPath{ 1619 selector: NotificationChannelState_FieldPathSelectorError, 1620 subPath: NewNotificationChannelStateErrorFieldPathBuilder().Time().FieldPath(), 1621 } 1622 } 1623 1624 func (s NotificationChannel_StatePathSelectorErrorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannelState_FieldSubPathValue { 1625 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldSubPathValue) 1626 } 1627 1628 func (s NotificationChannel_StatePathSelectorErrorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannelState_FieldSubPathArrayOfValues { 1629 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldSubPathArrayOfValues) 1630 } 1631 1632 type NotificationChannel_StatePathSelectorErrorMessage struct{} 1633 1634 func (NotificationChannel_StatePathSelectorErrorMessage) FieldPath() *NotificationChannelState_FieldSubPath { 1635 return &NotificationChannelState_FieldSubPath{ 1636 selector: NotificationChannelState_FieldPathSelectorError, 1637 subPath: NewNotificationChannelStateErrorFieldPathBuilder().Message().FieldPath(), 1638 } 1639 } 1640 1641 func (s NotificationChannel_StatePathSelectorErrorMessage) WithValue(value string) *NotificationChannelState_FieldSubPathValue { 1642 return s.FieldPath().WithIValue(value).(*NotificationChannelState_FieldSubPathValue) 1643 } 1644 1645 func (s NotificationChannel_StatePathSelectorErrorMessage) WithArrayOfValues(values []string) *NotificationChannelState_FieldSubPathArrayOfValues { 1646 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelState_FieldSubPathArrayOfValues) 1647 } 1648 1649 type NotificationChannelSpecEmailFieldPathBuilder struct{} 1650 1651 func NewNotificationChannelSpecEmailFieldPathBuilder() NotificationChannelSpecEmailFieldPathBuilder { 1652 return NotificationChannelSpecEmailFieldPathBuilder{} 1653 } 1654 func (NotificationChannelSpecEmailFieldPathBuilder) Addresses() NotificationChannel_Spec_EmailPathSelectorAddresses { 1655 return NotificationChannel_Spec_EmailPathSelectorAddresses{} 1656 } 1657 1658 type NotificationChannel_Spec_EmailPathSelectorAddresses struct{} 1659 1660 func (NotificationChannel_Spec_EmailPathSelectorAddresses) FieldPath() *NotificationChannelSpecEmail_FieldTerminalPath { 1661 return &NotificationChannelSpecEmail_FieldTerminalPath{selector: NotificationChannelSpecEmail_FieldPathSelectorAddresses} 1662 } 1663 1664 func (s NotificationChannel_Spec_EmailPathSelectorAddresses) WithValue(value []string) *NotificationChannelSpecEmail_FieldTerminalPathValue { 1665 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecEmail_FieldTerminalPathValue) 1666 } 1667 1668 func (s NotificationChannel_Spec_EmailPathSelectorAddresses) WithArrayOfValues(values [][]string) *NotificationChannelSpecEmail_FieldTerminalPathArrayOfValues { 1669 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecEmail_FieldTerminalPathArrayOfValues) 1670 } 1671 1672 func (s NotificationChannel_Spec_EmailPathSelectorAddresses) WithItemValue(value string) *NotificationChannelSpecEmail_FieldTerminalPathArrayItemValue { 1673 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpecEmail_FieldTerminalPathArrayItemValue) 1674 } 1675 1676 type NotificationChannelSpecSlackFieldPathBuilder struct{} 1677 1678 func NewNotificationChannelSpecSlackFieldPathBuilder() NotificationChannelSpecSlackFieldPathBuilder { 1679 return NotificationChannelSpecSlackFieldPathBuilder{} 1680 } 1681 func (NotificationChannelSpecSlackFieldPathBuilder) IncomingWebhook() NotificationChannel_Spec_SlackPathSelectorIncomingWebhook { 1682 return NotificationChannel_Spec_SlackPathSelectorIncomingWebhook{} 1683 } 1684 1685 type NotificationChannel_Spec_SlackPathSelectorIncomingWebhook struct{} 1686 1687 func (NotificationChannel_Spec_SlackPathSelectorIncomingWebhook) FieldPath() *NotificationChannelSpecSlack_FieldTerminalPath { 1688 return &NotificationChannelSpecSlack_FieldTerminalPath{selector: NotificationChannelSpecSlack_FieldPathSelectorIncomingWebhook} 1689 } 1690 1691 func (s NotificationChannel_Spec_SlackPathSelectorIncomingWebhook) WithValue(value string) *NotificationChannelSpecSlack_FieldTerminalPathValue { 1692 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecSlack_FieldTerminalPathValue) 1693 } 1694 1695 func (s NotificationChannel_Spec_SlackPathSelectorIncomingWebhook) WithArrayOfValues(values []string) *NotificationChannelSpecSlack_FieldTerminalPathArrayOfValues { 1696 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecSlack_FieldTerminalPathArrayOfValues) 1697 } 1698 1699 type NotificationChannelSpecPagerDutyFieldPathBuilder struct{} 1700 1701 func NewNotificationChannelSpecPagerDutyFieldPathBuilder() NotificationChannelSpecPagerDutyFieldPathBuilder { 1702 return NotificationChannelSpecPagerDutyFieldPathBuilder{} 1703 } 1704 func (NotificationChannelSpecPagerDutyFieldPathBuilder) ServiceKey() NotificationChannel_Spec_PagerDutyPathSelectorServiceKey { 1705 return NotificationChannel_Spec_PagerDutyPathSelectorServiceKey{} 1706 } 1707 1708 type NotificationChannel_Spec_PagerDutyPathSelectorServiceKey struct{} 1709 1710 func (NotificationChannel_Spec_PagerDutyPathSelectorServiceKey) FieldPath() *NotificationChannelSpecPagerDuty_FieldTerminalPath { 1711 return &NotificationChannelSpecPagerDuty_FieldTerminalPath{selector: NotificationChannelSpecPagerDuty_FieldPathSelectorServiceKey} 1712 } 1713 1714 func (s NotificationChannel_Spec_PagerDutyPathSelectorServiceKey) WithValue(value string) *NotificationChannelSpecPagerDuty_FieldTerminalPathValue { 1715 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecPagerDuty_FieldTerminalPathValue) 1716 } 1717 1718 func (s NotificationChannel_Spec_PagerDutyPathSelectorServiceKey) WithArrayOfValues(values []string) *NotificationChannelSpecPagerDuty_FieldTerminalPathArrayOfValues { 1719 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecPagerDuty_FieldTerminalPathArrayOfValues) 1720 } 1721 1722 type NotificationChannelSpecWebhookFieldPathBuilder struct{} 1723 1724 func NewNotificationChannelSpecWebhookFieldPathBuilder() NotificationChannelSpecWebhookFieldPathBuilder { 1725 return NotificationChannelSpecWebhookFieldPathBuilder{} 1726 } 1727 func (NotificationChannelSpecWebhookFieldPathBuilder) Url() NotificationChannel_Spec_WebhookPathSelectorUrl { 1728 return NotificationChannel_Spec_WebhookPathSelectorUrl{} 1729 } 1730 func (NotificationChannelSpecWebhookFieldPathBuilder) Headers() NotificationChannel_Spec_WebhookPathSelectorHeaders { 1731 return NotificationChannel_Spec_WebhookPathSelectorHeaders{} 1732 } 1733 func (NotificationChannelSpecWebhookFieldPathBuilder) NotificationMask() NotificationChannel_Spec_WebhookPathSelectorNotificationMask { 1734 return NotificationChannel_Spec_WebhookPathSelectorNotificationMask{} 1735 } 1736 func (NotificationChannelSpecWebhookFieldPathBuilder) MaxMessageSizeMb() NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb { 1737 return NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb{} 1738 } 1739 1740 type NotificationChannel_Spec_WebhookPathSelectorUrl struct{} 1741 1742 func (NotificationChannel_Spec_WebhookPathSelectorUrl) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 1743 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorUrl} 1744 } 1745 1746 func (s NotificationChannel_Spec_WebhookPathSelectorUrl) WithValue(value string) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 1747 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 1748 } 1749 1750 func (s NotificationChannel_Spec_WebhookPathSelectorUrl) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 1751 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 1752 } 1753 1754 type NotificationChannel_Spec_WebhookPathSelectorHeaders struct{} 1755 1756 func (NotificationChannel_Spec_WebhookPathSelectorHeaders) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 1757 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders} 1758 } 1759 1760 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithValue(value []*NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 1761 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 1762 } 1763 1764 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithArrayOfValues(values [][]*NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 1765 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 1766 } 1767 1768 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithItemValue(value *NotificationChannel_Spec_Webhook_Header) *NotificationChannelSpecWebhook_FieldTerminalPathArrayItemValue { 1769 return s.FieldPath().WithIArrayItemValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayItemValue) 1770 } 1771 func (NotificationChannel_Spec_WebhookPathSelectorHeaders) WithSubPath(subPath NotificationChannelSpecWebhookHeader_FieldPath) *NotificationChannelSpecWebhook_FieldSubPath { 1772 return &NotificationChannelSpecWebhook_FieldSubPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, subPath: subPath} 1773 } 1774 1775 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithSubValue(subPathValue NotificationChannelSpecWebhookHeader_FieldPathValue) *NotificationChannelSpecWebhook_FieldSubPathValue { 1776 return &NotificationChannelSpecWebhook_FieldSubPathValue{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1777 } 1778 1779 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithSubArrayOfValues(subPathArrayOfValues NotificationChannelSpecWebhookHeader_FieldPathArrayOfValues) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 1780 return &NotificationChannelSpecWebhook_FieldSubPathArrayOfValues{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1781 } 1782 1783 func (s NotificationChannel_Spec_WebhookPathSelectorHeaders) WithSubArrayItemValue(subPathArrayItemValue NotificationChannelSpecWebhookHeader_FieldPathArrayItemValue) *NotificationChannelSpecWebhook_FieldSubPathArrayItemValue { 1784 return &NotificationChannelSpecWebhook_FieldSubPathArrayItemValue{NotificationChannelSpecWebhook_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1785 } 1786 1787 func (NotificationChannel_Spec_WebhookPathSelectorHeaders) Key() NotificationChannel_Spec_WebhookPathSelectorHeadersKey { 1788 return NotificationChannel_Spec_WebhookPathSelectorHeadersKey{} 1789 } 1790 1791 func (NotificationChannel_Spec_WebhookPathSelectorHeaders) Value() NotificationChannel_Spec_WebhookPathSelectorHeadersValue { 1792 return NotificationChannel_Spec_WebhookPathSelectorHeadersValue{} 1793 } 1794 1795 type NotificationChannel_Spec_WebhookPathSelectorHeadersKey struct{} 1796 1797 func (NotificationChannel_Spec_WebhookPathSelectorHeadersKey) FieldPath() *NotificationChannelSpecWebhook_FieldSubPath { 1798 return &NotificationChannelSpecWebhook_FieldSubPath{ 1799 selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, 1800 subPath: NewNotificationChannelSpecWebhookHeaderFieldPathBuilder().Key().FieldPath(), 1801 } 1802 } 1803 1804 func (s NotificationChannel_Spec_WebhookPathSelectorHeadersKey) WithValue(value string) *NotificationChannelSpecWebhook_FieldSubPathValue { 1805 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldSubPathValue) 1806 } 1807 1808 func (s NotificationChannel_Spec_WebhookPathSelectorHeadersKey) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 1809 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldSubPathArrayOfValues) 1810 } 1811 1812 type NotificationChannel_Spec_WebhookPathSelectorHeadersValue struct{} 1813 1814 func (NotificationChannel_Spec_WebhookPathSelectorHeadersValue) FieldPath() *NotificationChannelSpecWebhook_FieldSubPath { 1815 return &NotificationChannelSpecWebhook_FieldSubPath{ 1816 selector: NotificationChannelSpecWebhook_FieldPathSelectorHeaders, 1817 subPath: NewNotificationChannelSpecWebhookHeaderFieldPathBuilder().Value().FieldPath(), 1818 } 1819 } 1820 1821 func (s NotificationChannel_Spec_WebhookPathSelectorHeadersValue) WithValue(value string) *NotificationChannelSpecWebhook_FieldSubPathValue { 1822 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldSubPathValue) 1823 } 1824 1825 func (s NotificationChannel_Spec_WebhookPathSelectorHeadersValue) WithArrayOfValues(values []string) *NotificationChannelSpecWebhook_FieldSubPathArrayOfValues { 1826 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldSubPathArrayOfValues) 1827 } 1828 1829 type NotificationChannel_Spec_WebhookPathSelectorNotificationMask struct{} 1830 1831 func (NotificationChannel_Spec_WebhookPathSelectorNotificationMask) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 1832 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorNotificationMask} 1833 } 1834 1835 func (s NotificationChannel_Spec_WebhookPathSelectorNotificationMask) WithValue(value *fieldmaskpb.FieldMask) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 1836 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 1837 } 1838 1839 func (s NotificationChannel_Spec_WebhookPathSelectorNotificationMask) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 1840 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 1841 } 1842 1843 type NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb struct{} 1844 1845 func (NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb) FieldPath() *NotificationChannelSpecWebhook_FieldTerminalPath { 1846 return &NotificationChannelSpecWebhook_FieldTerminalPath{selector: NotificationChannelSpecWebhook_FieldPathSelectorMaxMessageSizeMb} 1847 } 1848 1849 func (s NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb) WithValue(value float64) *NotificationChannelSpecWebhook_FieldTerminalPathValue { 1850 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhook_FieldTerminalPathValue) 1851 } 1852 1853 func (s NotificationChannel_Spec_WebhookPathSelectorMaxMessageSizeMb) WithArrayOfValues(values []float64) *NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues { 1854 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhook_FieldTerminalPathArrayOfValues) 1855 } 1856 1857 type NotificationChannelSpecWebhookHeaderFieldPathBuilder struct{} 1858 1859 func NewNotificationChannelSpecWebhookHeaderFieldPathBuilder() NotificationChannelSpecWebhookHeaderFieldPathBuilder { 1860 return NotificationChannelSpecWebhookHeaderFieldPathBuilder{} 1861 } 1862 func (NotificationChannelSpecWebhookHeaderFieldPathBuilder) Key() NotificationChannel_Spec_Webhook_HeaderPathSelectorKey { 1863 return NotificationChannel_Spec_Webhook_HeaderPathSelectorKey{} 1864 } 1865 func (NotificationChannelSpecWebhookHeaderFieldPathBuilder) Value() NotificationChannel_Spec_Webhook_HeaderPathSelectorValue { 1866 return NotificationChannel_Spec_Webhook_HeaderPathSelectorValue{} 1867 } 1868 1869 type NotificationChannel_Spec_Webhook_HeaderPathSelectorKey struct{} 1870 1871 func (NotificationChannel_Spec_Webhook_HeaderPathSelectorKey) FieldPath() *NotificationChannelSpecWebhookHeader_FieldTerminalPath { 1872 return &NotificationChannelSpecWebhookHeader_FieldTerminalPath{selector: NotificationChannelSpecWebhookHeader_FieldPathSelectorKey} 1873 } 1874 1875 func (s NotificationChannel_Spec_Webhook_HeaderPathSelectorKey) WithValue(value string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathValue { 1876 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathValue) 1877 } 1878 1879 func (s NotificationChannel_Spec_Webhook_HeaderPathSelectorKey) WithArrayOfValues(values []string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues { 1880 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues) 1881 } 1882 1883 type NotificationChannel_Spec_Webhook_HeaderPathSelectorValue struct{} 1884 1885 func (NotificationChannel_Spec_Webhook_HeaderPathSelectorValue) FieldPath() *NotificationChannelSpecWebhookHeader_FieldTerminalPath { 1886 return &NotificationChannelSpecWebhookHeader_FieldTerminalPath{selector: NotificationChannelSpecWebhookHeader_FieldPathSelectorValue} 1887 } 1888 1889 func (s NotificationChannel_Spec_Webhook_HeaderPathSelectorValue) WithValue(value string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathValue { 1890 return s.FieldPath().WithIValue(value).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathValue) 1891 } 1892 1893 func (s NotificationChannel_Spec_Webhook_HeaderPathSelectorValue) WithArrayOfValues(values []string) *NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues { 1894 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelSpecWebhookHeader_FieldTerminalPathArrayOfValues) 1895 } 1896 1897 type NotificationChannelStateErrorFieldPathBuilder struct{} 1898 1899 func NewNotificationChannelStateErrorFieldPathBuilder() NotificationChannelStateErrorFieldPathBuilder { 1900 return NotificationChannelStateErrorFieldPathBuilder{} 1901 } 1902 func (NotificationChannelStateErrorFieldPathBuilder) Time() NotificationChannel_State_ErrorPathSelectorTime { 1903 return NotificationChannel_State_ErrorPathSelectorTime{} 1904 } 1905 func (NotificationChannelStateErrorFieldPathBuilder) Message() NotificationChannel_State_ErrorPathSelectorMessage { 1906 return NotificationChannel_State_ErrorPathSelectorMessage{} 1907 } 1908 1909 type NotificationChannel_State_ErrorPathSelectorTime struct{} 1910 1911 func (NotificationChannel_State_ErrorPathSelectorTime) FieldPath() *NotificationChannelStateError_FieldTerminalPath { 1912 return &NotificationChannelStateError_FieldTerminalPath{selector: NotificationChannelStateError_FieldPathSelectorTime} 1913 } 1914 1915 func (s NotificationChannel_State_ErrorPathSelectorTime) WithValue(value *timestamppb.Timestamp) *NotificationChannelStateError_FieldTerminalPathValue { 1916 return s.FieldPath().WithIValue(value).(*NotificationChannelStateError_FieldTerminalPathValue) 1917 } 1918 1919 func (s NotificationChannel_State_ErrorPathSelectorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *NotificationChannelStateError_FieldTerminalPathArrayOfValues { 1920 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelStateError_FieldTerminalPathArrayOfValues) 1921 } 1922 1923 type NotificationChannel_State_ErrorPathSelectorMessage struct{} 1924 1925 func (NotificationChannel_State_ErrorPathSelectorMessage) FieldPath() *NotificationChannelStateError_FieldTerminalPath { 1926 return &NotificationChannelStateError_FieldTerminalPath{selector: NotificationChannelStateError_FieldPathSelectorMessage} 1927 } 1928 1929 func (s NotificationChannel_State_ErrorPathSelectorMessage) WithValue(value string) *NotificationChannelStateError_FieldTerminalPathValue { 1930 return s.FieldPath().WithIValue(value).(*NotificationChannelStateError_FieldTerminalPathValue) 1931 } 1932 1933 func (s NotificationChannel_State_ErrorPathSelectorMessage) WithArrayOfValues(values []string) *NotificationChannelStateError_FieldTerminalPathArrayOfValues { 1934 return s.FieldPath().WithIArrayOfValues(values).(*NotificationChannelStateError_FieldTerminalPathArrayOfValues) 1935 }