github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/ts_condition_template/ts_condition_template.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/alerting/proto/v1/ts_condition_template.proto 3 // DO NOT EDIT!!! 4 5 package ts_condition_template 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 policy_template "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy_template" 12 api "github.com/cloudwan/edgelq-sdk/common/api" 13 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 14 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 15 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 16 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 17 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 18 logging_log "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log" 19 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 20 monitoring_common "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/common" 21 monitoring_metric_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/metric_descriptor" 22 monitoring_monitored_resource_descriptor "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/monitored_resource_descriptor" 23 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 24 monitoring_time_serie "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/time_serie" 25 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 26 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 27 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 28 meta "github.com/cloudwan/goten-sdk/types/meta" 29 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 30 anypb "google.golang.org/protobuf/types/known/anypb" 31 durationpb "google.golang.org/protobuf/types/known/durationpb" 32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 33 structpb "google.golang.org/protobuf/types/known/structpb" 34 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &document.Document{} 40 _ = &policy_template.PolicyTemplate{} 41 _ = &rcommon.LogCndSpec{} 42 _ = api.LaunchStage(0) 43 _ = &iam_iam_common.PCR{} 44 _ = &iam_organization.Organization{} 45 _ = &iam_project.Project{} 46 _ = &logging_bucket.Bucket{} 47 _ = &logging_common.LabelDescriptor{} 48 _ = &logging_log.Log{} 49 _ = &logging_log_descriptor.LogDescriptor{} 50 _ = &monitoring_common.LabelDescriptor{} 51 _ = &monitoring_metric_descriptor.MetricDescriptor{} 52 _ = &monitoring_monitored_resource_descriptor.MonitoredResourceDescriptor{} 53 _ = &monitoring_project.Project{} 54 _ = &monitoring_time_serie.Point{} 55 _ = &anypb.Any{} 56 _ = &durationpb.Duration{} 57 _ = &fieldmaskpb.FieldMask{} 58 _ = &structpb.Struct{} 59 _ = ×tamppb.Timestamp{} 60 _ = &meta_common.LabelledDomain{} 61 _ = &meta_resource.Resource{} 62 _ = &meta_service.Service{} 63 _ = &meta.Meta{} 64 _ = &multi_region_policy.MultiRegionPolicy{} 65 ) 66 67 type TsConditionTemplateFieldPathBuilder struct{} 68 69 func NewTsConditionTemplateFieldPathBuilder() TsConditionTemplateFieldPathBuilder { 70 return TsConditionTemplateFieldPathBuilder{} 71 } 72 func (TsConditionTemplateFieldPathBuilder) Name() TsConditionTemplatePathSelectorName { 73 return TsConditionTemplatePathSelectorName{} 74 } 75 func (TsConditionTemplateFieldPathBuilder) Metadata() TsConditionTemplatePathSelectorMetadata { 76 return TsConditionTemplatePathSelectorMetadata{} 77 } 78 func (TsConditionTemplateFieldPathBuilder) DisplayName() TsConditionTemplatePathSelectorDisplayName { 79 return TsConditionTemplatePathSelectorDisplayName{} 80 } 81 func (TsConditionTemplateFieldPathBuilder) Description() TsConditionTemplatePathSelectorDescription { 82 return TsConditionTemplatePathSelectorDescription{} 83 } 84 func (TsConditionTemplateFieldPathBuilder) SupportingDocs() TsConditionTemplatePathSelectorSupportingDocs { 85 return TsConditionTemplatePathSelectorSupportingDocs{} 86 } 87 func (TsConditionTemplateFieldPathBuilder) SpecTemplate() TsConditionTemplatePathSelectorSpecTemplate { 88 return TsConditionTemplatePathSelectorSpecTemplate{} 89 } 90 91 type TsConditionTemplatePathSelectorName struct{} 92 93 func (TsConditionTemplatePathSelectorName) FieldPath() *TsConditionTemplate_FieldTerminalPath { 94 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorName} 95 } 96 97 func (s TsConditionTemplatePathSelectorName) WithValue(value *Name) *TsConditionTemplate_FieldTerminalPathValue { 98 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 99 } 100 101 func (s TsConditionTemplatePathSelectorName) WithArrayOfValues(values []*Name) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 102 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 103 } 104 105 type TsConditionTemplatePathSelectorMetadata struct{} 106 107 func (TsConditionTemplatePathSelectorMetadata) FieldPath() *TsConditionTemplate_FieldTerminalPath { 108 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorMetadata} 109 } 110 111 func (s TsConditionTemplatePathSelectorMetadata) WithValue(value *meta.Meta) *TsConditionTemplate_FieldTerminalPathValue { 112 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 113 } 114 115 func (s TsConditionTemplatePathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 116 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 117 } 118 119 func (TsConditionTemplatePathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *TsConditionTemplate_FieldSubPath { 120 return &TsConditionTemplate_FieldSubPath{selector: TsConditionTemplate_FieldPathSelectorMetadata, subPath: subPath} 121 } 122 123 func (s TsConditionTemplatePathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *TsConditionTemplate_FieldSubPathValue { 124 return &TsConditionTemplate_FieldSubPathValue{TsConditionTemplate_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 125 } 126 127 func (s TsConditionTemplatePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *TsConditionTemplate_FieldSubPathArrayOfValues { 128 return &TsConditionTemplate_FieldSubPathArrayOfValues{TsConditionTemplate_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 129 } 130 131 func (s TsConditionTemplatePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *TsConditionTemplate_FieldSubPathArrayItemValue { 132 return &TsConditionTemplate_FieldSubPathArrayItemValue{TsConditionTemplate_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 133 } 134 135 func (TsConditionTemplatePathSelectorMetadata) CreateTime() TsConditionTemplatePathSelectorMetadataCreateTime { 136 return TsConditionTemplatePathSelectorMetadataCreateTime{} 137 } 138 139 func (TsConditionTemplatePathSelectorMetadata) UpdateTime() TsConditionTemplatePathSelectorMetadataUpdateTime { 140 return TsConditionTemplatePathSelectorMetadataUpdateTime{} 141 } 142 143 func (TsConditionTemplatePathSelectorMetadata) DeleteTime() TsConditionTemplatePathSelectorMetadataDeleteTime { 144 return TsConditionTemplatePathSelectorMetadataDeleteTime{} 145 } 146 147 func (TsConditionTemplatePathSelectorMetadata) Uuid() TsConditionTemplatePathSelectorMetadataUuid { 148 return TsConditionTemplatePathSelectorMetadataUuid{} 149 } 150 151 func (TsConditionTemplatePathSelectorMetadata) Tags() TsConditionTemplatePathSelectorMetadataTags { 152 return TsConditionTemplatePathSelectorMetadataTags{} 153 } 154 155 func (TsConditionTemplatePathSelectorMetadata) Labels() TsConditionTemplatePathSelectorMetadataLabels { 156 return TsConditionTemplatePathSelectorMetadataLabels{} 157 } 158 159 func (TsConditionTemplatePathSelectorMetadata) Annotations() TsConditionTemplatePathSelectorMetadataAnnotations { 160 return TsConditionTemplatePathSelectorMetadataAnnotations{} 161 } 162 163 func (TsConditionTemplatePathSelectorMetadata) Generation() TsConditionTemplatePathSelectorMetadataGeneration { 164 return TsConditionTemplatePathSelectorMetadataGeneration{} 165 } 166 167 func (TsConditionTemplatePathSelectorMetadata) ResourceVersion() TsConditionTemplatePathSelectorMetadataResourceVersion { 168 return TsConditionTemplatePathSelectorMetadataResourceVersion{} 169 } 170 171 func (TsConditionTemplatePathSelectorMetadata) OwnerReferences() TsConditionTemplatePathSelectorMetadataOwnerReferences { 172 return TsConditionTemplatePathSelectorMetadataOwnerReferences{} 173 } 174 175 func (TsConditionTemplatePathSelectorMetadata) Shards() TsConditionTemplatePathSelectorMetadataShards { 176 return TsConditionTemplatePathSelectorMetadataShards{} 177 } 178 179 func (TsConditionTemplatePathSelectorMetadata) Syncing() TsConditionTemplatePathSelectorMetadataSyncing { 180 return TsConditionTemplatePathSelectorMetadataSyncing{} 181 } 182 183 func (TsConditionTemplatePathSelectorMetadata) Lifecycle() TsConditionTemplatePathSelectorMetadataLifecycle { 184 return TsConditionTemplatePathSelectorMetadataLifecycle{} 185 } 186 187 func (TsConditionTemplatePathSelectorMetadata) Services() TsConditionTemplatePathSelectorMetadataServices { 188 return TsConditionTemplatePathSelectorMetadataServices{} 189 } 190 191 type TsConditionTemplatePathSelectorMetadataCreateTime struct{} 192 193 func (TsConditionTemplatePathSelectorMetadataCreateTime) FieldPath() *TsConditionTemplate_FieldSubPath { 194 return &TsConditionTemplate_FieldSubPath{ 195 selector: TsConditionTemplate_FieldPathSelectorMetadata, 196 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 197 } 198 } 199 200 func (s TsConditionTemplatePathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathValue { 201 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 202 } 203 204 func (s TsConditionTemplatePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathArrayOfValues { 205 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 206 } 207 208 type TsConditionTemplatePathSelectorMetadataUpdateTime struct{} 209 210 func (TsConditionTemplatePathSelectorMetadataUpdateTime) FieldPath() *TsConditionTemplate_FieldSubPath { 211 return &TsConditionTemplate_FieldSubPath{ 212 selector: TsConditionTemplate_FieldPathSelectorMetadata, 213 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 214 } 215 } 216 217 func (s TsConditionTemplatePathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathValue { 218 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 219 } 220 221 func (s TsConditionTemplatePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathArrayOfValues { 222 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 223 } 224 225 type TsConditionTemplatePathSelectorMetadataDeleteTime struct{} 226 227 func (TsConditionTemplatePathSelectorMetadataDeleteTime) FieldPath() *TsConditionTemplate_FieldSubPath { 228 return &TsConditionTemplate_FieldSubPath{ 229 selector: TsConditionTemplate_FieldPathSelectorMetadata, 230 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 231 } 232 } 233 234 func (s TsConditionTemplatePathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathValue { 235 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 236 } 237 238 func (s TsConditionTemplatePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TsConditionTemplate_FieldSubPathArrayOfValues { 239 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 240 } 241 242 type TsConditionTemplatePathSelectorMetadataUuid struct{} 243 244 func (TsConditionTemplatePathSelectorMetadataUuid) FieldPath() *TsConditionTemplate_FieldSubPath { 245 return &TsConditionTemplate_FieldSubPath{ 246 selector: TsConditionTemplate_FieldPathSelectorMetadata, 247 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 248 } 249 } 250 251 func (s TsConditionTemplatePathSelectorMetadataUuid) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 252 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 253 } 254 255 func (s TsConditionTemplatePathSelectorMetadataUuid) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 256 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 257 } 258 259 type TsConditionTemplatePathSelectorMetadataTags struct{} 260 261 func (TsConditionTemplatePathSelectorMetadataTags) FieldPath() *TsConditionTemplate_FieldSubPath { 262 return &TsConditionTemplate_FieldSubPath{ 263 selector: TsConditionTemplate_FieldPathSelectorMetadata, 264 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 265 } 266 } 267 268 func (s TsConditionTemplatePathSelectorMetadataTags) WithValue(value []string) *TsConditionTemplate_FieldSubPathValue { 269 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 270 } 271 272 func (s TsConditionTemplatePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 273 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 274 } 275 276 func (s TsConditionTemplatePathSelectorMetadataTags) WithItemValue(value string) *TsConditionTemplate_FieldSubPathArrayItemValue { 277 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 278 } 279 280 type TsConditionTemplatePathSelectorMetadataLabels struct{} 281 282 func (TsConditionTemplatePathSelectorMetadataLabels) FieldPath() *TsConditionTemplate_FieldSubPath { 283 return &TsConditionTemplate_FieldSubPath{ 284 selector: TsConditionTemplate_FieldPathSelectorMetadata, 285 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 286 } 287 } 288 289 func (s TsConditionTemplatePathSelectorMetadataLabels) WithValue(value map[string]string) *TsConditionTemplate_FieldSubPathValue { 290 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 291 } 292 293 func (s TsConditionTemplatePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 294 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 295 } 296 297 func (TsConditionTemplatePathSelectorMetadataLabels) WithKey(key string) TsConditionTemplateMapPathSelectorMetadataLabels { 298 return TsConditionTemplateMapPathSelectorMetadataLabels{key: key} 299 } 300 301 type TsConditionTemplateMapPathSelectorMetadataLabels struct { 302 key string 303 } 304 305 func (s TsConditionTemplateMapPathSelectorMetadataLabels) FieldPath() *TsConditionTemplate_FieldSubPath { 306 return &TsConditionTemplate_FieldSubPath{ 307 selector: TsConditionTemplate_FieldPathSelectorMetadata, 308 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 309 } 310 } 311 312 func (s TsConditionTemplateMapPathSelectorMetadataLabels) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 313 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 314 } 315 316 func (s TsConditionTemplateMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 317 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 318 } 319 320 type TsConditionTemplatePathSelectorMetadataAnnotations struct{} 321 322 func (TsConditionTemplatePathSelectorMetadataAnnotations) FieldPath() *TsConditionTemplate_FieldSubPath { 323 return &TsConditionTemplate_FieldSubPath{ 324 selector: TsConditionTemplate_FieldPathSelectorMetadata, 325 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 326 } 327 } 328 329 func (s TsConditionTemplatePathSelectorMetadataAnnotations) WithValue(value map[string]string) *TsConditionTemplate_FieldSubPathValue { 330 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 331 } 332 333 func (s TsConditionTemplatePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 334 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 335 } 336 337 func (TsConditionTemplatePathSelectorMetadataAnnotations) WithKey(key string) TsConditionTemplateMapPathSelectorMetadataAnnotations { 338 return TsConditionTemplateMapPathSelectorMetadataAnnotations{key: key} 339 } 340 341 type TsConditionTemplateMapPathSelectorMetadataAnnotations struct { 342 key string 343 } 344 345 func (s TsConditionTemplateMapPathSelectorMetadataAnnotations) FieldPath() *TsConditionTemplate_FieldSubPath { 346 return &TsConditionTemplate_FieldSubPath{ 347 selector: TsConditionTemplate_FieldPathSelectorMetadata, 348 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 349 } 350 } 351 352 func (s TsConditionTemplateMapPathSelectorMetadataAnnotations) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 353 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 354 } 355 356 func (s TsConditionTemplateMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 357 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 358 } 359 360 type TsConditionTemplatePathSelectorMetadataGeneration struct{} 361 362 func (TsConditionTemplatePathSelectorMetadataGeneration) FieldPath() *TsConditionTemplate_FieldSubPath { 363 return &TsConditionTemplate_FieldSubPath{ 364 selector: TsConditionTemplate_FieldPathSelectorMetadata, 365 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 366 } 367 } 368 369 func (s TsConditionTemplatePathSelectorMetadataGeneration) WithValue(value int64) *TsConditionTemplate_FieldSubPathValue { 370 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 371 } 372 373 func (s TsConditionTemplatePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *TsConditionTemplate_FieldSubPathArrayOfValues { 374 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 375 } 376 377 type TsConditionTemplatePathSelectorMetadataResourceVersion struct{} 378 379 func (TsConditionTemplatePathSelectorMetadataResourceVersion) FieldPath() *TsConditionTemplate_FieldSubPath { 380 return &TsConditionTemplate_FieldSubPath{ 381 selector: TsConditionTemplate_FieldPathSelectorMetadata, 382 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 383 } 384 } 385 386 func (s TsConditionTemplatePathSelectorMetadataResourceVersion) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 387 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 388 } 389 390 func (s TsConditionTemplatePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 391 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 392 } 393 394 type TsConditionTemplatePathSelectorMetadataOwnerReferences struct{} 395 396 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) FieldPath() *TsConditionTemplate_FieldSubPath { 397 return &TsConditionTemplate_FieldSubPath{ 398 selector: TsConditionTemplate_FieldPathSelectorMetadata, 399 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 400 } 401 } 402 403 func (s TsConditionTemplatePathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *TsConditionTemplate_FieldSubPathValue { 404 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 405 } 406 407 func (s TsConditionTemplatePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *TsConditionTemplate_FieldSubPathArrayOfValues { 408 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 409 } 410 411 func (s TsConditionTemplatePathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *TsConditionTemplate_FieldSubPathArrayItemValue { 412 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 413 } 414 415 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) Kind() TsConditionTemplatePathSelectorMetadataOwnerReferencesKind { 416 return TsConditionTemplatePathSelectorMetadataOwnerReferencesKind{} 417 } 418 419 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) Version() TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion { 420 return TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion{} 421 } 422 423 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) Name() TsConditionTemplatePathSelectorMetadataOwnerReferencesName { 424 return TsConditionTemplatePathSelectorMetadataOwnerReferencesName{} 425 } 426 427 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) Region() TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion { 428 return TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion{} 429 } 430 431 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) Controller() TsConditionTemplatePathSelectorMetadataOwnerReferencesController { 432 return TsConditionTemplatePathSelectorMetadataOwnerReferencesController{} 433 } 434 435 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) RequiresOwnerReference() TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference { 436 return TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 437 } 438 439 func (TsConditionTemplatePathSelectorMetadataOwnerReferences) UnsetOnDelete() TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete { 440 return TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete{} 441 } 442 443 type TsConditionTemplatePathSelectorMetadataOwnerReferencesKind struct{} 444 445 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesKind) FieldPath() *TsConditionTemplate_FieldSubPath { 446 return &TsConditionTemplate_FieldSubPath{ 447 selector: TsConditionTemplate_FieldPathSelectorMetadata, 448 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 449 } 450 } 451 452 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 453 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 454 } 455 456 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 457 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 458 } 459 460 type TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion struct{} 461 462 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion) FieldPath() *TsConditionTemplate_FieldSubPath { 463 return &TsConditionTemplate_FieldSubPath{ 464 selector: TsConditionTemplate_FieldPathSelectorMetadata, 465 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 466 } 467 } 468 469 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 470 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 471 } 472 473 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 474 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 475 } 476 477 type TsConditionTemplatePathSelectorMetadataOwnerReferencesName struct{} 478 479 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesName) FieldPath() *TsConditionTemplate_FieldSubPath { 480 return &TsConditionTemplate_FieldSubPath{ 481 selector: TsConditionTemplate_FieldPathSelectorMetadata, 482 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 483 } 484 } 485 486 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesName) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 487 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 488 } 489 490 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 491 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 492 } 493 494 type TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion struct{} 495 496 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion) FieldPath() *TsConditionTemplate_FieldSubPath { 497 return &TsConditionTemplate_FieldSubPath{ 498 selector: TsConditionTemplate_FieldPathSelectorMetadata, 499 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 500 } 501 } 502 503 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 504 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 505 } 506 507 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 508 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 509 } 510 511 type TsConditionTemplatePathSelectorMetadataOwnerReferencesController struct{} 512 513 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesController) FieldPath() *TsConditionTemplate_FieldSubPath { 514 return &TsConditionTemplate_FieldSubPath{ 515 selector: TsConditionTemplate_FieldPathSelectorMetadata, 516 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 517 } 518 } 519 520 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 521 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 522 } 523 524 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 525 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 526 } 527 528 type TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 529 530 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *TsConditionTemplate_FieldSubPath { 531 return &TsConditionTemplate_FieldSubPath{ 532 selector: TsConditionTemplate_FieldPathSelectorMetadata, 533 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 534 } 535 } 536 537 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 538 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 539 } 540 541 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 542 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 543 } 544 545 type TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 546 547 func (TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *TsConditionTemplate_FieldSubPath { 548 return &TsConditionTemplate_FieldSubPath{ 549 selector: TsConditionTemplate_FieldPathSelectorMetadata, 550 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 551 } 552 } 553 554 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 555 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 556 } 557 558 func (s TsConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 559 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 560 } 561 562 type TsConditionTemplatePathSelectorMetadataShards struct{} 563 564 func (TsConditionTemplatePathSelectorMetadataShards) FieldPath() *TsConditionTemplate_FieldSubPath { 565 return &TsConditionTemplate_FieldSubPath{ 566 selector: TsConditionTemplate_FieldPathSelectorMetadata, 567 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 568 } 569 } 570 571 func (s TsConditionTemplatePathSelectorMetadataShards) WithValue(value map[string]int64) *TsConditionTemplate_FieldSubPathValue { 572 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 573 } 574 575 func (s TsConditionTemplatePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *TsConditionTemplate_FieldSubPathArrayOfValues { 576 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 577 } 578 579 func (TsConditionTemplatePathSelectorMetadataShards) WithKey(key string) TsConditionTemplateMapPathSelectorMetadataShards { 580 return TsConditionTemplateMapPathSelectorMetadataShards{key: key} 581 } 582 583 type TsConditionTemplateMapPathSelectorMetadataShards struct { 584 key string 585 } 586 587 func (s TsConditionTemplateMapPathSelectorMetadataShards) FieldPath() *TsConditionTemplate_FieldSubPath { 588 return &TsConditionTemplate_FieldSubPath{ 589 selector: TsConditionTemplate_FieldPathSelectorMetadata, 590 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 591 } 592 } 593 594 func (s TsConditionTemplateMapPathSelectorMetadataShards) WithValue(value int64) *TsConditionTemplate_FieldSubPathValue { 595 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 596 } 597 598 func (s TsConditionTemplateMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *TsConditionTemplate_FieldSubPathArrayOfValues { 599 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 600 } 601 602 type TsConditionTemplatePathSelectorMetadataSyncing struct{} 603 604 func (TsConditionTemplatePathSelectorMetadataSyncing) FieldPath() *TsConditionTemplate_FieldSubPath { 605 return &TsConditionTemplate_FieldSubPath{ 606 selector: TsConditionTemplate_FieldPathSelectorMetadata, 607 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 608 } 609 } 610 611 func (s TsConditionTemplatePathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *TsConditionTemplate_FieldSubPathValue { 612 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 613 } 614 615 func (s TsConditionTemplatePathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *TsConditionTemplate_FieldSubPathArrayOfValues { 616 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 617 } 618 619 func (TsConditionTemplatePathSelectorMetadataSyncing) OwningRegion() TsConditionTemplatePathSelectorMetadataSyncingOwningRegion { 620 return TsConditionTemplatePathSelectorMetadataSyncingOwningRegion{} 621 } 622 623 func (TsConditionTemplatePathSelectorMetadataSyncing) Regions() TsConditionTemplatePathSelectorMetadataSyncingRegions { 624 return TsConditionTemplatePathSelectorMetadataSyncingRegions{} 625 } 626 627 type TsConditionTemplatePathSelectorMetadataSyncingOwningRegion struct{} 628 629 func (TsConditionTemplatePathSelectorMetadataSyncingOwningRegion) FieldPath() *TsConditionTemplate_FieldSubPath { 630 return &TsConditionTemplate_FieldSubPath{ 631 selector: TsConditionTemplate_FieldPathSelectorMetadata, 632 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 633 } 634 } 635 636 func (s TsConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 637 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 638 } 639 640 func (s TsConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 641 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 642 } 643 644 type TsConditionTemplatePathSelectorMetadataSyncingRegions struct{} 645 646 func (TsConditionTemplatePathSelectorMetadataSyncingRegions) FieldPath() *TsConditionTemplate_FieldSubPath { 647 return &TsConditionTemplate_FieldSubPath{ 648 selector: TsConditionTemplate_FieldPathSelectorMetadata, 649 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 650 } 651 } 652 653 func (s TsConditionTemplatePathSelectorMetadataSyncingRegions) WithValue(value []string) *TsConditionTemplate_FieldSubPathValue { 654 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 655 } 656 657 func (s TsConditionTemplatePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 658 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 659 } 660 661 func (s TsConditionTemplatePathSelectorMetadataSyncingRegions) WithItemValue(value string) *TsConditionTemplate_FieldSubPathArrayItemValue { 662 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 663 } 664 665 type TsConditionTemplatePathSelectorMetadataLifecycle struct{} 666 667 func (TsConditionTemplatePathSelectorMetadataLifecycle) FieldPath() *TsConditionTemplate_FieldSubPath { 668 return &TsConditionTemplate_FieldSubPath{ 669 selector: TsConditionTemplate_FieldPathSelectorMetadata, 670 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 671 } 672 } 673 674 func (s TsConditionTemplatePathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *TsConditionTemplate_FieldSubPathValue { 675 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 676 } 677 678 func (s TsConditionTemplatePathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *TsConditionTemplate_FieldSubPathArrayOfValues { 679 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 680 } 681 682 func (TsConditionTemplatePathSelectorMetadataLifecycle) State() TsConditionTemplatePathSelectorMetadataLifecycleState { 683 return TsConditionTemplatePathSelectorMetadataLifecycleState{} 684 } 685 686 func (TsConditionTemplatePathSelectorMetadataLifecycle) BlockDeletion() TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion { 687 return TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion{} 688 } 689 690 type TsConditionTemplatePathSelectorMetadataLifecycleState struct{} 691 692 func (TsConditionTemplatePathSelectorMetadataLifecycleState) FieldPath() *TsConditionTemplate_FieldSubPath { 693 return &TsConditionTemplate_FieldSubPath{ 694 selector: TsConditionTemplate_FieldPathSelectorMetadata, 695 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 696 } 697 } 698 699 func (s TsConditionTemplatePathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *TsConditionTemplate_FieldSubPathValue { 700 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 701 } 702 703 func (s TsConditionTemplatePathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *TsConditionTemplate_FieldSubPathArrayOfValues { 704 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 705 } 706 707 type TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion struct{} 708 709 func (TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *TsConditionTemplate_FieldSubPath { 710 return &TsConditionTemplate_FieldSubPath{ 711 selector: TsConditionTemplate_FieldPathSelectorMetadata, 712 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 713 } 714 } 715 716 func (s TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 717 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 718 } 719 720 func (s TsConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 721 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 722 } 723 724 type TsConditionTemplatePathSelectorMetadataServices struct{} 725 726 func (TsConditionTemplatePathSelectorMetadataServices) FieldPath() *TsConditionTemplate_FieldSubPath { 727 return &TsConditionTemplate_FieldSubPath{ 728 selector: TsConditionTemplate_FieldPathSelectorMetadata, 729 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 730 } 731 } 732 733 func (s TsConditionTemplatePathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *TsConditionTemplate_FieldSubPathValue { 734 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 735 } 736 737 func (s TsConditionTemplatePathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *TsConditionTemplate_FieldSubPathArrayOfValues { 738 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 739 } 740 741 func (TsConditionTemplatePathSelectorMetadataServices) OwningService() TsConditionTemplatePathSelectorMetadataServicesOwningService { 742 return TsConditionTemplatePathSelectorMetadataServicesOwningService{} 743 } 744 745 func (TsConditionTemplatePathSelectorMetadataServices) AllowedServices() TsConditionTemplatePathSelectorMetadataServicesAllowedServices { 746 return TsConditionTemplatePathSelectorMetadataServicesAllowedServices{} 747 } 748 749 type TsConditionTemplatePathSelectorMetadataServicesOwningService struct{} 750 751 func (TsConditionTemplatePathSelectorMetadataServicesOwningService) FieldPath() *TsConditionTemplate_FieldSubPath { 752 return &TsConditionTemplate_FieldSubPath{ 753 selector: TsConditionTemplate_FieldPathSelectorMetadata, 754 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 755 } 756 } 757 758 func (s TsConditionTemplatePathSelectorMetadataServicesOwningService) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 759 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 760 } 761 762 func (s TsConditionTemplatePathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 763 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 764 } 765 766 type TsConditionTemplatePathSelectorMetadataServicesAllowedServices struct{} 767 768 func (TsConditionTemplatePathSelectorMetadataServicesAllowedServices) FieldPath() *TsConditionTemplate_FieldSubPath { 769 return &TsConditionTemplate_FieldSubPath{ 770 selector: TsConditionTemplate_FieldPathSelectorMetadata, 771 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 772 } 773 } 774 775 func (s TsConditionTemplatePathSelectorMetadataServicesAllowedServices) WithValue(value []string) *TsConditionTemplate_FieldSubPathValue { 776 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 777 } 778 779 func (s TsConditionTemplatePathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 780 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 781 } 782 783 func (s TsConditionTemplatePathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *TsConditionTemplate_FieldSubPathArrayItemValue { 784 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 785 } 786 787 type TsConditionTemplatePathSelectorDisplayName struct{} 788 789 func (TsConditionTemplatePathSelectorDisplayName) FieldPath() *TsConditionTemplate_FieldTerminalPath { 790 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorDisplayName} 791 } 792 793 func (s TsConditionTemplatePathSelectorDisplayName) WithValue(value string) *TsConditionTemplate_FieldTerminalPathValue { 794 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 795 } 796 797 func (s TsConditionTemplatePathSelectorDisplayName) WithArrayOfValues(values []string) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 798 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 799 } 800 801 type TsConditionTemplatePathSelectorDescription struct{} 802 803 func (TsConditionTemplatePathSelectorDescription) FieldPath() *TsConditionTemplate_FieldTerminalPath { 804 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorDescription} 805 } 806 807 func (s TsConditionTemplatePathSelectorDescription) WithValue(value string) *TsConditionTemplate_FieldTerminalPathValue { 808 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 809 } 810 811 func (s TsConditionTemplatePathSelectorDescription) WithArrayOfValues(values []string) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 812 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 813 } 814 815 type TsConditionTemplatePathSelectorSupportingDocs struct{} 816 817 func (TsConditionTemplatePathSelectorSupportingDocs) FieldPath() *TsConditionTemplate_FieldTerminalPath { 818 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorSupportingDocs} 819 } 820 821 func (s TsConditionTemplatePathSelectorSupportingDocs) WithValue(value []*document.Reference) *TsConditionTemplate_FieldTerminalPathValue { 822 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 823 } 824 825 func (s TsConditionTemplatePathSelectorSupportingDocs) WithArrayOfValues(values [][]*document.Reference) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 826 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 827 } 828 829 func (s TsConditionTemplatePathSelectorSupportingDocs) WithItemValue(value *document.Reference) *TsConditionTemplate_FieldTerminalPathArrayItemValue { 830 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldTerminalPathArrayItemValue) 831 } 832 833 type TsConditionTemplatePathSelectorSpecTemplate struct{} 834 835 func (TsConditionTemplatePathSelectorSpecTemplate) FieldPath() *TsConditionTemplate_FieldTerminalPath { 836 return &TsConditionTemplate_FieldTerminalPath{selector: TsConditionTemplate_FieldPathSelectorSpecTemplate} 837 } 838 839 func (s TsConditionTemplatePathSelectorSpecTemplate) WithValue(value *rcommon.TsCndSpec) *TsConditionTemplate_FieldTerminalPathValue { 840 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldTerminalPathValue) 841 } 842 843 func (s TsConditionTemplatePathSelectorSpecTemplate) WithArrayOfValues(values []*rcommon.TsCndSpec) *TsConditionTemplate_FieldTerminalPathArrayOfValues { 844 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldTerminalPathArrayOfValues) 845 } 846 847 func (TsConditionTemplatePathSelectorSpecTemplate) WithSubPath(subPath rcommon.TsCndSpec_FieldPath) *TsConditionTemplate_FieldSubPath { 848 return &TsConditionTemplate_FieldSubPath{selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, subPath: subPath} 849 } 850 851 func (s TsConditionTemplatePathSelectorSpecTemplate) WithSubValue(subPathValue rcommon.TsCndSpec_FieldPathValue) *TsConditionTemplate_FieldSubPathValue { 852 return &TsConditionTemplate_FieldSubPathValue{TsConditionTemplate_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 853 } 854 855 func (s TsConditionTemplatePathSelectorSpecTemplate) WithSubArrayOfValues(subPathArrayOfValues rcommon.TsCndSpec_FieldPathArrayOfValues) *TsConditionTemplate_FieldSubPathArrayOfValues { 856 return &TsConditionTemplate_FieldSubPathArrayOfValues{TsConditionTemplate_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 857 } 858 859 func (s TsConditionTemplatePathSelectorSpecTemplate) WithSubArrayItemValue(subPathArrayItemValue rcommon.TsCndSpec_FieldPathArrayItemValue) *TsConditionTemplate_FieldSubPathArrayItemValue { 860 return &TsConditionTemplate_FieldSubPathArrayItemValue{TsConditionTemplate_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 861 } 862 863 func (TsConditionTemplatePathSelectorSpecTemplate) Queries() TsConditionTemplatePathSelectorSpecTemplateQueries { 864 return TsConditionTemplatePathSelectorSpecTemplateQueries{} 865 } 866 867 func (TsConditionTemplatePathSelectorSpecTemplate) QueryGroupBy() TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy { 868 return TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy{} 869 } 870 871 func (TsConditionTemplatePathSelectorSpecTemplate) ThresholdAlerting() TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting { 872 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting{} 873 } 874 875 func (TsConditionTemplatePathSelectorSpecTemplate) AnomalyAlerting() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting { 876 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting{} 877 } 878 879 type TsConditionTemplatePathSelectorSpecTemplateQueries struct{} 880 881 func (TsConditionTemplatePathSelectorSpecTemplateQueries) FieldPath() *TsConditionTemplate_FieldSubPath { 882 return &TsConditionTemplate_FieldSubPath{ 883 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 884 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().FieldPath(), 885 } 886 } 887 888 func (s TsConditionTemplatePathSelectorSpecTemplateQueries) WithValue(value []*rcommon.TsCndSpec_Query) *TsConditionTemplate_FieldSubPathValue { 889 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 890 } 891 892 func (s TsConditionTemplatePathSelectorSpecTemplateQueries) WithArrayOfValues(values [][]*rcommon.TsCndSpec_Query) *TsConditionTemplate_FieldSubPathArrayOfValues { 893 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 894 } 895 896 func (s TsConditionTemplatePathSelectorSpecTemplateQueries) WithItemValue(value *rcommon.TsCndSpec_Query) *TsConditionTemplate_FieldSubPathArrayItemValue { 897 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 898 } 899 900 func (TsConditionTemplatePathSelectorSpecTemplateQueries) Name() TsConditionTemplatePathSelectorSpecTemplateQueriesName { 901 return TsConditionTemplatePathSelectorSpecTemplateQueriesName{} 902 } 903 904 func (TsConditionTemplatePathSelectorSpecTemplateQueries) Filter() TsConditionTemplatePathSelectorSpecTemplateQueriesFilter { 905 return TsConditionTemplatePathSelectorSpecTemplateQueriesFilter{} 906 } 907 908 func (TsConditionTemplatePathSelectorSpecTemplateQueries) Aligner() TsConditionTemplatePathSelectorSpecTemplateQueriesAligner { 909 return TsConditionTemplatePathSelectorSpecTemplateQueriesAligner{} 910 } 911 912 func (TsConditionTemplatePathSelectorSpecTemplateQueries) Reducer() TsConditionTemplatePathSelectorSpecTemplateQueriesReducer { 913 return TsConditionTemplatePathSelectorSpecTemplateQueriesReducer{} 914 } 915 916 func (TsConditionTemplatePathSelectorSpecTemplateQueries) MaxValue() TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue { 917 return TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue{} 918 } 919 920 type TsConditionTemplatePathSelectorSpecTemplateQueriesName struct{} 921 922 func (TsConditionTemplatePathSelectorSpecTemplateQueriesName) FieldPath() *TsConditionTemplate_FieldSubPath { 923 return &TsConditionTemplate_FieldSubPath{ 924 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 925 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Name().FieldPath(), 926 } 927 } 928 929 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesName) WithValue(value string) *TsConditionTemplate_FieldSubPathValue { 930 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 931 } 932 933 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesName) WithArrayOfValues(values []string) *TsConditionTemplate_FieldSubPathArrayOfValues { 934 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 935 } 936 937 type TsConditionTemplatePathSelectorSpecTemplateQueriesFilter struct{} 938 939 func (TsConditionTemplatePathSelectorSpecTemplateQueriesFilter) FieldPath() *TsConditionTemplate_FieldSubPath { 940 return &TsConditionTemplate_FieldSubPath{ 941 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 942 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Filter().FieldPath(), 943 } 944 } 945 946 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesFilter) WithValue(value *monitoring_time_serie.Filter) *TsConditionTemplate_FieldSubPathValue { 947 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 948 } 949 950 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesFilter) WithArrayOfValues(values []*monitoring_time_serie.Filter) *TsConditionTemplate_FieldSubPathArrayOfValues { 951 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 952 } 953 954 type TsConditionTemplatePathSelectorSpecTemplateQueriesAligner struct{} 955 956 func (TsConditionTemplatePathSelectorSpecTemplateQueriesAligner) FieldPath() *TsConditionTemplate_FieldSubPath { 957 return &TsConditionTemplate_FieldSubPath{ 958 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 959 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Aligner().FieldPath(), 960 } 961 } 962 963 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesAligner) WithValue(value monitoring_common.Aggregation_Aligner) *TsConditionTemplate_FieldSubPathValue { 964 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 965 } 966 967 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesAligner) WithArrayOfValues(values []monitoring_common.Aggregation_Aligner) *TsConditionTemplate_FieldSubPathArrayOfValues { 968 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 969 } 970 971 type TsConditionTemplatePathSelectorSpecTemplateQueriesReducer struct{} 972 973 func (TsConditionTemplatePathSelectorSpecTemplateQueriesReducer) FieldPath() *TsConditionTemplate_FieldSubPath { 974 return &TsConditionTemplate_FieldSubPath{ 975 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 976 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().Reducer().FieldPath(), 977 } 978 } 979 980 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesReducer) WithValue(value monitoring_common.Aggregation_Reducer) *TsConditionTemplate_FieldSubPathValue { 981 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 982 } 983 984 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesReducer) WithArrayOfValues(values []monitoring_common.Aggregation_Reducer) *TsConditionTemplate_FieldSubPathArrayOfValues { 985 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 986 } 987 988 type TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue struct{} 989 990 func (TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue) FieldPath() *TsConditionTemplate_FieldSubPath { 991 return &TsConditionTemplate_FieldSubPath{ 992 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 993 subPath: rcommon.NewTsCndSpecFieldPathBuilder().Queries().MaxValue().FieldPath(), 994 } 995 } 996 997 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 998 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 999 } 1000 1001 func (s TsConditionTemplatePathSelectorSpecTemplateQueriesMaxValue) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1002 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1003 } 1004 1005 type TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy struct{} 1006 1007 func (TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy) FieldPath() *TsConditionTemplate_FieldSubPath { 1008 return &TsConditionTemplate_FieldSubPath{ 1009 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1010 subPath: rcommon.NewTsCndSpecFieldPathBuilder().QueryGroupBy().FieldPath(), 1011 } 1012 } 1013 1014 func (s TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy) WithValue(value []string) *TsConditionTemplate_FieldSubPathValue { 1015 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1016 } 1017 1018 func (s TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy) WithArrayOfValues(values [][]string) *TsConditionTemplate_FieldSubPathArrayOfValues { 1019 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1020 } 1021 1022 func (s TsConditionTemplatePathSelectorSpecTemplateQueryGroupBy) WithItemValue(value string) *TsConditionTemplate_FieldSubPathArrayItemValue { 1023 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 1024 } 1025 1026 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting struct{} 1027 1028 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) FieldPath() *TsConditionTemplate_FieldSubPath { 1029 return &TsConditionTemplate_FieldSubPath{ 1030 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1031 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().FieldPath(), 1032 } 1033 } 1034 1035 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) WithValue(value *rcommon.TsCndSpec_ThresholdAlertingCfg) *TsConditionTemplate_FieldSubPathValue { 1036 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1037 } 1038 1039 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) WithArrayOfValues(values []*rcommon.TsCndSpec_ThresholdAlertingCfg) *TsConditionTemplate_FieldSubPathArrayOfValues { 1040 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1041 } 1042 1043 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) Operator() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator { 1044 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator{} 1045 } 1046 1047 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) AlignmentPeriod() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod { 1048 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod{} 1049 } 1050 1051 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) RaiseAfter() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter { 1052 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter{} 1053 } 1054 1055 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) SilenceAfter() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter { 1056 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter{} 1057 } 1058 1059 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) PerQueryThresholds() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds { 1060 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds{} 1061 } 1062 1063 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlerting) AdaptiveThresholdsDetectionPeriod() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod { 1064 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod{} 1065 } 1066 1067 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator struct{} 1068 1069 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator) FieldPath() *TsConditionTemplate_FieldSubPath { 1070 return &TsConditionTemplate_FieldSubPath{ 1071 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1072 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().Operator().FieldPath(), 1073 } 1074 } 1075 1076 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator) WithValue(value rcommon.TsCndSpec_ThresholdAlertingCfg_Operator) *TsConditionTemplate_FieldSubPathValue { 1077 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1078 } 1079 1080 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingOperator) WithArrayOfValues(values []rcommon.TsCndSpec_ThresholdAlertingCfg_Operator) *TsConditionTemplate_FieldSubPathArrayOfValues { 1081 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1082 } 1083 1084 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod struct{} 1085 1086 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod) FieldPath() *TsConditionTemplate_FieldSubPath { 1087 return &TsConditionTemplate_FieldSubPath{ 1088 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1089 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().AlignmentPeriod().FieldPath(), 1090 } 1091 } 1092 1093 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1094 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1095 } 1096 1097 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1098 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1099 } 1100 1101 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter struct{} 1102 1103 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter) FieldPath() *TsConditionTemplate_FieldSubPath { 1104 return &TsConditionTemplate_FieldSubPath{ 1105 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1106 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().RaiseAfter().FieldPath(), 1107 } 1108 } 1109 1110 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1111 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1112 } 1113 1114 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1115 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1116 } 1117 1118 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter struct{} 1119 1120 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter) FieldPath() *TsConditionTemplate_FieldSubPath { 1121 return &TsConditionTemplate_FieldSubPath{ 1122 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1123 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().SilenceAfter().FieldPath(), 1124 } 1125 } 1126 1127 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1128 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1129 } 1130 1131 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1132 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1133 } 1134 1135 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds struct{} 1136 1137 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) FieldPath() *TsConditionTemplate_FieldSubPath { 1138 return &TsConditionTemplate_FieldSubPath{ 1139 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1140 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().FieldPath(), 1141 } 1142 } 1143 1144 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) WithValue(value []*rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsConditionTemplate_FieldSubPathValue { 1145 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1146 } 1147 1148 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) WithArrayOfValues(values [][]*rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsConditionTemplate_FieldSubPathArrayOfValues { 1149 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1150 } 1151 1152 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) WithItemValue(value *rcommon.TsCndSpec_ThresholdAlertingCfg_AlertingThresholds) *TsConditionTemplate_FieldSubPathArrayItemValue { 1153 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 1154 } 1155 1156 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) AutoAdaptUpper() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper { 1157 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper{} 1158 } 1159 1160 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) AutoAdaptLower() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower { 1161 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower{} 1162 } 1163 1164 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) MaxUpper() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper { 1165 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper{} 1166 } 1167 1168 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) MaxLower() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower { 1169 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower{} 1170 } 1171 1172 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) MinUpper() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper { 1173 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper{} 1174 } 1175 1176 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholds) MinLower() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower { 1177 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower{} 1178 } 1179 1180 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper struct{} 1181 1182 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper) FieldPath() *TsConditionTemplate_FieldSubPath { 1183 return &TsConditionTemplate_FieldSubPath{ 1184 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1185 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().AutoAdaptUpper().FieldPath(), 1186 } 1187 } 1188 1189 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1190 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1191 } 1192 1193 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptUpper) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1194 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1195 } 1196 1197 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower struct{} 1198 1199 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower) FieldPath() *TsConditionTemplate_FieldSubPath { 1200 return &TsConditionTemplate_FieldSubPath{ 1201 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1202 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().AutoAdaptLower().FieldPath(), 1203 } 1204 } 1205 1206 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1207 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1208 } 1209 1210 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsAutoAdaptLower) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1211 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1212 } 1213 1214 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper struct{} 1215 1216 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper) FieldPath() *TsConditionTemplate_FieldSubPath { 1217 return &TsConditionTemplate_FieldSubPath{ 1218 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1219 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().FieldPath(), 1220 } 1221 } 1222 1223 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper) WithValue(value *rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathValue { 1224 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1225 } 1226 1227 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathArrayOfValues { 1228 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1229 } 1230 1231 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper) Value() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue { 1232 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue{} 1233 } 1234 1235 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpper) IsInclusive() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive { 1236 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive{} 1237 } 1238 1239 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue struct{} 1240 1241 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue) FieldPath() *TsConditionTemplate_FieldSubPath { 1242 return &TsConditionTemplate_FieldSubPath{ 1243 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1244 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().Value().FieldPath(), 1245 } 1246 } 1247 1248 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1249 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1250 } 1251 1252 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperValue) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1253 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1254 } 1255 1256 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive struct{} 1257 1258 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) FieldPath() *TsConditionTemplate_FieldSubPath { 1259 return &TsConditionTemplate_FieldSubPath{ 1260 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1261 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxUpper().IsInclusive().FieldPath(), 1262 } 1263 } 1264 1265 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1266 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1267 } 1268 1269 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxUpperIsInclusive) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1270 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1271 } 1272 1273 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower struct{} 1274 1275 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower) FieldPath() *TsConditionTemplate_FieldSubPath { 1276 return &TsConditionTemplate_FieldSubPath{ 1277 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1278 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().FieldPath(), 1279 } 1280 } 1281 1282 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower) WithValue(value *rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathValue { 1283 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1284 } 1285 1286 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathArrayOfValues { 1287 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1288 } 1289 1290 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower) Value() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue { 1291 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue{} 1292 } 1293 1294 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLower) IsInclusive() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive { 1295 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive{} 1296 } 1297 1298 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue struct{} 1299 1300 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue) FieldPath() *TsConditionTemplate_FieldSubPath { 1301 return &TsConditionTemplate_FieldSubPath{ 1302 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1303 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().Value().FieldPath(), 1304 } 1305 } 1306 1307 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1308 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1309 } 1310 1311 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerValue) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1312 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1313 } 1314 1315 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive struct{} 1316 1317 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) FieldPath() *TsConditionTemplate_FieldSubPath { 1318 return &TsConditionTemplate_FieldSubPath{ 1319 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1320 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MaxLower().IsInclusive().FieldPath(), 1321 } 1322 } 1323 1324 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1325 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1326 } 1327 1328 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMaxLowerIsInclusive) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1329 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1330 } 1331 1332 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper struct{} 1333 1334 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper) FieldPath() *TsConditionTemplate_FieldSubPath { 1335 return &TsConditionTemplate_FieldSubPath{ 1336 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1337 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().FieldPath(), 1338 } 1339 } 1340 1341 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper) WithValue(value *rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathValue { 1342 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1343 } 1344 1345 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathArrayOfValues { 1346 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1347 } 1348 1349 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper) Value() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue { 1350 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue{} 1351 } 1352 1353 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpper) IsInclusive() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive { 1354 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive{} 1355 } 1356 1357 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue struct{} 1358 1359 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue) FieldPath() *TsConditionTemplate_FieldSubPath { 1360 return &TsConditionTemplate_FieldSubPath{ 1361 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1362 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().Value().FieldPath(), 1363 } 1364 } 1365 1366 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1367 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1368 } 1369 1370 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperValue) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1371 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1372 } 1373 1374 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive struct{} 1375 1376 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) FieldPath() *TsConditionTemplate_FieldSubPath { 1377 return &TsConditionTemplate_FieldSubPath{ 1378 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1379 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinUpper().IsInclusive().FieldPath(), 1380 } 1381 } 1382 1383 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1384 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1385 } 1386 1387 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinUpperIsInclusive) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1388 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1389 } 1390 1391 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower struct{} 1392 1393 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower) FieldPath() *TsConditionTemplate_FieldSubPath { 1394 return &TsConditionTemplate_FieldSubPath{ 1395 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1396 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().FieldPath(), 1397 } 1398 } 1399 1400 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower) WithValue(value *rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathValue { 1401 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1402 } 1403 1404 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower) WithArrayOfValues(values []*rcommon.AlertingThreshold) *TsConditionTemplate_FieldSubPathArrayOfValues { 1405 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1406 } 1407 1408 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower) Value() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue { 1409 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue{} 1410 } 1411 1412 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLower) IsInclusive() TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive { 1413 return TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive{} 1414 } 1415 1416 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue struct{} 1417 1418 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue) FieldPath() *TsConditionTemplate_FieldSubPath { 1419 return &TsConditionTemplate_FieldSubPath{ 1420 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1421 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().Value().FieldPath(), 1422 } 1423 } 1424 1425 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1426 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1427 } 1428 1429 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerValue) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1430 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1431 } 1432 1433 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive struct{} 1434 1435 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) FieldPath() *TsConditionTemplate_FieldSubPath { 1436 return &TsConditionTemplate_FieldSubPath{ 1437 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1438 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().PerQueryThresholds().MinLower().IsInclusive().FieldPath(), 1439 } 1440 } 1441 1442 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1443 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1444 } 1445 1446 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingPerQueryThresholdsMinLowerIsInclusive) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1447 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1448 } 1449 1450 type TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod struct{} 1451 1452 func (TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod) FieldPath() *TsConditionTemplate_FieldSubPath { 1453 return &TsConditionTemplate_FieldSubPath{ 1454 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1455 subPath: rcommon.NewTsCndSpecFieldPathBuilder().ThresholdAlerting().AdaptiveThresholdsDetectionPeriod().FieldPath(), 1456 } 1457 } 1458 1459 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1460 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1461 } 1462 1463 func (s TsConditionTemplatePathSelectorSpecTemplateThresholdAlertingAdaptiveThresholdsDetectionPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1464 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1465 } 1466 1467 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting struct{} 1468 1469 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) FieldPath() *TsConditionTemplate_FieldSubPath { 1470 return &TsConditionTemplate_FieldSubPath{ 1471 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1472 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().FieldPath(), 1473 } 1474 } 1475 1476 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) WithValue(value []*rcommon.TsCndSpec_AnomalyAlertingCfg) *TsConditionTemplate_FieldSubPathValue { 1477 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1478 } 1479 1480 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) WithArrayOfValues(values [][]*rcommon.TsCndSpec_AnomalyAlertingCfg) *TsConditionTemplate_FieldSubPathArrayOfValues { 1481 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1482 } 1483 1484 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) WithItemValue(value *rcommon.TsCndSpec_AnomalyAlertingCfg) *TsConditionTemplate_FieldSubPathArrayItemValue { 1485 return s.FieldPath().WithIArrayItemValue(value).(*TsConditionTemplate_FieldSubPathArrayItemValue) 1486 } 1487 1488 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) AnalysisWindow() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow { 1489 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow{} 1490 } 1491 1492 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) StepInterval() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval { 1493 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval{} 1494 } 1495 1496 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) TrainStepInterval() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval { 1497 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval{} 1498 } 1499 1500 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) AlignmentPeriod() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod { 1501 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod{} 1502 } 1503 1504 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) LstmAutoencoder() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder { 1505 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder{} 1506 } 1507 1508 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) RaiseAfter() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter { 1509 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter{} 1510 } 1511 1512 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlerting) SilenceAfter() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter { 1513 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter{} 1514 } 1515 1516 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow struct{} 1517 1518 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow) FieldPath() *TsConditionTemplate_FieldSubPath { 1519 return &TsConditionTemplate_FieldSubPath{ 1520 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1521 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().AnalysisWindow().FieldPath(), 1522 } 1523 } 1524 1525 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1526 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1527 } 1528 1529 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAnalysisWindow) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1530 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1531 } 1532 1533 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval struct{} 1534 1535 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval) FieldPath() *TsConditionTemplate_FieldSubPath { 1536 return &TsConditionTemplate_FieldSubPath{ 1537 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1538 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().StepInterval().FieldPath(), 1539 } 1540 } 1541 1542 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1543 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1544 } 1545 1546 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1547 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1548 } 1549 1550 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval struct{} 1551 1552 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval) FieldPath() *TsConditionTemplate_FieldSubPath { 1553 return &TsConditionTemplate_FieldSubPath{ 1554 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1555 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().TrainStepInterval().FieldPath(), 1556 } 1557 } 1558 1559 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1560 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1561 } 1562 1563 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingTrainStepInterval) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1564 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1565 } 1566 1567 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod struct{} 1568 1569 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod) FieldPath() *TsConditionTemplate_FieldSubPath { 1570 return &TsConditionTemplate_FieldSubPath{ 1571 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1572 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().AlignmentPeriod().FieldPath(), 1573 } 1574 } 1575 1576 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1577 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1578 } 1579 1580 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1581 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1582 } 1583 1584 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder struct{} 1585 1586 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) FieldPath() *TsConditionTemplate_FieldSubPath { 1587 return &TsConditionTemplate_FieldSubPath{ 1588 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1589 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().FieldPath(), 1590 } 1591 } 1592 1593 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) WithValue(value *rcommon.TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsConditionTemplate_FieldSubPathValue { 1594 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1595 } 1596 1597 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) WithArrayOfValues(values []*rcommon.TsCndSpec_AnomalyAlertingCfg_LstmAutoEncoder) *TsConditionTemplate_FieldSubPathArrayOfValues { 1598 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1599 } 1600 1601 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) HiddenSize() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize { 1602 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize{} 1603 } 1604 1605 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) LearnRate() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate { 1606 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate{} 1607 } 1608 1609 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) MaxTrainingEpochs() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs { 1610 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs{} 1611 } 1612 1613 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) MinTrainingEpochs() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs { 1614 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs{} 1615 } 1616 1617 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) AcceptableTrainingError() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError { 1618 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError{} 1619 } 1620 1621 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) TrainingPeriod() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod { 1622 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod{} 1623 } 1624 1625 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) CheckPeriodFraction() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction { 1626 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction{} 1627 } 1628 1629 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoder) TeacherForceAtInference() TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference { 1630 return TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference{} 1631 } 1632 1633 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize struct{} 1634 1635 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize) FieldPath() *TsConditionTemplate_FieldSubPath { 1636 return &TsConditionTemplate_FieldSubPath{ 1637 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1638 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().HiddenSize().FieldPath(), 1639 } 1640 } 1641 1642 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize) WithValue(value int32) *TsConditionTemplate_FieldSubPathValue { 1643 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1644 } 1645 1646 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderHiddenSize) WithArrayOfValues(values []int32) *TsConditionTemplate_FieldSubPathArrayOfValues { 1647 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1648 } 1649 1650 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate struct{} 1651 1652 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate) FieldPath() *TsConditionTemplate_FieldSubPath { 1653 return &TsConditionTemplate_FieldSubPath{ 1654 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1655 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().LearnRate().FieldPath(), 1656 } 1657 } 1658 1659 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1660 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1661 } 1662 1663 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderLearnRate) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1664 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1665 } 1666 1667 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs struct{} 1668 1669 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) FieldPath() *TsConditionTemplate_FieldSubPath { 1670 return &TsConditionTemplate_FieldSubPath{ 1671 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1672 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().MaxTrainingEpochs().FieldPath(), 1673 } 1674 } 1675 1676 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithValue(value int32) *TsConditionTemplate_FieldSubPathValue { 1677 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1678 } 1679 1680 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMaxTrainingEpochs) WithArrayOfValues(values []int32) *TsConditionTemplate_FieldSubPathArrayOfValues { 1681 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1682 } 1683 1684 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs struct{} 1685 1686 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs) FieldPath() *TsConditionTemplate_FieldSubPath { 1687 return &TsConditionTemplate_FieldSubPath{ 1688 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1689 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().MinTrainingEpochs().FieldPath(), 1690 } 1691 } 1692 1693 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithValue(value int32) *TsConditionTemplate_FieldSubPathValue { 1694 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1695 } 1696 1697 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderMinTrainingEpochs) WithArrayOfValues(values []int32) *TsConditionTemplate_FieldSubPathArrayOfValues { 1698 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1699 } 1700 1701 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError struct{} 1702 1703 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError) FieldPath() *TsConditionTemplate_FieldSubPath { 1704 return &TsConditionTemplate_FieldSubPath{ 1705 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1706 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().AcceptableTrainingError().FieldPath(), 1707 } 1708 } 1709 1710 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1711 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1712 } 1713 1714 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderAcceptableTrainingError) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1715 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1716 } 1717 1718 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod struct{} 1719 1720 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod) FieldPath() *TsConditionTemplate_FieldSubPath { 1721 return &TsConditionTemplate_FieldSubPath{ 1722 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1723 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().TrainingPeriod().FieldPath(), 1724 } 1725 } 1726 1727 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1728 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1729 } 1730 1731 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTrainingPeriod) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1732 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1733 } 1734 1735 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction struct{} 1736 1737 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction) FieldPath() *TsConditionTemplate_FieldSubPath { 1738 return &TsConditionTemplate_FieldSubPath{ 1739 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1740 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().CheckPeriodFraction().FieldPath(), 1741 } 1742 } 1743 1744 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithValue(value float64) *TsConditionTemplate_FieldSubPathValue { 1745 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1746 } 1747 1748 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderCheckPeriodFraction) WithArrayOfValues(values []float64) *TsConditionTemplate_FieldSubPathArrayOfValues { 1749 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1750 } 1751 1752 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference struct{} 1753 1754 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference) FieldPath() *TsConditionTemplate_FieldSubPath { 1755 return &TsConditionTemplate_FieldSubPath{ 1756 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1757 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().LstmAutoencoder().TeacherForceAtInference().FieldPath(), 1758 } 1759 } 1760 1761 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithValue(value bool) *TsConditionTemplate_FieldSubPathValue { 1762 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1763 } 1764 1765 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingLstmAutoencoderTeacherForceAtInference) WithArrayOfValues(values []bool) *TsConditionTemplate_FieldSubPathArrayOfValues { 1766 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1767 } 1768 1769 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter struct{} 1770 1771 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter) FieldPath() *TsConditionTemplate_FieldSubPath { 1772 return &TsConditionTemplate_FieldSubPath{ 1773 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1774 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().RaiseAfter().FieldPath(), 1775 } 1776 } 1777 1778 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1779 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1780 } 1781 1782 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingRaiseAfter) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1783 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1784 } 1785 1786 type TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter struct{} 1787 1788 func (TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter) FieldPath() *TsConditionTemplate_FieldSubPath { 1789 return &TsConditionTemplate_FieldSubPath{ 1790 selector: TsConditionTemplate_FieldPathSelectorSpecTemplate, 1791 subPath: rcommon.NewTsCndSpecFieldPathBuilder().AnomalyAlerting().SilenceAfter().FieldPath(), 1792 } 1793 } 1794 1795 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter) WithValue(value *durationpb.Duration) *TsConditionTemplate_FieldSubPathValue { 1796 return s.FieldPath().WithIValue(value).(*TsConditionTemplate_FieldSubPathValue) 1797 } 1798 1799 func (s TsConditionTemplatePathSelectorSpecTemplateAnomalyAlertingSilenceAfter) WithArrayOfValues(values []*durationpb.Duration) *TsConditionTemplate_FieldSubPathArrayOfValues { 1800 return s.FieldPath().WithIArrayOfValues(values).(*TsConditionTemplate_FieldSubPathArrayOfValues) 1801 }