github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/ts_condition/ts_condition.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/ts_condition.proto 3 // DO NOT EDIT!!! 4 5 package ts_condition 6 7 // proto imports 8 import ( 9 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 10 document "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/document" 11 log_condition_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/log_condition_template" 12 notification_channel "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/notification_channel" 13 policy "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy" 14 policy_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy_template" 15 api "github.com/cloudwan/edgelq-sdk/common/api" 16 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 17 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 18 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 19 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 20 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 21 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 22 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 23 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 24 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 25 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 26 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 27 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 28 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 29 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 30 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 31 meta "github.com/cloudwan/goten-sdk/types/meta" 32 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 33 anypb "google.golang.org/protobuf/types/known/anypb" 34 durationpb "google.golang.org/protobuf/types/known/durationpb" 35 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 36 structpb "google.golang.org/protobuf/types/known/structpb" 37 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &document.Document{} 43 _ = &log_condition_template.LogConditionTemplate{} 44 _ = ¬ification_channel.NotificationChannel{} 45 _ = &policy.Policy{} 46 _ = &policy_template.PolicyTemplate{} 47 _ = &rcommon.LogCndSpec{} 48 _ = api.LaunchStage(0) 49 _ = &iam_iam_common.PCR{} 50 _ = &iam_organization.Organization{} 51 _ = &iam_project.Project{} 52 _ = &logging_bucket.Bucket{} 53 _ = &logging_common.LabelDescriptor{} 54 _ = &logging_log.Log{} 55 _ = &logging_log_descriptor.LogDescriptor{} 56 _ = &monitoring_common.LabelDescriptor{} 57 _ = &monitoring_metric_descriptor.MetricDescriptor{} 58 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 59 _ = &monitoring_project.Project{} 60 _ = &monitoring_time_serie.Point{} 61 _ = &anypb.Any{} 62 _ = &durationpb.Duration{} 63 _ = &fieldmaskpb.FieldMask{} 64 _ = &structpb.Struct{} 65 _ = ×tamppb.Timestamp{} 66 _ = &meta_common.LabelledDomain{} 67 _ = &meta_resource.Resource{} 68 _ = &meta_service.Service{} 69 _ = &meta.Meta{} 70 _ = &multi_region_policy.MultiRegionPolicy{} 71 ) 72 73 type TsConditionFieldPathBuilder struct{} 74 75 func NewTsConditionFieldPathBuilder() TsConditionFieldPathBuilder { 76 return TsConditionFieldPathBuilder{} 77 } 78 func (TsConditionFieldPathBuilder) Name() TsConditionPathSelectorName { 79 return TsConditionPathSelectorName{} 80 } 81 func (TsConditionFieldPathBuilder) Metadata() TsConditionPathSelectorMetadata { 82 return TsConditionPathSelectorMetadata{} 83 } 84 func (TsConditionFieldPathBuilder) DisplayName() TsConditionPathSelectorDisplayName { 85 return TsConditionPathSelectorDisplayName{} 86 } 87 func (TsConditionFieldPathBuilder) Description() TsConditionPathSelectorDescription { 88 return TsConditionPathSelectorDescription{} 89 } 90 func (TsConditionFieldPathBuilder) SupportingDocs() TsConditionPathSelectorSupportingDocs { 91 return TsConditionPathSelectorSupportingDocs{} 92 } 93 func (TsConditionFieldPathBuilder) Spec() TsConditionPathSelectorSpec { 94 return TsConditionPathSelectorSpec{} 95 } 96 func (TsConditionFieldPathBuilder) Internal() TsConditionPathSelectorInternal { 97 return TsConditionPathSelectorInternal{} 98 } 99 func (TsConditionFieldPathBuilder) FilterSelector() TsConditionPathSelectorFilterSelector { 100 return TsConditionPathSelectorFilterSelector{} 101 } 102 func (TsConditionFieldPathBuilder) TemplateSource() TsConditionPathSelectorTemplateSource { 103 return TsConditionPathSelectorTemplateSource{} 104 } 105 106 type TsConditionPathSelectorName struct{} 107 108 func (TsConditionPathSelectorName) FieldPath() *TsCondition_FieldTerminalPath { 109 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorName} 110 } 111 112 func (s TsConditionPathSelectorName) WithValue(value *Name) *TsCondition_FieldTerminalPathValue { 113 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 114 } 115 116 func (s TsConditionPathSelectorName) WithArrayOfValues(values []*Name) *TsCondition_FieldTerminalPathArrayOfValues { 117 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 118 } 119 120 type TsConditionPathSelectorMetadata struct{} 121 122 func (TsConditionPathSelectorMetadata) FieldPath() *TsCondition_FieldTerminalPath { 123 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorMetadata} 124 } 125 126 func (s TsConditionPathSelectorMetadata) WithValue(value *meta.Meta) *TsCondition_FieldTerminalPathValue { 127 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 128 } 129 130 func (s TsConditionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *TsCondition_FieldTerminalPathArrayOfValues { 131 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 132 } 133 134 func (TsConditionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *TsCondition_FieldSubPath { 135 return &TsCondition_FieldSubPath{selector: TsCondition_FieldPathSelectorMetadata, subPath: subPath} 136 } 137 138 func (s TsConditionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *TsCondition_FieldSubPathValue { 139 return &TsCondition_FieldSubPathValue{TsCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 140 } 141 142 func (s TsConditionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *TsCondition_FieldSubPathArrayOfValues { 143 return &TsCondition_FieldSubPathArrayOfValues{TsCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 144 } 145 146 func (s TsConditionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *TsCondition_FieldSubPathArrayItemValue { 147 return &TsCondition_FieldSubPathArrayItemValue{TsCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 148 } 149 150 func (TsConditionPathSelectorMetadata) CreateTime() TsConditionPathSelectorMetadataCreateTime { 151 return TsConditionPathSelectorMetadataCreateTime{} 152 } 153 154 func (TsConditionPathSelectorMetadata) UpdateTime() TsConditionPathSelectorMetadataUpdateTime { 155 return TsConditionPathSelectorMetadataUpdateTime{} 156 } 157 158 func (TsConditionPathSelectorMetadata) DeleteTime() TsConditionPathSelectorMetadataDeleteTime { 159 return TsConditionPathSelectorMetadataDeleteTime{} 160 } 161 162 func (TsConditionPathSelectorMetadata) Uuid() TsConditionPathSelectorMetadataUuid { 163 return TsConditionPathSelectorMetadataUuid{} 164 } 165 166 func (TsConditionPathSelectorMetadata) Tags() TsConditionPathSelectorMetadataTags { 167 return TsConditionPathSelectorMetadataTags{} 168 } 169 170 func (TsConditionPathSelectorMetadata) Labels() TsConditionPathSelectorMetadataLabels { 171 return TsConditionPathSelectorMetadataLabels{} 172 } 173 174 func (TsConditionPathSelectorMetadata) Annotations() TsConditionPathSelectorMetadataAnnotations { 175 return TsConditionPathSelectorMetadataAnnotations{} 176 } 177 178 func (TsConditionPathSelectorMetadata) Generation() TsConditionPathSelectorMetadataGeneration { 179 return TsConditionPathSelectorMetadataGeneration{} 180 } 181 182 func (TsConditionPathSelectorMetadata) ResourceVersion() TsConditionPathSelectorMetadataResourceVersion { 183 return TsConditionPathSelectorMetadataResourceVersion{} 184 } 185 186 func (TsConditionPathSelectorMetadata) OwnerReferences() TsConditionPathSelectorMetadataOwnerReferences { 187 return TsConditionPathSelectorMetadataOwnerReferences{} 188 } 189 190 func (TsConditionPathSelectorMetadata) Shards() TsConditionPathSelectorMetadataShards { 191 return TsConditionPathSelectorMetadataShards{} 192 } 193 194 func (TsConditionPathSelectorMetadata) Syncing() TsConditionPathSelectorMetadataSyncing { 195 return TsConditionPathSelectorMetadataSyncing{} 196 } 197 198 func (TsConditionPathSelectorMetadata) Lifecycle() TsConditionPathSelectorMetadataLifecycle { 199 return TsConditionPathSelectorMetadataLifecycle{} 200 } 201 202 func (TsConditionPathSelectorMetadata) Services() TsConditionPathSelectorMetadataServices { 203 return TsConditionPathSelectorMetadataServices{} 204 } 205 206 type TsConditionPathSelectorMetadataCreateTime struct{} 207 208 func (TsConditionPathSelectorMetadataCreateTime) FieldPath() *TsCondition_FieldSubPath { 209 return &TsCondition_FieldSubPath{ 210 selector: TsCondition_FieldPathSelectorMetadata, 211 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 212 } 213 } 214 215 func (s TsConditionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *TsCondition_FieldSubPathValue { 216 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 217 } 218 219 func (s TsConditionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsCondition_FieldSubPathArrayOfValues { 220 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 221 } 222 223 type TsConditionPathSelectorMetadataUpdateTime struct{} 224 225 func (TsConditionPathSelectorMetadataUpdateTime) FieldPath() *TsCondition_FieldSubPath { 226 return &TsCondition_FieldSubPath{ 227 selector: TsCondition_FieldPathSelectorMetadata, 228 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 229 } 230 } 231 232 func (s TsConditionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *TsCondition_FieldSubPathValue { 233 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 234 } 235 236 func (s TsConditionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsCondition_FieldSubPathArrayOfValues { 237 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 238 } 239 240 type TsConditionPathSelectorMetadataDeleteTime struct{} 241 242 func (TsConditionPathSelectorMetadataDeleteTime) FieldPath() *TsCondition_FieldSubPath { 243 return &TsCondition_FieldSubPath{ 244 selector: TsCondition_FieldPathSelectorMetadata, 245 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 246 } 247 } 248 249 func (s TsConditionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *TsCondition_FieldSubPathValue { 250 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 251 } 252 253 func (s TsConditionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsCondition_FieldSubPathArrayOfValues { 254 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 255 } 256 257 type TsConditionPathSelectorMetadataUuid struct{} 258 259 func (TsConditionPathSelectorMetadataUuid) FieldPath() *TsCondition_FieldSubPath { 260 return &TsCondition_FieldSubPath{ 261 selector: TsCondition_FieldPathSelectorMetadata, 262 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 263 } 264 } 265 266 func (s TsConditionPathSelectorMetadataUuid) WithValue(value string) *TsCondition_FieldSubPathValue { 267 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 268 } 269 270 func (s TsConditionPathSelectorMetadataUuid) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 271 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 272 } 273 274 type TsConditionPathSelectorMetadataTags struct{} 275 276 func (TsConditionPathSelectorMetadataTags) FieldPath() *TsCondition_FieldSubPath { 277 return &TsCondition_FieldSubPath{ 278 selector: TsCondition_FieldPathSelectorMetadata, 279 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 280 } 281 } 282 283 func (s TsConditionPathSelectorMetadataTags) WithValue(value []string) *TsCondition_FieldSubPathValue { 284 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 285 } 286 287 func (s TsConditionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 288 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 289 } 290 291 func (s TsConditionPathSelectorMetadataTags) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 292 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 293 } 294 295 type TsConditionPathSelectorMetadataLabels struct{} 296 297 func (TsConditionPathSelectorMetadataLabels) FieldPath() *TsCondition_FieldSubPath { 298 return &TsCondition_FieldSubPath{ 299 selector: TsCondition_FieldPathSelectorMetadata, 300 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 301 } 302 } 303 304 func (s TsConditionPathSelectorMetadataLabels) WithValue(value map[string]string) *TsCondition_FieldSubPathValue { 305 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 306 } 307 308 func (s TsConditionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *TsCondition_FieldSubPathArrayOfValues { 309 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 310 } 311 312 func (TsConditionPathSelectorMetadataLabels) WithKey(key string) TsConditionMapPathSelectorMetadataLabels { 313 return TsConditionMapPathSelectorMetadataLabels{key: key} 314 } 315 316 type TsConditionMapPathSelectorMetadataLabels struct { 317 key string 318 } 319 320 func (s TsConditionMapPathSelectorMetadataLabels) FieldPath() *TsCondition_FieldSubPath { 321 return &TsCondition_FieldSubPath{ 322 selector: TsCondition_FieldPathSelectorMetadata, 323 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 324 } 325 } 326 327 func (s TsConditionMapPathSelectorMetadataLabels) WithValue(value string) *TsCondition_FieldSubPathValue { 328 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 329 } 330 331 func (s TsConditionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 332 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 333 } 334 335 type TsConditionPathSelectorMetadataAnnotations struct{} 336 337 func (TsConditionPathSelectorMetadataAnnotations) FieldPath() *TsCondition_FieldSubPath { 338 return &TsCondition_FieldSubPath{ 339 selector: TsCondition_FieldPathSelectorMetadata, 340 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 341 } 342 } 343 344 func (s TsConditionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *TsCondition_FieldSubPathValue { 345 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 346 } 347 348 func (s TsConditionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *TsCondition_FieldSubPathArrayOfValues { 349 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 350 } 351 352 func (TsConditionPathSelectorMetadataAnnotations) WithKey(key string) TsConditionMapPathSelectorMetadataAnnotations { 353 return TsConditionMapPathSelectorMetadataAnnotations{key: key} 354 } 355 356 type TsConditionMapPathSelectorMetadataAnnotations struct { 357 key string 358 } 359 360 func (s TsConditionMapPathSelectorMetadataAnnotations) FieldPath() *TsCondition_FieldSubPath { 361 return &TsCondition_FieldSubPath{ 362 selector: TsCondition_FieldPathSelectorMetadata, 363 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 364 } 365 } 366 367 func (s TsConditionMapPathSelectorMetadataAnnotations) WithValue(value string) *TsCondition_FieldSubPathValue { 368 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 369 } 370 371 func (s TsConditionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 372 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 373 } 374 375 type TsConditionPathSelectorMetadataGeneration struct{} 376 377 func (TsConditionPathSelectorMetadataGeneration) FieldPath() *TsCondition_FieldSubPath { 378 return &TsCondition_FieldSubPath{ 379 selector: TsCondition_FieldPathSelectorMetadata, 380 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 381 } 382 } 383 384 func (s TsConditionPathSelectorMetadataGeneration) WithValue(value int64) *TsCondition_FieldSubPathValue { 385 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 386 } 387 388 func (s TsConditionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *TsCondition_FieldSubPathArrayOfValues { 389 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 390 } 391 392 type TsConditionPathSelectorMetadataResourceVersion struct{} 393 394 func (TsConditionPathSelectorMetadataResourceVersion) FieldPath() *TsCondition_FieldSubPath { 395 return &TsCondition_FieldSubPath{ 396 selector: TsCondition_FieldPathSelectorMetadata, 397 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 398 } 399 } 400 401 func (s TsConditionPathSelectorMetadataResourceVersion) WithValue(value string) *TsCondition_FieldSubPathValue { 402 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 403 } 404 405 func (s TsConditionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 406 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 407 } 408 409 type TsConditionPathSelectorMetadataOwnerReferences struct{} 410 411 func (TsConditionPathSelectorMetadataOwnerReferences) FieldPath() *TsCondition_FieldSubPath { 412 return &TsCondition_FieldSubPath{ 413 selector: TsCondition_FieldPathSelectorMetadata, 414 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 415 } 416 } 417 418 func (s TsConditionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *TsCondition_FieldSubPathValue { 419 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 420 } 421 422 func (s TsConditionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *TsCondition_FieldSubPathArrayOfValues { 423 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 424 } 425 426 func (s TsConditionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *TsCondition_FieldSubPathArrayItemValue { 427 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 428 } 429 430 func (TsConditionPathSelectorMetadataOwnerReferences) Kind() TsConditionPathSelectorMetadataOwnerReferencesKind { 431 return TsConditionPathSelectorMetadataOwnerReferencesKind{} 432 } 433 434 func (TsConditionPathSelectorMetadataOwnerReferences) Version() TsConditionPathSelectorMetadataOwnerReferencesVersion { 435 return TsConditionPathSelectorMetadataOwnerReferencesVersion{} 436 } 437 438 func (TsConditionPathSelectorMetadataOwnerReferences) Name() TsConditionPathSelectorMetadataOwnerReferencesName { 439 return TsConditionPathSelectorMetadataOwnerReferencesName{} 440 } 441 442 func (TsConditionPathSelectorMetadataOwnerReferences) Region() TsConditionPathSelectorMetadataOwnerReferencesRegion { 443 return TsConditionPathSelectorMetadataOwnerReferencesRegion{} 444 } 445 446 func (TsConditionPathSelectorMetadataOwnerReferences) Controller() TsConditionPathSelectorMetadataOwnerReferencesController { 447 return TsConditionPathSelectorMetadataOwnerReferencesController{} 448 } 449 450 func (TsConditionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 451 return TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 452 } 453 454 func (TsConditionPathSelectorMetadataOwnerReferences) UnsetOnDelete() TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete { 455 return TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 456 } 457 458 type TsConditionPathSelectorMetadataOwnerReferencesKind struct{} 459 460 func (TsConditionPathSelectorMetadataOwnerReferencesKind) FieldPath() *TsCondition_FieldSubPath { 461 return &TsCondition_FieldSubPath{ 462 selector: TsCondition_FieldPathSelectorMetadata, 463 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 464 } 465 } 466 467 func (s TsConditionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *TsCondition_FieldSubPathValue { 468 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 469 } 470 471 func (s TsConditionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 472 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 473 } 474 475 type TsConditionPathSelectorMetadataOwnerReferencesVersion struct{} 476 477 func (TsConditionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *TsCondition_FieldSubPath { 478 return &TsCondition_FieldSubPath{ 479 selector: TsCondition_FieldPathSelectorMetadata, 480 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 481 } 482 } 483 484 func (s TsConditionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *TsCondition_FieldSubPathValue { 485 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 486 } 487 488 func (s TsConditionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 489 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 490 } 491 492 type TsConditionPathSelectorMetadataOwnerReferencesName struct{} 493 494 func (TsConditionPathSelectorMetadataOwnerReferencesName) FieldPath() *TsCondition_FieldSubPath { 495 return &TsCondition_FieldSubPath{ 496 selector: TsCondition_FieldPathSelectorMetadata, 497 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 498 } 499 } 500 501 func (s TsConditionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *TsCondition_FieldSubPathValue { 502 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 503 } 504 505 func (s TsConditionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 506 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 507 } 508 509 type TsConditionPathSelectorMetadataOwnerReferencesRegion struct{} 510 511 func (TsConditionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *TsCondition_FieldSubPath { 512 return &TsCondition_FieldSubPath{ 513 selector: TsCondition_FieldPathSelectorMetadata, 514 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 515 } 516 } 517 518 func (s TsConditionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *TsCondition_FieldSubPathValue { 519 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 520 } 521 522 func (s TsConditionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 523 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 524 } 525 526 type TsConditionPathSelectorMetadataOwnerReferencesController struct{} 527 528 func (TsConditionPathSelectorMetadataOwnerReferencesController) FieldPath() *TsCondition_FieldSubPath { 529 return &TsCondition_FieldSubPath{ 530 selector: TsCondition_FieldPathSelectorMetadata, 531 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 532 } 533 } 534 535 func (s TsConditionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *TsCondition_FieldSubPathValue { 536 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 537 } 538 539 func (s TsConditionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 540 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 541 } 542 543 type TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 544 545 func (TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *TsCondition_FieldSubPath { 546 return &TsCondition_FieldSubPath{ 547 selector: TsCondition_FieldPathSelectorMetadata, 548 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 549 } 550 } 551 552 func (s TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *TsCondition_FieldSubPathValue { 553 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 554 } 555 556 func (s TsConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 557 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 558 } 559 560 type TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 561 562 func (TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *TsCondition_FieldSubPath { 563 return &TsCondition_FieldSubPath{ 564 selector: TsCondition_FieldPathSelectorMetadata, 565 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 566 } 567 } 568 569 func (s TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *TsCondition_FieldSubPathValue { 570 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 571 } 572 573 func (s TsConditionPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 574 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 575 } 576 577 type TsConditionPathSelectorMetadataShards struct{} 578 579 func (TsConditionPathSelectorMetadataShards) FieldPath() *TsCondition_FieldSubPath { 580 return &TsCondition_FieldSubPath{ 581 selector: TsCondition_FieldPathSelectorMetadata, 582 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 583 } 584 } 585 586 func (s TsConditionPathSelectorMetadataShards) WithValue(value map[string]int64) *TsCondition_FieldSubPathValue { 587 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 588 } 589 590 func (s TsConditionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *TsCondition_FieldSubPathArrayOfValues { 591 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 592 } 593 594 func (TsConditionPathSelectorMetadataShards) WithKey(key string) TsConditionMapPathSelectorMetadataShards { 595 return TsConditionMapPathSelectorMetadataShards{key: key} 596 } 597 598 type TsConditionMapPathSelectorMetadataShards struct { 599 key string 600 } 601 602 func (s TsConditionMapPathSelectorMetadataShards) FieldPath() *TsCondition_FieldSubPath { 603 return &TsCondition_FieldSubPath{ 604 selector: TsCondition_FieldPathSelectorMetadata, 605 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 606 } 607 } 608 609 func (s TsConditionMapPathSelectorMetadataShards) WithValue(value int64) *TsCondition_FieldSubPathValue { 610 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 611 } 612 613 func (s TsConditionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *TsCondition_FieldSubPathArrayOfValues { 614 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 615 } 616 617 type TsConditionPathSelectorMetadataSyncing struct{} 618 619 func (TsConditionPathSelectorMetadataSyncing) FieldPath() *TsCondition_FieldSubPath { 620 return &TsCondition_FieldSubPath{ 621 selector: TsCondition_FieldPathSelectorMetadata, 622 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 623 } 624 } 625 626 func (s TsConditionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *TsCondition_FieldSubPathValue { 627 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 628 } 629 630 func (s TsConditionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *TsCondition_FieldSubPathArrayOfValues { 631 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 632 } 633 634 func (TsConditionPathSelectorMetadataSyncing) OwningRegion() TsConditionPathSelectorMetadataSyncingOwningRegion { 635 return TsConditionPathSelectorMetadataSyncingOwningRegion{} 636 } 637 638 func (TsConditionPathSelectorMetadataSyncing) Regions() TsConditionPathSelectorMetadataSyncingRegions { 639 return TsConditionPathSelectorMetadataSyncingRegions{} 640 } 641 642 type TsConditionPathSelectorMetadataSyncingOwningRegion struct{} 643 644 func (TsConditionPathSelectorMetadataSyncingOwningRegion) FieldPath() *TsCondition_FieldSubPath { 645 return &TsCondition_FieldSubPath{ 646 selector: TsCondition_FieldPathSelectorMetadata, 647 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 648 } 649 } 650 651 func (s TsConditionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *TsCondition_FieldSubPathValue { 652 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 653 } 654 655 func (s TsConditionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 656 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 657 } 658 659 type TsConditionPathSelectorMetadataSyncingRegions struct{} 660 661 func (TsConditionPathSelectorMetadataSyncingRegions) FieldPath() *TsCondition_FieldSubPath { 662 return &TsCondition_FieldSubPath{ 663 selector: TsCondition_FieldPathSelectorMetadata, 664 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 665 } 666 } 667 668 func (s TsConditionPathSelectorMetadataSyncingRegions) WithValue(value []string) *TsCondition_FieldSubPathValue { 669 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 670 } 671 672 func (s TsConditionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 673 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 674 } 675 676 func (s TsConditionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 677 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 678 } 679 680 type TsConditionPathSelectorMetadataLifecycle struct{} 681 682 func (TsConditionPathSelectorMetadataLifecycle) FieldPath() *TsCondition_FieldSubPath { 683 return &TsCondition_FieldSubPath{ 684 selector: TsCondition_FieldPathSelectorMetadata, 685 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 686 } 687 } 688 689 func (s TsConditionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *TsCondition_FieldSubPathValue { 690 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 691 } 692 693 func (s TsConditionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *TsCondition_FieldSubPathArrayOfValues { 694 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 695 } 696 697 func (TsConditionPathSelectorMetadataLifecycle) State() TsConditionPathSelectorMetadataLifecycleState { 698 return TsConditionPathSelectorMetadataLifecycleState{} 699 } 700 701 func (TsConditionPathSelectorMetadataLifecycle) BlockDeletion() TsConditionPathSelectorMetadataLifecycleBlockDeletion { 702 return TsConditionPathSelectorMetadataLifecycleBlockDeletion{} 703 } 704 705 type TsConditionPathSelectorMetadataLifecycleState struct{} 706 707 func (TsConditionPathSelectorMetadataLifecycleState) FieldPath() *TsCondition_FieldSubPath { 708 return &TsCondition_FieldSubPath{ 709 selector: TsCondition_FieldPathSelectorMetadata, 710 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 711 } 712 } 713 714 func (s TsConditionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *TsCondition_FieldSubPathValue { 715 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 716 } 717 718 func (s TsConditionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *TsCondition_FieldSubPathArrayOfValues { 719 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 720 } 721 722 type TsConditionPathSelectorMetadataLifecycleBlockDeletion struct{} 723 724 func (TsConditionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *TsCondition_FieldSubPath { 725 return &TsCondition_FieldSubPath{ 726 selector: TsCondition_FieldPathSelectorMetadata, 727 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 728 } 729 } 730 731 func (s TsConditionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *TsCondition_FieldSubPathValue { 732 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 733 } 734 735 func (s TsConditionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 736 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 737 } 738 739 type TsConditionPathSelectorMetadataServices struct{} 740 741 func (TsConditionPathSelectorMetadataServices) FieldPath() *TsCondition_FieldSubPath { 742 return &TsCondition_FieldSubPath{ 743 selector: TsCondition_FieldPathSelectorMetadata, 744 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 745 } 746 } 747 748 func (s TsConditionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *TsCondition_FieldSubPathValue { 749 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 750 } 751 752 func (s TsConditionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *TsCondition_FieldSubPathArrayOfValues { 753 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 754 } 755 756 func (TsConditionPathSelectorMetadataServices) OwningService() TsConditionPathSelectorMetadataServicesOwningService { 757 return TsConditionPathSelectorMetadataServicesOwningService{} 758 } 759 760 func (TsConditionPathSelectorMetadataServices) AllowedServices() TsConditionPathSelectorMetadataServicesAllowedServices { 761 return TsConditionPathSelectorMetadataServicesAllowedServices{} 762 } 763 764 type TsConditionPathSelectorMetadataServicesOwningService struct{} 765 766 func (TsConditionPathSelectorMetadataServicesOwningService) FieldPath() *TsCondition_FieldSubPath { 767 return &TsCondition_FieldSubPath{ 768 selector: TsCondition_FieldPathSelectorMetadata, 769 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 770 } 771 } 772 773 func (s TsConditionPathSelectorMetadataServicesOwningService) WithValue(value string) *TsCondition_FieldSubPathValue { 774 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 775 } 776 777 func (s TsConditionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 778 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 779 } 780 781 type TsConditionPathSelectorMetadataServicesAllowedServices struct{} 782 783 func (TsConditionPathSelectorMetadataServicesAllowedServices) FieldPath() *TsCondition_FieldSubPath { 784 return &TsCondition_FieldSubPath{ 785 selector: TsCondition_FieldPathSelectorMetadata, 786 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 787 } 788 } 789 790 func (s TsConditionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *TsCondition_FieldSubPathValue { 791 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 792 } 793 794 func (s TsConditionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 795 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 796 } 797 798 func (s TsConditionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 799 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 800 } 801 802 type TsConditionPathSelectorDisplayName struct{} 803 804 func (TsConditionPathSelectorDisplayName) FieldPath() *TsCondition_FieldTerminalPath { 805 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorDisplayName} 806 } 807 808 func (s TsConditionPathSelectorDisplayName) WithValue(value string) *TsCondition_FieldTerminalPathValue { 809 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 810 } 811 812 func (s TsConditionPathSelectorDisplayName) WithArrayOfValues(values []string) *TsCondition_FieldTerminalPathArrayOfValues { 813 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 814 } 815 816 type TsConditionPathSelectorDescription struct{} 817 818 func (TsConditionPathSelectorDescription) FieldPath() *TsCondition_FieldTerminalPath { 819 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorDescription} 820 } 821 822 func (s TsConditionPathSelectorDescription) WithValue(value string) *TsCondition_FieldTerminalPathValue { 823 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 824 } 825 826 func (s TsConditionPathSelectorDescription) WithArrayOfValues(values []string) *TsCondition_FieldTerminalPathArrayOfValues { 827 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 828 } 829 830 type TsConditionPathSelectorSupportingDocs struct{} 831 832 func (TsConditionPathSelectorSupportingDocs) FieldPath() *TsCondition_FieldTerminalPath { 833 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorSupportingDocs} 834 } 835 836 func (s TsConditionPathSelectorSupportingDocs) WithValue(value []*document.Reference) *TsCondition_FieldTerminalPathValue { 837 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 838 } 839 840 func (s TsConditionPathSelectorSupportingDocs) WithArrayOfValues(values [][]*document.Reference) *TsCondition_FieldTerminalPathArrayOfValues { 841 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 842 } 843 844 func (s TsConditionPathSelectorSupportingDocs) WithItemValue(value *document.Reference) *TsCondition_FieldTerminalPathArrayItemValue { 845 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldTerminalPathArrayItemValue) 846 } 847 848 type TsConditionPathSelectorSpec struct{} 849 850 func (TsConditionPathSelectorSpec) FieldPath() *TsCondition_FieldTerminalPath { 851 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorSpec} 852 } 853 854 func (s TsConditionPathSelectorSpec) WithValue(value *rcommon.TsCndSpec) *TsCondition_FieldTerminalPathValue { 855 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 856 } 857 858 func (s TsConditionPathSelectorSpec) WithArrayOfValues(values []*rcommon.TsCndSpec) *TsCondition_FieldTerminalPathArrayOfValues { 859 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 860 } 861 862 func (TsConditionPathSelectorSpec) WithSubPath(subPath rcommon.TsCndSpec_FieldPath) *TsCondition_FieldSubPath { 863 return &TsCondition_FieldSubPath{selector: TsCondition_FieldPathSelectorSpec, subPath: subPath} 864 } 865 866 func (s TsConditionPathSelectorSpec) WithSubValue(subPathValue rcommon.TsCndSpec_FieldPathValue) *TsCondition_FieldSubPathValue { 867 return &TsCondition_FieldSubPathValue{TsCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 868 } 869 870 func (s TsConditionPathSelectorSpec) WithSubArrayOfValues(subPathArrayOfValues rcommon.TsCndSpec_FieldPathArrayOfValues) *TsCondition_FieldSubPathArrayOfValues { 871 return &TsCondition_FieldSubPathArrayOfValues{TsCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 872 } 873 874 func (s TsConditionPathSelectorSpec) WithSubArrayItemValue(subPathArrayItemValue rcommon.TsCndSpec_FieldPathArrayItemValue) *TsCondition_FieldSubPathArrayItemValue { 875 return &TsCondition_FieldSubPathArrayItemValue{TsCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 876 } 877 878 func (TsConditionPathSelectorSpec) Queries() TsConditionPathSelectorSpecQueries { 879 return TsConditionPathSelectorSpecQueries{} 880 } 881 882 func (TsConditionPathSelectorSpec) QueryGroupBy() TsConditionPathSelectorSpecQueryGroupBy { 883 return TsConditionPathSelectorSpecQueryGroupBy{} 884 } 885 886 func (TsConditionPathSelectorSpec) ThresholdAlerting() TsConditionPathSelectorSpecThresholdAlerting { 887 return TsConditionPathSelectorSpecThresholdAlerting{} 888 } 889 890 func (TsConditionPathSelectorSpec) AnomalyAlerting() TsConditionPathSelectorSpecAnomalyAlerting { 891 return TsConditionPathSelectorSpecAnomalyAlerting{} 892 } 893 894 type TsConditionPathSelectorSpecQueries struct{} 895 896 func (TsConditionPathSelectorSpecQueries) FieldPath() *TsCondition_FieldSubPath { 897 return &TsCondition_FieldSubPath{ 898 selector: TsCondition_FieldPathSelectorSpec, 899 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().FieldPath(), 900 } 901 } 902 903 func (s TsConditionPathSelectorSpecQueries) WithValue(value []*rcommon.TsCndSpec_Query) *TsCondition_FieldSubPathValue { 904 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 905 } 906 907 func (s TsConditionPathSelectorSpecQueries) WithArrayOfValues(values [][]*rcommon.TsCndSpec_Query) *TsCondition_FieldSubPathArrayOfValues { 908 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 909 } 910 911 func (s TsConditionPathSelectorSpecQueries) WithItemValue(value *rcommon.TsCndSpec_Query) *TsCondition_FieldSubPathArrayItemValue { 912 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 913 } 914 915 func (TsConditionPathSelectorSpecQueries) Name() TsConditionPathSelectorSpecQueriesName { 916 return TsConditionPathSelectorSpecQueriesName{} 917 } 918 919 func (TsConditionPathSelectorSpecQueries) Filter() TsConditionPathSelectorSpecQueriesFilter { 920 return TsConditionPathSelectorSpecQueriesFilter{} 921 } 922 923 func (TsConditionPathSelectorSpecQueries) Aligner() TsConditionPathSelectorSpecQueriesAligner { 924 return TsConditionPathSelectorSpecQueriesAligner{} 925 } 926 927 func (TsConditionPathSelectorSpecQueries) Reducer() TsConditionPathSelectorSpecQueriesReducer { 928 return TsConditionPathSelectorSpecQueriesReducer{} 929 } 930 931 func (TsConditionPathSelectorSpecQueries) MaxValue() TsConditionPathSelectorSpecQueriesMaxValue { 932 return TsConditionPathSelectorSpecQueriesMaxValue{} 933 } 934 935 type TsConditionPathSelectorSpecQueriesName struct{} 936 937 func (TsConditionPathSelectorSpecQueriesName) FieldPath() *TsCondition_FieldSubPath { 938 return &TsCondition_FieldSubPath{ 939 selector: TsCondition_FieldPathSelectorSpec, 940 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Name().FieldPath(), 941 } 942 } 943 944 func (s TsConditionPathSelectorSpecQueriesName) WithValue(value string) *TsCondition_FieldSubPathValue { 945 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 946 } 947 948 func (s TsConditionPathSelectorSpecQueriesName) WithArrayOfValues(values []string) *TsCondition_FieldSubPathArrayOfValues { 949 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 950 } 951 952 type TsConditionPathSelectorSpecQueriesFilter struct{} 953 954 func (TsConditionPathSelectorSpecQueriesFilter) FieldPath() *TsCondition_FieldSubPath { 955 return &TsCondition_FieldSubPath{ 956 selector: TsCondition_FieldPathSelectorSpec, 957 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Filter().FieldPath(), 958 } 959 } 960 961 func (s TsConditionPathSelectorSpecQueriesFilter) WithValue(value *monitoring_time_serie.Filter) *TsCondition_FieldSubPathValue { 962 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 963 } 964 965 func (s TsConditionPathSelectorSpecQueriesFilter) WithArrayOfValues(values []*monitoring_time_serie.Filter) *TsCondition_FieldSubPathArrayOfValues { 966 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 967 } 968 969 type TsConditionPathSelectorSpecQueriesAligner struct{} 970 971 func (TsConditionPathSelectorSpecQueriesAligner) FieldPath() *TsCondition_FieldSubPath { 972 return &TsCondition_FieldSubPath{ 973 selector: TsCondition_FieldPathSelectorSpec, 974 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Aligner().FieldPath(), 975 } 976 } 977 978 func (s TsConditionPathSelectorSpecQueriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *TsCondition_FieldSubPathValue { 979 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 980 } 981 982 func (s TsConditionPathSelectorSpecQueriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *TsCondition_FieldSubPathArrayOfValues { 983 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 984 } 985 986 type TsConditionPathSelectorSpecQueriesReducer struct{} 987 988 func (TsConditionPathSelectorSpecQueriesReducer) FieldPath() *TsCondition_FieldSubPath { 989 return &TsCondition_FieldSubPath{ 990 selector: TsCondition_FieldPathSelectorSpec, 991 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Reducer().FieldPath(), 992 } 993 } 994 995 func (s TsConditionPathSelectorSpecQueriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *TsCondition_FieldSubPathValue { 996 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 997 } 998 999 func (s TsConditionPathSelectorSpecQueriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *TsCondition_FieldSubPathArrayOfValues { 1000 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1001 } 1002 1003 type TsConditionPathSelectorSpecQueriesMaxValue struct{} 1004 1005 func (TsConditionPathSelectorSpecQueriesMaxValue) FieldPath() *TsCondition_FieldSubPath { 1006 return &TsCondition_FieldSubPath{ 1007 selector: TsCondition_FieldPathSelectorSpec, 1008 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().MaxValue().FieldPath(), 1009 } 1010 } 1011 1012 func (s TsConditionPathSelectorSpecQueriesMaxValue) WithValue(value float64) *TsCondition_FieldSubPathValue { 1013 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1014 } 1015 1016 func (s TsConditionPathSelectorSpecQueriesMaxValue) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1017 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1018 } 1019 1020 type TsConditionPathSelectorSpecQueryGroupBy struct{} 1021 1022 func (TsConditionPathSelectorSpecQueryGroupBy) FieldPath() *TsCondition_FieldSubPath { 1023 return &TsCondition_FieldSubPath{ 1024 selector: TsCondition_FieldPathSelectorSpec, 1025 subPath: rcommon.NewTsCndSpecFieldPathBuilder().QueryGroupBy().FieldPath(), 1026 } 1027 } 1028 1029 func (s TsConditionPathSelectorSpecQueryGroupBy) WithValue(value []string) *TsCondition_FieldSubPathValue { 1030 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1031 } 1032 1033 func (s TsConditionPathSelectorSpecQueryGroupBy) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 1034 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1035 } 1036 1037 func (s TsConditionPathSelectorSpecQueryGroupBy) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 1038 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 1039 } 1040 1041 type TsConditionPathSelectorSpecThresholdAlerting struct{} 1042 1043 func (TsConditionPathSelectorSpecThresholdAlerting) FieldPath() *TsCondition_FieldSubPath { 1044 return &TsCondition_FieldSubPath{ 1045 selector: TsCondition_FieldPathSelectorSpec, 1046 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().FieldPath(), 1047 } 1048 } 1049 1050 func (s TsConditionPathSelectorSpecThresholdAlerting) WithValue(value *rcommon.TsCndSpec_ThresholdAlertingCfg) *TsCondition_FieldSubPathValue { 1051 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1052 } 1053 1054 func (s TsConditionPathSelectorSpecThresholdAlerting) WithArrayOfValues(values []*rcommon.TsCndSpec_ThresholdAlertingCfg) *TsCondition_FieldSubPathArrayOfValues { 1055 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1056 } 1057 1058 func (TsConditionPathSelectorSpecThresholdAlerting) Operator() TsConditionPathSelectorSpecThresholdAlertingOperator { 1059 return TsConditionPathSelectorSpecThresholdAlertingOperator{} 1060 } 1061 1062 func (TsConditionPathSelectorSpecThresholdAlerting) AlignmentPeriod() TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod { 1063 return TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod{} 1064 } 1065 1066 func (TsConditionPathSelectorSpecThresholdAlerting) RaiseAfter() TsConditionPathSelectorSpecThresholdAlertingRaiseAfter { 1067 return TsConditionPathSelectorSpecThresholdAlertingRaiseAfter{} 1068 } 1069 1070 func (TsConditionPathSelectorSpecThresholdAlerting) SilenceAfter() TsConditionPathSelectorSpecThresholdAlertingSilenceAfter { 1071 return TsConditionPathSelectorSpecThresholdAlertingSilenceAfter{} 1072 } 1073 1074 func (TsConditionPathSelectorSpecThresholdAlerting) PerQueryThresholds() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds { 1075 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds{} 1076 } 1077 1078 func (TsConditionPathSelectorSpecThresholdAlerting) AdaptiveThresholdsDetectionPeriod() TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod { 1079 return TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod{} 1080 } 1081 1082 type TsConditionPathSelectorSpecThresholdAlertingOperator struct{} 1083 1084 func (TsConditionPathSelectorSpecThresholdAlertingOperator) FieldPath() *TsCondition_FieldSubPath { 1085 return &TsCondition_FieldSubPath{ 1086 selector: TsCondition_FieldPathSelectorSpec, 1087 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().Operator().FieldPath(), 1088 } 1089 } 1090 1091 func (s TsConditionPathSelectorSpecThresholdAlertingOperator) WithValue(value rcommon.TsCndSpec_ThresholdAlertingCfg_Operator) *TsCondition_FieldSubPathValue { 1092 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1093 } 1094 1095 func (s TsConditionPathSelectorSpecThresholdAlertingOperator) WithArrayOfValues(values []rcommon.TsCndSpec_ThresholdAlertingCfg_Operator) *TsCondition_FieldSubPathArrayOfValues { 1096 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1097 } 1098 1099 type TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod struct{} 1100 1101 func (TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod) FieldPath() *TsCondition_FieldSubPath { 1102 return &TsCondition_FieldSubPath{ 1103 selector: TsCondition_FieldPathSelectorSpec, 1104 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().AlignmentPeriod().FieldPath(), 1105 } 1106 } 1107 1108 func (s TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1109 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1110 } 1111 1112 func (s TsConditionPathSelectorSpecThresholdAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1113 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1114 } 1115 1116 type TsConditionPathSelectorSpecThresholdAlertingRaiseAfter struct{} 1117 1118 func (TsConditionPathSelectorSpecThresholdAlertingRaiseAfter) FieldPath() *TsCondition_FieldSubPath { 1119 return &TsCondition_FieldSubPath{ 1120 selector: TsCondition_FieldPathSelectorSpec, 1121 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().RaiseAfter().FieldPath(), 1122 } 1123 } 1124 1125 func (s TsConditionPathSelectorSpecThresholdAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1126 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1127 } 1128 1129 func (s TsConditionPathSelectorSpecThresholdAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1130 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1131 } 1132 1133 type TsConditionPathSelectorSpecThresholdAlertingSilenceAfter struct{} 1134 1135 func (TsConditionPathSelectorSpecThresholdAlertingSilenceAfter) FieldPath() *TsCondition_FieldSubPath { 1136 return &TsCondition_FieldSubPath{ 1137 selector: TsCondition_FieldPathSelectorSpec, 1138 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().SilenceAfter().FieldPath(), 1139 } 1140 } 1141 1142 func (s TsConditionPathSelectorSpecThresholdAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1143 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1144 } 1145 1146 func (s TsConditionPathSelectorSpecThresholdAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1147 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1148 } 1149 1150 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds struct{} 1151 1152 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) FieldPath() *TsCondition_FieldSubPath { 1153 return &TsCondition_FieldSubPath{ 1154 selector: TsCondition_FieldPathSelectorSpec, 1155 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().FieldPath(), 1156 } 1157 } 1158 1159 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) WithValue(value []*rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCondition_FieldSubPathValue { 1160 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1161 } 1162 1163 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) WithArrayOfValues(values [][]*rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCondition_FieldSubPathArrayOfValues { 1164 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1165 } 1166 1167 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) WithItemValue(value *rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsCondition_FieldSubPathArrayItemValue { 1168 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 1169 } 1170 1171 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) AutoAdaptUpper() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper { 1172 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper{} 1173 } 1174 1175 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) AutoAdaptLower() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower { 1176 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower{} 1177 } 1178 1179 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) MaxUpper() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper { 1180 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper{} 1181 } 1182 1183 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) MaxLower() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower { 1184 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower{} 1185 } 1186 1187 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) MinUpper() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper { 1188 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper{} 1189 } 1190 1191 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholds) MinLower() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower { 1192 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower{} 1193 } 1194 1195 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper struct{} 1196 1197 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper) FieldPath() *TsCondition_FieldSubPath { 1198 return &TsCondition_FieldSubPath{ 1199 selector: TsCondition_FieldPathSelectorSpec, 1200 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().AutoAdaptUpper().FieldPath(), 1201 } 1202 } 1203 1204 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithValue(value bool) *TsCondition_FieldSubPathValue { 1205 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1206 } 1207 1208 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1209 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1210 } 1211 1212 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower struct{} 1213 1214 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower) FieldPath() *TsCondition_FieldSubPath { 1215 return &TsCondition_FieldSubPath{ 1216 selector: TsCondition_FieldPathSelectorSpec, 1217 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().AutoAdaptLower().FieldPath(), 1218 } 1219 } 1220 1221 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithValue(value bool) *TsCondition_FieldSubPathValue { 1222 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1223 } 1224 1225 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1226 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1227 } 1228 1229 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper struct{} 1230 1231 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper) FieldPath() *TsCondition_FieldSubPath { 1232 return &TsCondition_FieldSubPath{ 1233 selector: TsCondition_FieldPathSelectorSpec, 1234 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().FieldPath(), 1235 } 1236 } 1237 1238 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper) WithValue(value *rcommon.AlertingThreshold) *TsCondition_FieldSubPathValue { 1239 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1240 } 1241 1242 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsCondition_FieldSubPathArrayOfValues { 1243 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1244 } 1245 1246 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper) Value() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue { 1247 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue{} 1248 } 1249 1250 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpper) IsInclusive() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive { 1251 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive{} 1252 } 1253 1254 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue struct{} 1255 1256 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue) FieldPath() *TsCondition_FieldSubPath { 1257 return &TsCondition_FieldSubPath{ 1258 selector: TsCondition_FieldPathSelectorSpec, 1259 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().Value().FieldPath(), 1260 } 1261 } 1262 1263 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue) WithValue(value float64) *TsCondition_FieldSubPathValue { 1264 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1265 } 1266 1267 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperValue) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1268 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1269 } 1270 1271 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive struct{} 1272 1273 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) FieldPath() *TsCondition_FieldSubPath { 1274 return &TsCondition_FieldSubPath{ 1275 selector: TsCondition_FieldPathSelectorSpec, 1276 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().IsInclusive().FieldPath(), 1277 } 1278 } 1279 1280 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithValue(value bool) *TsCondition_FieldSubPathValue { 1281 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1282 } 1283 1284 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1285 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1286 } 1287 1288 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower struct{} 1289 1290 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower) FieldPath() *TsCondition_FieldSubPath { 1291 return &TsCondition_FieldSubPath{ 1292 selector: TsCondition_FieldPathSelectorSpec, 1293 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().FieldPath(), 1294 } 1295 } 1296 1297 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower) WithValue(value *rcommon.AlertingThreshold) *TsCondition_FieldSubPathValue { 1298 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1299 } 1300 1301 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsCondition_FieldSubPathArrayOfValues { 1302 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1303 } 1304 1305 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower) Value() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue { 1306 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue{} 1307 } 1308 1309 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLower) IsInclusive() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive { 1310 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive{} 1311 } 1312 1313 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue struct{} 1314 1315 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue) FieldPath() *TsCondition_FieldSubPath { 1316 return &TsCondition_FieldSubPath{ 1317 selector: TsCondition_FieldPathSelectorSpec, 1318 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().Value().FieldPath(), 1319 } 1320 } 1321 1322 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue) WithValue(value float64) *TsCondition_FieldSubPathValue { 1323 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1324 } 1325 1326 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerValue) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1327 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1328 } 1329 1330 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive struct{} 1331 1332 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) FieldPath() *TsCondition_FieldSubPath { 1333 return &TsCondition_FieldSubPath{ 1334 selector: TsCondition_FieldPathSelectorSpec, 1335 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().IsInclusive().FieldPath(), 1336 } 1337 } 1338 1339 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithValue(value bool) *TsCondition_FieldSubPathValue { 1340 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1341 } 1342 1343 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1344 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1345 } 1346 1347 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper struct{} 1348 1349 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper) FieldPath() *TsCondition_FieldSubPath { 1350 return &TsCondition_FieldSubPath{ 1351 selector: TsCondition_FieldPathSelectorSpec, 1352 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().FieldPath(), 1353 } 1354 } 1355 1356 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper) WithValue(value *rcommon.AlertingThreshold) *TsCondition_FieldSubPathValue { 1357 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1358 } 1359 1360 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsCondition_FieldSubPathArrayOfValues { 1361 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1362 } 1363 1364 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper) Value() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue { 1365 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue{} 1366 } 1367 1368 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpper) IsInclusive() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive { 1369 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive{} 1370 } 1371 1372 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue struct{} 1373 1374 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue) FieldPath() *TsCondition_FieldSubPath { 1375 return &TsCondition_FieldSubPath{ 1376 selector: TsCondition_FieldPathSelectorSpec, 1377 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().Value().FieldPath(), 1378 } 1379 } 1380 1381 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue) WithValue(value float64) *TsCondition_FieldSubPathValue { 1382 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1383 } 1384 1385 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperValue) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1386 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1387 } 1388 1389 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive struct{} 1390 1391 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) FieldPath() *TsCondition_FieldSubPath { 1392 return &TsCondition_FieldSubPath{ 1393 selector: TsCondition_FieldPathSelectorSpec, 1394 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().IsInclusive().FieldPath(), 1395 } 1396 } 1397 1398 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithValue(value bool) *TsCondition_FieldSubPathValue { 1399 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1400 } 1401 1402 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1403 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1404 } 1405 1406 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower struct{} 1407 1408 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower) FieldPath() *TsCondition_FieldSubPath { 1409 return &TsCondition_FieldSubPath{ 1410 selector: TsCondition_FieldPathSelectorSpec, 1411 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().FieldPath(), 1412 } 1413 } 1414 1415 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower) WithValue(value *rcommon.AlertingThreshold) *TsCondition_FieldSubPathValue { 1416 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1417 } 1418 1419 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsCondition_FieldSubPathArrayOfValues { 1420 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1421 } 1422 1423 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower) Value() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue { 1424 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue{} 1425 } 1426 1427 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLower) IsInclusive() TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive { 1428 return TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive{} 1429 } 1430 1431 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue struct{} 1432 1433 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue) FieldPath() *TsCondition_FieldSubPath { 1434 return &TsCondition_FieldSubPath{ 1435 selector: TsCondition_FieldPathSelectorSpec, 1436 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().Value().FieldPath(), 1437 } 1438 } 1439 1440 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue) WithValue(value float64) *TsCondition_FieldSubPathValue { 1441 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1442 } 1443 1444 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerValue) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1445 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1446 } 1447 1448 type TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive struct{} 1449 1450 func (TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) FieldPath() *TsCondition_FieldSubPath { 1451 return &TsCondition_FieldSubPath{ 1452 selector: TsCondition_FieldPathSelectorSpec, 1453 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().IsInclusive().FieldPath(), 1454 } 1455 } 1456 1457 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithValue(value bool) *TsCondition_FieldSubPathValue { 1458 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1459 } 1460 1461 func (s TsConditionPathSelectorSpecThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1462 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1463 } 1464 1465 type TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod struct{} 1466 1467 func (TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod) FieldPath() *TsCondition_FieldSubPath { 1468 return &TsCondition_FieldSubPath{ 1469 selector: TsCondition_FieldPathSelectorSpec, 1470 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().AdaptiveThresholdsDetectionPeriod().FieldPath(), 1471 } 1472 } 1473 1474 func (s TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1475 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1476 } 1477 1478 func (s TsConditionPathSelectorSpecThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1479 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1480 } 1481 1482 type TsConditionPathSelectorSpecAnomalyAlerting struct{} 1483 1484 func (TsConditionPathSelectorSpecAnomalyAlerting) FieldPath() *TsCondition_FieldSubPath { 1485 return &TsCondition_FieldSubPath{ 1486 selector: TsCondition_FieldPathSelectorSpec, 1487 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().FieldPath(), 1488 } 1489 } 1490 1491 func (s TsConditionPathSelectorSpecAnomalyAlerting) WithValue(value []*rcommon.TsCndSpec_AnomalyAlertingCfg) *TsCondition_FieldSubPathValue { 1492 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1493 } 1494 1495 func (s TsConditionPathSelectorSpecAnomalyAlerting) WithArrayOfValues(values [][]*rcommon.TsCndSpec_AnomalyAlertingCfg) *TsCondition_FieldSubPathArrayOfValues { 1496 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1497 } 1498 1499 func (s TsConditionPathSelectorSpecAnomalyAlerting) WithItemValue(value *rcommon.TsCndSpec_AnomalyAlertingCfg) *TsCondition_FieldSubPathArrayItemValue { 1500 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 1501 } 1502 1503 func (TsConditionPathSelectorSpecAnomalyAlerting) AnalysisWindow() TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow { 1504 return TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow{} 1505 } 1506 1507 func (TsConditionPathSelectorSpecAnomalyAlerting) StepInterval() TsConditionPathSelectorSpecAnomalyAlertingStepInterval { 1508 return TsConditionPathSelectorSpecAnomalyAlertingStepInterval{} 1509 } 1510 1511 func (TsConditionPathSelectorSpecAnomalyAlerting) TrainStepInterval() TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval { 1512 return TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval{} 1513 } 1514 1515 func (TsConditionPathSelectorSpecAnomalyAlerting) AlignmentPeriod() TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod { 1516 return TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod{} 1517 } 1518 1519 func (TsConditionPathSelectorSpecAnomalyAlerting) LstmAutoencoder() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder { 1520 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder{} 1521 } 1522 1523 func (TsConditionPathSelectorSpecAnomalyAlerting) RaiseAfter() TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter { 1524 return TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter{} 1525 } 1526 1527 func (TsConditionPathSelectorSpecAnomalyAlerting) SilenceAfter() TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter { 1528 return TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter{} 1529 } 1530 1531 type TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow struct{} 1532 1533 func (TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow) FieldPath() *TsCondition_FieldSubPath { 1534 return &TsCondition_FieldSubPath{ 1535 selector: TsCondition_FieldPathSelectorSpec, 1536 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().AnalysisWindow().FieldPath(), 1537 } 1538 } 1539 1540 func (s TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1541 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1542 } 1543 1544 func (s TsConditionPathSelectorSpecAnomalyAlertingAnalysisWindow) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1545 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1546 } 1547 1548 type TsConditionPathSelectorSpecAnomalyAlertingStepInterval struct{} 1549 1550 func (TsConditionPathSelectorSpecAnomalyAlertingStepInterval) FieldPath() *TsCondition_FieldSubPath { 1551 return &TsCondition_FieldSubPath{ 1552 selector: TsCondition_FieldPathSelectorSpec, 1553 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().StepInterval().FieldPath(), 1554 } 1555 } 1556 1557 func (s TsConditionPathSelectorSpecAnomalyAlertingStepInterval) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1558 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1559 } 1560 1561 func (s TsConditionPathSelectorSpecAnomalyAlertingStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1562 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1563 } 1564 1565 type TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval struct{} 1566 1567 func (TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval) FieldPath() *TsCondition_FieldSubPath { 1568 return &TsCondition_FieldSubPath{ 1569 selector: TsCondition_FieldPathSelectorSpec, 1570 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().TrainStepInterval().FieldPath(), 1571 } 1572 } 1573 1574 func (s TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1575 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1576 } 1577 1578 func (s TsConditionPathSelectorSpecAnomalyAlertingTrainStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1579 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1580 } 1581 1582 type TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod struct{} 1583 1584 func (TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod) FieldPath() *TsCondition_FieldSubPath { 1585 return &TsCondition_FieldSubPath{ 1586 selector: TsCondition_FieldPathSelectorSpec, 1587 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().AlignmentPeriod().FieldPath(), 1588 } 1589 } 1590 1591 func (s TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1592 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1593 } 1594 1595 func (s TsConditionPathSelectorSpecAnomalyAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1596 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1597 } 1598 1599 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder struct{} 1600 1601 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) FieldPath() *TsCondition_FieldSubPath { 1602 return &TsCondition_FieldSubPath{ 1603 selector: TsCondition_FieldPathSelectorSpec, 1604 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().FieldPath(), 1605 } 1606 } 1607 1608 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) WithValue(value *rcommon.TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCondition_FieldSubPathValue { 1609 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1610 } 1611 1612 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) WithArrayOfValues(values []*rcommon.TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsCondition_FieldSubPathArrayOfValues { 1613 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1614 } 1615 1616 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) HiddenSize() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize { 1617 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize{} 1618 } 1619 1620 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) LearnRate() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate { 1621 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate{} 1622 } 1623 1624 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) MaxTrainingEpochs() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs { 1625 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs{} 1626 } 1627 1628 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) MinTrainingEpochs() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs { 1629 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs{} 1630 } 1631 1632 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) AcceptableTrainingError() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError { 1633 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError{} 1634 } 1635 1636 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) TrainingPeriod() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod { 1637 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod{} 1638 } 1639 1640 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) CheckPeriodFraction() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction { 1641 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction{} 1642 } 1643 1644 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoder) TeacherForceAtInference() TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference { 1645 return TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference{} 1646 } 1647 1648 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize struct{} 1649 1650 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize) FieldPath() *TsCondition_FieldSubPath { 1651 return &TsCondition_FieldSubPath{ 1652 selector: TsCondition_FieldPathSelectorSpec, 1653 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().HiddenSize().FieldPath(), 1654 } 1655 } 1656 1657 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize) WithValue(value int32) *TsCondition_FieldSubPathValue { 1658 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1659 } 1660 1661 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderHiddenSize) WithArrayOfValues(values []int32) *TsCondition_FieldSubPathArrayOfValues { 1662 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1663 } 1664 1665 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate struct{} 1666 1667 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate) FieldPath() *TsCondition_FieldSubPath { 1668 return &TsCondition_FieldSubPath{ 1669 selector: TsCondition_FieldPathSelectorSpec, 1670 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().LearnRate().FieldPath(), 1671 } 1672 } 1673 1674 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate) WithValue(value float64) *TsCondition_FieldSubPathValue { 1675 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1676 } 1677 1678 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderLearnRate) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1679 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1680 } 1681 1682 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs struct{} 1683 1684 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) FieldPath() *TsCondition_FieldSubPath { 1685 return &TsCondition_FieldSubPath{ 1686 selector: TsCondition_FieldPathSelectorSpec, 1687 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().MaxTrainingEpochs().FieldPath(), 1688 } 1689 } 1690 1691 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithValue(value int32) *TsCondition_FieldSubPathValue { 1692 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1693 } 1694 1695 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithArrayOfValues(values []int32) *TsCondition_FieldSubPathArrayOfValues { 1696 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1697 } 1698 1699 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs struct{} 1700 1701 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs) FieldPath() *TsCondition_FieldSubPath { 1702 return &TsCondition_FieldSubPath{ 1703 selector: TsCondition_FieldPathSelectorSpec, 1704 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().MinTrainingEpochs().FieldPath(), 1705 } 1706 } 1707 1708 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithValue(value int32) *TsCondition_FieldSubPathValue { 1709 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1710 } 1711 1712 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithArrayOfValues(values []int32) *TsCondition_FieldSubPathArrayOfValues { 1713 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1714 } 1715 1716 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError struct{} 1717 1718 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError) FieldPath() *TsCondition_FieldSubPath { 1719 return &TsCondition_FieldSubPath{ 1720 selector: TsCondition_FieldPathSelectorSpec, 1721 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().AcceptableTrainingError().FieldPath(), 1722 } 1723 } 1724 1725 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithValue(value float64) *TsCondition_FieldSubPathValue { 1726 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1727 } 1728 1729 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1730 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1731 } 1732 1733 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod struct{} 1734 1735 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod) FieldPath() *TsCondition_FieldSubPath { 1736 return &TsCondition_FieldSubPath{ 1737 selector: TsCondition_FieldPathSelectorSpec, 1738 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().TrainingPeriod().FieldPath(), 1739 } 1740 } 1741 1742 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1743 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1744 } 1745 1746 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTrainingPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1747 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1748 } 1749 1750 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction struct{} 1751 1752 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction) FieldPath() *TsCondition_FieldSubPath { 1753 return &TsCondition_FieldSubPath{ 1754 selector: TsCondition_FieldPathSelectorSpec, 1755 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().CheckPeriodFraction().FieldPath(), 1756 } 1757 } 1758 1759 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithValue(value float64) *TsCondition_FieldSubPathValue { 1760 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1761 } 1762 1763 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithArrayOfValues(values []float64) *TsCondition_FieldSubPathArrayOfValues { 1764 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1765 } 1766 1767 type TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference struct{} 1768 1769 func (TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference) FieldPath() *TsCondition_FieldSubPath { 1770 return &TsCondition_FieldSubPath{ 1771 selector: TsCondition_FieldPathSelectorSpec, 1772 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().TeacherForceAtInference().FieldPath(), 1773 } 1774 } 1775 1776 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithValue(value bool) *TsCondition_FieldSubPathValue { 1777 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1778 } 1779 1780 func (s TsConditionPathSelectorSpecAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithArrayOfValues(values []bool) *TsCondition_FieldSubPathArrayOfValues { 1781 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1782 } 1783 1784 type TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter struct{} 1785 1786 func (TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter) FieldPath() *TsCondition_FieldSubPath { 1787 return &TsCondition_FieldSubPath{ 1788 selector: TsCondition_FieldPathSelectorSpec, 1789 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().RaiseAfter().FieldPath(), 1790 } 1791 } 1792 1793 func (s TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1794 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1795 } 1796 1797 func (s TsConditionPathSelectorSpecAnomalyAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1798 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1799 } 1800 1801 type TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter struct{} 1802 1803 func (TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter) FieldPath() *TsCondition_FieldSubPath { 1804 return &TsCondition_FieldSubPath{ 1805 selector: TsCondition_FieldPathSelectorSpec, 1806 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().SilenceAfter().FieldPath(), 1807 } 1808 } 1809 1810 func (s TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsCondition_FieldSubPathValue { 1811 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1812 } 1813 1814 func (s TsConditionPathSelectorSpecAnomalyAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsCondition_FieldSubPathArrayOfValues { 1815 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1816 } 1817 1818 type TsConditionPathSelectorInternal struct{} 1819 1820 func (TsConditionPathSelectorInternal) FieldPath() *TsCondition_FieldTerminalPath { 1821 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorInternal} 1822 } 1823 1824 func (s TsConditionPathSelectorInternal) WithValue(value *TsCondition_Internal) *TsCondition_FieldTerminalPathValue { 1825 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 1826 } 1827 1828 func (s TsConditionPathSelectorInternal) WithArrayOfValues(values []*TsCondition_Internal) *TsCondition_FieldTerminalPathArrayOfValues { 1829 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 1830 } 1831 1832 func (TsConditionPathSelectorInternal) WithSubPath(subPath TsConditionInternal_FieldPath) *TsCondition_FieldSubPath { 1833 return &TsCondition_FieldSubPath{selector: TsCondition_FieldPathSelectorInternal, subPath: subPath} 1834 } 1835 1836 func (s TsConditionPathSelectorInternal) WithSubValue(subPathValue TsConditionInternal_FieldPathValue) *TsCondition_FieldSubPathValue { 1837 return &TsCondition_FieldSubPathValue{TsCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1838 } 1839 1840 func (s TsConditionPathSelectorInternal) WithSubArrayOfValues(subPathArrayOfValues TsConditionInternal_FieldPathArrayOfValues) *TsCondition_FieldSubPathArrayOfValues { 1841 return &TsCondition_FieldSubPathArrayOfValues{TsCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1842 } 1843 1844 func (s TsConditionPathSelectorInternal) WithSubArrayItemValue(subPathArrayItemValue TsConditionInternal_FieldPathArrayItemValue) *TsCondition_FieldSubPathArrayItemValue { 1845 return &TsCondition_FieldSubPathArrayItemValue{TsCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1846 } 1847 1848 func (TsConditionPathSelectorInternal) CommonKeyKset() TsConditionPathSelectorInternalCommonKeyKset { 1849 return TsConditionPathSelectorInternalCommonKeyKset{} 1850 } 1851 1852 func (TsConditionPathSelectorInternal) EntrySpecGeneration() TsConditionPathSelectorInternalEntrySpecGeneration { 1853 return TsConditionPathSelectorInternalEntrySpecGeneration{} 1854 } 1855 1856 func (TsConditionPathSelectorInternal) AlertingLocation() TsConditionPathSelectorInternalAlertingLocation { 1857 return TsConditionPathSelectorInternalAlertingLocation{} 1858 } 1859 1860 type TsConditionPathSelectorInternalCommonKeyKset struct{} 1861 1862 func (TsConditionPathSelectorInternalCommonKeyKset) FieldPath() *TsCondition_FieldSubPath { 1863 return &TsCondition_FieldSubPath{ 1864 selector: TsCondition_FieldPathSelectorInternal, 1865 subPath: NewTsConditionInternalFieldPathBuilder().CommonKeyKset().FieldPath(), 1866 } 1867 } 1868 1869 func (s TsConditionPathSelectorInternalCommonKeyKset) WithValue(value []byte) *TsCondition_FieldSubPathValue { 1870 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1871 } 1872 1873 func (s TsConditionPathSelectorInternalCommonKeyKset) WithArrayOfValues(values [][]byte) *TsCondition_FieldSubPathArrayOfValues { 1874 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1875 } 1876 1877 type TsConditionPathSelectorInternalEntrySpecGeneration struct{} 1878 1879 func (TsConditionPathSelectorInternalEntrySpecGeneration) FieldPath() *TsCondition_FieldSubPath { 1880 return &TsCondition_FieldSubPath{ 1881 selector: TsCondition_FieldPathSelectorInternal, 1882 subPath: NewTsConditionInternalFieldPathBuilder().EntrySpecGeneration().FieldPath(), 1883 } 1884 } 1885 1886 func (s TsConditionPathSelectorInternalEntrySpecGeneration) WithValue(value int32) *TsCondition_FieldSubPathValue { 1887 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1888 } 1889 1890 func (s TsConditionPathSelectorInternalEntrySpecGeneration) WithArrayOfValues(values []int32) *TsCondition_FieldSubPathArrayOfValues { 1891 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1892 } 1893 1894 type TsConditionPathSelectorInternalAlertingLocation struct{} 1895 1896 func (TsConditionPathSelectorInternalAlertingLocation) FieldPath() *TsCondition_FieldSubPath { 1897 return &TsCondition_FieldSubPath{ 1898 selector: TsCondition_FieldPathSelectorInternal, 1899 subPath: NewTsConditionInternalFieldPathBuilder().AlertingLocation().FieldPath(), 1900 } 1901 } 1902 1903 func (s TsConditionPathSelectorInternalAlertingLocation) WithValue(value rcommon.PolicySpec_ProcessingLocation) *TsCondition_FieldSubPathValue { 1904 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1905 } 1906 1907 func (s TsConditionPathSelectorInternalAlertingLocation) WithArrayOfValues(values []rcommon.PolicySpec_ProcessingLocation) *TsCondition_FieldSubPathArrayOfValues { 1908 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1909 } 1910 1911 type TsConditionPathSelectorFilterSelector struct{} 1912 1913 func (TsConditionPathSelectorFilterSelector) FieldPath() *TsCondition_FieldTerminalPath { 1914 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorFilterSelector} 1915 } 1916 1917 func (s TsConditionPathSelectorFilterSelector) WithValue(value *TsCondition_Selector) *TsCondition_FieldTerminalPathValue { 1918 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 1919 } 1920 1921 func (s TsConditionPathSelectorFilterSelector) WithArrayOfValues(values []*TsCondition_Selector) *TsCondition_FieldTerminalPathArrayOfValues { 1922 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 1923 } 1924 1925 func (TsConditionPathSelectorFilterSelector) WithSubPath(subPath TsConditionSelector_FieldPath) *TsCondition_FieldSubPath { 1926 return &TsCondition_FieldSubPath{selector: TsCondition_FieldPathSelectorFilterSelector, subPath: subPath} 1927 } 1928 1929 func (s TsConditionPathSelectorFilterSelector) WithSubValue(subPathValue TsConditionSelector_FieldPathValue) *TsCondition_FieldSubPathValue { 1930 return &TsCondition_FieldSubPathValue{TsCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1931 } 1932 1933 func (s TsConditionPathSelectorFilterSelector) WithSubArrayOfValues(subPathArrayOfValues TsConditionSelector_FieldPathArrayOfValues) *TsCondition_FieldSubPathArrayOfValues { 1934 return &TsCondition_FieldSubPathArrayOfValues{TsCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1935 } 1936 1937 func (s TsConditionPathSelectorFilterSelector) WithSubArrayItemValue(subPathArrayItemValue TsConditionSelector_FieldPathArrayItemValue) *TsCondition_FieldSubPathArrayItemValue { 1938 return &TsCondition_FieldSubPathArrayItemValue{TsCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1939 } 1940 1941 func (TsConditionPathSelectorFilterSelector) MetricTypes() TsConditionPathSelectorFilterSelectorMetricTypes { 1942 return TsConditionPathSelectorFilterSelectorMetricTypes{} 1943 } 1944 1945 func (TsConditionPathSelectorFilterSelector) ResourceTypes() TsConditionPathSelectorFilterSelectorResourceTypes { 1946 return TsConditionPathSelectorFilterSelectorResourceTypes{} 1947 } 1948 1949 func (TsConditionPathSelectorFilterSelector) CommonMetricLabels() TsConditionPathSelectorFilterSelectorCommonMetricLabels { 1950 return TsConditionPathSelectorFilterSelectorCommonMetricLabels{} 1951 } 1952 1953 func (TsConditionPathSelectorFilterSelector) CommonResourceLabels() TsConditionPathSelectorFilterSelectorCommonResourceLabels { 1954 return TsConditionPathSelectorFilterSelectorCommonResourceLabels{} 1955 } 1956 1957 type TsConditionPathSelectorFilterSelectorMetricTypes struct{} 1958 1959 func (TsConditionPathSelectorFilterSelectorMetricTypes) FieldPath() *TsCondition_FieldSubPath { 1960 return &TsCondition_FieldSubPath{ 1961 selector: TsCondition_FieldPathSelectorFilterSelector, 1962 subPath: NewTsConditionSelectorFieldPathBuilder().MetricTypes().FieldPath(), 1963 } 1964 } 1965 1966 func (s TsConditionPathSelectorFilterSelectorMetricTypes) WithValue(value []string) *TsCondition_FieldSubPathValue { 1967 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1968 } 1969 1970 func (s TsConditionPathSelectorFilterSelectorMetricTypes) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 1971 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1972 } 1973 1974 func (s TsConditionPathSelectorFilterSelectorMetricTypes) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 1975 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 1976 } 1977 1978 type TsConditionPathSelectorFilterSelectorResourceTypes struct{} 1979 1980 func (TsConditionPathSelectorFilterSelectorResourceTypes) FieldPath() *TsCondition_FieldSubPath { 1981 return &TsCondition_FieldSubPath{ 1982 selector: TsCondition_FieldPathSelectorFilterSelector, 1983 subPath: NewTsConditionSelectorFieldPathBuilder().ResourceTypes().FieldPath(), 1984 } 1985 } 1986 1987 func (s TsConditionPathSelectorFilterSelectorResourceTypes) WithValue(value []string) *TsCondition_FieldSubPathValue { 1988 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 1989 } 1990 1991 func (s TsConditionPathSelectorFilterSelectorResourceTypes) WithArrayOfValues(values [][]string) *TsCondition_FieldSubPathArrayOfValues { 1992 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 1993 } 1994 1995 func (s TsConditionPathSelectorFilterSelectorResourceTypes) WithItemValue(value string) *TsCondition_FieldSubPathArrayItemValue { 1996 return s.FieldPath().WithIArrayItemValue(value).(*TsCondition_FieldSubPathArrayItemValue) 1997 } 1998 1999 type TsConditionPathSelectorFilterSelectorCommonMetricLabels struct{} 2000 2001 func (TsConditionPathSelectorFilterSelectorCommonMetricLabels) FieldPath() *TsCondition_FieldSubPath { 2002 return &TsCondition_FieldSubPath{ 2003 selector: TsCondition_FieldPathSelectorFilterSelector, 2004 subPath: NewTsConditionSelectorFieldPathBuilder().CommonMetricLabels().FieldPath(), 2005 } 2006 } 2007 2008 func (s TsConditionPathSelectorFilterSelectorCommonMetricLabels) WithValue(value map[string]*TsCondition_Selector_Strings) *TsCondition_FieldSubPathValue { 2009 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2010 } 2011 2012 func (s TsConditionPathSelectorFilterSelectorCommonMetricLabels) WithArrayOfValues(values []map[string]*TsCondition_Selector_Strings) *TsCondition_FieldSubPathArrayOfValues { 2013 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2014 } 2015 2016 func (TsConditionPathSelectorFilterSelectorCommonMetricLabels) WithKey(key string) TsConditionMapPathSelectorFilterSelectorCommonMetricLabels { 2017 return TsConditionMapPathSelectorFilterSelectorCommonMetricLabels{key: key} 2018 } 2019 2020 type TsConditionMapPathSelectorFilterSelectorCommonMetricLabels struct { 2021 key string 2022 } 2023 2024 func (s TsConditionMapPathSelectorFilterSelectorCommonMetricLabels) FieldPath() *TsCondition_FieldSubPath { 2025 return &TsCondition_FieldSubPath{ 2026 selector: TsCondition_FieldPathSelectorFilterSelector, 2027 subPath: NewTsConditionSelectorFieldPathBuilder().CommonMetricLabels().WithKey(s.key).FieldPath(), 2028 } 2029 } 2030 2031 func (s TsConditionMapPathSelectorFilterSelectorCommonMetricLabels) WithValue(value *TsCondition_Selector_Strings) *TsCondition_FieldSubPathValue { 2032 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2033 } 2034 2035 func (s TsConditionMapPathSelectorFilterSelectorCommonMetricLabels) WithArrayOfValues(values []*TsCondition_Selector_Strings) *TsCondition_FieldSubPathArrayOfValues { 2036 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2037 } 2038 2039 type TsConditionPathSelectorFilterSelectorCommonResourceLabels struct{} 2040 2041 func (TsConditionPathSelectorFilterSelectorCommonResourceLabels) FieldPath() *TsCondition_FieldSubPath { 2042 return &TsCondition_FieldSubPath{ 2043 selector: TsCondition_FieldPathSelectorFilterSelector, 2044 subPath: NewTsConditionSelectorFieldPathBuilder().CommonResourceLabels().FieldPath(), 2045 } 2046 } 2047 2048 func (s TsConditionPathSelectorFilterSelectorCommonResourceLabels) WithValue(value map[string]*TsCondition_Selector_Strings) *TsCondition_FieldSubPathValue { 2049 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2050 } 2051 2052 func (s TsConditionPathSelectorFilterSelectorCommonResourceLabels) WithArrayOfValues(values []map[string]*TsCondition_Selector_Strings) *TsCondition_FieldSubPathArrayOfValues { 2053 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2054 } 2055 2056 func (TsConditionPathSelectorFilterSelectorCommonResourceLabels) WithKey(key string) TsConditionMapPathSelectorFilterSelectorCommonResourceLabels { 2057 return TsConditionMapPathSelectorFilterSelectorCommonResourceLabels{key: key} 2058 } 2059 2060 type TsConditionMapPathSelectorFilterSelectorCommonResourceLabels struct { 2061 key string 2062 } 2063 2064 func (s TsConditionMapPathSelectorFilterSelectorCommonResourceLabels) FieldPath() *TsCondition_FieldSubPath { 2065 return &TsCondition_FieldSubPath{ 2066 selector: TsCondition_FieldPathSelectorFilterSelector, 2067 subPath: NewTsConditionSelectorFieldPathBuilder().CommonResourceLabels().WithKey(s.key).FieldPath(), 2068 } 2069 } 2070 2071 func (s TsConditionMapPathSelectorFilterSelectorCommonResourceLabels) WithValue(value *TsCondition_Selector_Strings) *TsCondition_FieldSubPathValue { 2072 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2073 } 2074 2075 func (s TsConditionMapPathSelectorFilterSelectorCommonResourceLabels) WithArrayOfValues(values []*TsCondition_Selector_Strings) *TsCondition_FieldSubPathArrayOfValues { 2076 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2077 } 2078 2079 type TsConditionPathSelectorTemplateSource struct{} 2080 2081 func (TsConditionPathSelectorTemplateSource) FieldPath() *TsCondition_FieldTerminalPath { 2082 return &TsCondition_FieldTerminalPath{selector: TsCondition_FieldPathSelectorTemplateSource} 2083 } 2084 2085 func (s TsConditionPathSelectorTemplateSource) WithValue(value *TsCondition_TemplateSource) *TsCondition_FieldTerminalPathValue { 2086 return s.FieldPath().WithIValue(value).(*TsCondition_FieldTerminalPathValue) 2087 } 2088 2089 func (s TsConditionPathSelectorTemplateSource) WithArrayOfValues(values []*TsCondition_TemplateSource) *TsCondition_FieldTerminalPathArrayOfValues { 2090 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldTerminalPathArrayOfValues) 2091 } 2092 2093 func (TsConditionPathSelectorTemplateSource) WithSubPath(subPath TsConditionTemplateSource_FieldPath) *TsCondition_FieldSubPath { 2094 return &TsCondition_FieldSubPath{selector: TsCondition_FieldPathSelectorTemplateSource, subPath: subPath} 2095 } 2096 2097 func (s TsConditionPathSelectorTemplateSource) WithSubValue(subPathValue TsConditionTemplateSource_FieldPathValue) *TsCondition_FieldSubPathValue { 2098 return &TsCondition_FieldSubPathValue{TsCondition_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2099 } 2100 2101 func (s TsConditionPathSelectorTemplateSource) WithSubArrayOfValues(subPathArrayOfValues TsConditionTemplateSource_FieldPathArrayOfValues) *TsCondition_FieldSubPathArrayOfValues { 2102 return &TsCondition_FieldSubPathArrayOfValues{TsCondition_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2103 } 2104 2105 func (s TsConditionPathSelectorTemplateSource) WithSubArrayItemValue(subPathArrayItemValue TsConditionTemplateSource_FieldPathArrayItemValue) *TsCondition_FieldSubPathArrayItemValue { 2106 return &TsCondition_FieldSubPathArrayItemValue{TsCondition_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2107 } 2108 2109 func (TsConditionPathSelectorTemplateSource) Template() TsConditionPathSelectorTemplateSourceTemplate { 2110 return TsConditionPathSelectorTemplateSourceTemplate{} 2111 } 2112 2113 func (TsConditionPathSelectorTemplateSource) UpdatedFields() TsConditionPathSelectorTemplateSourceUpdatedFields { 2114 return TsConditionPathSelectorTemplateSourceUpdatedFields{} 2115 } 2116 2117 type TsConditionPathSelectorTemplateSourceTemplate struct{} 2118 2119 func (TsConditionPathSelectorTemplateSourceTemplate) FieldPath() *TsCondition_FieldSubPath { 2120 return &TsCondition_FieldSubPath{ 2121 selector: TsCondition_FieldPathSelectorTemplateSource, 2122 subPath: NewTsConditionTemplateSourceFieldPathBuilder().Template().FieldPath(), 2123 } 2124 } 2125 2126 func (s TsConditionPathSelectorTemplateSourceTemplate) WithValue(value *log_condition_template.Reference) *TsCondition_FieldSubPathValue { 2127 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2128 } 2129 2130 func (s TsConditionPathSelectorTemplateSourceTemplate) WithArrayOfValues(values []*log_condition_template.Reference) *TsCondition_FieldSubPathArrayOfValues { 2131 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2132 } 2133 2134 type TsConditionPathSelectorTemplateSourceUpdatedFields struct{} 2135 2136 func (TsConditionPathSelectorTemplateSourceUpdatedFields) FieldPath() *TsCondition_FieldSubPath { 2137 return &TsCondition_FieldSubPath{ 2138 selector: TsCondition_FieldPathSelectorTemplateSource, 2139 subPath: NewTsConditionTemplateSourceFieldPathBuilder().UpdatedFields().FieldPath(), 2140 } 2141 } 2142 2143 func (s TsConditionPathSelectorTemplateSourceUpdatedFields) WithValue(value *fieldmaskpb.FieldMask) *TsCondition_FieldSubPathValue { 2144 return s.FieldPath().WithIValue(value).(*TsCondition_FieldSubPathValue) 2145 } 2146 2147 func (s TsConditionPathSelectorTemplateSourceUpdatedFields) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *TsCondition_FieldSubPathArrayOfValues { 2148 return s.FieldPath().WithIArrayOfValues(values).(*TsCondition_FieldSubPathArrayOfValues) 2149 } 2150 2151 type TsConditionInternalFieldPathBuilder struct{} 2152 2153 func NewTsConditionInternalFieldPathBuilder() TsConditionInternalFieldPathBuilder { 2154 return TsConditionInternalFieldPathBuilder{} 2155 } 2156 func (TsConditionInternalFieldPathBuilder) CommonKeyKset() TsCondition_InternalPathSelectorCommonKeyKset { 2157 return TsCondition_InternalPathSelectorCommonKeyKset{} 2158 } 2159 func (TsConditionInternalFieldPathBuilder) EntrySpecGeneration() TsCondition_InternalPathSelectorEntrySpecGeneration { 2160 return TsCondition_InternalPathSelectorEntrySpecGeneration{} 2161 } 2162 func (TsConditionInternalFieldPathBuilder) AlertingLocation() TsCondition_InternalPathSelectorAlertingLocation { 2163 return TsCondition_InternalPathSelectorAlertingLocation{} 2164 } 2165 2166 type TsCondition_InternalPathSelectorCommonKeyKset struct{} 2167 2168 func (TsCondition_InternalPathSelectorCommonKeyKset) FieldPath() *TsConditionInternal_FieldTerminalPath { 2169 return &TsConditionInternal_FieldTerminalPath{selector: TsConditionInternal_FieldPathSelectorCommonKeyKset} 2170 } 2171 2172 func (s TsCondition_InternalPathSelectorCommonKeyKset) WithValue(value []byte) *TsConditionInternal_FieldTerminalPathValue { 2173 return s.FieldPath().WithIValue(value).(*TsConditionInternal_FieldTerminalPathValue) 2174 } 2175 2176 func (s TsCondition_InternalPathSelectorCommonKeyKset) WithArrayOfValues(values [][]byte) *TsConditionInternal_FieldTerminalPathArrayOfValues { 2177 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionInternal_FieldTerminalPathArrayOfValues) 2178 } 2179 2180 type TsCondition_InternalPathSelectorEntrySpecGeneration struct{} 2181 2182 func (TsCondition_InternalPathSelectorEntrySpecGeneration) FieldPath() *TsConditionInternal_FieldTerminalPath { 2183 return &TsConditionInternal_FieldTerminalPath{selector: TsConditionInternal_FieldPathSelectorEntrySpecGeneration} 2184 } 2185 2186 func (s TsCondition_InternalPathSelectorEntrySpecGeneration) WithValue(value int32) *TsConditionInternal_FieldTerminalPathValue { 2187 return s.FieldPath().WithIValue(value).(*TsConditionInternal_FieldTerminalPathValue) 2188 } 2189 2190 func (s TsCondition_InternalPathSelectorEntrySpecGeneration) WithArrayOfValues(values []int32) *TsConditionInternal_FieldTerminalPathArrayOfValues { 2191 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionInternal_FieldTerminalPathArrayOfValues) 2192 } 2193 2194 type TsCondition_InternalPathSelectorAlertingLocation struct{} 2195 2196 func (TsCondition_InternalPathSelectorAlertingLocation) FieldPath() *TsConditionInternal_FieldTerminalPath { 2197 return &TsConditionInternal_FieldTerminalPath{selector: TsConditionInternal_FieldPathSelectorAlertingLocation} 2198 } 2199 2200 func (s TsCondition_InternalPathSelectorAlertingLocation) WithValue(value rcommon.PolicySpec_ProcessingLocation) *TsConditionInternal_FieldTerminalPathValue { 2201 return s.FieldPath().WithIValue(value).(*TsConditionInternal_FieldTerminalPathValue) 2202 } 2203 2204 func (s TsCondition_InternalPathSelectorAlertingLocation) WithArrayOfValues(values []rcommon.PolicySpec_ProcessingLocation) *TsConditionInternal_FieldTerminalPathArrayOfValues { 2205 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionInternal_FieldTerminalPathArrayOfValues) 2206 } 2207 2208 type TsConditionSelectorFieldPathBuilder struct{} 2209 2210 func NewTsConditionSelectorFieldPathBuilder() TsConditionSelectorFieldPathBuilder { 2211 return TsConditionSelectorFieldPathBuilder{} 2212 } 2213 func (TsConditionSelectorFieldPathBuilder) MetricTypes() TsCondition_SelectorPathSelectorMetricTypes { 2214 return TsCondition_SelectorPathSelectorMetricTypes{} 2215 } 2216 func (TsConditionSelectorFieldPathBuilder) ResourceTypes() TsCondition_SelectorPathSelectorResourceTypes { 2217 return TsCondition_SelectorPathSelectorResourceTypes{} 2218 } 2219 func (TsConditionSelectorFieldPathBuilder) CommonMetricLabels() TsCondition_SelectorPathSelectorCommonMetricLabels { 2220 return TsCondition_SelectorPathSelectorCommonMetricLabels{} 2221 } 2222 func (TsConditionSelectorFieldPathBuilder) CommonResourceLabels() TsCondition_SelectorPathSelectorCommonResourceLabels { 2223 return TsCondition_SelectorPathSelectorCommonResourceLabels{} 2224 } 2225 2226 type TsCondition_SelectorPathSelectorMetricTypes struct{} 2227 2228 func (TsCondition_SelectorPathSelectorMetricTypes) FieldPath() *TsConditionSelector_FieldTerminalPath { 2229 return &TsConditionSelector_FieldTerminalPath{selector: TsConditionSelector_FieldPathSelectorMetricTypes} 2230 } 2231 2232 func (s TsCondition_SelectorPathSelectorMetricTypes) WithValue(value []string) *TsConditionSelector_FieldTerminalPathValue { 2233 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldTerminalPathValue) 2234 } 2235 2236 func (s TsCondition_SelectorPathSelectorMetricTypes) WithArrayOfValues(values [][]string) *TsConditionSelector_FieldTerminalPathArrayOfValues { 2237 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldTerminalPathArrayOfValues) 2238 } 2239 2240 func (s TsCondition_SelectorPathSelectorMetricTypes) WithItemValue(value string) *TsConditionSelector_FieldTerminalPathArrayItemValue { 2241 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionSelector_FieldTerminalPathArrayItemValue) 2242 } 2243 2244 type TsCondition_SelectorPathSelectorResourceTypes struct{} 2245 2246 func (TsCondition_SelectorPathSelectorResourceTypes) FieldPath() *TsConditionSelector_FieldTerminalPath { 2247 return &TsConditionSelector_FieldTerminalPath{selector: TsConditionSelector_FieldPathSelectorResourceTypes} 2248 } 2249 2250 func (s TsCondition_SelectorPathSelectorResourceTypes) WithValue(value []string) *TsConditionSelector_FieldTerminalPathValue { 2251 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldTerminalPathValue) 2252 } 2253 2254 func (s TsCondition_SelectorPathSelectorResourceTypes) WithArrayOfValues(values [][]string) *TsConditionSelector_FieldTerminalPathArrayOfValues { 2255 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldTerminalPathArrayOfValues) 2256 } 2257 2258 func (s TsCondition_SelectorPathSelectorResourceTypes) WithItemValue(value string) *TsConditionSelector_FieldTerminalPathArrayItemValue { 2259 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionSelector_FieldTerminalPathArrayItemValue) 2260 } 2261 2262 type TsCondition_SelectorPathSelectorCommonMetricLabels struct{} 2263 2264 func (TsCondition_SelectorPathSelectorCommonMetricLabels) FieldPath() *TsConditionSelector_FieldTerminalPath { 2265 return &TsConditionSelector_FieldTerminalPath{selector: TsConditionSelector_FieldPathSelectorCommonMetricLabels} 2266 } 2267 2268 func (s TsCondition_SelectorPathSelectorCommonMetricLabels) WithValue(value map[string]*TsCondition_Selector_Strings) *TsConditionSelector_FieldTerminalPathValue { 2269 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldTerminalPathValue) 2270 } 2271 2272 func (s TsCondition_SelectorPathSelectorCommonMetricLabels) WithArrayOfValues(values []map[string]*TsCondition_Selector_Strings) *TsConditionSelector_FieldTerminalPathArrayOfValues { 2273 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldTerminalPathArrayOfValues) 2274 } 2275 2276 func (TsCondition_SelectorPathSelectorCommonMetricLabels) WithKey(key string) TsCondition_SelectorMapPathSelectorCommonMetricLabels { 2277 return TsCondition_SelectorMapPathSelectorCommonMetricLabels{key: key} 2278 } 2279 2280 type TsCondition_SelectorMapPathSelectorCommonMetricLabels struct { 2281 key string 2282 } 2283 2284 func (s TsCondition_SelectorMapPathSelectorCommonMetricLabels) FieldPath() *TsConditionSelector_FieldPathMap { 2285 return &TsConditionSelector_FieldPathMap{selector: TsConditionSelector_FieldPathSelectorCommonMetricLabels, key: s.key} 2286 } 2287 2288 func (s TsCondition_SelectorMapPathSelectorCommonMetricLabels) WithValue(value *TsCondition_Selector_Strings) *TsConditionSelector_FieldPathMapValue { 2289 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldPathMapValue) 2290 } 2291 2292 func (s TsCondition_SelectorMapPathSelectorCommonMetricLabels) WithArrayOfValues(values []*TsCondition_Selector_Strings) *TsConditionSelector_FieldPathMapArrayOfValues { 2293 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldPathMapArrayOfValues) 2294 } 2295 2296 type TsCondition_SelectorPathSelectorCommonResourceLabels struct{} 2297 2298 func (TsCondition_SelectorPathSelectorCommonResourceLabels) FieldPath() *TsConditionSelector_FieldTerminalPath { 2299 return &TsConditionSelector_FieldTerminalPath{selector: TsConditionSelector_FieldPathSelectorCommonResourceLabels} 2300 } 2301 2302 func (s TsCondition_SelectorPathSelectorCommonResourceLabels) WithValue(value map[string]*TsCondition_Selector_Strings) *TsConditionSelector_FieldTerminalPathValue { 2303 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldTerminalPathValue) 2304 } 2305 2306 func (s TsCondition_SelectorPathSelectorCommonResourceLabels) WithArrayOfValues(values []map[string]*TsCondition_Selector_Strings) *TsConditionSelector_FieldTerminalPathArrayOfValues { 2307 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldTerminalPathArrayOfValues) 2308 } 2309 2310 func (TsCondition_SelectorPathSelectorCommonResourceLabels) WithKey(key string) TsCondition_SelectorMapPathSelectorCommonResourceLabels { 2311 return TsCondition_SelectorMapPathSelectorCommonResourceLabels{key: key} 2312 } 2313 2314 type TsCondition_SelectorMapPathSelectorCommonResourceLabels struct { 2315 key string 2316 } 2317 2318 func (s TsCondition_SelectorMapPathSelectorCommonResourceLabels) FieldPath() *TsConditionSelector_FieldPathMap { 2319 return &TsConditionSelector_FieldPathMap{selector: TsConditionSelector_FieldPathSelectorCommonResourceLabels, key: s.key} 2320 } 2321 2322 func (s TsCondition_SelectorMapPathSelectorCommonResourceLabels) WithValue(value *TsCondition_Selector_Strings) *TsConditionSelector_FieldPathMapValue { 2323 return s.FieldPath().WithIValue(value).(*TsConditionSelector_FieldPathMapValue) 2324 } 2325 2326 func (s TsCondition_SelectorMapPathSelectorCommonResourceLabels) WithArrayOfValues(values []*TsCondition_Selector_Strings) *TsConditionSelector_FieldPathMapArrayOfValues { 2327 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelector_FieldPathMapArrayOfValues) 2328 } 2329 2330 type TsConditionTemplateSourceFieldPathBuilder struct{} 2331 2332 func NewTsConditionTemplateSourceFieldPathBuilder() TsConditionTemplateSourceFieldPathBuilder { 2333 return TsConditionTemplateSourceFieldPathBuilder{} 2334 } 2335 func (TsConditionTemplateSourceFieldPathBuilder) Template() TsCondition_TemplateSourcePathSelectorTemplate { 2336 return TsCondition_TemplateSourcePathSelectorTemplate{} 2337 } 2338 func (TsConditionTemplateSourceFieldPathBuilder) UpdatedFields() TsCondition_TemplateSourcePathSelectorUpdatedFields { 2339 return TsCondition_TemplateSourcePathSelectorUpdatedFields{} 2340 } 2341 2342 type TsCondition_TemplateSourcePathSelectorTemplate struct{} 2343 2344 func (TsCondition_TemplateSourcePathSelectorTemplate) FieldPath() *TsConditionTemplateSource_FieldTerminalPath { 2345 return &TsConditionTemplateSource_FieldTerminalPath{selector: TsConditionTemplateSource_FieldPathSelectorTemplate} 2346 } 2347 2348 func (s TsCondition_TemplateSourcePathSelectorTemplate) WithValue(value *log_condition_template.Reference) *TsConditionTemplateSource_FieldTerminalPathValue { 2349 return s.FieldPath().WithIValue(value).(*TsConditionTemplateSource_FieldTerminalPathValue) 2350 } 2351 2352 func (s TsCondition_TemplateSourcePathSelectorTemplate) WithArrayOfValues(values []*log_condition_template.Reference) *TsConditionTemplateSource_FieldTerminalPathArrayOfValues { 2353 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplateSource_FieldTerminalPathArrayOfValues) 2354 } 2355 2356 type TsCondition_TemplateSourcePathSelectorUpdatedFields struct{} 2357 2358 func (TsCondition_TemplateSourcePathSelectorUpdatedFields) FieldPath() *TsConditionTemplateSource_FieldTerminalPath { 2359 return &TsConditionTemplateSource_FieldTerminalPath{selector: TsConditionTemplateSource_FieldPathSelectorUpdatedFields} 2360 } 2361 2362 func (s TsCondition_TemplateSourcePathSelectorUpdatedFields) WithValue(value *fieldmaskpb.FieldMask) *TsConditionTemplateSource_FieldTerminalPathValue { 2363 return s.FieldPath().WithIValue(value).(*TsConditionTemplateSource_FieldTerminalPathValue) 2364 } 2365 2366 func (s TsCondition_TemplateSourcePathSelectorUpdatedFields) WithArrayOfValues(values []*fieldmaskpb.FieldMask) *TsConditionTemplateSource_FieldTerminalPathArrayOfValues { 2367 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplateSource_FieldTerminalPathArrayOfValues) 2368 } 2369 2370 type TsConditionSelectorStringsFieldPathBuilder struct{} 2371 2372 func NewTsConditionSelectorStringsFieldPathBuilder() TsConditionSelectorStringsFieldPathBuilder { 2373 return TsConditionSelectorStringsFieldPathBuilder{} 2374 } 2375 func (TsConditionSelectorStringsFieldPathBuilder) Values() TsCondition_Selector_StringsPathSelectorValues { 2376 return TsCondition_Selector_StringsPathSelectorValues{} 2377 } 2378 2379 type TsCondition_Selector_StringsPathSelectorValues struct{} 2380 2381 func (TsCondition_Selector_StringsPathSelectorValues) FieldPath() *TsConditionSelectorStrings_FieldTerminalPath { 2382 return &TsConditionSelectorStrings_FieldTerminalPath{selector: TsConditionSelectorStrings_FieldPathSelectorValues} 2383 } 2384 2385 func (s TsCondition_Selector_StringsPathSelectorValues) WithValue(value []string) *TsConditionSelectorStrings_FieldTerminalPathValue { 2386 return s.FieldPath().WithIValue(value).(*TsConditionSelectorStrings_FieldTerminalPathValue) 2387 } 2388 2389 func (s TsCondition_Selector_StringsPathSelectorValues) WithArrayOfValues(values [][]string) *TsConditionSelectorStrings_FieldTerminalPathArrayOfValues { 2390 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionSelectorStrings_FieldTerminalPathArrayOfValues) 2391 } 2392 2393 func (s TsCondition_Selector_StringsPathSelectorValues) WithItemValue(value string) *TsConditionSelectorStrings_FieldTerminalPathArrayItemValue { 2394 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionSelectorStrings_FieldTerminalPathArrayItemValue) 2395 }